Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

1 results for “MS-COCO”

Newest and most relevant first

Model Quantization: Post-Training Quantization Using NVIDIA Model Optimizer

Engineers can now run CLIP at FP8 precision with near-FP16 accuracy using NVIDIA's free ModelOpt library, cutting VRAM and inference costs without retraining.

NVIDIA published a tutorial on shrinking a popular image-and-text AI model (CLIP) so it uses less memory and runs faster. The technique, called quantization, reduces the numerical precision of the model's numbers from 16-bit to 8-bit format. Testing on three standard datasets showed the compressed model performed nearly as well as the original. This matters for anyone running AI on consumer graphics cards with limited memory.

NVIDIA's ModelOpt library lets teams deploy vision-language models at half the memory footprint via FP8 post-training quantization, with benchmarks on CIFAR-100, ImageNet-1k and MS-COCO showing negligible quality loss when certain sensitive layers are excluded. The workflow exports to TensorRT for production inference. Companies deploying multimodal models on GPUs gain cheaper inference; no new hardware is required, but calibration data and iteration are needed.

The recipe quantizes CLIP-ViT-L-14-laion2B-s32B-b82K to FP8 (E4M3) using per-tensor static PTQ, calibrated on an 8K MS-COCO subset with AbsMax. Since the SDPA kernel is functional, a _QuantAttention replacement is registered via the diffusers plugin, inserting quantizers around Q/K/V bmm and output. Fake quantization simulates QDQ before export to ONNX/TensorRT. Disabling patch-embedding quantizers makes accuracy loss versus FP16 negligible.

NVIDIA Developer Blog →