Instructions to use SpacemiT/Qwen3-VL-30B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SpacemiT/Qwen3-VL-30B-A3B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1 # Run inference directly in the terminal: llama cli -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1 # Run inference directly in the terminal: llama cli -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1 # Run inference directly in the terminal: ./llama-cli -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1 # Run inference directly in the terminal: ./build/bin/llama-cli -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Use Docker
docker model run hf.co/SpacemiT/Qwen3-VL-30B-A3B:Q4_1
- LM Studio
- Jan
- vLLM
How to use SpacemiT/Qwen3-VL-30B-A3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SpacemiT/Qwen3-VL-30B-A3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SpacemiT/Qwen3-VL-30B-A3B", "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/SpacemiT/Qwen3-VL-30B-A3B:Q4_1
- Ollama
How to use SpacemiT/Qwen3-VL-30B-A3B with Ollama:
ollama run hf.co/SpacemiT/Qwen3-VL-30B-A3B:Q4_1
- Unsloth Studio
How to use SpacemiT/Qwen3-VL-30B-A3B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SpacemiT/Qwen3-VL-30B-A3B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SpacemiT/Qwen3-VL-30B-A3B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SpacemiT/Qwen3-VL-30B-A3B to start chatting
- Pi
How to use SpacemiT/Qwen3-VL-30B-A3B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SpacemiT/Qwen3-VL-30B-A3B:Q4_1" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SpacemiT/Qwen3-VL-30B-A3B with Docker Model Runner:
docker model run hf.co/SpacemiT/Qwen3-VL-30B-A3B:Q4_1
- Lemonade
How to use SpacemiT/Qwen3-VL-30B-A3B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Run and chat with the model
lemonade run user.Qwen3-VL-30B-A3B-Q4_1
List all available models
lemonade list
- Hermes Agent
How to use SpacemiT/Qwen3-VL-30B-A3B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SpacemiT/Qwen3-VL-30B-A3B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpacemiT/Qwen3-VL-30B-A3B:Q4_1
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "SpacemiT/Qwen3-VL-30B-A3B:Q4_1" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3-VL-30B-A3B for SpacemiT K1/K3
This is a SpacemiT deployment package for the Qwen3-VL 30B-A3B mixture-of-experts vision-language model. The upstream model is from the Qwen Team and is designed for multimodal understanding across text, images, and video, including visual question answering, document understanding, OCR-style reading, coding, and agent workflows. See the Qwen3-VL Technical Report and the official Qwen3-VL announcement.
The package contains a Q4_1 GGUF text decoder and an ONNX vision encoder. The ONNX file is renamed to qwen3_vl_vision.onnx for a short, stable deployment name. The original Qwen3-VL model and this deployment package use the Apache-2.0 license; runtime dependency licenses remain with their upstream projects.
Files
qwen3vl-30b-text-q4_1.gguf: Q4_1 GGUF text/MoE decoder.qwen3_vl_vision.onnx: ONNX vision encoder.configs/K1/config.jsonandconfigs/K3/config.json: platform-specific SpaceMIT EP settings.
Prerequisites
Install the SpacemiT ONNX Runtime release and build or unpack the SMT-enabled SpacemiT llama.cpp. Prebuilt RISC-V packages can be unpacked directly. To build llama.cpp from source, clone recursively, set RISCV_ROOT_PATH and SPACEMIT_ORT_DIR, then run:
bash build_spacemit.sh
On the board, set the runtime library path before starting the server:
export MODEL_DIR=/path/to/Qwen3-VL-30B-A3B-SpacemiT
export LLAMA_DIR=/path/to/llama.cpp-installed
export ORT_DIR=/path/to/spacemit-ort.riscv64.2.0.6
export LD_LIBRARY_PATH="$LLAMA_DIR/lib:$ORT_DIR/lib:${LD_LIBRARY_PATH:-}"
Supported platforms and core affinity
K1 uses AI cores 0;1;2;3 and four threads. Use configs/K1/config.json and -t 4.
K3 uses AI cores 8;9;10;11;12;13;14;15 and eight threads. Use configs/K3/config.json and -t 8.
Do not interchange the configuration files: each ep_config pins the SpaceMIT Execution Provider to the correct board's AI cores.
Run on board
K1:
"$LLAMA_DIR/bin/llama-server" \
-m "$MODEL_DIR/qwen3vl-30b-text-q4_1.gguf" \
--media-backend smt \
--smt-config-dir "$MODEL_DIR/configs/K1" \
-t 4 --host 0.0.0.0 --port 8080 --warmup
K3 uses the same command with configs/K3 and -t 8.
Send an OpenAI-compatible POST /v1/chat/completions request containing an image data URL and a prompt such as Describe the image content.. Set temperature to 0, use a small max_tokens value for a smoke test, and disable Qwen thinking with chat_template_kwargs: {"enable_thinking": false}.
Example request:
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"messages":[{"role":"user","content":[{"type":"text","text":"Describe the image content."},{"type":"image_url","image_url":{"url":"data:image/jpeg;base64,<BASE64_IMAGE>"}}]}],"max_tokens":64,"temperature":0,"chat_template_kwargs":{"enable_thinking":false}}'
The included humanspeech.jpg can be used for a basic end-to-end smoke test. Replace <BASE64_IMAGE> with its base64-encoded contents. The response should be HTTP 200 with a natural-language description; this is a functional check, not an accuracy benchmark.
- Downloads last month
- -
4-bit