vllm.models.minimax_m3.amd.ops.nvfp4_index_decode.host
¶
Launch wrappers of the FlyDSL NVFP4 decode index scorers.
Functions:
-
minimax_m3_nvfp4_index_score_decode–Block scores of every decode row for blocks below cdiv(seq_len, 128).
-
minimax_m3_nvfp4_index_score_push_cp–This rank's share of all four heads' decode scores, pushed to the heads'
_end_bytes(t)
¶
Bytes from the data pointer to the end of the last element.
_unit(max_blocks, slots, umax, footprint)
¶
Consecutive blocks per buffered unit (a power of two, 4..umax) giving every wave slot >= UNITS_PER_SLOT units, or 0 for direct stores.
Source code in vllm/models/minimax_m3/amd/ops/nvfp4_index_decode/host.py
minimax_m3_nvfp4_index_score_decode(q_idx, index_cache, score, block_table, seq_lens, init_blocks, local_blocks, query_len, max_seq_len)
¶
Block scores of every decode row for blocks below cdiv(seq_len, 128).
Source code in vllm/models/minimax_m3/amd/ops/nvfp4_index_decode/host.py
minimax_m3_nvfp4_index_score_push_cp(iq, index_cache, dests, row_stride, dest_bytes, block_table, seq_lens, init_blocks, local_blocks, rank, counts, flags, iq_bufs, iq_rows, grid=0)
¶
This rank's share of all four heads' decode scores, pushed to the heads' ranks; returns once every rank's scores have arrived.