-
Notifications
You must be signed in to change notification settings - Fork 77
Fusion axioms_ type. #5908
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?
Fusion axioms_ type. #5908
Conversation
… impl namespace before rm.
Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 PR contains tests |
| ⚡ Recommended focus areas for review |
Memory Management
|
Test failures
-
(Medium, 3)
Shape mismatch in thunderfx nvFuser higher-order inplace alias update testsTest Name A100 GB200 H100 Source thunder.tests.test_update_aliases.test_higher_order_inplace_alias_update_nvfuser_cuda_thunder.dtypes.float32 ❌ ❌ ❌ -
(Medium, 1)
Thunder–Torch scalar mismatch in nanogpt autograd test (thunder.tests.test_networks)Test Name GB200 Source thunder.tests.test_networks.test_nanogpt_complete_autograd_nvfuser_cuda_thunder.dtypes.float32 ❌
Greptile OverviewGreptile SummaryRefactored Key changes:
This change aligns with the pattern used for other member variables like Confidence Score: 5/5
Sequence DiagramsequenceDiagram
participant Client
participant IrContainer
participant axioms_
Note over IrContainer,axioms_: Before: std::unique_ptr<std::vector<Val*>>
Note over IrContainer,axioms_: After: std::vector<Val*>
Client->>IrContainer: axioms()
IrContainer->>IrContainer: lazyInitAxioms()
alt axioms_.empty()
IrContainer->>axioms_: reserve(size)
IrContainer->>axioms_: push_back(expr1)
IrContainer->>axioms_: push_back(expr2)
IrContainer->>axioms_: push_back(expr3)
end
IrContainer-->>Client: return axioms_
Client->>IrContainer: assumePositive(val)
IrContainer->>IrContainer: lazyInitAxioms()
IrContainer->>axioms_: emplace_back(gtExpr)
Client->>IrContainer: copy(from, to)
alt !from->axioms_.empty()
IrContainer->>axioms_: reserve(size)
loop for each pred
IrContainer->>axioms_: push_back(clone(pred))
end
end
Client->>IrContainer: clear()
IrContainer->>axioms_: clear()
Client->>IrContainer: swap(a, b)
IrContainer->>axioms_: std::swap(a.axioms_, b.axioms_)
|
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.
No files reviewed, no comments
|
!test |
3057d13 to
915d08f
Compare
No description provided.