Mojo struct
MHAAttentionConfigRDNA
struct MHAAttentionConfigRDNA[token_gen: Bool, config: MHAConfig[config.dtype], group: Int]
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
comptime membersβ
depth_paddedβ
comptime depth_padded = True
double_bufferβ
comptime double_buffer = False
double_buffer_k_onlyβ
comptime double_buffer_k_only = False
full_kvβ
comptime full_kv = False
shared_kvβ
comptime shared_kv = False
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!