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_)
|
|
!test |
3057d13 to
915d08f
Compare
No description provided.