Repository navigation
Abstract CUDA hardcodes into configurable te_device_type / te_platform #3513
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
41329b9
fix: patch cuda hardcodes for plugin compatibility (complete debug di…
lxd-cumt c8feb1a
fix: remove explicit import to avoid black parsing error
lxd-cumt e8bf31c
fix: correct malformed imports that prevent module loading
lxd-cumt 100803e
fix: add missing te_device_type import to files using it
lxd-cumt 9e0b0e2
fix: correct malformed imports in additional files
lxd-cumt d7b7fe9
fix: use routing_map device instead of hardcoded device type
lxd-cumt 6180739
revert: remove te_platform() replacements, keep te_device_type()
lxd-cumt a0f9487
fix: remove remaining te_platform() calls in utils, fused_adam, and d…
lxd-cumt 77f644d
Merge remote-tracking branch 'origin/main' into cuda_patch_main_latest
lxd-cumt 1bad7ee
keep sync with torch.cuda api usage
lxd-cumt a323d3c
merge latest main and fix conflicts
lxd-cumt b946091
merge latest main and fix conflicts
lxd-cumt 2d63707
format
lxd-cumt 8fbfcfe
merge latest main and fix conflicts
lxd-cumt 90d6d32
Fix missing te_device_type imports and import ordering
lxd-cumt 6166d2b
Merge latest main into cuda_patch_main_latest
lxd-cumt 011d005
Query autocast state and dtype on the same device
lxd-cumt a2baa20
Gate per-document THD partitioning on CUDA
lxd-cumt 171148f
Drop incidental changes from the device-type patch
lxd-cumt 748ed35
Cover device-type checks missed in recently merged code
lxd-cumt 3f1e95c
Merge latest main into cuda_patch_main_latest
lxd-cumt 5f8b277
Merge branch 'main' into cuda_patch_main_latest
lxd-cumt 0c7cf39
Apply plugin device patches after the _nv alias is registered
lxd-cumt a3f9403
Merge latest main into cuda_patch_main_latest
lxd-cumt 87ff4f2
Accept the configured device type in the shared forward input check
lxd-cumt a99fd28
Merge remote-tracking branch 'lxd_origin/cuda_patch_main_latest'
lxd-cumt 15d3502
Restore the original spacing in the top-level package
lxd-cumt d92f20c
Skip patch discovery for single-file plugins
lxd-cumt 32fa15a
Merge remote-tracking branch 'origin/main' into cuda_patch_main_latest
lxd-cumt 83f8e84
Use the configured device type in GroupedTensor record_stream
lxd-cumt a627286
Accept the configured device type in the attention input checks
lxd-cumt ad5b363
Keep the paged KV cache and EP buffer on CUDA
lxd-cumt 4cc584f
Merge remote-tracking branch 'origin/main' into cuda_patch_main_latest
lxd-cumt be5a062
Apply plugin device patches after the plugin finishes loading
lxd-cumt a417941
Fix regex in test_cross_entropy
ptrendx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.