Views
No views yet
| Variant | Latency (ms) | Throughput (QPS) | GPU Mem (Est) | Status | Notes |
|---|---|---|---|---|---|
| W8A16 (QDQ) | 181.81 | 6.37 | ~6.3 GiB | ✅ Recommended | Production Ready. Verified accuracy parity (MSE 0.0061). |
| FP16 | 184.54 | 6.26 | ~13.0 GiB | ✅ Verified | Baseline. Native FP16 execution. |
| W8A8 (Sim) | 128.37 | 8.38 | ~3.7 GiB | 🚧 Benchmark | Fastest (1.4x speedup), requires calibration. |
| INT4 (Sim) | 183.15 | 6.33 | ~6.3 GiB | 🚧 Experimental | Parity speed with W8A16. |
| Folder | Precision | Description | Size | Contents |
|---|---|---|---|---|
final_w8a16/ | W8A16 | [USE THIS] Clean, collapsed ONNX model. | ~12GB | model.w8a16.onnx, .data |
final_fp16/ | FP16 | Baseline high-precision export. | ~24GB | model.fp32.onnx |
final_w4a4/ | W4A4 | Experimental INT4/INT4 export. | ~12GB | Granular (Many files) |
final_w8a16_new/ | W8A16 | Uncollapsed dev export (Duplicate state). | ~12GB | Granular (Many files) |
checkpoints/ | PyTorch | Raw Archive. Original JAX->PyTorch weights. | ~100GB | .pt files, config, raw layers |
final_w8a16/ for deployment.onnxruntime and PyTorch binaries may not fully support SM 11.0 (Blackwell) instructions yet.trt.DequantizeLinear ops efficiently. CPU execution is not supported.QuantizeLinear/DequantizeLinear). Compatible with standard ONNX Runtime (GPU) and TensorRT.1import onnxruntime as ort
2import os
3import tensorrt_libs
4
5# 1. Register TensorRT Plugins (Critical for QDQ models)
6os.environ["LD_LIBRARY_PATH"] = os.environ.get("LD_LIBRARY_PATH", "") + ":" + os.path.dirname(tensorrt_libs.__file__)
7
8# 2. Load Model
9model_path = "final_w8a16/model.w8a16.onnx"
10providers = [
11 ("TensorrtExecutionProvider", {
12 "device_id": 0,
13 "trt_fp16_enable": True,
14 "trt_int8_enable": True, # Enable INT8 Tensor Cores
15 "trt_engine_cache_enable": True,
16 }),
17 "CUDAExecutionProvider"
18]
19
20session = ort.InferenceSession(model_path, providers=providers)
21print("Model loaded successfully!")trtexec)1# Compile W8A16 model to Engine
2trtexec --onnx=final_w8a16/model.w8a16.onnx --fp16 --int8 --saveEngine=model.engine --verbose