llama.cpp
1f953315 - convert : recognize DeepSeek-V4 FP8 block scales in the scale check (#33510)

Commit
2 hours ago
convert : recognize DeepSeek-V4 FP8 block scales in the scale check (#33510) * convert : recognize DeepSeek-V4 FP8 block scales in the scale check DeepSeek-V4 and V4.1 store the E8M0 block scale of an FP8 weight as "<stem>.scale", which their dequant_model consumes, but the source scale check from #28898 runs first and only knows the generic names. Assisted-by: Claude Code * convert : move the <stem>.scale name into the base scale check ModelBase._has_fp8_source_scale now accepts "<stem>.scale" for every model, so DeepseekV4Model needs no override. The test is removed, as asked in review. Assisted-by: Claude Code * convert : derive the .scale name from the .weight suffix Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@huggingface.co> Assisted-by: Claude Code --------- Co-authored-by: Xiaoyuan Wang <174581044+XiaoyuanWang111@users.noreply.github.com> Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@huggingface.co>
Parents
Loading