Skip to content

Conversation

@eternalNight
Copy link
Contributor

On clear, GraphOrder does not clears ordered_frames. That may confuses subsequent passes after the first iteration.

Use an OrderedDict to record the mapping from frame IDs to other graph-related information.

Also fix the type annotation of graph_order which is a list of (int , bool) tuples instead of a list of int.

Copy link
Collaborator

@tohtana tohtana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @eternalNight!

@tohtana tohtana enabled auto-merge (squash) September 15, 2025 21:21
@tohtana tohtana self-assigned this Sep 15, 2025
@tohtana
Copy link
Collaborator

tohtana commented Sep 15, 2025

@eternalNight Can you merge master into your branch?

@tohtana tohtana disabled auto-merge September 15, 2025 22:08
@tohtana tohtana enabled auto-merge (squash) September 15, 2025 22:08
On clear, GraphOrder does not clears ordered_frames. That may confuses
subsequent passes after the first iteration.

Use an OrderedDict to record the mapping from frame IDs to other
graph-related information.

Also fix the type annotation of graph_order which is a list of (int
, bool) tuples instead of a list of int.

Signed-off-by: Junjie Mao <[email protected]>
auto-merge was automatically disabled September 16, 2025 02:45

Head branch was pushed to by a user without write access

@eternalNight eternalNight force-pushed the eternalNight/cleanup-graph-order branch from f9eb44e to a71a47d Compare September 16, 2025 02:45
@eternalNight
Copy link
Contributor Author

@eternalNight Can you merge master into your branch?

Sure. Branch rebased.

@tohtana tohtana enabled auto-merge (squash) September 16, 2025 05:03
@tohtana tohtana merged commit e9d5d41 into deepspeedai:master Sep 16, 2025
12 checks passed
mauryaavinash95 pushed a commit to DataStates/DeepSpeed that referenced this pull request Oct 4, 2025
On clear, GraphOrder does not clears ordered_frames. That may confuses
subsequent passes after the first iteration.

Use an OrderedDict to record the mapping from frame IDs to other
graph-related information.

Also fix the type annotation of graph_order which is a list of (int ,
bool) tuples instead of a list of int.

Signed-off-by: Junjie Mao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants