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

merge develop to gpugraph #77

Merged
merged 1,003 commits into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1003 commits
Select commit Hold shift + click to select a range
1f7f719
fix python3.10 compile bug on window (#44330)
betterpig Jul 15, 2022
f913083
Fix random seed for several unit tests (#44135)
zlsh80826 Jul 15, 2022
d2e59e1
Remove boost library (#44092)
From00 Jul 15, 2022
d881d69
add fused token prune op and plugin (#44281)
RichardWooSJTU Jul 15, 2022
676d0b4
Fix run inference bug for standalone executor (#44340)
From00 Jul 15, 2022
9181a99
xpu-paddlepaddle-33 [任务] matmul单测 timeout (#44333)
taixiurong Jul 15, 2022
c8e26fe
[IPU] add custom-op UTs 0/N (#44328)
gglin001 Jul 15, 2022
2c8c841
[IPU] add custom-op UTs 1/N (#44329)
gglin001 Jul 15, 2022
270f25e
support KL2 multi-card training, *test=kunlun (#43889)
XiaociZhang Jul 15, 2022
0dafbb0
Remove auto to_pascal_case for args in op generator (#44350)
zyfncg Jul 15, 2022
8744383
Standard sparse conv name (#44353)
Jul 15, 2022
13d01e6
[Eager] eager variable back sync (#44343)
wanghuancoder Jul 15, 2022
068f48d
[ Phi Kernel ] Transfer as_real to phi. (#44263)
2742195759 Jul 15, 2022
4a4a036
[Eager]Fix assert statement (#43492)
Aurelius84 Jul 15, 2022
6f7550e
Not rename pb file to avoid re-compile (#44370)
zhiqiu Jul 15, 2022
c0a7830
[Phi] Migrate solve kernel to phi (#44363)
veyron95 Jul 16, 2022
876e2ff
[auto parallel] remove comm init control (#44385)
Caozhou1995 Jul 18, 2022
fd6dcdf
[CustomDevice] remove unused file (#44358)
ronny1996 Jul 18, 2022
b7db845
[Paddle-TRT] reshape fill_constant (#44314)
zhoutianzi666 Jul 18, 2022
0fd974b
set seed for uts (#44372)
haohongxiang Jul 18, 2022
5c29173
[Paddle-TRT] remove useless code in fc (#44382)
zhoutianzi666 Jul 18, 2022
7a85ced
[Paddle-TRT] Fix cast (#44312)
zhoutianzi666 Jul 18, 2022
39e5dd2
Polish jit layer cmakelists to hide some message (#44351)
0x45f Jul 18, 2022
3c074de
Enable inference multi stream ci test (#44275)
jiweibo Jul 18, 2022
74412df
fix bug of old pp (#44361)
ForFishes Jul 18, 2022
02e9453
add xpu resnet_unit (#44297)
QingshuChen Jul 18, 2022
b83138d
add blacklist in prim2orig interface (#44383)
levi131 Jul 18, 2022
04e5558
[Plugin] Fix Custom device in eager mode, test=develop (#43952)
qili93 Jul 18, 2022
fbedf77
add ipu support for standalone executor. (#44342)
winter-wang Jul 18, 2022
4c1e77d
fix typos in template for codegen of operators (#44364)
Jul 18, 2022
1d12832
fix duplicate slice logic in _grad (#44396)
cxxly Jul 18, 2022
b2224e6
[MLU] fix mlu ctest final. (#44404)
ShawnNew Jul 18, 2022
c6bf881
fix data transform bug of interpolate op (#44401)
zyfncg Jul 18, 2022
3f70b1d
[Sparse] Add sparse matmul kernel(coo*dense->dense) (#44346)
zhwesky2010 Jul 18, 2022
dd0a07f
fix new autodiff api docs (#44341)
cxxly Jul 18, 2022
08cada9
fix build error in low arch (#44391)
RichardWooSJTU Jul 18, 2022
130c108
[new api] add new api paddle.vision.ops.distribute_fpn_proposals (#43…
zoooo0820 Jul 19, 2022
d5f0ed4
update (#44418)
jiweibo Jul 19, 2022
6fb2958
[Paddle-TRT] Shape sum fix scale (#44394)
zhoutianzi666 Jul 19, 2022
5dfb87d
[Phi] Migrate infermeta and add yaml for solve op (#44379)
veyron95 Jul 19, 2022
fea05f1
add labels for infer ut (#44279)
XieYunshen Jul 19, 2022
a8148ce
Add mfence for XPU2 KP (#44258)
AnnaTrainingG Jul 19, 2022
d4bb2ad
remove include of all.h in resnet_basic_block_op_xpu.cc, test=kunlun …
zhangyk0314 Jul 19, 2022
4b085c5
Rename BOOST_GET macros (#44368)
From00 Jul 19, 2022
2a2bc0b
[new API] add paddle.vision.ops.generate_proposals (#43611)
zoooo0820 Jul 19, 2022
a8680f5
Accelerate inference period in op Cache method (#43857)
DannyIsFunny Jul 19, 2022
2792b8d
Added pad3d and pad2d FP32 FWD oneDNN kernels (#43990)
jakpiase Jul 19, 2022
f382eb0
add save_cache/patch (#44420)
zhaocaibei123 Jul 19, 2022
9e30722
Standard name of sparse pool (#44344)
Jul 19, 2022
3788f5e
move eig operator from fluid to phi (#44398)
freeliuzc Jul 19, 2022
547075e
[Phi]Move angle op to phi (#44393)
0x45f Jul 19, 2022
4e1f769
[Eager]release gil when run backward (#44433)
wanghuancoder Jul 19, 2022
1047cb1
compile phi/backends into one static library (#44373)
zhiqiu Jul 19, 2022
7daae98
[IPU] Add more Ops (#44414)
Jul 20, 2022
3ed5328
Clean CI_SKIP_CPP_TEST (#44412)
tianshuo78520a Jul 20, 2022
2ee3202
Add dependency for read op in standalone executor (#44362)
From00 Jul 20, 2022
55427f1
Add distro in ci docker (#44332)
tianshuo78520a Jul 20, 2022
0e2dd2f
[Phi] migrate as_complex kernel to phi (#44438)
veyron95 Jul 20, 2022
28cb006
[GPUPS]FleetWrapper initialize (#44441)
zmxdream Jul 20, 2022
8753a2b
[XPU][NPU] (1) add device_guard. (2) add support for LoDTensorArray o…
houj04 Jul 20, 2022
54c7dfa
[IPU] add Op uts (#44415)
Jul 20, 2022
1882ffd
transfer block_id to CreateVarNode in multi_devices_graph_pass (#44366)
pangyoki Jul 20, 2022
b8d106e
【GPUPS】Adam accessor (#43919)
danleifeng Jul 20, 2022
c99c70c
[Phi] migrate sync_batch_norm to phi (#44369)
affectionlu Jul 20, 2022
99bf700
[GPUPS]Fix psgpuwrapper initialization (#44468)
zmxdream Jul 20, 2022
889bdde
[Phi] migrate exponential kernel to phi (#44376)
zhwesky2010 Jul 20, 2022
41f11d2
[PHI] move diag_embed op to phi. (#44408)
ZHUI Jul 20, 2022
1e1a4b9
[MLU] set_value performance optimizing (#44390)
fuyou765 Jul 20, 2022
e0b4efa
Update api changing approve members (#44463)
chenwhql Jul 20, 2022
dafe855
fix bug,test=document_fix (#44478)
XieYunshen Jul 20, 2022
2883e4b
[Phi] migrate clip_by_norm to phi (#44458)
affectionlu Jul 20, 2022
fbfdea5
add eigen3 dependency for phi_backends (#44479)
zhiqiu Jul 20, 2022
15dd94a
remove fleet_13 ut in parallel_UT_rule.py; test=develop (#44477)
danleifeng Jul 20, 2022
98e9685
[PHI]Seperate xshape kernel from normal kernel (#44315)
YuanRisheng Jul 20, 2022
438ca7f
[AutoParallel] fix unittest with paddle.distributed.launch (#44439)
zhaoyinglia Jul 21, 2022
0243c6c
[Phi] add temporal_shift yaml (#44409)
ccrrong Jul 21, 2022
3745571
[Paddle inference] Add conv_fusion_fp16 (#44435)
xiaoxiaohehe001 Jul 21, 2022
d373f4f
fix some convert error found in tipc. (#44457)
jiweibo Jul 21, 2022
5414694
[BugFix]Fix randint_like bugs when save program that don't need use t…
YuanRisheng Jul 21, 2022
1a7f2de
add adaptive pool and softmax with cross entropy supports different a…
ykkk2333 Jul 21, 2022
85c6937
add slot attr for push sparse op (#44422)
zhaocaibei123 Jul 21, 2022
32c97a9
[Dy2Sta]Fix Segment Fault while training multi-card if params have no…
Aurelius84 Jul 21, 2022
32b3469
fix tensor stream error in custom op (#44500)
chenwhql Jul 21, 2022
5b3f91d
Replace with dygraph op calling method. (#44331)
limin2021 Jul 21, 2022
a0bccd9
[JitLayer]Pybind PEFunction and call phi api in layer_test (#44465)
0x45f Jul 21, 2022
78b5c10
[Sparse] Add sparse addmm kernel (dense+coo*dense->dense,dense+csr*de…
zhwesky2010 Jul 21, 2022
55e5ab8
[Eager] bilinear_tensor_product yaml (#44459)
wanghuancoder Jul 21, 2022
ba89a3d
[ Phi ] svd transfer (#44392)
2742195759 Jul 21, 2022
c3ba805
[Paddle-TRT] fix_fill_constant (#44481)
zhoutianzi666 Jul 21, 2022
7ab0e33
[MLU] transpose avg_pool2d to NHWC for better performance. (#44475)
ShawnNew Jul 21, 2022
0aa344f
[jit] jit support property.proto (#44337)
zh794390558 Jul 21, 2022
185a900
[ Dy2static ] infer_program may be incorrect in amp mode. (#44487)
2742195759 Jul 21, 2022
3e1280e
Fc fp16 (#44505)
ming1753 Jul 21, 2022
4f86092
add batch stream (#44524)
jiweibo Jul 22, 2022
a2b3932
shufflechannelfix (#44516)
xiaoxiaohehe001 Jul 22, 2022
5ee4a21
fix arg_max to select first index (#44521)
cifar10 Jul 22, 2022
1c0120e
[MLU] add floor kernel and grid_sampler kernel (#44498)
fwenguang Jul 22, 2022
db864f0
commit (#44534)
zhoutianzi666 Jul 22, 2022
3b0aa75
[CustomDevice] register Copy for custom device (#44200)
Aganlengzi Jul 22, 2022
fcfaa10
(modified) fc support fp16 (#44540)
ming1753 Jul 22, 2022
8037901
Add code of occupancy computing on DCU and avoid threadID bug for DCU…
yuguo-Jack Jul 22, 2022
8ccbb86
add xpu lars_momentum/pow2_decay (#44448)
QingshuChen Jul 22, 2022
ea4b2c5
[phi] move inverse op from fluid to phi (#44471)
freeliuzc Jul 22, 2022
18c7732
support send_partial, recv_partial and allgather_partial in ProcessGr…
haohongxiang Jul 22, 2022
19d9c73
[Sparse]add sparse unary api(expm1/deg2rad/rad2deg/relu6/leaky_relu) …
zhwesky2010 Jul 22, 2022
6b6f7a2
Fc fp16 (#44558)
ming1753 Jul 22, 2022
e32e4a1
Fix bug of amp code-gen (#44570)
zyfncg Jul 25, 2022
c0a29d2
[JitLayer]Fix jit.save error when save params combined (#44504)
0x45f Jul 25, 2022
3e17016
[Phi] Migrate squared_l2_norm_op to phi (#44492)
affectionlu Jul 25, 2022
c5a1e49
add swish using TensorRT layer (#44561)
zhangjun Jul 25, 2022
b470bd1
Phi gird sampler migration (#44562)
wwbitejotunn Jul 25, 2022
ead696a
skip dist test cases if mlu card number only one, test=develop (#44549)
qili93 Jul 25, 2022
243acdb
[dy2st]Add ProgramHelper to polish build program logic in autoparalle…
Aurelius84 Jul 25, 2022
f9cd526
【Hackathon No.21】为 Paddle 新增 SoftMarginLoss (#42364)
yangguohao Jul 25, 2022
3244a9d
[MLU]transpose convbpf output to HWCN for better performance (#44552)
Ashelly1 Jul 25, 2022
a54c695
Fc fp16 (#44578)
ming1753 Jul 25, 2022
d0f4465
[Auto Parallel] Add dist op cost (#44146)
Caozhou1995 Jul 25, 2022
ff216f1
Improve CI unittest parallel execution strategy (#44334)
zhangbo9674 Jul 26, 2022
fb80048
Move bmm OP from fluid to phi (#44496)
BiynXu Jul 26, 2022
9bc54c8
[PHI]Move slogdeterminant op to phi (#44547)
BiynXu Jul 26, 2022
1a22226
Rename pybind_boost_header.h (#44592)
From00 Jul 26, 2022
65ad58b
unify data type and property enum value (#44585)
chenwhql Jul 26, 2022
1892a44
inference multi stream support handle lazy init. (#44563)
jiweibo Jul 26, 2022
8d3672f
Remove ControlDepVar in GraphToBlock (#44591)
From00 Jul 26, 2022
25d3dce
transfer the svd infer into phi infermeta (#44528)
2742195759 Jul 26, 2022
e0dd7f3
Einsum grad complex (#44598)
2742195759 Jul 26, 2022
6198ff2
add reverse yaml (#44518)
wanghuancoder Jul 26, 2022
ab198b4
Set more attrs in ReplaceScaleLossGradOp (#44576)
From00 Jul 26, 2022
98f8fa4
[Phi] Migrate box coder to phi. (#44550)
affectionlu Jul 26, 2022
50de8a4
fix behavior of device_id=None in Tensor.cuda (#44515)
zhwesky2010 Jul 26, 2022
e3ee510
fix windows cuda11.7 bug (#44601)
betterpig Jul 26, 2022
4bc22b6
add horizontal federation learning ps feature (#44327)
ziyoujiyi Jul 26, 2022
356ff43
[MLU] rollback cntoolkit vetsion to 2.8.5 (#44595)
fwenguang Jul 26, 2022
0d51fcf
[CustomDevice] add blas_axpby api for gradient_accumulator (#44584)
ronny1996 Jul 26, 2022
22342d5
add sin,cos,exp primitive operators (#44345)
cxxly Jul 26, 2022
9841b30
Optimize sparse convolution (#43576)
Jul 26, 2022
b6e8480
Merge kProgramDescs in GraphToProgram (#44526)
From00 Jul 26, 2022
33cc0f7
[Eager] Add warpctc yaml (#44617)
ZHUI Jul 26, 2022
9b662be
Add a feed op before each input parameter var. (#44499)
wzzju Jul 26, 2022
963163e
fix record event for operator type in new dygraph (#44582)
rainyfly Jul 26, 2022
35ca1ce
fix bug of elementwise_add_grad, *test=kunlun (#44545)
helen88 Jul 27, 2022
42d58dd
[IPU] small bug fix (#44473)
gglin001 Jul 27, 2022
15c0c9d
support auto fallback to cpu kernel for cusom device (#44639)
zyfncg Jul 27, 2022
a71cfd8
fix dygraph bugs in broadcast_to api. (#44612)
limin2021 Jul 27, 2022
ce7c799
add set_dtype for inverse_op (#44618)
freeliuzc Jul 27, 2022
d62af8b
refine overalls.cmake (#44623)
zhiqiu Jul 27, 2022
122fff4
[PHI]Add yaml and unittest for bmm op (#44625)
BiynXu Jul 27, 2022
eafd428
Phi average accumulates migration (#44554)
wwbitejotunn Jul 27, 2022
7ee442c
new exe not support pg (#44628)
pangyoki Jul 27, 2022
2a5437a
[CustomDevice]fix phi kernel header (#44637)
Aganlengzi Jul 27, 2022
efb4d5c
[CustomDevice] add process_group_xccl ut (#44632)
ronny1996 Jul 27, 2022
e7c7280
Fix conv api name (#44636)
Jul 27, 2022
28aa0c6
[DCU] Fix NAN problem when training BERT on DUC platform (#44643)
FeixLiu Jul 27, 2022
0dae79a
[JitLayer]Remove include fluid head files in JitLayer (#44597)
0x45f Jul 27, 2022
2bf5745
[jit] jit.save support property serialization (#44581)
zh794390558 Jul 27, 2022
16506d8
Replaced add_custom_command with add_custom_target in xpu_kp_cmake (#…
AnnaTrainingG Jul 27, 2022
4b7fe61
add adagrad and rmsprop yaml (#44631)
Caozhou1995 Jul 27, 2022
b20f771
[phi] move crop_tensor kernel from fluid to phi (#44574)
freeliuzc Jul 27, 2022
be13271
fix RemoveIntermediateOut in fuse_elewise_add_act_pass while converti…
pangyoki Jul 27, 2022
8a07d02
fix UTs on physical ipu (#44647)
gglin001 Jul 27, 2022
8bf7cd8
[IPU] add more loss ops (#44646)
gglin001 Jul 27, 2022
a6d0577
add g_ipuplace_pytype (#44648)
gglin001 Jul 27, 2022
84d595f
Strided slice fp16 (#44653)
ming1753 Jul 27, 2022
f49b0cb
[MLU]fix sync_batch_norm and concat_grad op (#44586)
Jul 27, 2022
5be7a1f
retain dist op returns (#44634)
zhaoyinglia Jul 27, 2022
ae25ab5
xpu unittest grad compute supports more types, *test=kunlun (#44606)
ykkk2333 Jul 27, 2022
ea91ca2
[Eager] Add hierarchical_sigmoid yaml (#44638)
ZHUI Jul 27, 2022
8fc1cf6
add matrix_nms in python/paddle/vision/ops.py (#44357)
ghostxsl Jul 27, 2022
822e42d
[auto parallel] bug fix for op has sub_block attr created with copy_f…
FeixLiu Jul 28, 2022
8ee9140
Change the way to set attributes for grad op maker (#44514)
Jul 28, 2022
acf07c7
[XPU] add top_k op (#44656)
houj04 Jul 28, 2022
a90b8dc
Support broadcast tensor in phi system (#44590)
JiabinYang Jul 28, 2022
768e50c
[PHI] Move spectral_norm to phi (#44577)
Bobholamovic Jul 28, 2022
d4cf02b
Complete the dtypes for all_gather, add all_gather_object api (#44417)
LiYuRio Jul 28, 2022
acde295
[Eager] refactor general_grad and fix some bugs (#44611)
veyron95 Jul 28, 2022
067107a
support log_grad op, *test=kunlun (#44662)
helen88 Jul 28, 2022
9a3e1bc
[LAUNCH] add distributed launch check tools (#44495)
kuizhiqing Jul 28, 2022
511a2c1
Move api(lgamma) from legacy_api.yaml to api.yaml (#44355)
Charles-hit Jul 28, 2022
28b4b2f
Move frame kernel to phi (#44615)
Charles-hit Jul 28, 2022
dfeb194
delete elementwise pow in xpu_kp_list (#44661)
AnnaTrainingG Jul 28, 2022
a9f76d0
[MLU] fix log_softmax mode selection. (#44669)
ShawnNew Jul 28, 2022
2cec4c8
adapt for resnet (#44685)
zhaoyinglia Jul 28, 2022
55aaeb3
Fix some problem of kernel fallback in C++ API (#44681)
zyfncg Jul 28, 2022
2781740
fix bugs of lstsq (#44689)
haohongxiang Jul 28, 2022
798a4ea
migrate dirichlet kernel to phi (#44434)
cxxly Jul 28, 2022
20759c3
[phi]move softsign from fluid to phi (#44616)
jiahy0825 Jul 28, 2022
ed85758
[Paddle Inference] Support depthwise_conv2d fp16. (#44642)
xiaoxiaohehe001 Jul 28, 2022
8aa286d
fix logging debug level (#44684)
ziyoujiyi Jul 28, 2022
e9b9201
Skip CUDA Graph case for standalone executor (#44693)
From00 Jul 28, 2022
bd813d3
[Eager] fix lerp grad kernel logic (#44705)
veyron95 Jul 28, 2022
72b65d6
clone ort_predictor reuse session (#44703)
heliqi Jul 28, 2022
e61f48c
[XPU] add sampling_id op, add top_k op, update xdnn api. test=kunlun …
houj04 Jul 29, 2022
856f741
fused_fc_elementwise_layernorm_op support fp16 (#44710)
ming1753 Jul 29, 2022
8858439
[Phi] Add yaml for assign_value (#44596)
aoyulong Jul 29, 2022
3d88816
[PHI] Move lu to phi (#44605)
Bobholamovic Jul 29, 2022
b7496bc
[MLU] add pytest for mlu strided_slice kernel (#44523)
fwenguang Jul 29, 2022
8c43c0f
Support backward final hook (#44686)
JiabinYang Jul 29, 2022
23ad0cc
update to sdk2.6.0 (#44673)
gglin001 Jul 29, 2022
da3743f
move CUDAStream to phi (#44529)
zhiqiu Jul 29, 2022
72f2ed4
[Auto parallel] Optimization Tuning (#43782)
JZ-LIANG Jul 29, 2022
5d94618
skip cast trt convert when input dtype is bool (#44716)
ccrrong Jul 29, 2022
e3766da
[LAUNCH] fix set args bug (#44717)
kuizhiqing Jul 29, 2022
0551566
Phi softplus migration (#44542)
wwbitejotunn Jul 29, 2022
a6c50a6
【PaddlePaddle Hackathon 3 No.15】为 Paddle 新增 count_nonzero (#44169)
thunder95 Jul 29, 2022
653885a
[WIP] Matmul v1 & v2 unification -- part 1 (#44640)
jczaja Jul 29, 2022
e439d73
add FLAGS_enable_api_kernel_fallback (#44706)
Aganlengzi Jul 29, 2022
a991990
phi_multiclass_nms3 (#44613)
zhiboniu Jul 29, 2022
fecbc95
add some fp16 op for kunlun resnet50 model (#44672)
QingshuChen Jul 29, 2022
ec1e0d5
add dist op costs (#44701)
Caozhou1995 Jul 29, 2022
ab2aaf8
[API/OP] Migrate Lstsq op into phi (#44318)
haohongxiang Jul 29, 2022
0a2db7c
Add sparse SyncBatchNorm (#43520)
Jul 29, 2022
8849056
unify fluid::CUDADeviceContext and phi::GpuContext (#44723)
zhiqiu Jul 29, 2022
46be685
【PaddlePaddle Hackathon 3 No.12】为 Paddle 新增 pairwise_distance (#44161)
Ainavo Jul 29, 2022
d92b2f2
Phi prior box (#44431)
zhiboniu Jul 30, 2022
3948c24
ort backend support output mutable data (#44724)
heliqi Aug 1, 2022
c905a9e
[PHI] Move lu_unpack to phi (#44674)
Bobholamovic Aug 1, 2022
3a30178
update document of quantile and nanquantile; test=document_fix (#42413)
Asthestarsfalll Aug 1, 2022
8482f1a
migrate reduce_amin,reduce_amax kernel to phi (#44698)
cxxly Aug 1, 2022
24187fc
[Paddle Inference] add varlen_token_prune plugin, pass, convert (#44733)
Wangzheee Aug 1, 2022
1d79f1f
support build with Ninja on Linux (#44210)
gglin001 Aug 1, 2022
2a8219c
migrate overlap_add and overlap_add_grad op (#44739)
levi131 Aug 1, 2022
71f74f5
Fix to CI (#44744)
jczaja Aug 1, 2022
74e46a9
infer context fix place error. (#44726)
jiweibo Aug 1, 2022
9d2e0ec
[operator migration] Migrate unstack_op and nms_op (#44424)
HexToString Aug 1, 2022
cd94be6
Update linalg.py (#44347)
OccupyMars2025 Aug 1, 2022
3e8708b
Fix test and doc (#44735)
Aug 1, 2022
e48cb42
fix all_gather_object with various length, test=allcases (#44718)
LiYuRio Aug 1, 2022
16c7c96
update manipulation.py paddle.moveaxis (#44191)
mrcangye Aug 1, 2022
f064ead
[CI] CI for Distributed (#44085)
sljlp Aug 1, 2022
212f015
generate_unify_header supports excludes (#44761)
Aganlengzi Aug 1, 2022
7512231
[JitLayer]Polish PEFuntion to speed up JitLayer and fix memory leak (…
0x45f Aug 1, 2022
ffb3154
paddle2onnx update version to 1.0.0rc2 (#44759)
heliqi Aug 1, 2022
c28bb98
set parallel_job according to CUDA memory in Windows CI unittest (#44…
betterpig Aug 1, 2022
1149a37
[Sparse] optimize sparse attention (#44743)
zhwesky2010 Aug 1, 2022
798670b
GPUGraph merge to develop (#44594)
danleifeng Aug 1, 2022
f15d930
Revert for cmake static library errors on XPU KP #44762
zhiboniu Aug 1, 2022
8676302
unify gpu context (#44740)
zhiqiu Aug 1, 2022
937ea24
API doc(en) Bugs fix in 第四期体验评估 (#44749)
yang131313 Aug 1, 2022
d788e72
Modify the output result annotation under the lerp function (#44035)
mrcangye Aug 2, 2022
9b97ac7
Refactor build_op_downstream_map for standalone executor (#44729)
From00 Aug 2, 2022
1bd6e28
update xpu.cmake to 20220731, test=kunlun (#44767)
zhangyk0314 Aug 2, 2022
d8fedcb
fix ut new_group_api (#44764)
kuizhiqing Aug 2, 2022
9bf8077
support beam_search operator on xpu. test=kunlun (#44720)
mengqingchun02 Aug 2, 2022
c7cf12f
[phi] add yolov3_loss yaml and unittest (#44476)
ccrrong Aug 2, 2022
756f01d
Update manipulation.py for rot90() (#44038)
xiongjunfeng Aug 2, 2022
8737440
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
danleifeng Aug 2, 2022
ab5e2db
fix compile error;test=develop
danleifeng Aug 3, 2022
110f88c
fix compile error;test=develop
danleifeng Aug 3, 2022
f7e78d5
Merge branch 'gpugraph' of https://github.com/xuewujiao/Paddle into d…
danleifeng Aug 4, 2022
c7f414a
fix compile;test=develop
danleifeng Aug 4, 2022
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ Standard: Cpp11
AllowAllParametersOfDeclarationOnNextLine: true
BinPackParameters: false
BinPackArguments: false
IncludeBlocks: Preserve
IncludeIsMainSourceRegex: (\.cu)$
...
125 changes: 125 additions & 0 deletions .cmake-format.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -----------------------------
# Options affecting formatting.
# -----------------------------
with section("format"):

# How wide to allow formatted cmake files
line_width = 80

# ------------------------------------------------
# Options affecting comment reflow and formatting.
# ------------------------------------------------
with section("markup"):
# enable comment markup parsing and reflow
enable_markup = False

# If comment markup is enabled, don't reflow the first comment block in each
# listfile. Use this to preserve formatting of your copyright/license
# statements.
first_comment_is_literal = True

# ----------------------------------
# Options affecting listfile parsing
# ----------------------------------
with section("parse"):
# Additional FLAGS and KWARGS for custom commands
additional_commands = {
"cc_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"nv_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"hip_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"xpu_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"hip_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"hip_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"go_library": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"copy": {
"kwargs": {
"SRCS": '*',
"DSTS": '*',
}
},
"cc_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"nv_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"hip_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"xpu_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"go_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
},
"py_test": {
"kwargs": {
"SRCS": '*',
"DEPS": '*',
}
}
}
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ paddle/fluid/API_PR.spec
paddle/fluid/eager/api/generated/*
paddle/fluid/op_use_default_grad_maker_DEV.spec
paddle/fluid/op_use_default_grad_maker_PR.spec
paddle/fluid/operators/ops_extra_info.h
paddle/phi/api/backward/backward_api.h
paddle/phi/api/backward/sparse_bw_api.h
paddle/phi/api/include/api.h
Expand Down Expand Up @@ -64,5 +65,9 @@ paddle/infrt/dialect/pd/common/pd_ops_info.h
paddle/infrt/tests/dialect/Output
paddle/infrt/tests/lit.cfg.py
paddle/infrt/kernel/phi/infershaped/infershaped_kernel_launchers.cc
paddle/fluid/pybind/eager_final_state_op_function_impl.h
paddle/fluid/pybind/tmp_eager_final_state_op_function_impl.h
paddle/fluid/pybind/eager_final_state_op_function.cc

# these files (directories) are generated before build system generation
paddle/fluid/operators/generated_op.cc
paddle/phi/ops/compat/generated_sig.cc
paddle/phi/api/yaml/parsed_apis/
37 changes: 31 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
sha: v1.0.1
rev: v1.1.14
hooks:
- id: remove-crlf
files: (?!.*third_party)^.*$ | (?!.*book)^.*$
- repo: https://github.com/PaddlePaddle/mirrors-yapf.git
sha: 0d79c0c469bab64f7229c9aca2b1186ef47f0e37
- repo: https://github.com/google/yapf
rev: v0.32.0
hooks:
- id: yapf
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
exclude: |
(?x)^(
python/paddle/fluid/tests/unittests/dygraph_to_static/test_error.py|
python/paddle/fluid/tests/unittests/dygraph_to_static/test_origin_info.py
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
Expand All @@ -19,15 +24,19 @@ repos:
files: (?!.*third_party)^.*$ | (?!.*book)^.*$
- id: end-of-file-fixer
- id: sort-simple-yaml
files: (api|backward)\.yaml$
files: (api|backward|api_[a-z_]+)\.yaml$
- repo: local
hooks:
- id: clang-format-with-version-check
- id: clang-format
name: clang-format
description: Format files with ClangFormat.
entry: bash ./tools/codestyle/clang_format.hook -i
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|xpu|kps)$
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|xpu|kps)$
exclude: |
(?x)^(
paddle/fluid/distributed/ps/thirdparty/round_robin.h
)$
- repo: local
hooks:
- id: cpplint-cpp-source
Expand Down Expand Up @@ -55,3 +64,19 @@ repos:
(?x)^(
paddle/utils/.*
)$
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
# exclude paddle/fluid/operators/CMakeLists.txt, see the comment
# https://github.com/PaddlePaddle/Paddle/pull/43057#pullrequestreview-993471860
exclude: |
(?x)^(
paddle/fluid/operators/CMakeLists.txt
)$

- repo: https://github.com/cmake-lint/cmake-lint
rev: 1.4.2
hooks:
- id: cmakelint
args: [--config=./tools/codestyle/.cmakelintrc]
Loading