BlockScalingFormat#
-
enum nvmath.
linalg. advanced. helpers. matmul. BlockScalingFormat(value)[source]# Block scaling format for microscaling data types.
Passed as the
block_scaling_formatargument toget_block_scale_offset(),to_block_scale(), andexpand_block_scale().- Member Type:
Valid values are as follows:
- NVFP4 = <BlockScalingFormat.NVFP4: 'NVFP4'>#
- MXFP8 = <BlockScalingFormat.MXFP8: 'MXFP8'>#