BlockScalingFormat#

enum nvmath.linalg.advanced.helpers.matmul.BlockScalingFormat(value)[source]#

Block scaling format for microscaling data types.

Passed as the block_scaling_format argument to get_block_scale_offset(), to_block_scale(), and expand_block_scale().

Member Type:

str

Valid values are as follows:

NVFP4 = <BlockScalingFormat.NVFP4: 'NVFP4'>#
MXFP8 = <BlockScalingFormat.MXFP8: 'MXFP8'>#