-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
[torch.compile] Make inductor partition rules respect splitting_ops #25691 #25845
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
ProExpertProg
merged 111 commits into
vllm-project:main
from
baonudesifeizhai:feature/dynamic-inductor-partition-rules
Oct 10, 2025
+267
−112
Merged
Changes from all commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
6df3516
feat: preserve user splitting_ops in inductor graph partition
baonudesifeizhai 454c7e6
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai 08bdb8e
debugZ
baonudesifeizhai 0dc121a
change torch version
baonudesifeizhai 37a07a6
change torch version
baonudesifeizhai 32127e5
change torch
baonudesifeizhai 6349450
update
baonudesifeizhai 8c31eda
change
baonudesifeizhai 02dc0f2
debug
baonudesifeizhai 6b6e24d
debug
baonudesifeizhai e89fc82
debug
baonudesifeizhai 04244bd
feat: complete dynamic partition rules implementation
baonudesifeizhai 10458e0
debug
baonudesifeizhai 0d6821c
change
baonudesifeizhai 195ca5e
fix ruff and yapf
baonudesifeizhai aef7f80
change test
baonudesifeizhai 5a23f4f
fix test
baonudesifeizhai 5901e88
fix user
baonudesifeizhai d5f6b7c
fix ruff and yapf
baonudesifeizhai 7e780f7
fix: apply isort formatting to compilation.py
baonudesifeizhai dc29d19
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai 0582321
debuging
baonudesifeizhai 81f81c7
debug
baonudesifeizhai 1274892
change version of pytorch
baonudesifeizhai 37c7faf
fix version problem
baonudesifeizhai 90e180e
back to origin verision
baonudesifeizhai e8429b5
test version
baonudesifeizhai f386d03
change torch version >=2.9 only for debuging
baonudesifeizhai 2ed3d36
fix for yapf
baonudesifeizhai b5914d2
fix for Inductor
baonudesifeizhai 25ce9b2
fix
baonudesifeizhai d58853c
fix for test
baonudesifeizhai 077a930
fix
baonudesifeizhai 0a39109
fix for mypy error
baonudesifeizhai 7c2bf6a
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai f3e2769
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai 7c28b02
try to fix torch_bingings.cpp
baonudesifeizhai 7af2294
fix
baonudesifeizhai aedd467
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai b1b1195
reverse torch version
baonudesifeizhai cd0e2da
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai e27f250
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai 2c964a4
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 89306f3
fix for reivewer suggestion
baonudesifeizhai 17b519b
fix for test_config.py
baonudesifeizhai 72e005d
fix test_config.py
baonudesifeizhai 94a77d8
fix and add second splits_ops
baonudesifeizhai 33c80c3
change for _resolve_operator_overload
baonudesifeizhai 09649b2
change unique_names from debug to info
baonudesifeizhai ec0abfe
debuging
baonudesifeizhai c409751
back to ecoabf and debuging
baonudesifeizhai dba8684
fix error
baonudesifeizhai efd2982
extract compile_context to a function
baonudesifeizhai 338e683
fix for spllit_ops
baonudesifeizhai 3ba2d3b
fix mypy error
baonudesifeizhai 732a5ff
fix test_config.py
baonudesifeizhai e6f1bb2
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai b366e05
fix test_config.py
baonudesifeizhai cbb78a4
Merge branch 'feature/dynamic-inductor-partition-rules' of https://gi…
baonudesifeizhai 0af0847
fix test_config.py
baonudesifeizhai f3215c9
fix for compliation.py
baonudesifeizhai de0af67
Merge main and apply ruff formatting
baonudesifeizhai 0276acf
fix __closure__=None problem
baonudesifeizhai 23285b7
tmp fix for try
baonudesifeizhai d9abb8b
fix fror __parse_operator_name error
baonudesifeizhai acbf7d7
add format change from vllm to pytorch
baonudesifeizhai 3a1f153
try to use look_up in torch
baonudesifeizhai b3ba60d
add clear() in paritution_rules.py
baonudesifeizhai eb16f4a
rename 1) partition_ops -> inductor_partition_ops, AND 2) split_ops -…
baonudesifeizhai 303f962
documentation to the docstring for splitting_ops in compilation confi…
baonudesifeizhai d86184e
change is_torch_equal_or_newer in test_config
baonudesifeizhai 3e6f62b
change torch check back and add compile_context
baonudesifeizhai f19d78f
change return self.splitting_ops is not None and all to any
baonudesifeizhai eb8440d
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 410a551
change back num_cudagraph_captured=13
baonudesifeizhai a290b50
change pynvml.py format
baonudesifeizhai d4aa8cc
Revert pynvml.py formatting changes
baonudesifeizhai 6cd4081
add .__closure__ check for torch 2.5
baonudesifeizhai 8316aa7
sovle test_config.py
baonudesifeizhai 6b4696b
change test_config.py for conflict
baonudesifeizhai 1e7f143
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 9110825
remove special syntax.
baonudesifeizhai 7bdc597
resovle change except any and all
baonudesifeizhai 2d69e4c
change for all to test
baonudesifeizhai d78b4fc
change back for any()
baonudesifeizhai 151a4d1
change back set_splitting_ops_for_attn_fusion(self): to old one
baonudesifeizhai f730709
fix for docs/readthedocs.org:vllm and add deBrief docstring describi…
baonudesifeizhai bd2afd2
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 69f7b10
Update vllm/config/compilation.py
baonudesifeizhai 6f1d397
Update vllm/config/compilation.py
baonudesifeizhai 4422331
Merge branch 'vllm-project:main' into feature/dynamic-inductor-partit…
baonudesifeizhai 4820e92
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai d319d8c
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai c0616f0
fix _attention_ops
baonudesifeizhai f64593c
change . type to ::type
baonudesifeizhai 0806bec
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai e0a25ca
add connvert to dot format for pytorch
baonudesifeizhai d15fee7
Merge branch 'feature/dynamic-inductor-partition-rules' of https://gi…
baonudesifeizhai 5c77599
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 6f0bbb9
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai ebbe001
change for resolve the op overload and compare to node.target
baonudesifeizhai 0eaa2af
add _resolve_operators_safely function to filter ops for tmp
baonudesifeizhai 939419e
fix import erorr for lookup_op
baonudesifeizhai d959b8a
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai ec4ac36
changed
baonudesifeizhai 14b6521
Merge branch 'feature/dynamic-inductor-partition-rules' of https://gi…
baonudesifeizhai 56ae27d
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai 7708a11
Merge branch 'main' into feature/dynamic-inductor-partition-rules
baonudesifeizhai d9a400e
change for test_config.py remove unused funciton
baonudesifeizhai bbd1bbd
node.target can be OpOverloadPacket, need to check .default
baonudesifeizhai ad4419e
Update tests/compile/piecewise/test_simple.py
baonudesifeizhai 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
Some comments aren't visible on the classic Files Changed page.
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
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.
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.
I think this should be restored; without inductor partition, the old logic still applies @hmellor