Removed layerwise infra from efficient transformers - #1288
Open
abhishek-singh591 wants to merge 7 commits into
Open
abhishek-singh591 wants to merge 7 commits into
abhishek-singh591 wants to merge 7 commits into
Conversation
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com>
abhishek-singh591
marked this pull request as draft
August 26, 2026 11:32
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com>
abhishek-singh591
force-pushed
the
remove-layerwise-infra
branch
from
August 27, 2026 15:09
927e59c to
d283731
Compare
abhishek-singh591
marked this pull request as ready for review
August 27, 2026 15:09
Contributor
Author
|
CI-Ready |
1 similar comment
Contributor
|
CI-Ready |
ochougul
approved these changes
Aug 28, 2026
Signed-off-by: Abhishek Kumar Singh <sabhis@qti.qualcomm.com>
Contributor
|
CI-Ready |
2 similar comments
Contributor
|
CI-Ready |
Contributor
|
CI-Ready |
|
This pull request has been marked as stale due to 30 days of inactivity. To prevent automatic closure in 5 days, remove the stale label or add a comment. You can reopen a closed pull request at any time. |
This branch has not been deployed
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.
Remove Layerwise Infrastructure
Summary
This change removes the layerwise export and compilation infrastructure from
QEfficient. Standard full-model ONNX export and compilation remain the supported
deployment path.
What Changed
per-window compilation helpers.
layerwiseargument from model loading, export, and compilecall sites.
standard export and compilation flow.
onnx-ir==0.2.1setup requirement fromexamples/README.md.Removed Interfaces
The following implementation modules are removed and must not be imported by
downstream code:
QEfficient.transformers.models._layerwiseQEfficient.utils.compile_layerwiseQEfficient.utils.layerwise_pipelineAny caller that passes
layerwise=Trueorlayerwise=Falsemust remove thatargument. Layerwise-specific compile options, including internal
_layerwise_cache_probe, are no longer supported.Migration
Use the existing model load, export, and compile APIs without layerwise
arguments. For example:
The standard export path produces deployment artifacts directly and does not
require a layer-window split/merge pipeline.
Removed Examples
examples/disagg_serving/qwen3moe_layerwise.pyexamples/image_text_to_text/models/qwen3_5_moe/qwen3_5_moe_layerwise.pyExisting disaggregated-serving examples remain available; their layerwise
arguments have been removed.
Compatibility Impact
This is a breaking change only for users of the layerwise APIs, helper modules,
or example scripts. Users of the standard QEfficient export and compile APIs do
not need to change their workflow, except to remove any explicit
layerwisearguments.