Instructions to use QuantTrio/DeepSeek-V3.2-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantTrio/DeepSeek-V3.2-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuantTrio/DeepSeek-V3.2-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-AWQ") model = AutoModelForCausalLM.from_pretrained("QuantTrio/DeepSeek-V3.2-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-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-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-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuantTrio/DeepSeek-V3.2-AWQ
- SGLang
How to use QuantTrio/DeepSeek-V3.2-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-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-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-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-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuantTrio/DeepSeek-V3.2-AWQ with Docker Model Runner:
docker model run hf.co/QuantTrio/DeepSeek-V3.2-AWQ
Commit History
-
Update README.md
Verified signature[DOC] update vllm startup command340023c -
Update README.md
Verified signature591a8e2 -
Delete .ipynb_checkpoints
Verified signaturebf14887 -
Upload folder using huggingface_hub
Verified signature945378b -
Upload model-00121-of-00121.safetensors with huggingface_hub
Verified signatured6e19aa -
Upload model-00115-of-00121.safetensors with huggingface_hub
Verified signature890016e -
Upload model-00098-of-00121.safetensors with huggingface_hub
Verified signature0859fcf -
Upload model-00101-of-00121.safetensors with huggingface_hub
Verified signaturead16a39 -
Upload model-00097-of-00121.safetensors with huggingface_hub
Verified signaturea54eea6 -
Upload model-00088-of-00121.safetensors with huggingface_hub
Verified signature8f03c62 -
Upload model-00082-of-00121.safetensors with huggingface_hub
Verified signature82831d6 -
Upload model-00080-of-00121.safetensors with huggingface_hub
Verified signature71d3b14 -
Upload model-00087-of-00121.safetensors with huggingface_hub
Verified signatured969725 -
Upload model-00085-of-00121.safetensors with huggingface_hub
Verified signatureae90e9c -
Upload model-00081-of-00121.safetensors with huggingface_hub
Verified signaturecee09e7 -
Upload model-00113-of-00121.safetensors with huggingface_hub
Verified signature1d11c5a -
Upload model-00120-of-00121.safetensors with huggingface_hub
Verified signature79af870 -
Upload model-00119-of-00121.safetensors with huggingface_hub
Verified signature381e44d -
Upload model-00118-of-00121.safetensors with huggingface_hub
Verified signatureeaaefe1 -
Upload model-00117-of-00121.safetensors with huggingface_hub
Verified signaturef9d24a7 -
Upload model-00116-of-00121.safetensors with huggingface_hub
Verified signature1b0a448 -
Upload model-00114-of-00121.safetensors with huggingface_hub
Verified signature6eed7f5 -
Upload model-00109-of-00121.safetensors with huggingface_hub
Verified signatureba3be6b -
Upload model-00112-of-00121.safetensors with huggingface_hub
Verified signature148f109 -
Upload model-00111-of-00121.safetensors with huggingface_hub
Verified signature980878b -
Upload model-00110-of-00121.safetensors with huggingface_hub
Verified signature2e18e39 -
Upload model-00108-of-00121.safetensors with huggingface_hub
Verified signature2bc8112 -
Upload model-00106-of-00121.safetensors with huggingface_hub
Verified signatureeda64ec -
Upload model-00107-of-00121.safetensors with huggingface_hub
Verified signature723adb6 -
Upload model-00105-of-00121.safetensors with huggingface_hub
Verified signaturec1e9c6f -
Upload model-00104-of-00121.safetensors with huggingface_hub
Verified signatured005f50 -
Upload model-00103-of-00121.safetensors with huggingface_hub
Verified signature5d0f95b -
Upload model-00100-of-00121.safetensors with huggingface_hub
Verified signatureb91b4cc -
Upload model-00099-of-00121.safetensors with huggingface_hub
Verified signaturea042048 -
Upload model-00102-of-00121.safetensors with huggingface_hub
Verified signature36be15f -
Upload model-00096-of-00121.safetensors with huggingface_hub
Verified signature4da96f6 -
Upload model-00093-of-00121.safetensors with huggingface_hub
Verified signaturea950931 -
Upload model-00095-of-00121.safetensors with huggingface_hub
Verified signatureeda60be -
Upload model-00094-of-00121.safetensors with huggingface_hub
Verified signaturedc4ebb9 -
Upload model-00090-of-00121.safetensors with huggingface_hub
Verified signaturedb8d519 -
Upload model-00089-of-00121.safetensors with huggingface_hub
Verified signaturee346ccd -
Upload model-00092-of-00121.safetensors with huggingface_hub
Verified signature7669090 -
Upload model-00091-of-00121.safetensors with huggingface_hub
Verified signatureb210987 -
Upload model-00086-of-00121.safetensors with huggingface_hub
Verified signature7563e50 -
Upload model-00069-of-00121.safetensors with huggingface_hub
Verified signatured8b622d -
Upload model-00084-of-00121.safetensors with huggingface_hub
Verified signature9ee447c -
Upload model-00083-of-00121.safetensors with huggingface_hub
Verified signaturee56e904 -
Upload model-00064-of-00121.safetensors with huggingface_hub
Verified signature938d151 -
Upload model-00008-of-00121.safetensors with huggingface_hub
Verified signatureb6d32ff -
Upload model-00035-of-00121.safetensors with huggingface_hub
Verified signature81c4543