Expand description
Explicit packed storage graphs. NVFP4 is expressed using released TOSA operations, not mislabeled as INT4 or assigned a new TOSA dtype. The host receives packed bytes; decoding and scaling occur in the submitted graph. Native compilers may materialize wider intermediate weights: this API makes no compressed-residency or throughput promise.
Enums§
Constants§
Functions§
- int4_
matmul_ fp16 - Build an FP16 projection with immutable, symmetric signed four-bit weights.
- int8_
matmul_ fp16 - As
int4_matmul_fp16, with signed eight-bit constant weights[N,K]. Values are represented exactly; the backend may losslessly use narrower storage when all values fit. This is W8A16, not integer-profile INT8 MATMUL. - nvfp4_
matmul - Build
output = activations @ decoded_weights.T * tensor_scale. - nvfp4_
matmul_ fp16 - FP16 activation, accumulation-result, output, and tensor-scale variant. The scale is supplied as IEEE binary16 bits so no implicit host rounding is involved. As in TOSA FP16 MATMUL, accumulation has the specified wider accumulator and the result rounds to FP16 before the final FP16 scaling operation.
- palette4_
matmul_ fp16 - Build a projection with immutable four-bit palette indices and FP16 activations.