-
Notifications
You must be signed in to change notification settings - Fork 78
Remove legacy bindings #5917
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?
Remove legacy bindings #5917
Conversation
|
!test |
|
Review updated until commit aa333da Description
|
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enhancement | 6 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Documentation | 5 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Miscellaneous | 1 files
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional files | 36 files
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 PR contains tests |
| ⚡ Recommended focus areas for review |
Build System Logic Issue
|
Test failures
-
(Medium, 3)
Shape mismatch in thunderfx higher-order inplace alias update (thunder/tests/test_update_aliases)Test Name A100 GB200 H100 Source thunder.tests.test_update_aliases.test_higher_order_inplace_alias_update_nvfuser_cuda_thunder.dtypes.float32 ❌ ❌ ❌ -
(Medium, 1)
Thunder nvFuser nanoGPT autograd scalar mismatch in test_networksTest Name H100 Source thunder.tests.test_networks.test_nanogpt_complete_autograd_nvfuser_cuda_thunder.dtypes.float32 ❌
Greptile OverviewGreptile SummaryThis PR removes the legacy Major Changes:
Critical Issues Found:
Confidence Score: 2/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant PR as PR (Remove Legacy Bindings)
participant Build as Build System
participant Python as Python Environment
participant Scripts as Doc Scripts
Dev->>PR: Remove nvfuser module files
Dev->>PR: Remove python_frontend bindings
Dev->>PR: Remove csrc/serde/fusion_record
PR->>Build: Update CMakeLists.txt
Build-->>Build: Remove nvfuser._C extension
Build-->>Build: Move common sources to nvfuser_direct
Build-->>Build: Remove nvfuser symlink
PR->>Python: Update python/utils.py
Python-->>Python: Remove nvfuser._C from setup
PR->>Scripts: Add TODO comments
Note over Scripts: Scripts still import nvfuser module!
Scripts--xPython: import nvfuser (FAILS)
PR->>Build: Update tools/check_symbol_visibility.sh
Build-->>Build: Remove nvfuser extension checks
|
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.
7 files reviewed, 2 comments
Additional Comments (2)
|
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.
8 files reviewed, 1 comment
Additional Comments (1)
|
7d0a9ba to
904ab90
Compare
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.
8 files reviewed, 1 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.
5 files reviewed, 7 comments
Additional Comments (7)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
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.
8 files reviewed, no comments
21cb6bd to
5107f26
Compare
|
!test --dev |
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.
7 files reviewed, 6 comments
|
|
||
| # TODO Update script to use nvfuser_direct module |
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.
TODO added but imports still reference removed nvfuser module - script will fail
| # TODO Update script to use nvfuser_direct module | |
| # TODO Update script to use nvfuser_direct module | |
| from nvfuser_direct import FusionDefinition, SchedulerType, DataType, ParallelType |
|
|
||
| # TODO Update script to use nvfuser_direct module |
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.
TODO added but imports still reference removed nvfuser module - script will fail
| # TODO Update script to use nvfuser_direct module | |
| # TODO Update script to use nvfuser_direct module | |
| from nvfuser_direct import FusionDefinition, SchedulerType |
| import math | ||
|
|
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.
TODO added but imports still reference removed nvfuser module - script will fail
| import math | |
| # TODO Update script to use nvfuser_direct module | |
| from nvfuser_direct import FusionDefinition, SchedulerType, DataType |
Additional Comments (3)
|
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.
7 files reviewed, 4 comments
| import itertools | ||
|
|
||
| # TODO Update script to use nvfuser_direct module | ||
| from nvfuser import FusionDefinition, SchedulerType, DataType, ParallelType |
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.
Script imports from removed nvfuser module and will fail at runtime
| from nvfuser import FusionDefinition, SchedulerType, DataType, ParallelType | |
| from nvfuser_direct import FusionDefinition, SchedulerType, DataType, ParallelType |
| @@ -6,6 +6,8 @@ | |||
| import torch | |||
| import itertools | |||
| import math | |||
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.
Script imports from removed nvfuser module and will fail at runtime
Additional Comments (2)
|
|
!test --dev |
This PR removes the
nvfuserpython module, corresponding pybind11 CPP bindings, and any references fromcsrc. Version is bumped to0.2.36.