We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
std::hash<int> doesn't hash, it just returns the int. So this code has a collision when dim[0] is 1 and 32.
std::hash<int>
https://github.com/flexflow/FlexFlow/blob/3a825ed6ae7425ea3578006e458cfcaf19e038a5/src/runtime/machine_view.cc#L49-L59
Solution is to use hash_combine in hash_utils.h.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
std::hash<int>
doesn't hash, it just returns the int. So this code has a collision when dim[0] is 1 and 32.https://github.com/flexflow/FlexFlow/blob/3a825ed6ae7425ea3578006e458cfcaf19e038a5/src/runtime/machine_view.cc#L49-L59
Solution is to use hash_combine in hash_utils.h.
The text was updated successfully, but these errors were encountered: