Image-Text-to-Text
Transformers
Safetensors
qwen3_5
nvfp4
fp4
awq
autoround
llm-compressor
compressed-tensors
vllm
conversational
Instructions to use TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound") model = AutoModelForMultimodalLM.from_pretrained("TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-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": "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound
- SGLang
How to use TelperionAI/Qwen3.8-27B-NVFP4-AWQ-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 "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-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": "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-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": "TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound with Docker Model Runner:
docker model run hf.co/TelperionAI/Qwen3.8-27B-NVFP4-AWQ-AutoRound
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ Two passes:
|
|
| 41 |
2. **AutoRound** — SignSGD-optimized rounding and clipping (200 iters) against a
|
| 42 |
**block-wise** reconstruction loss, replacing GPTQ. Mean block loss fell ~18%.
|
| 43 |
|
| 44 |
-
Calibration:
|
| 45 |
(25% code, 25% math, 20% STEM, 20% chat, 10% multilingual).
|
| 46 |
|
| 47 |
`lm_head` and `embed_tokens` stay BF16, matching Qwen's own official FP8 release.
|
|
|
|
| 41 |
2. **AutoRound** — SignSGD-optimized rounding and clipping (200 iters) against a
|
| 42 |
**block-wise** reconstruction loss, replacing GPTQ. Mean block loss fell ~18%.
|
| 43 |
|
| 44 |
+
Calibration: 1358 × 1024-token packed sequences (1.39M tokens) from a balanced Nemotron-v2 blend
|
| 45 |
(25% code, 25% math, 20% STEM, 20% chat, 10% multilingual).
|
| 46 |
|
| 47 |
`lm_head` and `embed_tokens` stay BF16, matching Qwen's own official FP8 release.
|