Downloads · 30 days
133
12% of all-time downloads
douyamv/Qwen3.8-27B-FP8
Qwen3.8-27B-FP8 is a text generation model from douyamv. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
<p <a href="https://huggingface.co/Qwen/Qwen3.8-27B"<img src="https://img.shields.io/badge/BaseModel-Qwen3.8--27B-blue" alt="Base Model"</a <a href="https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE"<img src="…
Downloads · 30 days
133
12% of all-time downloads
All-time downloads
1.1K
Public
Repo size
12.8 MB
Likes
1
Public
Click a slice to open those files.
.json19.7 MB · 85%
From the Hugging Face model README
FP8 dynamically quantized version of Qwen/Qwen3.8-27B in safetensors format for efficient inference with reduced VRAM usage.
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3.8-27B |
| Quantization | FP8 Dynamic (W8A8) |
| Format | Safetensors (2 shards) |
| Total Size | ~27 GB |
| VRAM Reduction | ~50% vs BF16 |
| Quality Loss | Minimal |
This model applies FP8 dynamic quantization to all linear layers, reducing model size by approximately 50% while maintaining near-original accuracy. FP8 quantization provides the best quality-to-size ratio among quantization methods.
vllm serve douyamv/Qwen3.8-27B-FP8 \
--tensor-parallel-size 1 \
--max-model-len 32768 \
--trust-remote-code
python -m sglang.launch_server \
--model-path douyamv/Qwen3.8-27B-FP8 \
--tp 1 \
--trust-remote-code
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"douyamv/Qwen3.8-27B-FP8",
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained("douyamv/Qwen3.8-27B-FP8")
messages = [{"role": "user", "content": "Hello, tell me about yourself"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Quantized using llm-compressor with FP8_DYNAMIC scheme applied to all Linear layers.