[Fix] Integer overflow in network frontend causes premature termination of simulation with empty end-to-end results#127
Open
WWeiOne wants to merge 2 commits intoaliyun:masterfrom
Open
[Fix] Integer overflow in network frontend causes premature termination of simulation with empty end-to-end results#127WWeiOne wants to merge 2 commits intoaliyun:masterfrom
WWeiOne wants to merge 2 commits intoaliyun:masterfrom
Conversation
Merged
Collaborator
|
This commit looks good to me @Huoyuan100861 |
Contributor
|
This indeed solves a problem that was hard to detect. Maybe also change |
Contributor
Author
Good point! |
Contributor
Author
|
@zyksir @Huoyuan100861 All updates are in, ready for review |
Contributor
|
This very simple bugfix is from seven months ago, why was not merged yet? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Description
recvHashandall_sent_chunksizegot integer overflow when the data size in collective communication is large, and there are implicit type conversions, leading to an early stop without an end-to-end result.Observation
file:

ncclFlowModel_EndToEnd.csvemptyfile:
SimAI.log, strange count, size and message size. and early stop.Minimal Reproduction
Workload
Topology
Change Made: