Skip to content

Fix destination dtype for unquantized FP8 conversion entries - #50461

Open
tarekziade wants to merge 1 commit into
mainfrom
fix/fp8-unquantized-dtype
Open

tarekziade wants to merge 1 commit into
mainfrom
fix/fp8-unquantized-dtype

Conversation

@tarekziade

@tarekziade tarekziade commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Fix FP8 dequantization leaving unquantized weights in the checkpoint dtype instead of the destination dtype. This caused mixed FP32/BF16 forward failures in a MiniMax fixture.

Cast no-scale entries, including tensor lists, to the destination dtype. FP8 scaling is unchanged.

Validation: 3 focused tests and make style pass.

@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.

This branch has not been deployed

No deployments
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.

2 participants