Instructions to use cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit") 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("cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit") model = AutoModelForMultimodalLM.from_pretrained("cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit", 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 cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit", "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/cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit
- SGLang
How to use cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit 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 "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit" \ --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": "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit", "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 "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit" \ --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": "cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit", "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 cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit with Docker Model Runner:
docker model run hf.co/cyankiwi/Qwen3.5-122B-A10B-AWQ-4bit
Serving via vLLM or SGLANG
Hey, thanks for the quant!
Did you get it working properly though?
Via VLLM and vllm/vllm-openai:qwen3_5 it only works with --enforce-eager
Otherwise it crashes and startup despite having enough VRAM. Sglang also just crashes at startup.
Other than that it seems to be very slow compared to models such as GLM-4.5-air and also a lot of endless repetition & thinking.
Thanks!
Thank you for using the model! It has been tested in several environments before being published.
Could I see the error logs? As I hope I can possibly help you with errors in vllm and sglang. I'm not sure about vllm, but in sglang, it likely crashes due to different model initiation approaches, and therefore name/params mismatch.
In regards to slow speed, I would recommend using Multi-Token Prediction (MTP) to increase speed.
And yes, I agree that the model is kinda verbose. Which use cases/languages do you use for the model? If it is not English, perhaps I can increase calibration data in that language, to improve the model quality.
Thanks for the quant!
I'm also running into this issue with --enforce-eager although I wonder if the CUDA graphs are just much larger with this model. Maybe because of hybrid attention?
Via VLLM and vllm/vllm-openai:qwen3_5 it only works with --enforce-eager
Otherwise it crashes and startup despite having enough VRAM. Sglang also just crashes at startup.
Could the issues be that vLLM expects AWQ and this is compressed-tensors instead?
"config_groups": {
"group_0": {
"format": "pack-quantized",
"input_activations": null,
"output_activations": null,
"targets": [
"Linear"
],
"weights": {
"actorder": null,
"block_structure": null,
"dynamic": false,
"group_size": 32,
"num_bits": 4,
"observer": "mse",
"observer_kwargs": {},
"scale_dtype": null,
"strategy": "group",
"symmetric": true,
"type": "int",
"zp_dtype": null
"kv_cache_scheme": null,
"quant_method": "compressed-tensors",
"quantization_status": "compressed",
"sparsity_config": {},
"transform_config": {},
"version": "0.13.1.a20260223"
Is it possible that when it loads it gets unpacked and uncompressed to the full BF16?
I found an issue: when the output contains both Chinese and English, the model adds a space between them, even when instructed not to. It outputs extra spaces and believes it hasn't added any.