Merged
Conversation
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Aligns low_gpu_mem_usage defaults across multimodal/diffusion compressors with the rest of AutoRound (notably BaseCompressor / AutoRound, which default this to False), and updates related inline documentation.
Changes:
- Set
low_gpu_mem_usagedefault toFalseinMLLMCompressor. - Set
low_gpu_mem_usagedefault toFalseinDiffusionCompressor. - Update
MLLMCompressordocstring to reflect the new default.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| auto_round/compressors/mllm/compressor.py | Updates low_gpu_mem_usage default and the parameter docstring for MLLM compression. |
| auto_round/compressors/diffusion/compressor.py | Updates low_gpu_mem_usage default for diffusion compression to match documented/default behavior elsewhere. |
Comments suppressed due to low confidence (1)
auto_round/compressors/mllm/compressor.py:143
- Docstring has a typo in the seed description: it currently ends with "(default is 42).s". Please remove the stray trailing "s" so the docstring renders correctly.
low_gpu_mem_usage (bool): Whether to use low GPU memory (default is False).
iters (int): Number of iterations (default is 200).
seqlen (int): Length of the sequence.
nsamples (int): Number of samples (default is 128).
sampler (str): The sampling method (default is "rand").
seed (int): The random seed (default is 42).s
wenhuach21
approved these changes
Mar 9, 2026
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.
Description
Please briefly describe your main changes, the motivation.
Type of Change
Related Issues
Fixes or relates to #
Checklist Before Submitting