Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Compressed tensors fp8#47216

Open
SunMarc wants to merge 60 commits into
mainfrom
compressed-tensors-fp8
Open

Compressed tensors fp8#47216
SunMarc wants to merge 60 commits into
mainfrom
compressed-tensors-fp8

Conversation

@SunMarc

@SunMarc SunMarc commented Jul 9, 2026

Copy link
Copy Markdown
Member

CI

What does this PR do?

Supersedes #45699

cc @jiqing-feng if you can have a look at

jiqing-feng and others added 30 commits April 29, 2026 15:30
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
Signed-off-by: jiqing-feng <[email protected]>
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: compressed_tensors_integration

Comment on lines -110 to -124
# assume that if `hasattr(self, hf_quantizer)` and `has_moe_conversion(self)` and `is_moe_proj_in_config_scheme`
# then it needs special dequantization for MoE projections
# NOTE: MoE conversion should happen AFTER decompression! Already hardcoded in conversion
dequant_conversions = [
WeightConverter(
source_patterns=[
r".weight_packed$",
r".weight_scale$",
r".weight_shape$",
],
target_patterns=r"weight",
operations=[DecompressExperts(self)],
),
]
return dequant_conversions

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need that no @zucchini-nlp ? like in any case the moe from compressed tensors will be split and we have to fuse them nevertheless in update_weight_conversions. Hence, I prefer to remove it if this is not needed for now.

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 29034603166:1
Result: failure | Jobs: 15 | Tests: 170,180 | Failures: 0 | Duration: 18h 55m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants