Downloads · 30 days
162
25% of all-time downloads
TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8
Qwen3-Next-80B-A3B-Instruct-FP8 is a text generation model from TevunahAi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
FP8 quantized MoE model with 80B total parameters, 3B active per token
Downloads · 30 days
162
25% of all-time downloads
All-time downloads
653
Public
Parameters
79.7B
80.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors80.3 GB · 100%
How the weights are stored.
F8_E4M379.1B · 99%
From the Hugging Face model README
FP8 quantized MoE model with 80B total parameters, 3B active per token
This is an FP8 (E4M3) quantized version of Qwen/Qwen3-Next-80B-A3B-Instruct using compressed_tensors format. Quantized by TevunahAi on enterprise-grade hardware.
For optimal performance with full FP8 benefits and efficient MoE routing, use vLLM or TensorRT-LLM:
pip install vllm
Python API:
from vllm import LLM, SamplingParams
# vLLM auto-detects FP8 from model config
llm = LLM(model="TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8", dtype="auto")
# Generate
messages = [{"role": "user", "content": "Explain quantum computing"}]
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8")
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
sampling_params = SamplingParams(temperature=0.7, max_tokens=512)
outputs = llm.generate([prompt], sampling_params)
for output in outputs:
print(output.outputs[0].text)
OpenAI-Compatible API Server:
vllm serve TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8 \
--dtype auto \
--max-model-len 32768
Then use with OpenAI client:
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8000/v1",
api_key="token-abc123", # dummy key
)
response = client.chat.completions.create(
model="TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8",
messages=[
{"role": "user", "content": "Explain quantum computing"}
],
temperature=0.7,
max_tokens=512,
)
print(response.choices[0].message.content)
This model can be loaded with transformers, but will decompress FP8 → BF16 during inference, requiring significant VRAM. For large MoE models, vLLM is strongly recommended.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
# Loads FP8 weights but decompresses to BF16 during compute
model = AutoModelForCausalLM.from_pretrained(
"TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8",
device_map="auto",
torch_dtype="auto",
low_cpu_mem_usage=True,
)
tokenizer = AutoTokenizer.from_pretrained("TevunahAi/Qwen3-Next-80B-A3B-Instruct-FP8")
# Generate
messages = [{"role": "user", "content": "Explain quantum computing"}]
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))
Requirements:
pip install torch>=2.1.0 transformers>=4.40.0 accelerate compressed-tensors
System Requirements:
⚠️ Warning: vLLM is the recommended deployment method for MoE models.
</details>| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-Next-80B-A3B-Instruct |
| Architecture | Mixture of Experts (MoE) |
| Total Parameters | 80B |
| Active per Token | 3B |
| Quantization Method | FP8 E4M3 weight-only |
| Framework | llm-compressor + compressed_tensors |
| Calibration Dataset | open_platypus (512 samples) |
| Storage Size | ~40GB (sharded safetensors) |
| VRAM (vLLM) | ~40GB |
| VRAM (Transformers) | ~80GB+ (decompressed to BF16) |
| Target Hardware | NVIDIA H100, A100 80GB, RTX 6000 Ada |
| Quantization Time | 204 minutes (2.55 min/B) |
Professional hardware ensures consistent, high-quality quantization:
FP8 + MoE = flagship model performance on workstation hardware.
This model is sharded into multiple safetensors files (all required for inference). The compressed format enables efficient storage and faster downloads.
Qwen3-Next uses an advanced Mixture of Experts (MoE) architecture:
How it works:
Benefits:
This quantization is based on Qwen/Qwen3-Next-80B-A3B-Instruct by the Qwen team.
For comprehensive information about:
Please refer to the original model card.
This model inherits the Apache 2.0 License from the original Qwen3-Next model.
If you use this model, please cite the original Qwen work:
@misc{qwen3next2024,
title={Qwen3-Next: Next Generation of Qwen Models},
author={Qwen Team},
year={2024},
url={https://huggingface.co/Qwen/Qwen3-Next-80B-A3B-Instruct}
}
Professional AI Model Quantization by TevunahAi
Making flagship MoE models accessible through enterprise-grade quantization
</div>