TIPSv2-L14-LiteRT / quantization.json
snnn001's picture
Add model files
b5d32fa verified
Raw History Blame Contribute Delete
2.08 kB
{
"method": "static TorchAO post-training quantization",
"calibration": {
"224": {
"calibration_samples": 500,
"calibration_npy_sha256": "8b2056a4e49b11429475d3e7875a3e8170fb5e7a960105bd88a6ae37158fdcff",
"activation_observer": "TorchAO asymmetric per-tensor min/max",
"weight_encoding": "symmetric INT8 [-127,127], per output channel",
"output_ranges": "FP32 projection outputs after LayerScale folding"
},
"448": {
"calibration_samples": 500,
"calibration_npy_sha256": "dbfbb90e3ab2d626616bc98def2f3b36d643aaf46414c3ee5e2cafbf2f3b3b9e",
"activation_observer": "TorchAO asymmetric per-tensor min/max",
"weight_encoding": "symmetric INT8 [-127,127], per output channel",
"output_ranges": "FP32 projection outputs after LayerScale folding"
}
},
"resolutions_calibrated_independently": true,
"calibration_selection_sha256": "551b9abc606ef858bd7c8e9e54674e38a591d3fdb8662db7ea17c291a9de9562",
"versions": {
"torch": "2.14.1+cu130",
"torchvision": "0.29.1+cu130",
"torchao": "0.18.0+cu130",
"transformers": "5.21.0",
"ai-edge-litert": "2.3.0",
"numpy": "2.5.4",
"Pillow": "13.0.0"
},
"fully_connected_layers": 144,
"weights": "symmetric per-output-channel INT8 [-127,127] for transformer fully connected layers",
"portable_activations": "INT16 transformer interfaces",
"biases": "INT64 fully connected bias; activation ranges adjusted for INT32 accumulation",
"layerscale": "folded into FP32 projection weights and biases before calibration",
"floating_point_regions": "public input/output, patch embedding, and LayerNorm fallback bodies",
"public_io": "FLOAT32",
"qualcomm": {
"artifact_type": "NPU compilation input",
"cpu_fallback_supported": false,
"activations": "UINT16",
"softmax_output": {
"dtype": "UINT16",
"scale": 3.0517578125e-05,
"zero_point": 0
},
"compiled_vendor_context_embedded": false,
"validation": "updated transpose and Softmax encoding changes have structural checks only"
}
}