Text Generation
Transformers
Safetensors
qwen3_moe
Qwen3
GPTQ
Int4-Int8Mix
量化修复
vLLM
conversational
4-bit precision
gptq
Instructions to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix") model = AutoModelForCausalLM.from_pretrained("QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix
- SGLang
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix with Docker Model Runner:
docker model run hf.co/QuantTrio/Qwen3-Coder-480B-A35B-Instruct-GPTQ-Int4-Int8Mix
Commit History
-
Delete .mv
Verified signature6b03e64 -
Delete .msc
Verified signature37b0b86 -
Delete .mdl
Verified signaturee8effab
-
Update README.md
Verified signature[BugFix] Fix compatibility issues with vLLM 0.10.1a374f25 -
Update config.json
Verified signature[BugFix] Fix compatibility issues with vLLM 0.10.106b7360
-
Update README.md
Verified signature1c0295f -
Upload tokenizer_config.json
Verified signaturefd1ed77
-
Update README.md
Verified signature85222e5 -
Update README.md
Verified signaturef5cef7a -
Upload folder using huggingface_hub
Verified signature0b17c3e
-
Update README.md
Verified signatured7af091
-
Upload folder using huggingface_hub
Verified signaturee739e6c -
Upload model-00055-of-00057.safetensors with huggingface_hub
Verified signature6484927 -
Upload model-00054-of-00057.safetensors with huggingface_hub
Verified signature60df383 -
Upload model-00053-of-00057.safetensors with huggingface_hub
Verified signatureeaba830 -
Upload model-00057-of-00057.safetensors with huggingface_hub
Verified signaturec660cb8 -
Upload model-00056-of-00057.safetensors with huggingface_hub
Verified signature61dbc39 -
Upload model-00052-of-00057.safetensors with huggingface_hub
Verified signatureb363f2e -
Upload model-00051-of-00057.safetensors with huggingface_hub
Verified signature4f471bb -
Upload model-00050-of-00057.safetensors with huggingface_hub
Verified signaturec8f657c -
Upload model-00049-of-00057.safetensors with huggingface_hub
Verified signatureaa853ea -
Upload model-00047-of-00057.safetensors with huggingface_hub
Verified signaturecc88889 -
Upload model-00048-of-00057.safetensors with huggingface_hub
Verified signatureac27b7d -
Upload model-00046-of-00057.safetensors with huggingface_hub
Verified signature12d26ee -
Upload model-00043-of-00057.safetensors with huggingface_hub
Verified signature550fc3c -
Upload model-00042-of-00057.safetensors with huggingface_hub
Verified signature56447bd -
Upload model-00045-of-00057.safetensors with huggingface_hub
Verified signature25d0888 -
Upload model-00041-of-00057.safetensors with huggingface_hub
Verified signature7b91e11 -
Upload model-00044-of-00057.safetensors with huggingface_hub
Verified signature996ff24 -
Upload model-00040-of-00057.safetensors with huggingface_hub
Verified signaturecbadcb1 -
Upload model-00039-of-00057.safetensors with huggingface_hub
Verified signature20abf40 -
Upload model-00038-of-00057.safetensors with huggingface_hub
Verified signature1773454 -
Upload model-00037-of-00057.safetensors with huggingface_hub
Verified signature54710c3 -
Upload model-00036-of-00057.safetensors with huggingface_hub
Verified signature60b2d3d -
Upload model-00035-of-00057.safetensors with huggingface_hub
Verified signature7edc038 -
Upload model-00034-of-00057.safetensors with huggingface_hub
Verified signatureeb4f525 -
Upload model-00033-of-00057.safetensors with huggingface_hub
Verified signaturedb78cea -
Upload model-00030-of-00057.safetensors with huggingface_hub
Verified signature5005a74 -
Upload model-00029-of-00057.safetensors with huggingface_hub
Verified signatureab4d223 -
Upload model-00032-of-00057.safetensors with huggingface_hub
Verified signature1cdc6be -
Upload model-00031-of-00057.safetensors with huggingface_hub
Verified signatureee8846b -
Upload model-00028-of-00057.safetensors with huggingface_hub
Verified signature0c8dd21 -
Upload model-00027-of-00057.safetensors with huggingface_hub
Verified signature1aef520 -
Upload model-00026-of-00057.safetensors with huggingface_hub
Verified signature251f1be -
Upload model-00025-of-00057.safetensors with huggingface_hub
Verified signature170685f -
Upload model-00024-of-00057.safetensors with huggingface_hub
Verified signature4f6255a -
Upload model-00021-of-00057.safetensors with huggingface_hub
Verified signature8a93d77 -
Upload model-00023-of-00057.safetensors with huggingface_hub
Verified signaturee721279 -
Upload model-00022-of-00057.safetensors with huggingface_hub
Verified signatureab51f47 -
Upload model-00020-of-00057.safetensors with huggingface_hub
Verified signaturee9b3dc9