Instructions to use voidful/Qwen3.5-9B-earica with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use voidful/Qwen3.5-9B-earica with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="voidful/Qwen3.5-9B-earica") 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("voidful/Qwen3.5-9B-earica") model = AutoModelForMultimodalLM.from_pretrained("voidful/Qwen3.5-9B-earica", 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 voidful/Qwen3.5-9B-earica with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "voidful/Qwen3.5-9B-earica" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "voidful/Qwen3.5-9B-earica", "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/voidful/Qwen3.5-9B-earica
- SGLang
How to use voidful/Qwen3.5-9B-earica 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 "voidful/Qwen3.5-9B-earica" \ --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": "voidful/Qwen3.5-9B-earica", "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 "voidful/Qwen3.5-9B-earica" \ --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": "voidful/Qwen3.5-9B-earica", "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 voidful/Qwen3.5-9B-earica with Docker Model Runner:
docker model run hf.co/voidful/Qwen3.5-9B-earica
| Fetching 22 files: 0%| | 0/22 Fetching 22 files: 100%|ββββββββββ| 22/22 | |
| Loading weights: 0%| | 0/760 Loading weights: 0%| | 1/760 Loading weights: 2%|β | 19/760 Loading weights: 4%|β | 30/760 Loading weights: 6%|β | 43/760 Loading weights: 7%|β | 55/760 Loading weights: 9%|β | 68/760 Loading weights: 11%|β | 82/760 Loading weights: 13%|ββ | 96/760 Loading weights: 15%|ββ | 112/760 Loading weights: 17%|ββ | 129/760 Loading weights: 19%|ββ | 144/760 Loading weights: 21%|ββ | 159/760 Loading weights: 24%|βββ | 186/760 Loading weights: 26%|βββ | 199/760 Loading weights: 28%|βββ | 210/760 Loading weights: 31%|βββ | 236/760 Loading weights: 33%|ββββ | 250/760 Loading weights: 34%|ββββ | 262/760 Loading weights: 38%|ββββ | 292/760 Loading weights: 40%|ββββ | 306/760 Loading weights: 42%|βββββ | 318/760 Loading weights: 46%|βββββ | 346/760 Loading weights: 47%|βββββ | 360/760 Loading weights: 49%|βββββ | 370/760 Loading weights: 50%|βββββ | 380/760 Loading weights: 51%|ββββββ | 390/760 Loading weights: 52%|ββββββ | 399/760 Loading weights: 54%|ββββββ | 413/760 Loading weights: 56%|ββββββ | 423/760 Loading weights: 61%|βββββββ | 466/760 Loading weights: 71%|βββββββ | 537/760 Loading weights: 80%|ββββββββ | 607/760 Loading weights: 86%|βββββββββ | 650/760 Loading weights: 94%|ββββββββββ| 711/760 Loading weights: 100%|ββββββββββ| 759/760 Loading weights: 100%|ββββββββββ| 760/760 | |
| Installed CUDA version 12.4 does not match the version torch was compiled with 12.8 but since the APIs are compatible, accepting this combination | |