Image-Text-to-Text
Safetensors
qwen3_5
quantization
auto-round
gptq
vlm
4bit
text-generation
conversational
4-bit precision
Instructions to use OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- vLLM
How to use OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ", "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/OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ
- SGLang
How to use OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ 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 "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ" \ --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": "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ", "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 "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ" \ --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": "OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ", "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 OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ with Docker Model Runner:
docker model run hf.co/OpenTensorLab/Qwen3.8-27B-W4A16-AutoRound-GPTQ
Vishva R commited on
Upload folder using huggingface_hub
Browse filesFiles changed (2)
117 unmodified lines11811912012112212312417 unmodified lines142143144145146147148117 unmodified lines"-:.*model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_a.*": {},"-:.*model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_b.*": {},"-:.*model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_a.*": {},"-:.*model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_b.*": {}},"group_size": 64,"iters": 600,17 unmodified lines"static_attention_granularity": "tensor","static_kv_granularity": "tensor","sym": true,"true_sequential": false},"text_config": {"attention_bias": false,117 unmodified lines11811912012112212312412517 unmodified lines143144145146147148149150151152153154155156157158159160161117 unmodified lines"-:.*model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_a.*": {},"-:.*model\\.language_model\\.layers\\.8\\.linear_attn\\.in_proj_b.*": {},"-:.*model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_a.*": {},"-:.*model\\.language_model\\.layers\\.9\\.linear_attn\\.in_proj_b.*": {},"-:.*mtp.*": {}},"group_size": 64,"iters": 600,17 unmodified lines"static_attention_granularity": "tensor","static_kv_granularity": "tensor","sym": true,"true_sequential": false,"block_name_to_quantize": "model.language_model.layers","modules_to_not_convert": ["visual","mtp","lm_head"],"extra_config": {".*mtp.*": {"bits": 16,"data_type": "fp"}}},"text_config": {"attention_bias": false,
123version https://git-lfs.github.com/spec/v1oid sha256:1d8268aa85ace093a561e3e7b63b9d390dac1cd55a90cd55b5ec509c3c9da9fesize 849400392123version https://git-lfs.github.com/spec/v1oid sha256:90fa0e3eed5a647c035c6df9ecabc416c0f8d573ff84ac12485b085f00a7cdf2size 849400424
config.json+15-2
model_extra_tensors.safetensors+2-2