Mojo struct
NoPartition
@register_passable(trivial)
struct NoPartition[dtype: DType]
Implemented traits
AnyType,
Copyable,
Defaultable,
ImplicitlyCopyable,
MHAPartitionScheme,
Movable,
UnknownDestructibility
Aliases
__copyinit__is_trivial
comptime __copyinit__is_trivial = True
__del__is_trivial
comptime __del__is_trivial = True
__moveinit__is_trivial
comptime __moveinit__is_trivial = True
accum_dtype
comptime accum_dtype = dtype
do_partition
comptime do_partition = False
Methods
__init__
__init__() -> Self
num_partitions
get_exp_sum_qk_max_pointer
get_exp_sum_qk_max_pointer(self) -> LegacyUnsafePointer[Scalar[NoPartition[dtype].accum_dtype]]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!