Text Generation
Transformers
Safetensors
qwen3_moe
qwen3
Mixture of Experts
int4
quantized
autoround
conversational
4-bit precision
auto-round
Instructions to use YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound") model = AutoModelForCausalLM.from_pretrained("YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound
- SGLang
How to use YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound 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 "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound" \ --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": "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound", "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 "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound" \ --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": "YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound with Docker Model Runner:
docker model run hf.co/YCWTG/Qwen3-Coder-30B-A3B-Instruct-int4-mixed-AutoRound
Commit History
Update README.md b2bc169 verified
Update README_zh.md 554e117 verified
Update README.md 4affd66 verified
Update README_zh.md 9072a3d verified
Update README.md 69797a1 verified
Update README_zh.md 1ebe3eb verified
Update README.md 70c2728 verified
Update README_zh.md e37a413 verified
Update README_zh.md 381b37d verified
Update README.md fa83c14 verified
Update README_zh.md 3d28e62 verified
Update README_zh.md 87f557c verified
Update README.md a5999cc verified
Update README.md b5d60ea verified
Update README.md de0aceb verified
Update README_zh.md 3fb129a verified
Update README.md 6aae999 verified
Upload full model files from local cache 10961fd
YCWTG commited on
Delete qwen3coder_tool_parser.py 1e8e714 verified
Update README_zh.md b45ba0d verified
Update README.md a11e67e verified
Update README_zh.md 75df2b1 verified
Update README.md 4a4d861 verified
Update README_zh.md 8702a2a verified
Update README_zh.md 6a3b762 verified
Update README.md 551e053 verified
Update README_zh.md 993de09 verified
Update README.md e251512 verified
Update README_zh.md eb88fc6 verified
Update README.md af2f380 verified
Update README_zh.md e7e3bc9 verified
Update README_zh.md b900b07 verified
Update README.md 29ed6af verified
Update README.md d3fd60f verified
Upload 2 files 63fb448 verified
Add Qwen3-Coder-30B-A3B int4 mixed AutoRound model files 9d6d794
YCWTG commited on