Downloads · 30 days
27
23% of all-time downloads
amd/InternVL3-8B-da8w8-torchao-v0.17.0
InternVL3-8B-da8w8-torchao-v0.17.0 is a image-text-to-text model from amd. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
- Model Architecture: InternVLChatModel - Input: Text - Output: Text - Source Model: InternVL3-8B - Supported Hardware: AMD EPYC (CPU inference) - Preferred Operating System: Linux - Inference Engine: vLLM v0.20.2
Downloads · 30 days
27
23% of all-time downloads
All-time downloads
116
Public
Repo size
9.1 GB
Likes
0
Public
Click a slice to open those files.
.bin9 GB · 100%
From the Hugging Face model README
This is a quantized version of InternVL3-8B created by AMD using TorchAO for ZenDNN-optimized CPU inference.
The model was quantized from InternVL3-8B using TorchAO v0.17.0.
Int8DynamicActivationInt8WeightConfiglm_head and embed_tokensQuantization script:
python dynamic_sym.py \
--model_name OpenGVLab/InternVL3-8B \
--output_dir ./InternVL3-8B-da8w8-torchao-v0.17.0
from vllm import LLM, SamplingParams
model = LLM(
model="amd/InternVL3-8B-da8w8-torchao-v0.17.0",
dtype="bfloat16",
)
sampling_params = SamplingParams(temperature=0.7, max_tokens=256)
outputs = model.generate(["Hello, how are you?"], sampling_params)
print(outputs[0].outputs[0].text)
torch==2.11.0
torchao==0.17.0
zentorch==2.11.0.1
vllm==0.20.2
For optimal performance, set LD_PRELOAD with libomp.so (LLVM OpenMP) or libiomp5.so (Intel OpenMP):
# Using LLVM OpenMP (llvmopenmp)
export LD_PRELOAD=$(find /path/to/env -name "libomp.so" | head -1)
# Or using Intel OpenMP (libiomp)
export LD_PRELOAD=$(find /path/to/env -name "libiomp5.so" | head -1)
Note: Set
LD_PRELOADbefore launching vLLM or any inference script.
The model was evaluated against the BF16 (unquantized) baseline on standard benchmarks using lm-evaluation-harness with the vLLM engine.
| Benchmark | BF16 Baseline | DA8W8 (this model) | Recovery |
|---|---|---|---|
| MMLU (5-shot) | - | - | - |
| GSM8K_COT (8-shot) | - | - | - |
| Perplexity (wikitext2) | - | - | - |
Evaluation results will be updated after benchmarking.
lm_eval \
--model vllm \
--model_args pretrained="amd/InternVL3-8B-da8w8-torchao-v0.17.0" \
--tasks mmlu \
--num_fewshot 5 \
--batch_size auto
This model is distributed under the same license as the source model. See the LICENSE file for details.
Modifications copyright (c) 2026 Advanced Micro Devices, Inc. All rights reserved.