Image-Text-to-Text
Transformers
Safetensors
qwen3_5
qwen3_6
qwen3_8
awq
w4a16
4-bit precision
int4
int8
mixed-precision
quantized
compressed-tensors
llm-compressor
multimodal
tool-use
vllm
hermes-agent
mtp
speculative-decoding
long-context
conversational
Eval Results
Instructions to use nicosuter/Qwen3.8-27B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicosuter/Qwen3.8-27B-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="nicosuter/Qwen3.8-27B-AWQ") 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("nicosuter/Qwen3.8-27B-AWQ") model = AutoModelForMultimodalLM.from_pretrained("nicosuter/Qwen3.8-27B-AWQ", 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 nicosuter/Qwen3.8-27B-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nicosuter/Qwen3.8-27B-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": "nicosuter/Qwen3.8-27B-AWQ", "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/nicosuter/Qwen3.8-27B-AWQ
- SGLang
How to use nicosuter/Qwen3.8-27B-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 "nicosuter/Qwen3.8-27B-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": "nicosuter/Qwen3.8-27B-AWQ", "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 "nicosuter/Qwen3.8-27B-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": "nicosuter/Qwen3.8-27B-AWQ", "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 nicosuter/Qwen3.8-27B-AWQ with Docker Model Runner:
docker model run hf.co/nicosuter/Qwen3.8-27B-AWQ
| default_stage: | |
| default_modifiers: | |
| AWQModifier: | |
| requires_calibration_data: true | |
| mappings: | |
| - smooth_layer: re:.*layers\.(3|7|11|15|19|23|27|31|35|39|43|47|51|55|59|63)\.input_layernorm$ | |
| balance_layers: ['re:.*self_attn\.q_proj$', 're:.*self_attn\.k_proj$', 're:.*self_attn\.v_proj$'] | |
| activation_hook_target: null | |
| - smooth_layer: re:.*post_attention_layernorm$ | |
| balance_layers: ['re:.*gate_proj$', 're:.*up_proj$'] | |
| activation_hook_target: null | |
| - smooth_layer: re:.*up_proj$ | |
| balance_layers: ['re:.*down_proj$'] | |
| activation_hook_target: null | |
| duo_scaling: both | |
| n_grid: 20 | |
| QuantizationModifier: | |
| config_groups: | |
| group_0: | |
| targets: ['re:.*mlp\.(gate|up|down)_proj$', 're:.*self_attn\.(q|k|v|o)_proj$', 're:.*linear_attn\.out_proj$'] | |
| weights: | |
| num_bits: 4 | |
| type: int | |
| symmetric: false | |
| group_size: 128 | |
| strategy: group | |
| block_structure: null | |
| dynamic: false | |
| actorder: null | |
| scale_dtype: null | |
| zp_dtype: torch.int8 | |
| observer: memoryless_minmax | |
| observer_kwargs: {} | |
| input_activations: null | |
| output_activations: null | |
| format: null | |
| group_1: | |
| targets: ['re:.*linear_attn\.in_proj_qkv$', 're:.*linear_attn\.in_proj_z$'] | |
| weights: | |
| num_bits: 8 | |
| type: int | |
| symmetric: true | |
| group_size: 128 | |
| strategy: group | |
| block_structure: null | |
| dynamic: false | |
| actorder: null | |
| scale_dtype: null | |
| zp_dtype: null | |
| observer: memoryless_minmax | |
| observer_kwargs: {} | |
| input_activations: null | |
| output_activations: null | |
| format: null | |
| targets: [Linear] | |
| ignore: [lm_head, 're:.*visual.*', 're:.*vision.*', 're:.*mtp.*', 're:.*linear_attn.in_proj_a$', | |
| 're:.*linear_attn.in_proj_b$'] | |
| bypass_divisibility_checks: false | |
| requires_calibration_data: false | |