Skip to content

Commit

Permalink
sharding optimizer color edit form int to dict; test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
danleifeng committed Jan 10, 2025
1 parent 948b7e2 commit 3f400bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/collective/fleet/hybrid_parallel_sharding_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def __init__(
p.color = {'color': "linear1"}

for p in self.linear2.parameters():
p.color = {'color': "linear1"}
p.color = {'color': "linear2"}

for p in self.linear3.parameters():
p.color = {'color': "linear3"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __init__(
p.color = {'color': "linear1"}

for p in self.linear2.parameters():
p.color = {'color': "linear1"}
p.color = {'color': "linear2"}

for p in self.linear3.parameters():
p.color = {'color': "linear3"}
Expand Down

0 comments on commit 3f400bd

Please sign in to comment.