Views
No views yet
float8_e4m3fn, per-output-channel absmax scaling (one fp32 scale per row), baked at save time.torch._scaled_mm (FP8 tensor cores on Ada / Hopper / Blackwell).from_pretrained checkpointmodel.safetensors stores custom FP8Linear buffers (*.weight_fp8, *.weight_scale),
not standard HF Linear weights. It must be loaded through the matching FP8Linear
modules. Use the loader below.1git clone https://github.com/XiaomiMiMo/MiMo-V2.5-ASR.git
2cd MiMo-V2.5-ASR
3pip install -r requirements.txt
4pip install flash-attn==2.7.4.post1 # required by the audio tokenizer
5hf download XiaomiMiMo/MiMo-Audio-Tokenizer --local-dir ./models/MiMo-Audio-Tokenizer
6hf download Infatoshi/MiMo-V2.5-ASR-FP8 --local-dir ./MiMo-V2.5-ASR-FP8RESMP-DEV/mimo-asr-fp8 and load
with its FP8Linear implementation:1from quantize_fp8 import load_fp8_model
2mimo = load_fp8_model(
3 fp8_dir="./MiMo-V2.5-ASR-FP8",
4 tokenizer_path="./models/MiMo-Audio-Tokenizer",
5 repo_root=".", # the cloned MiMo-V2.5-ASR repo
6)
7print(mimo.asr_sft("audio.wav", audio_tag="<english>"))cu128). torch 2.6 cu124 ships no sm_120 kernels and will fail with
"no kernel image is available for execution on the device".