[KongchangAI]
ConceptINT8量化 / 8位整数

INT8

INT8 is an 8-bit fixed-point integer format corresponding to 256 discrete numerical levels. It is commonly used in deep learning model quantization to balance accuracy against storage and computational overhead.

Core Facts

Timeline (last 90 days)

Nov 14

A 0.5B-level model, after quantization (such as INT8 or INT4), can be compressed to a few hundred MB and perform inference locally, bringing advantages such as low latency, privacy protection and offline availability.

Unverified50%
Nov 10

Common technical triggers for NPU fallback include: unsupported operators, data type mismatches (e.g., the NPU only supports specific INT8/FP16 combinations), tensor shape or layout constraints (e.g., channel alignment, unsupported NHWC/NCHW conversion), and dynamic control flow or data-dependent branching.

Unverified50%
Nov 9

Quantizing to INT8 or INT4 can significantly reduce the VRAM requirements of large language models.

Unverified50%
Nov 6

INT8/INT4 quantization can reduce memory footprint and bandwidth requirements severalfold, but may introduce quantization noise that affects the fineness of audio generation.

Unverified50%
Oct 27

In MoE inference, lowering weight bit width from FP16 to FP8/INT8 reduces the number of bytes proportionally, thereby shortening latency, provided that model throughput is limited by bandwidth rather than compute.

Unverified50%
Oct 25

The optimization measures for running Hy-Nomas on a single RTX 4090 include an INT8-quantized DiT model, an FP8 version of the video decoder, and a CPU offload strategy.

Unverified50%
Oct 19

For uniform quantization, the theoretical SQNR ≈ 6.02 × bit count + 1.76 dB, so the theoretical upper limit is about 49.9 dB for INT8 and about 25.8 dB for INT4.

Unverified50%
Oct 16

Quantization techniques can compress trained neural network weights from FP16/FP32 to INT8/INT4, significantly reducing model size, lowering memory usage, and improving inference speed, at the cost of possible accuracy loss.

Unverified60%
Oct 16

The KV cache size can be expressed with the formula cache = 2 (K and V) × layers × KV heads × head dim × tokens × 2 bytes, where 2 bytes corresponds to FP16, doubling when using FP32, and halving when using INT8 quantization.

Verified65%
Oct 14

For existing post-training quantization methods to reach precision close to FP32, they basically must use INT8 fixed-point integers, and performance drops noticeably when the bit width is below INT8.

Unverified50%

17 more timeline events

All Facts (20)

Verified

A 70B-parameter FP16 model requires approximately 140 GB of video memory, approximately 70 GB after INT8 quantization, and approximately 35–40 GB after INT4 quantization.

90%
Verified

FP32 uses 4 bytes per parameter, FP16/BF16 uses 2 bytes, INT8 quantization uses 1 byte, and INT4 quantization uses 0.5 bytes.

80%
Verified

Quantization (such as INT8 and FP8) can reduce memory usage and improve throughput while maintaining acceptable accuracy loss in most scenarios.

75%
Verified

Quantizing from FP32 to INT8 can reduce the model size to one quarter of the original.

75%
Verified

FP16 stores values using 16 bits (1 sign bit, 5 exponent bits, 10 mantissa bits) and can represent approximately 65,000 discrete values

75%
Verified

The core principle of quantization is to convert model parameters from high-precision floating-point representations (such as FP32's 32-bit floating point) to low-precision representations (such as INT8's 8-bit integer or INT4's 4-bit integer).

70%
Verified

The KV cache size can be expressed with the formula cache = 2 (K and V) × layers × KV heads × head dim × tokens × 2 bytes, where 2 bytes corresponds to FP16, doubling when using FP32, and halving when using INT8 quantization.

65%
Verified

A 2.4-trillion-parameter model requires approximately 9.6 TB of VRAM in FP32, about 4.8 TB in BF16, about 2.4 TB in INT8, and about 1.2 TB in INT4.

65%
Unverified

Quantization techniques can compress trained neural network weights from FP16/FP32 to INT8/INT4, significantly reducing model size, lowering memory usage, and improving inference speed, at the cost of possible accuracy loss.

60%
Unverified

A 0.5B-level model, after quantization (such as INT8 or INT4), can be compressed to a few hundred MB and perform inference locally, bringing advantages such as low latency, privacy protection and offline availability.

50%
Unverified

Common technical triggers for NPU fallback include: unsupported operators, data type mismatches (e.g., the NPU only supports specific INT8/FP16 combinations), tensor shape or layout constraints (e.g., channel alignment, unsupported NHWC/NCHW conversion), and dynamic control flow or data-dependent branching.

50%
Unverified

Quantizing to INT8 or INT4 can significantly reduce the VRAM requirements of large language models.

50%
Unverified

INT8/INT4 quantization can reduce memory footprint and bandwidth requirements severalfold, but may introduce quantization noise that affects the fineness of audio generation.

50%
Unverified

In MoE inference, lowering weight bit width from FP16 to FP8/INT8 reduces the number of bytes proportionally, thereby shortening latency, provided that model throughput is limited by bandwidth rather than compute.

50%
Unverified

The optimization measures for running Hy-Nomas on a single RTX 4090 include an INT8-quantized DiT model, an FP8 version of the video decoder, and a CPU offload strategy.

50%
Unverified

For uniform quantization, the theoretical SQNR ≈ 6.02 × bit count + 1.76 dB, so the theoretical upper limit is about 49.9 dB for INT8 and about 25.8 dB for INT4.

50%
Unverified

For existing post-training quantization methods to reach precision close to FP32, they basically must use INT8 fixed-point integers, and performance drops noticeably when the bit width is below INT8.

50%
Unverified

Commonly used inference frameworks include vLLM, TensorRT-LLM, Ollama, etc., while quantization commonly uses methods such as INT8 and INT4 to compress model size.

50%
Unverified

A common industry practice is to quantize weights to INT4 or INT8 while retaining higher precision for critical layers, in order to strike a balance between cost and quality.

50%
Unverified

Integer arithmetic on CPUs is generally faster than floating-point arithmetic, especially when combined with dedicated acceleration instructions, which can improve inference speed and reduce power consumption.

50%

Source Articles