Qwen3-8B-QAT-INT4
422
1
8.0B
license:apache-2.0
by
pytorch
Language Model
OTHER
8B params
New
422 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
18GB+ RAM
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
8GB+ RAM
Code Examples
Inference with vLLMtextvllm
pip install --pre vllm --extra-index-url https://wheels.vllm.ai/nightly
pip install --pre torchao torch --index-url https://download.pytorch.org/whl/nightly/cu128Inference with vLLMtextvllm
pip install --pre vllm --extra-index-url https://wheels.vllm.ai/nightly
pip install --pre torchao torch --index-url https://download.pytorch.org/whl/nightly/cu128Servingbashvllm
# Server
export MODEL=pytorch/Qwen3-8B-QAT-INT4
VLLM_DISABLE_COMPILE_CACHE=1 vllm serve $MODEL --tokenizer $MODEL -O3Servingbashvllm
# Server
export MODEL=pytorch/Qwen3-8B-QAT-INT4
VLLM_DISABLE_COMPILE_CACHE=1 vllm serve $MODEL --tokenizer $MODEL -O3Inference with Transformersbash
pip install git+https://github.com/huggingface/transformers@main
pip install --pre torchao torch --index-url https://download.pytorch.org/whl/nightly/cu128
pip install accelerateInference with Transformersbash
pip install git+https://github.com/huggingface/transformers@main
pip install --pre torchao torch --index-url https://download.pytorch.org/whl/nightly/cu128
pip install acceleratebaselinebash
lm_eval --model hf --model_args pretrained=Qwen/Qwen3-8B --tasks mmlu --device cuda:0 --batch_size autobaselinebash
lm_eval --model hf --model_args pretrained=Qwen/Qwen3-8B --tasks mmlu --device cuda:0 --batch_size autoSetupbashvllm
git clone [email protected]:vllm-project/vllm.gitSetupbashvllm
git clone [email protected]:vllm-project/vllm.gitSetuptextvllm
VLLM_USE_PRECOMPILED=1 pip install --editable .Setuptextvllm
VLLM_USE_PRECOMPILED=1 pip install --editable .benchmark_latencybashvllm
vllm bench latency --input-len 256 --output-len 256 --model Qwen/Qwen3-8B --batch-size 1benchmark_latencybashvllm
vllm bench latency --input-len 256 --output-len 256 --model Qwen/Qwen3-8B --batch-size 1Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.