Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get padding offset #53

Closed
wants to merge 621 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
621 commits
Select commit Hold shift + click to select a range
ff158dd
[NewExe] cache infer_meta for program_interpreter (#58575)
zhangbo9674 Nov 3, 2023
9698830
[Prim][PIR]pir sink decomp support symbol overload (#58648)
cyber-pioneer Nov 3, 2023
348eabe
[CustomDevice] Fix setting default device before loading custom devic…
ronny1996 Nov 4, 2023
352d48d
[PIR+CINN]Support all modules of PIR+CINN with Python unittest (#58641)
Aurelius84 Nov 4, 2023
2c31030
[Dy2St] Update dy2st document link (#58658)
SigureMo Nov 4, 2023
1383850
[compat] cached property is not support in 3.7, replace with our impl…
2742195759 Nov 4, 2023
925da3d
[DRR] Fix bug of matching source pattern in DRR (#58673)
zyfncg Nov 6, 2023
9329dad
[PIR] Change "new_ir" to "pir" (#58585)
yuanlehome Nov 6, 2023
81782d6
[PHI bf16] add bf16 support for where op (#58616)
RuohengMa Nov 6, 2023
e6b9c2b
Use cinn_fusion prefix when register pass (#58694)
jiahy0825 Nov 6, 2023
1b53858
【PIR API adaptor No.131】 Migrate paddle.Tensor.log2 into pir (#58634)
xiaoyewww Nov 6, 2023
18b93c5
【PIR API adaptor No.106】 Migrate paddle.i0e into pir (#58604)
PommesPeter Nov 6, 2023
3eb1a79
【pir】add fused Pass for new executor (#58537)
xiaoguoguo626807 Nov 6, 2023
0e34b60
【PIR API adaptor No.166】 Migrate paddle.polygamma into pir (#58605)
PommesPeter Nov 6, 2023
130c891
[AutoParallel] Support vector and optional<vector> InferSPMD input an…
GhostScreaming Nov 6, 2023
45f2073
add_test (#58649)
xuxinyi389 Nov 6, 2023
58169ae
【PIR API adaptor No.97-100、209-211】Migrate softplus/softsign/hardshri…
BeingGod Nov 6, 2023
3b83b14
[Prim][PIR] Support for rule operator backward under new ir (#58210)
kevincheng2 Nov 6, 2023
4ea87ec
[test]Change cc_test_old to cc_test (#58619)
Galaxy1458 Nov 6, 2023
38e314e
[PIR+CINN]Support GetInput/OutputOpValues for Group (#58702)
Aurelius84 Nov 6, 2023
3fc1550
【PIR api adaptor No.233、234】 Migrate paddle.trunc/frac into pir (#58675)
DrRyanHuang Nov 6, 2023
bae1f2e
add vsplit_unstack (#58683)
DrRyanHuang Nov 6, 2023
b88d193
【PIR api adaptor No.213、214】 Migrate CosineSimilarity/stanh into pir …
DrRyanHuang Nov 6, 2023
773dac1
[Docathon][Fix System Message No.7、11、25、28] (#58508)
Sekiro-x Nov 6, 2023
b0db77e
[XPU] add bfloat16 support for gaussian and uniform (#58662)
houj04 Nov 6, 2023
67a6a31
【Hackathon 5th No.52】 为 Paddle 新增 unsqueeze 的 spmd 切分推导规则 -part (#58296)
WintersMontagne10335 Nov 6, 2023
dc5ae3b
【PIR API adaptor No.53、111、112、116、208、229、230】Migrate some ops into …
zrr1999 Nov 6, 2023
933d581
[PIR] Support select complex kernel for real_grad (#58665)
zhangbo9674 Nov 6, 2023
e44fb26
[CINN]revise cinn fp16 matmul cbulas api to gemmex (#56845)
GGBond8488 Nov 6, 2023
ee36554
【PIR api adaptor No.48、49】 Migrate cummax/min into pir (#58629)
DrRyanHuang Nov 6, 2023
74fc275
[PIR]Migrate interpolate into pir (#58531)
0x45f Nov 6, 2023
fb345c8
align dy(_dygraph_clip) and auto(_static_clip) (#58457)
Wennie396 Nov 6, 2023
a9c7ff2
[clang-tidy] No.48 enable `clang-analyzer-unix.Malloc` (#55658)
RedContritio Nov 6, 2023
5b8a64a
[PIR] Allow pir program dynamically add attr (#58660)
kangguangli Nov 6, 2023
8d9d149
[clang-tidy] NO.15 enable cppcoreguidelines-pro-type-const-cast Part.…
enkilee Nov 6, 2023
d706526
[Reshard] Support s to r on cross mesh (#58592)
ForFishes Nov 6, 2023
9f7a4bd
add test (#58670)
DrRyanHuang Nov 6, 2023
f36a497
refine nccl op list for pir interpreter (#58651)
wanghuancoder Nov 6, 2023
1a3e96d
Change cc_test_old to cc_test (#58710)
Galaxy1458 Nov 6, 2023
cb88a2e
[PIR] Add Dtype Transfer for pir (#58397)
chen2016013 Nov 7, 2023
9778987
[PIR] Rewrite dead_code_elimination_pass, delete reorder_block_ops_pa…
yuanlehome Nov 7, 2023
2e85492
【PIR API adaptor No.39、123】Migrate label_smooth & class_center_sample…
DrRyanHuang Nov 7, 2023
004312c
[AutoParallel] tensor.cc support auto parallel (#58656)
wanghuancoder Nov 7, 2023
894713f
【PIR API adaptor No.105】 Migrate paddle.i0 into pir (#58603)
PommesPeter Nov 7, 2023
551e1a3
【PIR API adaptor No.193-196】Migrate paddle.geometric.segment_max, pad…
enkilee Nov 7, 2023
153b890
[PIR] run llama model in pir mode. (#58167)
2742195759 Nov 7, 2023
a6b922d
[CodeStyle][ruff] clean some F401 step: 3 (#58306)
gouzil Nov 7, 2023
79c6258
[PIR] separate translation context for body block of while op (#58625)
kangguangli Nov 7, 2023
3f58d67
[Dy2St] pir dy2st unittest verification - Part 2 (#58686)
gouzil Nov 7, 2023
4bf839a
[NewExe] Performance optimization for program interpreter (#58645)
zhangbo9674 Nov 7, 2023
7c70a8c
refine reshard (#58734)
ForFishes Nov 7, 2023
fe862dd
[AutoParallel] Custom op support auto parallel (#58553)
wanghuancoder Nov 7, 2023
b24962f
[CINN] Add dynamic shape group scheduler (#58717)
BiynXu Nov 7, 2023
1fdb432
[PIR+CINN]Improve Value Name readablity (#58749)
Aurelius84 Nov 7, 2023
2450190
modify backward (#58747)
xiaoguoguo626807 Nov 7, 2023
1bc4231
fix sparse momentum (#58536)
xingmingyyj Nov 7, 2023
4cfe7f0
[PIR] Add cache for pir program (#58666)
kangguangli Nov 7, 2023
904cd92
refine (#58755)
wanghuancoder Nov 7, 2023
91cebb5
fix randint op (#58295)
xingmingyyj Nov 7, 2023
1e08f74
[PIR]Test cinn pir all path (#58557)
phlrain Nov 7, 2023
f4c2bbb
[Prim][PIR] relu forward sink (#58502)
kevincheng2 Nov 7, 2023
3e7d4e2
[Distributed]Fix cache p2p in pp & add unbalance vpp (#58752)
ForFishes Nov 7, 2023
0b079f5
Add run time recording for dist_attr (#58668)
lchdl Nov 7, 2023
1ad64dd
replace ProgramDesc* to std::shared_ptr<ProgramDesc> (#58669)
lchdl Nov 7, 2023
7806bff
【PIR API adaptor No.132】 Migrate paddle.Tensor.paddle.Tensor.logcumsu…
xiaoyewww Nov 7, 2023
77e4ada
【PIR API adaptor No.190、191】 Migrate paddle.scatter,paddle.scatter_nd…
enkilee Nov 7, 2023
01e28bd
[cmake治理]compile pir/dialect into op_dialect and op_dialect_vjp (#58618)
risemeup1 Nov 7, 2023
b67c4cf
Adjust setup (#58720)
Galaxy1458 Nov 7, 2023
17c4134
[PIR+CINN]Polish CINN Support Op Name List (#58766)
Aurelius84 Nov 8, 2023
d4da2c8
【pir】add fused_fused_gemm_epilogue_pass test (#58750)
xiaoguoguo626807 Nov 8, 2023
efcbb08
【PIR api adaptor No.242、228】 Migrate unique_consecutive/moveaxis into…
DrRyanHuang Nov 8, 2023
a70f859
[AutoParallel] FillZeroForEmpty* support AutoParallel (#58716)
wanghuancoder Nov 8, 2023
886fb62
fix bug of test for cinn with pir (#58775)
zyfncg Nov 8, 2023
c109093
enable ir pass for auto_parallel (#58614)
zhiqiu Nov 8, 2023
b6a903f
refactor sharding stage1, split param [develop] (#57715)
liuzhenhai93 Nov 8, 2023
34416e5
【Hackathon 5th No.24】Add SubsetRandomSampler -part (#57726)
Asthestarsfalll Nov 8, 2023
234bdf6
fix bug (#58640)
risemeup1 Nov 8, 2023
f1de995
【PIR API adaptor No.198-201】Migrate paddle.incubate.graph_send_recv, …
enkilee Nov 8, 2023
326352b
【PIR API adaptor No.59, 61, 63】Migrate some ops into pir (#58697)
longranger2 Nov 8, 2023
8022b63
【PIR API adaptor No.224】 Migrate paddle.tan (#58737)
xiaoyewww Nov 8, 2023
6f1ab3f
【PIR API adaptor No.218、223、29】Migrate PairwiseDistance / take_along_…
DrRyanHuang Nov 8, 2023
5085181
Fix test_trt_convert_swish (#58566)
Tom-Zheng Nov 8, 2023
586c708
[PIR] add control flow op backward components. (#58729)
winter-wang Nov 8, 2023
8c1bcfe
【CINN】Optimize block reduce (#58344)
Courtesy-Xs Nov 8, 2023
e9f8ecb
[Docathon][Fix System Message No.22] (#58784)
wenxiaohahaha Nov 8, 2023
ccb37f0
[AutoParallel] inplace version support auto parallel (#58769)
wanghuancoder Nov 8, 2023
7a1f84e
[AutoParallel] Pylayer support autoparall (#58796)
wanghuancoder Nov 8, 2023
7ea096a
[Docathon][Fix System Message No.23、27] (#58733)
Sekiro-x Nov 8, 2023
5443706
[PIR]Support layer norm lowering cinn pir (#58606)
phlrain Nov 8, 2023
a013d68
[Docathon][Fix System Message No.16] (#58741)
Liyulingyue Nov 8, 2023
6aafcf2
Add Flag to Control NVRTC Cubin Fmad Option (#58794)
zhhsplendid Nov 8, 2023
e5ef5d3
【PIR API adaptor No.23】Migrate paddle.Tensor.bincount into pir (#58692)
GreatV Nov 8, 2023
420e12b
Stage1 no fuse opt (#58790)
FeixLiu Nov 8, 2023
f3b107a
[AutoParallel] saved tensor hook support auto parallel (#58772)
wanghuancoder Nov 9, 2023
f8cebd7
[PIR]Pir softmax all path test (#58763)
phlrain Nov 9, 2023
fd5bc57
[AutoParallel] Grad node info autoparallel 3 (#58727)
wanghuancoder Nov 9, 2023
405c5d6
[PIR] add while backward example. (#58824)
winter-wang Nov 9, 2023
8e7152d
fix bug (#58822)
risemeup1 Nov 9, 2023
362d1b9
[complex] add complex support for partial_concat (#58336)
zyt1024 Nov 9, 2023
740e4f8
【complex op】 add complex support for tril,triu and tril_triu (#58532)
zyt1024 Nov 9, 2023
bac4394
[XPU] Support setting autotune config for fc and conv2d (#58801)
Travis-Lee Nov 9, 2023
cffc926
fix fix_monkey_patch_program (#58826)
kangguangli Nov 9, 2023
1fc496c
support p to s (#58703)
LiYuRio Nov 9, 2023
918d38c
[Inference] Support constant_folding_pass on PIR (#58753)
yuanlehome Nov 9, 2023
3d167b5
change_cc_test_old (#58821)
Galaxy1458 Nov 9, 2023
2927ed9
【Hackathon 5th No.15】 为 Paddle 新增 Tensor.to() 以及 Layer.astype() API -…
YibinLiu666 Nov 9, 2023
491ff18
[Prim][PIR] add check prim op in optest (#58799)
cyber-pioneer Nov 9, 2023
d7ff93c
[newfeature] support pir mode in sot ! replace infermeta and interpre…
2742195759 Nov 9, 2023
6e7ac66
[Prim][PIR] prim pir support eval mode in jit (#58829)
cyber-pioneer Nov 9, 2023
a5b7443
[XPU] update xccl version to 1.1.6.1 (#58807)
XiaociZhang Nov 9, 2023
e18b025
[PIR] Open complex-real pir test in test_elementwise_sub.py (#58748)
chen2016013 Nov 9, 2023
d97d215
【PIR API adaptor No.89、226】Migrate paddle.nn.functional.gather_tree,p…
enkilee Nov 9, 2023
ed3ed2d
【PIR API adaptor No.139】 Migrate logsumexp into pir (#58843)
MarioLulab Nov 9, 2023
56d2a94
【PIR API adaptor No.246】 paddle.incubate.nn.functional.variable_lengt…
Liyulingyue Nov 9, 2023
a0700da
【Hackathon 5th No.104】move self_dp_attention to phi
zeroRains Nov 9, 2023
55d029d
No.18 paddle.nn.GLU易用性提升 (#58632)
YibinLiu666 Nov 9, 2023
f8137fb
[Paddle-Inference]support GQA in variable_length_memory_efficient_att…
zhoutianzi666 Nov 9, 2023
54ac5b5
[PIR]Migrate Momentum into pir (#58730)
0x45f Nov 9, 2023
9f97db6
[PIR] refine inplace pass for batch size (#58813)
kangguangli Nov 9, 2023
954046d
[PIR]Fix list of 0-D opresult (#58767)
0x45f Nov 9, 2023
383ffe3
[PIR]Add pir test for higher order grad_check (#58654)
changeyoung98 Nov 9, 2023
980e284
[AutoParallel] slice support parallel part1 (#58837)
wanghuancoder Nov 9, 2023
9c7bfa7
【PIR API adaptor No.126、130】 Migrate lgamma, log1p into pir (#58840)
MarioLulab Nov 9, 2023
1d786c8
【PIR API adaptor No.17、33、72、101、121、125】Migrate paddle.atan2,paddle.…
enkilee Nov 9, 2023
26daa5c
support_string_dtype (#58731)
xuxinyi389 Nov 9, 2023
58f6633
support_more_dtype (#58800)
xuxinyi389 Nov 9, 2023
26737c1
change transform to pir_transforms (#58846)
risemeup1 Nov 9, 2023
00e10d6
add name to simplify pass creatino. (#58835)
2742195759 Nov 9, 2023
c412542
[Semi-Auto]Add master_grad for semi-auto parallel in AMP (#58706)
ForFishes Nov 9, 2023
2ce632d
adjust setup (#58855)
Galaxy1458 Nov 10, 2023
3dc4568
[AutoParallel] eager_properties.cc support auto parallel (#58746)
MarioLulab Nov 10, 2023
6397714
【PIR API adaptor No.54-56】Migrate some ops into pir (#58627)
longranger2 Nov 10, 2023
2616945
test(cinn): skip test_dce_pass (#58873)
6clc Nov 10, 2023
269f9f2
【PIR API adaptor No.122】Migrate paddle.Tensor.kthvalue into pir (#58793)
enkilee Nov 10, 2023
64882b8
[AutoParallel] Support auto parallel distributeed branch code generat…
GhostScreaming Nov 10, 2023
26f8363
[XPU] support fp16 for c_embedding and c_embedding_grad (#58845)
XiaociZhang Nov 10, 2023
f55021f
[PIR] add side_effect trait for dead_code_elimination pass. (#58860)
winter-wang Nov 10, 2023
0a3b495
fix rms norm when dy2statuc (#58868)
RichardWooSJTU Nov 10, 2023
b425c31
instance_norm op's scale and bias should specify to float (#58884)
Xinyu302 Nov 10, 2023
c3a3b66
[Docathon] Fix No.2-No.3 API Label (#58861)
liyongchao911 Nov 10, 2023
73c7cd5
fix_cinn_lowering_pass_null_input_bug (#58886)
phlrain Nov 10, 2023
2a45bea
fix_dy2st_set_parameter_duplicate_bug (#58887)
phlrain Nov 10, 2023
f2f8879
index select support auto parallel (#58841)
wanghuancoder Nov 10, 2023
cd02fff
[AutoParallel] Fix problem of vector InferSPMD. (#58853)
GhostScreaming Nov 10, 2023
6d4eab1
fix p2p send/recv order on custom device (#58607)
SecretXV Nov 10, 2023
78af42a
【PIR] move dir of fuesd test (#58867)
xiaoguoguo626807 Nov 10, 2023
b944907
[CINN] Add dynamic shape schedule dir (#58825)
BiynXu Nov 10, 2023
bbd3c29
fix bug in pp (#58844)
ForFishes Nov 10, 2023
5fed7ad
【Hackathon 5th No.104】move fusion_repeated_fc_relu/fusion_squared_mat…
zeroRains Nov 10, 2023
1dc0042
Add python3.12 In Docker (#58069)
tianshuo78520a Nov 10, 2023
1c2483e
[SOT] Increase ref timeout for unittest `test_sot_resnet50_backward` …
SigureMo Nov 10, 2023
1de21c5
【Hackathon 5th No.33】 reshape more dtype and test -part (#58764)
megemini Nov 10, 2023
96c171f
[PIR]Change is_persistable to persistable in pir (#58894)
changeyoung98 Nov 10, 2023
ac76d85
[Docathon] Fix NO19,20 API Label (#58827)
Kaedeharai Nov 10, 2023
f30feb8
[Docathon] Fix api_base_io_shuffle API Label (#58891)
entired Nov 10, 2023
e9f8622
[Docathon][Fix System Message No.17] (#58742)
Liyulingyue Nov 10, 2023
ec729e2
Migrate paddle.Tensor.mode into pir (#58883)
ccsuzzh Nov 10, 2023
7007d8f
【PIR API adaptor No.247】python/paddle/text/viterbi_decode.py (#58785)
Liyulingyue Nov 10, 2023
bbc3649
【PIR API adaptor No.44、96】 Migrate cosh, group_norm into pir (#58608)
MarioLulab Nov 10, 2023
4575dac
[AutoParallel] add create_mesh api (#58659)
zhaoyinglia Nov 10, 2023
d4a612b
【PIR API adaptor No.133-135】Migrate paddle.logical_not/logical_or/log…
ccsuzzh Nov 10, 2023
69fcbf8
【PIR API adaptor No.250】 python/paddle/geometric/sampling/neighbors.…
Liyulingyue Nov 10, 2023
0cc6034
[Docathon] Fix NO.1-NO.5 API label (#58848)
enkilee Nov 10, 2023
b67505e
fix custom operator utils while custom op contains optional inputs (#…
RichardWooSJTU Nov 10, 2023
d10f11c
Support dropout op in pir (#58773)
phlrain Nov 10, 2023
028dbcf
[Dy2St] pir dy2st unittest verification - Part 3 (#58890)
gouzil Nov 10, 2023
4b5ba1b
Merge into develop part-1/3 (#58342)
wentaoyu Nov 10, 2023
c577697
[Docathon] Fix NO.12,27 API label (#58816)
enkilee Nov 11, 2023
51d74c3
[PIR+CINN]Make input_spec taking effect in_pir_mode (#58912)
Aurelius84 Nov 11, 2023
4b9aef5
Pir cinn support scale op (#58820)
phlrain Nov 11, 2023
bd2e3d3
[PIR+CINN]Replace FlattenLoops with Fuse (#58910)
Aurelius84 Nov 11, 2023
e5f007f
Pir with cinn align ouptut order (#58905)
phlrain Nov 11, 2023
4ff3c4d
fix reshape shape bug (#58865)
cyber-pioneer Nov 12, 2023
a50440f
[PIR]Pir cinn support elementwise pow and reshape (#58908)
phlrain Nov 12, 2023
147fed2
Update gpups cudnn8.9.6 (#58818)
tianshuo78520a Nov 13, 2023
a1c7d85
[PIR] fix pir translate error. (#58934)
winter-wang Nov 13, 2023
e4ec410
[Change] reshape dtype in pir mode (#58924)
megemini Nov 13, 2023
8f5e4b1
Modify Scale Compute to Support Mix Precision (#58811)
zhhsplendid Nov 13, 2023
3019086
[AutoParallel] Support conditional_block_grad (#58906)
zhaoyinglia Nov 13, 2023
cade1d5
[Prim][PIR] softmax forward sink (#58591)
kevincheng2 Nov 13, 2023
4b40c16
[AutoParalle] Sequence Parallel Optimization Pass (#58712)
JZ-LIANG Nov 13, 2023
f119a4e
[PIR]Migrate Adam into pir (#58862)
0x45f Nov 13, 2023
da292d3
【PIR API adaptor No.225、227、197、187、152】 Migrate tanhshrink/threshold…
DrRyanHuang Nov 13, 2023
8ac6b96
【PIR API adaptor No.184、185】Migrate paddle.roi_align & roi_pool into …
DrRyanHuang Nov 13, 2023
96c81d5
【PIR API adaptor No.117、118、119】Migrate is_empty / isfinite / isinf …
DrRyanHuang Nov 13, 2023
93b4f21
[XPU] refine scale_value in AdamW (#58805)
houj04 Nov 13, 2023
2bbaa8b
[PIR]Optimize executor in Python when add fetch op (#58915)
YuanRisheng Nov 13, 2023
3bbb89c
[AutoParallel] Remove p2r in forward api (#58644)
chenwhql Nov 13, 2023
4e1dfe0
[PIR] Delete fetch gpu kernel (#58949)
zhangbo9674 Nov 13, 2023
a6dd0e9
[Dy2St][AMP] add `should_auto_cast` attribute for each operator (#58628)
SigureMo Nov 13, 2023
e1c9e50
[CINN] Strong constraint branch (#58719)
jiahy0825 Nov 13, 2023
df31e4c
[2/4] CUDNNv8 ResNet Fusion: Add fused_scale_bias_add_relu OP (#58504)
Tom-Zheng Nov 13, 2023
3ab6f55
[Dy2St] pir dy2st unittest verification - Part 4 (#58936)
gouzil Nov 13, 2023
8bc09e7
[AutoParallel] Set value phi yaml (#58893)
wanghuancoder Nov 14, 2023
5429e20
[PaddleTRT] 支持reduce op进入trt (#57326)
vivienfanghuagood Nov 14, 2023
dc8f0b4
fix FindChannelAbsMaxFunctor cuda kernel bug (#58921)
yghstill Nov 14, 2023
095dd37
[XPU] Open-Source quantize models support on XPU backend. (#58568)
csy0225 Nov 14, 2023
92b4a12
【pir】add Refresh stopgradient pass before backward (#58942)
xiaoguoguo626807 Nov 14, 2023
fd4f2bd
[PIR] normalize the name of insertion point. (#58952)
winter-wang Nov 14, 2023
9528c7e
【PIR API adaptor No.22】Migrate paddle.nn.functional.bilinear into pir…
GreatV Nov 14, 2023
fc22520
add broadcast to compare op (#58938)
phlrain Nov 14, 2023
c0cb333
修复 paddle.nn.functional.one_hot等 API 的文档 (#58919)
NKNaN Nov 14, 2023
2dfe042
fix doc bugs (#58933)
Tsaiyue Nov 14, 2023
9781410
Slice infer spmd (#58920)
liuzhenhai93 Nov 14, 2023
c32e0cb
[PIR] Fix bug of getting "outside_input" of sub block (#58874)
chen2016013 Nov 14, 2023
90b4dd0
Fix it (#58923)
zhiheng-liu Nov 14, 2023
fdfd63b
[SOT] Fix `LOAD_METHOD` stack layout when bound instance override the…
SigureMo Nov 14, 2023
db105fd
[AutoParallel]Revise Infermeta of LayerNorm for Sequence-Data Hybrid …
JZ-LIANG Nov 14, 2023
090e57b
[PIR] Delete paddle::dialect::shadow_output op (#58757)
zhangbo9674 Nov 14, 2023
be823ca
fix execution order of random op for reproducibiity (#58951)
kangguangli Nov 14, 2023
815b656
[Auto_Parallel] Update auto parallel ci and support new hybrid cases …
haohongxiang Nov 14, 2023
816b34e
fix build cinn pass check error (#58943)
phlrain Nov 14, 2023
e960192
[CodeStyle] update ruff v0.1.5 (#58966)
gouzil Nov 14, 2023
e80c65e
[PIR / dy2static] Fix tostatic unittest bugs. (#58959)
2742195759 Nov 14, 2023
fb85aa3
[Dy2St] pir dy2st unittest verification - Part 5 (#58965)
gouzil Nov 14, 2023
ded2508
add write_cache_kv
yuanlehome Nov 14, 2023
f5d838b
update
yuanlehome Nov 14, 2023
4f22b66
unique group struct (#58940)
phlrain Nov 15, 2023
fe5ed86
[PIR]Open pir test in test_sum_op.py for add_n and sum (#58978)
changeyoung98 Nov 15, 2023
bd158d1
[Semi-auto]Add Shard/Replicate/Partial in DistTensor (#58930)
ForFishes Nov 15, 2023
32a750b
[PIR] add params_sync_among_devices_pass (#58945)
yuanlehome Nov 15, 2023
7ecad5e
[CodeStyle] Replacing `isort` with `ruff.isort` (#58967)
gouzil Nov 15, 2023
4b8e702
[Prim][PIR] Sink layer_norm forward prim rule (#58679)
cyber-pioneer Nov 15, 2023
4bcb64a
[PIR] Support TensorArray (#58756)
zhangbo9674 Nov 15, 2023
3c55cf8
fix op_dialect_dependency_problem (#54255)
risemeup1 Nov 15, 2023
b0c684c
[PIR]Migrate AdamW into pir (#58946)
0x45f Nov 15, 2023
7814fde
[cmake治理]cmake optimization of paddle/framework direcotry (#58960)
risemeup1 Nov 15, 2023
3d77dea
【PIR API adaptor No.172】 Migrate paddle.Tensor.put_along_axis (#58831)
xiaoyewww Nov 15, 2023
bb7dd59
【PIR API adaptor No.148】outer (#58927)
cocoshe Nov 15, 2023
a8dfd58
【PIR API adaptor No.145】masked_select (#58929)
cocoshe Nov 15, 2023
0dcc072
【PIR API adaptor No.150、151、155、157、173】 Migrate qr,mv etc. into pir …
DrRyanHuang Nov 15, 2023
6947474
【PIR API adaptor No.149】matrix_nms (#58937)
cocoshe Nov 15, 2023
0b4fd0f
Support py-boolean in indexing (#58856)
zoooo0820 Nov 15, 2023
9c06f0b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
yuanlehome Nov 15, 2023
2679b97
rebuild_padding
lizexu123 Nov 16, 2023
51bed35
add qkv_transpose_spli op with gpu kernel
zhink Nov 17, 2023
2bd4b75
Merge pull request #46 from zhink/from_paddlenlp_custom_ops
yuanlehome Nov 17, 2023
70ec760
Revert "add qkv_transpose_spli op with gpu kernel"
yuanlehome Nov 17, 2023
0efc3d0
Merge pull request #47 from yuanlehome/revert-46-from_paddlenlp_custo…
yuanlehome Nov 17, 2023
cd7a056
add qkv_transpose_spli op with GPU kernel
zhink Nov 17, 2023
4941275
Merge pull request #48 from zhink/from_paddlenlp_custom_ops
yuanlehome Nov 17, 2023
d9be77f
add fused_get_rotary_embedding op with GPU kernel
zhink Nov 17, 2023
eb28eb8
Merge pull request #49 from zhink/from_paddlenlp_custom_ops
yuanlehome Nov 17, 2023
3d09f15
rebuild_padding
lizexu123 Nov 17, 2023
434d5ee
br
lizexu123 Nov 17, 2023
feb2bc3
br
lizexu123 Nov 17, 2023
2a96c0e
rebuild_padding
lizexu123 Nov 17, 2023
b3705b7
rebuild_padding
lizexu123 Nov 17, 2023
0e500f0
rebuild_padding
lizexu123 Nov 17, 2023
e2314fe
get_padding_offset
lizexu123 Nov 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ clang-analyzer-optin.portability.UnixAPI,
clang-analyzer-security.insecureAPI.vfork,
-clang-analyzer-unix.API,
-clang-analyzer-unix.DynamicMemoryModeling,
-clang-analyzer-unix.Malloc,
clang-analyzer-unix.Malloc,
-clang-analyzer-unix.MallocSizeof,
-clang-analyzer-unix.MismatchedDeallocator,
clang-analyzer-unix.Vfork,
Expand All @@ -158,7 +158,7 @@ cppcoreguidelines-explicit-virtual-functions,
cppcoreguidelines-init-variables,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-no-malloc,
-cppcoreguidelines-pro-type-const-cast,
cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-pro-type-member-init,
-cppcoreguidelines-slicing,
-hicpp-avoid-goto,
Expand Down
7 changes: 2 additions & 5 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ per-file-ignores =
# These files need tabs for testing.
test/dygraph_to_static/test_error.py:E101,W191

# temp ignore base directory
python/paddle/base/*:
E712,
E266,
E714
# Ignore compare with True in sot unittest
test/sot/test_dup_top.py:E712
16 changes: 11 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,13 @@ repos:
hooks:
- id: black
files: (.*\.(py|pyi|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
- repo: https://github.com/pycqa/isort
rev: 5.11.5
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args: ["--config=.flake8"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.289
rev: v0.1.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --no-cache]
Expand Down Expand Up @@ -160,3 +156,13 @@ repos:
hooks:
- id: cmakelint
args: [--config=./tools/codestyle/.cmakelintrc]
# Others
- repo: local
hooks:
- id: sort-txt-file
name: sort-txt-file
description: Sorts each line string in a text file
entry: python ./tools/codestyle/sort_txt_file.py
language: python
files: test/white_list/pir_op_test_white_list
args: []
8 changes: 4 additions & 4 deletions cmake/cinn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ cinn_cc_library(
add_dependencies(cinnapi GEN_LLVM_RUNTIME_IR_HEADER ZLIB::ZLIB)
add_dependencies(cinnapi GEN_LLVM_RUNTIME_IR_HEADER ${core_deps})
if(NOT CINN_ONLY)
target_link_libraries(cinnapi pd_op_dialect phi)
add_dependencies(cinnapi pd_op_dialect phi)
target_link_libraries(cinnapi op_dialect_vjp phi)
add_dependencies(cinnapi op_dialect_vjp phi)
endif()

target_link_libraries(cinnapi ${PYTHON_LIBRARIES})
Expand Down Expand Up @@ -222,8 +222,8 @@ function(gen_cinncore LINKTYPE)
add_dependencies(${CINNCORE_TARGET} GEN_LLVM_RUNTIME_IR_HEADER ZLIB::ZLIB)
add_dependencies(${CINNCORE_TARGET} GEN_LLVM_RUNTIME_IR_HEADER ${core_deps})
if(NOT CINN_ONLY)
target_link_libraries(${CINNCORE_TARGET} pd_op_dialect phi)
add_dependencies(${CINNCORE_TARGET} pd_op_dialect phi)
target_link_libraries(${CINNCORE_TARGET} op_dialect_vjp phi)
add_dependencies(${CINNCORE_TARGET} op_dialect_vjp phi)
endif()

add_dependencies(${CINNCORE_TARGET} pybind)
Expand Down
2 changes: 1 addition & 1 deletion cmake/cinn/external/absl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(ABSL_INSTALL_DIR ${THIRD_PARTY_PATH}/install/absl)
set(ABSL_PREFIX_DIR ${THIRD_PARTY_PATH}/absl)
set(ABSL_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})

set(ABSL_REPOSITORY "https://github.com/abseil/abseil-cpp.git")
set(ABSL_REPOSITORY "${GIT_URL}/abseil/abseil-cpp.git")
set(ABSL_TAG "20210324.2")

set(OPTIONAL_ARGS
Expand Down
2 changes: 1 addition & 1 deletion cmake/cinn/external/jitify.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(ExternalProject)

# clone jitify to Paddle/third_party
set(JITIFY_SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/jitify)
set(JITIFY_URL https://github.com/NVIDIA/jitify.git)
set(JITIFY_URL ${GIT_URL}/NVIDIA/jitify.git)
set(JITIFY_TAG 57de649139c866eb83acacfe50c92ad7c6278776)

ExternalProject_Add(
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/brpc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include_directories(${BRPC_INCLUDE_DIR})

# clone brpc to Paddle/third_party
set(BRPC_SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/brpc)
set(BRPC_URL https://github.com/apache/brpc.git)
set(BRPC_URL ${GIT_URL}/apache/brpc.git)
set(BRPC_TAG 1.4.0)

# Reference https://stackoverflow.com/questions/45414507/pass-a-list-of-prefix-paths-to-externalproject-add-in-cmake-args
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/cudnn-frontend.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if((NOT DEFINED CUDNN_FRONTEND_NAME) OR (NOT DEFINED CUDNN_FRONTEND_URL))
"cudnn-frontend"
CACHE STRING "" FORCE)
set(CUDNN_FRONTEND_URL
"https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/${CUDNN_FRONTEND_VER}.tar.gz"
"${GIT_URL}/NVIDIA/cudnn-frontend/archive/refs/tags/${CUDNN_FRONTEND_VER}.tar.gz"
CACHE STRING "" FORCE)
endif()
set(CUDNN_FRONTEND_CACHE_FILENAME "${CUDNN_FRONTEND_VER}.tar.gz")
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/dirent.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if((NOT DEFINED DIRENT_NAME) OR (NOT DEFINED DIRENT_URL))
"dirent"
CACHE STRING "" FORCE)
set(DIRENT_URL
"https://github.com/tronkko/dirent/archive/refs/tags/1.23.2.tar.gz"
"${GIT_URL}/tronkko/dirent/archive/refs/tags/1.23.2.tar.gz"
CACHE STRING "" FORCE)
set(DIRENT_CACHE_FILENAME "1.23.2.tar.gz")
endif()
Expand Down
4 changes: 1 addition & 3 deletions cmake/external/jemalloc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ set(JEMALLOC_DOWNLOAD_DIR
set(JEMALLOC_PROJECT "extern_jemalloc")
set(JEMALLOC_BUILD ${THIRD_PARTY_PATH}/jemalloc/src/extern_jemalloc)
set(JEMALLOC_PREFIX_DIR ${THIRD_PARTY_PATH}/jemalloc)
set(JEMALLOC_URL
https://github.com/jemalloc/jemalloc/releases/download/5.1.0/jemalloc-5.1.0.tar.bz2
)
set(JEMALLOC_URL https://paddle-ci.gz.bcebos.com/jemalloc-5.1.0.tar.bz2)
set(JEMALLOC_INSTALL ${THIRD_PARTY_PATH}/install/jemalloc)
set(JEMALLOC_INCLUDE_DIR ${JEMALLOC_INSTALL}/include)

Expand Down
5 changes: 2 additions & 3 deletions cmake/external/libxsmm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ set(LIBXSMMNOBLAS_LIB "${LIBXSMM_LIBRARY_DIR}/libxsmmnoblas.a")
file(GLOB LIBXSMM_SOURCE_FILE_LIST ${LIBXSMM_SOURCE_DIR})
list(LENGTH LIBXSMM_SOURCE_FILE_LIST RES_LEN)
if(RES_LEN EQUAL 0)
execute_process(
COMMAND ${GIT_EXECUTABLE} clone -b ${LIBXSMM_TAG}
"https://github.com/hfp/libxsmm.git" ${LIBXSMM_SOURCE_DIR})
execute_process(COMMAND ${GIT_EXECUTABLE} clone -b ${LIBXSMM_TAG}
"${GIT_URL}/hfp/libxsmm.git" ${LIBXSMM_SOURCE_DIR})
else()
# check git tag
execute_process(
Expand Down
6 changes: 3 additions & 3 deletions cmake/external/onnxruntime.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ set(ONNXRUNTIME_DOWNLOAD_DIR

if(WIN32)
set(ONNXRUNTIME_URL
"https://github.com/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-win-x64-${ONNXRUNTIME_VERSION}.zip"
"${GIT_URL}/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-win-x64-${ONNXRUNTIME_VERSION}.zip"
)
set(ONNXRUNTIME_URL_MD5 f21d6bd1feef15935a5f4e1007797593)
set(ONNXRUNTIME_CACHE_EXTENSION "zip")
elseif(APPLE)
set(ONNXRUNTIME_URL
"https://github.com/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-osx-x86_64-${ONNXRUNTIME_VERSION}.tgz"
"${GIT_URL}/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-osx-x86_64-${ONNXRUNTIME_VERSION}.tgz"
)
set(ONNXRUNTIME_URL_MD5 6a6f6b7df97587da59976042f475d3f4)
set(ONNXRUNTIME_CACHE_EXTENSION "tgz")
else()
set(ONNXRUNTIME_URL
"https://github.com/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION}.tgz"
"${GIT_URL}/microsoft/onnxruntime/releases/download/v${ONNXRUNTIME_VERSION}/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION}.tgz"
)
set(ONNXRUNTIME_URL_MD5 ce3f2376854b3da4b483d6989666995a)
set(ONNXRUNTIME_CACHE_EXTENSION "tgz")
Expand Down
19 changes: 11 additions & 8 deletions cmake/external/openblas.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ set(CBLAS_INSTALL_DIR ${THIRD_PARTY_PATH}/install/openblas)
set(CBLAS_SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/openblas)
set(CBLAS_TAG v0.3.7)

# OpenBLAS support Raptor Lake from v0.3.22
if(UNIX
AND NOT APPLE
AND NOT WITH_ROCM
# Why use v0.3.18? The IDG business line encountered a random openblas error,
# which can be resolved after upgrading openblas.
# And why compile when gcc>8.2? Please refer to
# https://github.com/spack/spack/issues/19932#issuecomment-733452619
# v0.3.18 only support gcc>=8.3 or gcc>=7.4
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.2
AND NOT WITH_XPU)
set(CBLAS_TAG v0.3.23)
# We only compile with openblas 0.3.18 when gcc >= 8.3
set(CBLAS_TAG v0.3.18)
endif()

if(APPLE AND WITH_ARM)
Expand All @@ -42,9 +46,8 @@ endif()
file(GLOB CBLAS_SOURCE_FILE_LIST ${CBLAS_SOURCE_DIR})
list(LENGTH CBLAS_SOURCE_FILE_LIST RES_LEN)
if(RES_LEN EQUAL 0)
execute_process(
COMMAND ${GIT_EXECUTABLE} clone -b ${CBLAS_TAG}
"https://github.com/xianyi/OpenBLAS.git" ${CBLAS_SOURCE_DIR})
execute_process(COMMAND ${GIT_EXECUTABLE} clone -b ${CBLAS_TAG}
"${GIT_URL}/xianyi/OpenBLAS.git" ${CBLAS_SOURCE_DIR})
else()
# check git tag
execute_process(
Expand Down
6 changes: 3 additions & 3 deletions cmake/external/paddle2onnx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@ endif()

if(WIN32)
set(PADDLE2ONNX_URL
"https://github.com/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-win-x64-${PADDLE2ONNX_VERSION}.zip"
"${GIT_URL}/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-win-x64-${PADDLE2ONNX_VERSION}.zip"
)
set(PADDLE2ONNX_URL_MD5 "122b864cb57338191a7e9ef5f607c4ba")
set(PADDLE2ONNX_CACHE_EXTENSION "zip")
elseif(APPLE)
set(PADDLE2ONNX_URL
"https://github.com/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-osx-x86_64-${PADDLE2ONNX_VERSION}.tgz"
"${GIT_URL}/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-osx-x86_64-${PADDLE2ONNX_VERSION}.tgz"
)
set(PADDLE2ONNX_URL_MD5 "32a4381ff8441b69d58ef0fd6fd919eb")
set(PADDLE2ONNX_CACHE_EXTENSION "tgz")
else()
set(PADDLE2ONNX_URL
"https://github.com/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-linux-x64-${PADDLE2ONNX_VERSION}.tgz"
"${GIT_URL}/PaddlePaddle/Paddle2ONNX/releases/download/v${PADDLE2ONNX_VERSION}/paddle2onnx-linux-x64-${PADDLE2ONNX_VERSION}.tgz"
)
set(PADDLE2ONNX_URL_MD5 "3fbb074987ba241327797f76514e937f")
set(PADDLE2ONNX_CACHE_EXTENSION "tgz")
Expand Down
2 changes: 1 addition & 1 deletion cmake/external/protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function(build_protobuf TARGET_NAME BUILD_FOR_HOST)
set(PROTOBUF_TAG 01a05a53f40ca2ac5f0af10c6cc0810bee39b792)
else()
if(WITH_PSLIB)
set(PROTOBUF_REPOSITORY "https://github.com/google/protobuf.git")
set(PROTOBUF_REPOSITORY "${GIT_URL}/google/protobuf.git")
set(PROTOBUF_TAG "9f75c5aa851cd877fb0d93ccc31b8567a6706546")
else()
set(PROTOBUF_REPOSITORY ${GIT_URL}/protocolbuffers/protobuf.git)
Expand Down
4 changes: 2 additions & 2 deletions cmake/external/xpu.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ set(XPU_XFT_LIB_NAME "libxft.so")
set(XPU_XPTI_LIB_NAME "libxpti.so")

if(NOT DEFINED XPU_BASE_DATE)
set(XPU_BASE_DATE "20230926")
set(XPU_BASE_DATE "20231103")
endif()
set(XPU_XCCL_BASE_VERSION "1.0.53.6")
set(XPU_XCCL_BASE_VERSION "1.1.6.1")
if(NOT DEFINED XPU_XFT_BASE_VERSION)
set(XPU_XFT_BASE_VERSION "20230602")
endif()
Expand Down
16 changes: 10 additions & 6 deletions cmake/generic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -499,12 +499,15 @@ function(cc_test_run TARGET_NAME)
NAME ${TARGET_NAME}
COMMAND ${cc_test_COMMAND} ${cc_test_ARGS}
WORKING_DIRECTORY ${cc_test_DIR})
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT
FLAGS_cpu_deterministic=true)
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT
FLAGS_init_allocated_mem=true)
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT
FLAGS_cudnn_deterministic=true)
set_property(
TEST ${TARGET_NAME}
PROPERTY
ENVIRONMENT
FLAGS_cpu_deterministic=true
FLAGS_init_allocated_mem=true
FLAGS_cudnn_deterministic=true
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${PADDLE_BINARY_DIR}/python/paddle/libs:${PADDLE_BINARY_DIR}/python/paddle/base
)
# No unit test should exceed 2 minutes.
if(WIN32)
set_tests_properties(${TARGET_NAME} PROPERTIES TIMEOUT 150)
Expand Down Expand Up @@ -726,6 +729,7 @@ function(nv_test TARGET_NAME)
# 2. cuda_add_executable does not support ccache.
# Reference: https://cmake.org/cmake/help/v3.10/module/FindCUDA.html
add_executable(${TARGET_NAME} ${nv_test_SRCS})
target_compile_definitions(${TARGET_NAME} PUBLIC STATIC_PADDLE)
get_property(os_dependency_modules GLOBAL PROPERTY OS_DEPENDENCY_MODULES)
target_link_libraries(${TARGET_NAME} ${nv_test_DEPS}
${os_dependency_modules} paddle_gtest_main phi)
Expand Down
5 changes: 5 additions & 0 deletions cmake/hip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ list(APPEND HIP_CXX_FLAGS -Wno-unused-value)
list(APPEND HIP_CXX_FLAGS -Wno-braced-scalar-init)
list(APPEND HIP_CXX_FLAGS -Wno-return-type)
list(APPEND HIP_CXX_FLAGS -Wno-pragma-once-outside-header)
list(APPEND HIP_CXX_FLAGS -Wno-deprecated-builtins)
list(APPEND HIP_CXX_FLAGS -Wno-switch)
list(APPEND HIP_CXX_FLAGS -Wno-literal-conversion)
list(APPEND HIP_CXX_FLAGS -Wno-constant-conversion)
list(APPEND HIP_CXX_FLAGS -Wno-defaulted-function-deleted)

if(WITH_CINN)
list(APPEND HIP_CXX_FLAGS -std=c++14)
Expand Down
3 changes: 3 additions & 0 deletions cmake/operators.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,9 @@ function(prune_pybind_h)
list(APPEND op_list "load_combine")
list(APPEND op_list "tensorrt_engine")

# TODO(ming1753): conditional_block_infer is temporarily reserved here to avoid link errors in functions of standalone_executor
list(APPEND op_list "conditional_block_infer")

# add fused_op in op_list
list(APPEND op_list "fc")
list(APPEND op_list "conv2d_fusion")
Expand Down
1 change: 1 addition & 0 deletions paddle/cinn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ if(WITH_TESTING)
cinn_cc_library(cinn_gtest_main SRCS gtest_main.cc DEPS gtest ${flags_dep})
endif()

add_subdirectory(adt)
add_subdirectory(api)
add_subdirectory(ast_gen_ius)
add_subdirectory(auto_schedule)
Expand Down
Loading