Instructions to use QuantTrio/DeepSeek-V3.2-Exp-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/DeepSeek-V3.2-Exp-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-AWQ") model = AutoModelForCausalLM.from_pretrained("QuantTrio/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuantTrio/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/DeepSeek-V3.2-Exp-AWQ
- SGLang
How to use QuantTrio/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-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/DeepSeek-V3.2-Exp-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/DeepSeek-V3.2-Exp-AWQ with Docker Model Runner:
docker model run hf.co/QuantTrio/DeepSeek-V3.2-Exp-AWQ
Commit History
-
Fix chat_template crash when assistant message omits the `content` key (#4)
- Fix chat_template crash when assistant message omits the `content` key (be170f4549863a730de741c3403baea774a5545b) Co-authored-by: Quentin Gallouédec <qgallouedec@users.noreply.huggingface.co>c8d32b0
-
Upload folder using huggingface_hub
Verified signature33edd14 -
Upload model-00055-of-00135.safetensors with huggingface_hub
Verified signaturec5bb8e4 -
Upload model-00058-of-00135.safetensors with huggingface_hub
Verified signature451b162 -
Upload model-00059-of-00135.safetensors with huggingface_hub
Verified signatureb7e63e9 -
Upload model-00135-of-00135.safetensors with huggingface_hub
Verified signature8bd979b -
Upload model-00133-of-00135.safetensors with huggingface_hub
Verified signature74a00f6 -
Upload model-00132-of-00135.safetensors with huggingface_hub
Verified signaturef8ea9ca -
Upload model-00134-of-00135.safetensors with huggingface_hub
Verified signature2ce7fd6 -
Upload model-00130-of-00135.safetensors with huggingface_hub
Verified signaturedd09767 -
Upload model-00131-of-00135.safetensors with huggingface_hub
Verified signature3f4bb85 -
Upload model-00129-of-00135.safetensors with huggingface_hub
Verified signatureb8feb73 -
Upload model-00127-of-00135.safetensors with huggingface_hub
Verified signaturecb410d6 -
Upload model-00128-of-00135.safetensors with huggingface_hub
Verified signature3bc1d84 -
Upload model-00126-of-00135.safetensors with huggingface_hub
Verified signature455ed3c -
Upload model-00125-of-00135.safetensors with huggingface_hub
Verified signatureec0503d -
Upload model-00123-of-00135.safetensors with huggingface_hub
Verified signatured7becaf -
Upload model-00124-of-00135.safetensors with huggingface_hub
Verified signature9bc7fff -
Upload model-00121-of-00135.safetensors with huggingface_hub
Verified signature7191d2b -
Upload model-00122-of-00135.safetensors with huggingface_hub
Verified signature6c73b03 -
Upload model-00120-of-00135.safetensors with huggingface_hub
Verified signaturea9cd64a -
Upload model-00119-of-00135.safetensors with huggingface_hub
Verified signature377488b -
Upload model-00118-of-00135.safetensors with huggingface_hub
Verified signature0a241f3 -
Upload model-00117-of-00135.safetensors with huggingface_hub
Verified signaturec90c634 -
Upload model-00116-of-00135.safetensors with huggingface_hub
Verified signatureb24a86d -
Upload model-00115-of-00135.safetensors with huggingface_hub
Verified signatureaa1f0c8 -
Upload model-00114-of-00135.safetensors with huggingface_hub
Verified signaturebc6633c -
Upload model-00113-of-00135.safetensors with huggingface_hub
Verified signature0d874ff -
Upload model-00112-of-00135.safetensors with huggingface_hub
Verified signaturefe46382 -
Upload model-00111-of-00135.safetensors with huggingface_hub
Verified signature6043aae -
Upload model-00110-of-00135.safetensors with huggingface_hub
Verified signature2ff3cac -
Upload model-00109-of-00135.safetensors with huggingface_hub
Verified signature7ca781c -
Upload model-00107-of-00135.safetensors with huggingface_hub
Verified signaturecba6222 -
Upload model-00108-of-00135.safetensors with huggingface_hub
Verified signatured6a2b40 -
Upload model-00106-of-00135.safetensors with huggingface_hub
Verified signaturee2e3afd -
Upload model-00105-of-00135.safetensors with huggingface_hub
Verified signaturea5de920 -
Upload model-00104-of-00135.safetensors with huggingface_hub
Verified signaturec162b12 -
Upload model-00103-of-00135.safetensors with huggingface_hub
Verified signature603b671 -
Upload model-00102-of-00135.safetensors with huggingface_hub
Verified signature9d33258 -
Upload model-00101-of-00135.safetensors with huggingface_hub
Verified signatureb6dc7ed -
Upload model-00100-of-00135.safetensors with huggingface_hub
Verified signature07b0175 -
Upload model-00099-of-00135.safetensors with huggingface_hub
Verified signatured8d70aa -
Upload model-00098-of-00135.safetensors with huggingface_hub
Verified signaturec0afd05 -
Upload model-00097-of-00135.safetensors with huggingface_hub
Verified signaturea769f00 -
Upload model-00096-of-00135.safetensors with huggingface_hub
Verified signatured60d7d9 -
Upload model-00095-of-00135.safetensors with huggingface_hub
Verified signaturef7fbba5 -
Upload model-00094-of-00135.safetensors with huggingface_hub
Verified signature14ebb3f -
Upload model-00093-of-00135.safetensors with huggingface_hub
Verified signaturec90816c -
Upload model-00092-of-00135.safetensors with huggingface_hub
Verified signaturee972a03 -
Upload model-00091-of-00135.safetensors with huggingface_hub
Verified signature49c8fe8