vllm.models.qwen4_exp.common.qsa
¶
Main-attention metadata shared by the QSA platform implementations.
Classes:
Qwen4ExpQSAMetadataBuilder
¶
Bases: AttentionMetadataBuilder[Qwen4ExpQSAMetadata]
Methods:
-
build–Keep cache addresses shared with the current runner batch.
-
update_block_table–Reuse batch bounds while replacing cache-group-specific addresses.
-
update_draft_decode_metadata–Decode batch bounds stay fixed and addresses reference runner buffers.
Source code in vllm/models/qwen4_exp/common/qsa.py
build(common_prefix_len, common_attn_metadata, fast_build=False)
¶
Keep cache addresses shared with the current runner batch.
Source code in vllm/models/qwen4_exp/common/qsa.py
update_block_table(metadata, blk_table, slot_mapping)
¶
Reuse batch bounds while replacing cache-group-specific addresses.