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

[Auto Parallel] Improve the interface and the underlying mechanisms #36617

Merged
merged 71 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
acc3d71
default dist op
JZ-LIANG Sep 14, 2021
74c3a4c
add dist_attr for dist op
Sep 8, 2021
5f958b1
add unitest
Sep 8, 2021
2a8672b
update inputname
Sep 8, 2021
9ef4c5f
update function name
Sep 9, 2021
c30dc3e
add unitest
Sep 9, 2021
4c813d6
update CMakeLists.txt for CI
Sep 13, 2021
c811cde
fix dis_matmul
Sep 14, 2021
8c7e201
fix compile error
Sep 14, 2021
f94b0b2
update matmul to matmul_v2
Sep 14, 2021
e28a81c
unify api
JZ-LIANG Sep 15, 2021
8b7622f
unify api
JZ-LIANG Sep 15, 2021
d04e623
Merge remote-tracking branch 'zyl1/dist_attr' into AutoParallel/defau…
JZ-LIANG Sep 15, 2021
6985c63
Merge remote-tracking branch 'upstream/develop' into AutoParallel/def…
JZ-LIANG Sep 15, 2021
c721d85
todo
JZ-LIANG Sep 15, 2021
8e3ce8f
update distop forward func
Sep 16, 2021
12709d4
update distop forward func
Sep 16, 2021
f026d18
Merge remote-tracking branch 'upstream/develop' into AutoParallel/def…
JZ-LIANG Sep 17, 2021
c0ceb52
Merge pull request #1 from zhaoyinglia/AutoParallel/distop_forward
JZ-LIANG Sep 23, 2021
b56073e
auto parallel backward
JZ-LIANG Sep 23, 2021
c068acc
update dist op
JZ-LIANG Sep 23, 2021
4abef6a
autoparallel backward
JZ-LIANG Sep 23, 2021
0d3935e
Merge remote-tracking branch 'origin/AutoParallel/default-distop' int…
JZ-LIANG Sep 23, 2021
c27c7ab
add backward for embedding
JZ-LIANG Sep 23, 2021
7712140
temp1
JZ-LIANG Sep 24, 2021
9975ddf
temp2
JZ-LIANG Sep 24, 2021
cc2370d
temp3
JZ-LIANG Sep 24, 2021
9fa6ab0
temp4
JZ-LIANG Sep 24, 2021
f75760a
backward done1
JZ-LIANG Sep 26, 2021
f49d37c
backward done2
JZ-LIANG Sep 26, 2021
1d20248
backward done3
JZ-LIANG Sep 26, 2021
b9fbe44
dist embedding remove mp mode
JZ-LIANG Sep 26, 2021
5bc8c63
dist matmul remove mp mode
JZ-LIANG Sep 26, 2021
176916a
update dist embedding
JZ-LIANG Sep 26, 2021
3fdef28
dist op init1
JZ-LIANG Sep 27, 2021
cd4451d
dist op init 2
JZ-LIANG Sep 27, 2021
7c191af
update unitest
JZ-LIANG Sep 27, 2021
4547393
context remove parallel mode
JZ-LIANG Sep 28, 2021
93efde8
partitioner remove parallel mode
JZ-LIANG Sep 28, 2021
d15ef81
update unitest
JZ-LIANG Sep 28, 2021
46b801b
Merge remote-tracking branch 'upstream/develop' into AutoParallel/def…
JZ-LIANG Oct 12, 2021
f6f6351
a more general method to support varying mesh in pipeline parallel
JZ-LIANG Oct 12, 2021
9fffd59
support varying mesh in pipeline parallel
JZ-LIANG Oct 13, 2021
aca3806
embedding support varying mesh in pipeline parallel
JZ-LIANG Oct 13, 2021
dd05a7e
matmul support varying mesh in pipeline parallel
JZ-LIANG Oct 13, 2021
7d42ddb
default dist op support varying mesh in pipeline parallel
JZ-LIANG Oct 13, 2021
943a860
dist attribute for startup program
JZ-LIANG Oct 13, 2021
5546abb
default dist op support varying mesh in pipeline parallel 2
JZ-LIANG Oct 13, 2021
98b2088
partitoner support varying mesh in pipeline parallel
JZ-LIANG Oct 13, 2021
6e1af69
revise logic for auto compeletion
JZ-LIANG Oct 13, 2021
23f42a5
revise framework.py
JZ-LIANG Oct 13, 2021
7d870a4
Merge remote-tracking branch 'upstream/develop' into AutoParallel/def…
JZ-LIANG Oct 13, 2021
88a5995
revise reshard unitest
JZ-LIANG Oct 13, 2021
fab1842
revise unitest for parallelize
JZ-LIANG Oct 13, 2021
9074055
chmod
JZ-LIANG Oct 13, 2021
f6168f3
fixed bug for dist embedding name mapping
JZ-LIANG Oct 14, 2021
d47d0fe
Merge remote-tracking branch 'upstream/develop' into AutoParallel/def…
JZ-LIANG Oct 14, 2021
ec5e2f1
Improve the interface and the underlying mechanisms of auto parallel
aoyulong Oct 21, 2021
e167a7a
revise completion for backward
JZ-LIANG Oct 26, 2021
8b8f35e
revise completion for update
JZ-LIANG Oct 26, 2021
3a2d9df
revise completion for update
JZ-LIANG Oct 26, 2021
23d1ccd
update unitest
JZ-LIANG Oct 26, 2021
ee54562
chmod
JZ-LIANG Oct 26, 2021
d2cd654
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
aoyulong Oct 21, 2021
2e3e41f
Merge branch 'pr_36744' into auto_api_and_attr
aoyulong Oct 26, 2021
d579db6
bugfix for grad_op output var's mesh
JZ-LIANG Oct 27, 2021
950ed88
Merge branch 'pr_36744' into auto_api_and_attr
aoyulong Oct 27, 2021
c819435
Modify codes for pr 36744
aoyulong Oct 27, 2021
4e11ea4
Remove unnecessary comments in framework.py
aoyulong Oct 27, 2021
fce0d1f
Remove unnecessary comments in completion.py
aoyulong Oct 27, 2021
a40e7ea
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
aoyulong Oct 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions python/paddle/distributed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@

from .auto_parallel import shard_op # noqa: F401
from .auto_parallel import shard_tensor # noqa: F401
from .auto_parallel import set_shard_mask # noqa: F401
from .auto_parallel import set_offload_device # noqa: F401
from .auto_parallel import set_pipeline_stage # noqa: F401
from .auto_parallel import ProcessMesh # noqa: F401

from .fleet import BoxPSDataset # noqa: F401

Expand Down
9 changes: 5 additions & 4 deletions python/paddle/distributed/auto_parallel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

from .interface import shard_tensor # noqa: F401
from .interface import shard_op # noqa: F401
from .interface import set_shard_mask # noqa: F401
from .interface import set_offload_device # noqa: F401
from .interface import set_pipeline_stage # noqa: F401
from .interface import ProcessMesh # noqa: F401
from .process_mesh import ProcessMesh
# from .interface import set_shard_mask # noqa: F401
# from .interface import set_offload_device # noqa: F401
# from .interface import set_pipeline_stage # noqa: F401
# from .interface import ProcessMesh # noqa: F401
from .completion import complete_annotation # noqa: F401
from .completion import complete_backward_annotation # noqa: F401
from .reshard import reshard # noqa: F401
Expand Down
309 changes: 0 additions & 309 deletions python/paddle/distributed/auto_parallel/attribute.py

This file was deleted.

Loading