Skip to content

Do you have a script to convert FP8 weights to the BF16 format? #59

@Alex-9827

Description

@Alex-9827

Do you have a script to convert FP8 weights to the BF16 format?
I used the previous script in deepseek-v3 to convert,
https://github.com/deepseek-ai/DeepSeek-V3/blob/main/inference/fp8_cast_bf16.py

But after converting to BF16 using this and loading it, it reports that some layers were not initialized.

So,do you have a script to convert FP8 weights of deepseek-v3.2 to the BF16 format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions