Repository navigation
torch-tweak: route module tuning to Torch Tweak - #28
Draft
lslusarczyk wants to merge 4 commits into
Draft
lslusarczyk wants to merge 4 commits into
lslusarczyk wants to merge 4 commits into
Conversation
…or serving. Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
lslusarczyk
marked this pull request as ready for review
October 13, 2026 13:36
lslusarczyk
requested review from
258SusanLiu,
GopeshKh,
YuningQiu and
unrahul
as code owners
October 13, 2026 13:36
…gies. Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
lslusarczyk
marked this pull request as draft
October 16, 2026 14:02
The skill searches the PyTorch GPU backends and links the upstream install guide instead of pasting a build. Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This skill tunes a PyTorch module on an Intel GPU.
The default search is TorchAO, Torch Inductor, and eager.
The fastest one is kept.
On an Arc Pro B70, Torch Tweak reported these samples/s.
Tuning is worth doing.
The winner on a GPU is not one backend.
OpenVINO is optional.
Add it only when the user asks.
On Linear(16, 16) and Linear(2048, 2048) it ran and lost to eager.
One HighestThroughputStrategy covers the run.
inspect walks the submodules.
You set min_depth and max_depth.
Install steps stay in the Torch Tweak install guide.
https://github.com/intel/torch-tweak/blob/main/docs/learn/install.md
Instruction to repeat tests on your own
Repeat the measurement with the script below.
Run one case per process.
A second tune in the same process hits the module that is already tuned.
Read the
Selectedline and thebackend profiledlines.Prompt for an agent: