onnx_light.onnx_core.marlin#
Imports the historical Marlin loading token without inventing a tiled ABI.
At the pinned revision, GPTQ and AWQ Marlin holders load ordinary GPTQ-v1 and AWQ GEMM tensors, respectively. Their post_init methods perform runtime tile repacking. The explicit source layout is mandatory; transformed runtime buffers are not accepted as checkpoints. Export uses the ordinary GPTQ/AWQ APIs, not a new Marlin quantization path.
- onnx_light.onnx_core.marlin.import_marlin_weights(tensors, *, method, layout, in_features, out_features, group_size=128, bits=4, upstream_revision='c1976918cfe3703fbcf6d1ce2440a82b26394375', max_bytes=1073741824)#
Imports an explicitly identified historical, pre-runtime Marlin checkpoint.
See Explicit GPTQModel Marlin and BitBLAS layouts for the historical loading contract.