-
Notifications
You must be signed in to change notification settings - Fork 66
Replay allocation in rfactor #5090
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
base: main
Are you sure you want to change the base?
Conversation
!test |
Review updated until commit 8888217 Description
Changes walkthrough 📝
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
!test |
!test |
This approach should be faster and simplifies the update logic. For PR #5090
// Axes in the original_td that are in the history of the rfactored domains. | ||
// These will mark which iter domains must be preserved as static | ||
// transformations to preserve compute semantics. | ||
auto all_deps_of_logical = DependencyCheck::getAllValsBetween( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code movement: moved to ReplayRFactor
constructor. We compute vals between maybeRoot/logical/allocation
to rfactor_axes
.
!test --diff |
!test --diff |
Issue #5079.
For multidevice, inferring tensor shapes relies on allocation domain. Rfactor does not replay the allocation domain, which led to wrong shape being inferred in the given test case and issue.