PaddleOCR-VL Β· FP8 (dynamic)

8-bit quantization of PaddlePaddle/PaddleOCR-VL for vLLM serving. Quantized by axteam.

Base model PaddlePaddle/PaddleOCR-VL
Method FP8 (dynamic)
Format compressed-tensors FP8_DYNAMIC
Weights / activations W8A8 β€” FP8 E4M3 weights (per-channel), dynamic per-token FP8 activations
Architecture Dense (ERNIE-4.5 text backbone) Β· SigLIP-style vision encoder + projector Β· document/OCR VLM
Size on disk ~1.5 GB
Calibration None (data-free)
License apache-2.0

Quantization details

  • Scheme β€” W8A8 β€” FP8 E4M3 weights (per-channel), dynamic per-token FP8 activations, stored as compressed-tensors FP8_DYNAMIC.
  • Kept in BF16 β€” the vision tower (visual.*), the vision-text projector (mlp_AR.*), token embeddings, the LM head, and all RMSNorms (a small fraction of parameters). Only the language-model backbone's attention & MLP projections are quantized, so the OCR/vision path is untouched.
  • Post-training quantization (no retraining). Tokenizer / chat_template / processor identical to the original.

Evaluation (measured)

Fidelity to the BF16 original on an internal mixed EN/KO set (100 prompts, text next-token scoring).

Metric This model BF16 original
Perplexity (lower = closer) 1.1050 1.1059 (-0.1%)
Top-1 next-token agreement 99.6% 100.0%

Usage (vLLM)

vllm serve axteam/PaddleOCR-VL-FP8-dynamic --trust-remote-code

License

Quantized derivative of PaddlePaddle/PaddleOCR-VL (apache-2.0). Original weights & processor belong to the upstream authors.


ν•œκ΅­μ–΄ μš”μ•½

PaddlePaddle/PaddleOCR-VL λ₯Ό FP8 (dynamic) 둜 μ–‘μžν™”ν•œ μ„œλΉ™μš©(8-bit) OCR λͺ¨λΈμž…λ‹ˆλ‹€. μž‘μ„±: axteam.

  • 방식 β€” FP8 E4M3, κ°€μ€‘μΉ˜ 채널별 μŠ€μΌ€μΌ(μ •μ Β·λ³΄μ •λΆˆν•„μš”), ν™œμ„±ν™” 동적 FP8. ν˜•μ‹ compressed-tensors FP8_DYNAMIC.
  • BF16 μœ μ§€ β€” λΉ„μ „ νƒ€μ›Œ(visual.*)Β·λΉ„μ „-ν…μŠ€νŠΈ ν”„λ‘œμ ν„°(mlp_AR.*)·토큰 μž„λ² λ”©Β·LM ν—€λ“œΒ·λͺ¨λ“  norm. μ–Έμ–΄λͺ¨λΈ 백본의 attentionΒ·MLP projection 만 μ–‘μžν™”(λΉ„μ „/OCR 경둜 κ·ΈλŒ€λ‘œ).
  • PTQ(μž¬ν•™μŠ΅ μ—†μŒ), ν† ν¬λ‚˜μ΄μ €Β·chat_templateΒ·ν”„λ‘œμ„Έμ„œ 원본 동일.
  • ν’ˆμ§ˆ(μ‹€μΈ‘) β€” BF16 λŒ€λΉ„ perplexity 1.1050(원본 1.1059, -0.1%), top-1 99.6%(원본 100.0%). λ‚΄λΆ€ 영/ν•œ 100λ¬Έν•­.
  • μ‚¬μš© β€” vllm serve axteam/PaddleOCR-VL-FP8-dynamic --trust-remote-code. λΌμ΄μ„ μŠ€ apache-2.0.
Downloads last month
-
Safetensors
Model size
1.0B params
Tensor type
BF16
Β·
F8_E4M3
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for axteam/PaddleOCR-VL-FP8-dynamic

Quantized
(9)
this model

Collection including axteam/PaddleOCR-VL-FP8-dynamic