Mojo struct
MLAAttentionConfig
struct MLAAttentionConfig[token_gen: Bool, config: MHAConfig[config.dtype]]
Implemented traits
AnyType,
AttentionConfig,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
comptime members
depth_padded
comptime depth_padded = True
double_buffer
comptime double_buffer = False
full_kv
comptime full_kv = False
shared_kv
comptime shared_kv = True
Methods
q_head_idx
q_tile_idx
kv_head_idx
get_mma_shape
get_q_offset
get_output_offset
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!