Conversation
|
Review updated until commit d21881d Description
|
| Relevant files | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enhancement | 7 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 |
| 🔒 No security concerns identified |
| ⚡ Recommended focus areas for review |
API Signature Changes
|
Greptile SummaryThis PR removes the legacy Key changes:
Remaining items to address:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph "Before (Removed)"
A[python/nvfuser/ package] --> B[python_frontend/ C++ bindings]
B --> C[libnvfuser.so]
C --> D[libnvfuser_codegen.so]
E[csrc/serde/fusion_record.cpp] --> B
end
subgraph "After (Retained)"
F[python/nvfuser_direct/ package] --> G[python_direct/ C++ bindings]
G --> H[libnvfuser_direct.so]
H --> I[libnvfuser_codegen.so]
J[python_common/ sources] --> H
end
style A fill:#f99,stroke:#c33
style B fill:#f99,stroke:#c33
style C fill:#f99,stroke:#c33
style E fill:#f99,stroke:#c33
style F fill:#9f9,stroke:#3c3
style G fill:#9f9,stroke:#3c3
style H fill:#9f9,stroke:#3c3
style I fill:#9f9,stroke:#3c3
style J fill:#9f9,stroke:#3c3
Last reviewed commit: d21881d |
Additional Comments (2)
|
Additional Comments (1)
|
7d0a9ba to
904ab90
Compare
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!
|
21cb6bd to
5107f26
Compare
|
|
||
| # TODO Update script to use nvfuser_direct module |
There was a problem hiding this comment.
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.
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.
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)
|
| import itertools | ||
|
|
||
| # TODO Update script to use nvfuser_direct module | ||
| from nvfuser import FusionDefinition, SchedulerType, DataType, ParallelType |
There was a problem hiding this comment.
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.
Script imports from removed nvfuser module and will fail at runtime
Additional Comments (2)
|
aa333da to
da9c5e0
Compare
tools/check_symbol_visibility.sh
Outdated
There was a problem hiding this comment.
Stale reference to removed nvfuser extension
This line references nvfuser_undefined_symbols.txt, but that file is never generated since the check_extension_symbols "$NVFUSER_EXT" "nvfuser" call was removed. Only nvfuser_direct_undefined_symbols.txt is produced now. This should be removed.
| echo "- nvfuser_undefined_symbols.txt: Undefined symbols from nvfuser extension" |
|
|
||
| # NvFuser Serialization | ||
|
|
||
| ## Serialization is disabled because legacy bindings are removed. |
There was a problem hiding this comment.
Stale documentation referencing removed code
The note on line 9 says serialization is "disabled," but the rest of the document (lines 14–421) still extensively describes FusionCache, RecordFunctor, the Trie structure, and the serde testing process — all of which rely on the now-removed python_frontend code. Consider either removing or archiving the bulk of this file, or at least adding a more prominent deprecation notice explaining which parts are still valid vs. obsolete.
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!
* LaunchParams is constructed when nvfuser_direct is loaded. * It uses at::cuda::getCurrentDeviceProperties(), which initializes Cuda context.
da9c5e0 to
d21881d
Compare
|
!test --dev |
Additional Comments (1)
This glob pattern references |
This PR removes the
nvfuserpython module, corresponding pybind11 CPP bindings, and any references fromcsrc. Version is bumped to0.2.36.