Text Generation
Transformers
Safetensors
qwen3_moe
Qwen3
AWQ
量化修复
vLLM
conversational
4-bit precision
awq
Instructions to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ 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-AWQ 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-AWQ") 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-AWQ") model = AutoModelForCausalLM.from_pretrained("QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ", 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-AWQ 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-AWQ" # 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-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ
- SGLang
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ 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-AWQ" \ --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-AWQ", "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-AWQ" \ --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-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ with Docker Model Runner:
docker model run hf.co/QuantTrio/Qwen3-Coder-480B-A35B-Instruct-AWQ
Commit History
-
Update README.md
Verified signature9ce3eaa -
Update config.json
Verified signature6c23cf3
-
Update README.md
Verified signature555ff73 -
Upload tokenizer_config.json
Verified signature2ea505e
-
Update README.md
Verified signature376d23c
-
Upload folder using huggingface_hub
Verified signature3169244 -
Upload model-00050-of-00051.safetensors with huggingface_hub
Verified signature9ac0096 -
Upload model-00051-of-00051.safetensors with huggingface_hub
Verified signature7e9dde9 -
Upload model-00042-of-00051.safetensors with huggingface_hub
Verified signaturec98b59f -
Upload model-00048-of-00051.safetensors with huggingface_hub
Verified signature29851df -
Upload model-00047-of-00051.safetensors with huggingface_hub
Verified signature75f36d7 -
Upload model-00049-of-00051.safetensors with huggingface_hub
Verified signature18a9e93 -
Upload model-00046-of-00051.safetensors with huggingface_hub
Verified signaturefcb046d -
Upload model-00045-of-00051.safetensors with huggingface_hub
Verified signatured8372b5 -
Upload model-00043-of-00051.safetensors with huggingface_hub
Verified signature22c3ec1 -
Upload model-00044-of-00051.safetensors with huggingface_hub
Verified signature66ff843 -
Upload model-00040-of-00051.safetensors with huggingface_hub
Verified signature6d58a6c -
Upload model-00041-of-00051.safetensors with huggingface_hub
Verified signature1fe6a65 -
Upload model-00039-of-00051.safetensors with huggingface_hub
Verified signature76c8da1 -
Upload model-00038-of-00051.safetensors with huggingface_hub
Verified signaturedd20424 -
Upload model-00034-of-00051.safetensors with huggingface_hub
Verified signatureeb666b3 -
Upload model-00037-of-00051.safetensors with huggingface_hub
Verified signature8290eb9 -
Upload model-00036-of-00051.safetensors with huggingface_hub
Verified signaturef5308e8 -
Upload model-00035-of-00051.safetensors with huggingface_hub
Verified signature688c8bd -
Upload model-00033-of-00051.safetensors with huggingface_hub
Verified signature34500c4 -
Upload model-00032-of-00051.safetensors with huggingface_hub
Verified signatureb05d2b0 -
Upload model-00030-of-00051.safetensors with huggingface_hub
Verified signaturef9facc6 -
Upload model-00031-of-00051.safetensors with huggingface_hub
Verified signature0ea05db -
Upload model-00027-of-00051.safetensors with huggingface_hub
Verified signaturee7b1535 -
Upload model-00029-of-00051.safetensors with huggingface_hub
Verified signature2be2bca -
Upload model-00028-of-00051.safetensors with huggingface_hub
Verified signature3d0902e -
Upload model-00026-of-00051.safetensors with huggingface_hub
Verified signature70dc1b8 -
Upload model-00025-of-00051.safetensors with huggingface_hub
Verified signatured27f80b -
Upload model-00023-of-00051.safetensors with huggingface_hub
Verified signaturef6c0763 -
Upload model-00024-of-00051.safetensors with huggingface_hub
Verified signaturef6f9312 -
Upload model-00021-of-00051.safetensors with huggingface_hub
Verified signature3205068 -
Upload model-00022-of-00051.safetensors with huggingface_hub
Verified signaturebf6b8e4 -
Upload model-00019-of-00051.safetensors with huggingface_hub
Verified signaturec4ccd61 -
Upload model-00020-of-00051.safetensors with huggingface_hub
Verified signature6a27384 -
Upload model-00018-of-00051.safetensors with huggingface_hub
Verified signaturee15771d -
Upload model-00017-of-00051.safetensors with huggingface_hub
Verified signaturee6ec946 -
Upload model-00015-of-00051.safetensors with huggingface_hub
Verified signature3a2cd06 -
Upload model-00016-of-00051.safetensors with huggingface_hub
Verified signature15ccded -
Upload model-00014-of-00051.safetensors with huggingface_hub
Verified signature2a666aa -
Upload model-00013-of-00051.safetensors with huggingface_hub
Verified signature0744056 -
Upload model-00012-of-00051.safetensors with huggingface_hub
Verified signature5c14e84 -
Upload model-00011-of-00051.safetensors with huggingface_hub
Verified signatureb21aa3a -
Upload model-00010-of-00051.safetensors with huggingface_hub
Verified signature5e60d93 -
Upload model-00009-of-00051.safetensors with huggingface_hub
Verified signature28d92d8 -
Upload model-00007-of-00051.safetensors with huggingface_hub
Verified signaturee57cfd9