vllm.models.minimax_m3.amd.ops.nvfp4_index_prefill.host
¶
Launch wrapper of the FlyDSL NVFP4 prefill index scorers.
Functions:
-
minimax_m3_nvfp4_index_score_prefill–Block scores of every prefill row for 1, 2 or 4 index heads.
-
nvfp4_e4m3_lut–[256] int64: byte j of entry s is e4m3_rn_satfinite(m_j * e4m3(s)) for the
minimax_m3_nvfp4_index_score_prefill(q_idx, index_cache, score, block_table, cu_seqlens_q, seq_lens, init_blocks, local_blocks, max_query_len, max_seq_len)
¶
Block scores of every prefill row for 1, 2 or 4 index heads.
Source code in vllm/models/minimax_m3/amd/ops/nvfp4_index_prefill/host.py
nvfp4_e4m3_lut(device)
¶
[256] int64: byte j of entry s is e4m3_rn_satfinite(m_j * e4m3(s)) for the E2M1 magnitudes m = 0, 0.5, 1, 1.5, 2, 3, 4, 6.