Instructions to use ALGOTECH/QwQ-32B-TRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ALGOTECH/QwQ-32B-TRT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ALGOTECH/QwQ-32B-TRT")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ALGOTECH/QwQ-32B-TRT", device_map="auto") - TensorRT
How to use ALGOTECH/QwQ-32B-TRT with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ALGOTECH/QwQ-32B-TRT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ALGOTECH/QwQ-32B-TRT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ALGOTECH/QwQ-32B-TRT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ALGOTECH/QwQ-32B-TRT
- SGLang
How to use ALGOTECH/QwQ-32B-TRT 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 "ALGOTECH/QwQ-32B-TRT" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ALGOTECH/QwQ-32B-TRT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "ALGOTECH/QwQ-32B-TRT" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ALGOTECH/QwQ-32B-TRT", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ALGOTECH/QwQ-32B-TRT with Docker Model Runner:
docker model run hf.co/ALGOTECH/QwQ-32B-TRT
Download rank3.engine from ALGOTECH/QwQ-32B-TRT: direct link, hf CLI and curl.
- Browser
- Download file 9.6 GB
-
https://huggingface.co/ALGOTECH/QwQ-32B-TRT/resolve/main/rank3.engine
- Command line
-
hf download hf://ALGOTECH/QwQ-32B-TRT/rank3.engine
-
curl -L -o rank3.engine https://huggingface.co/ALGOTECH/QwQ-32B-TRT/resolve/main/rank3.engine
9.6 GB
- Xet hash:
- e36e160fc6aa7a9caa34c91a42ede00b8b6c6285e8a421a5034d31f09113abf5
- Size of remote file:
- 9.6 GB
- SHA256:
- c0468e5b563b0f9d5984a6b6c7152b78870c7c41740203cedb8f966bba9adad2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.