-
Notifications
You must be signed in to change notification settings - Fork 75
Enable TensorIndexer for the legacy Python tests #5822
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
Conversation
|
!test |
Auto-merge Status❌ Internal CI is finished (pending) Description
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
| ||
| Enhancement |
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 PR contains tests |
| 🔒 Security concerns No security concerns identified. The changes are limited to test configuration and environment variable management. |
| ⚡ Recommended focus areas for review |
Environment Variable Scope
|
Test failures (partial, pipeline still running)
-
(Medium, 3)
Thunder-compiled nanoGPT returns zero loss (scalar mismatch) in test_networks on multiple CUDA runnersTest Name A100 GB200 H100 Source thunder.tests.test_networks.test_nanogpt_complete_autograd_nvfuser_cuda_thunder.dtypes.float32 ❌ ❌ ❌
Greptile SummaryEnabled TensorIndexer (
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Pytest
participant conftest
participant OSEnv
participant Test
participant NVFuserTest
participant FusionDefinition
participant CppOptions
Pytest->>conftest: pytest_configure(config)
conftest->>OSEnv: Get NVFUSER_ENABLE
OSEnv-->>conftest: existing value or empty
conftest->>OSEnv: Set NVFUSER_ENABLE with id_model options
Pytest->>Test: Run test
Test->>NVFuserTest: exec_nvfuser(fusion_func, inputs)
Note over NVFuserTest: Removed runtime addition<br/>of id_model_extra_validation
NVFuserTest->>FusionDefinition: execute(inputs, options)
FusionDefinition->>CppOptions: Read NVFUSER_ENABLE env var
CppOptions-->>FusionDefinition: id_model, id_model_extra_validation
FusionDefinition->>CppOptions: Apply runtime enable options
FusionDefinition->>FusionDefinition: Execute with TensorIndexer enabled
|
|
There's a failure with a Thunder test ( |
Retried the tests and they are gone. Wonder if there's some non-deterministic issue. |
jjsjann123
left a comment
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.
LGTM
Following up with #5781