File size: 902 Bytes
2129f51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "description": "Canonical low-nibble-first E2M1 and E8M0 packing vector",
  "quantizer": "triton_kernels.numerics_details.mxfp.downcast_to_mxfp_torch",
  "triton_revision": "9e1e203f64752cf99abf0e44286231c5d5df7e76",
  "rounding_mode": "DequantScaleRoundingMode.ROUND_DOWN",
  "block_size": 32,
  "input_float32": [
    0.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0,
    -0.0, -0.5, -1.0, -1.5, -2.0, -3.0, -4.0, -6.0,
    0.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 6.0,
    -0.0, -0.5, -1.0, -1.5, -2.0, -3.0, -4.0, -6.0
  ],
  "packed_uint8_decimal": [
    16, 50, 84, 118, 152, 186, 220, 254,
    16, 50, 84, 118, 152, 186, 220, 254
  ],
  "packed_uint8_hex": [
    "10", "32", "54", "76", "98", "ba", "dc", "fe",
    "10", "32", "54", "76", "98", "ba", "dc", "fe"
  ],
  "scale_uint8_decimal": [127],
  "scale_exponent_after_bias": [0],
  "nibble_rule": "input[2*i] is bits 0..3; input[2*i+1] is bits 4..7"
}