Run this model with HF Jobs
Run litert-community/Qwen4-35B-A3B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/litert-community/Qwen4-35B-A3B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/litert-community/Qwen4-35B-A3B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/litert-community/Qwen4-35B-A3B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use litert-community/Qwen4-35B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use litert-community/Qwen4-35B-A3B with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=litert-community/Qwen4-35B-A3B \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Qwen4-35B-A3B (LiteRT-LM)
Qwen/Qwen4-35B-A3B is packaged as a single .litertlm file for fast, private, local inference. LiteRT-LM is Google's production-ready, high-performance runtime for running LLMs locally across macOS, Windows, Linux, Android, iOS, and the web β built on LiteRT.
- Long context: 256K by default, up to 1M (set with
--max-num-tokens) - Hardware acceleration: accelerates across platforms, using direct LiteRT integration with NVIDIA TensorRT-RTX and ML Drift for native Metal on Apple Silicon and WebGPU on Windows/Linux/web.
- Rich features: image understanding and tool calling
- OpenAI-compatible server for the Google Antigravity SDK, and any OpenAI-compatible clients like Open WebUI.
π Guide: Run Qwen 4 Locally with LiteRT-LM
Quick Start
# 1. Install
uv tool install litert-lm-nightly
# (or: pip install -U litert-lm-nightly)
# 2. Chat (add --attachment=image.png for images)
litert-lm run \
--from-huggingface-repo=litert-community/Qwen4-35B-A3B \
qwen4-35b-a3b.litertlm \
--backend=gpu --vision-backend=gpu
# 3. Serve an OpenAI-compatible API at http://localhost:9379/v1
litert-lm import \
--from-huggingface-repo=litert-community/Qwen4-35B-A3B \
qwen4-35b-a3b.litertlm \
qwen4-35b-a3b
mkdir -p ~/.litert-lm
echo '{"default": {"backend": "gpu", "vision_backend": "gpu"}}' > ~/.litert-lm/config.json
litert-lm serve
Then connect any OpenAI-compatible client with base URL http://localhost:9379/v1 and model qwen4-35b-a3b.
Files
| File | Context | Input |
|---|---|---|
qwen4-35b-a3b.litertlm |
256K default, up to 1M | Text, image |
Hardware Acceleration & NVIDIA RTX Integration
LiteRT-LM accelerates Qwen 4 across platforms using ML Drift (--backend=gpu for native Metal on Apple Silicon and WebGPU on Windows/Linux/web) and NVIDIA TensorRT-RTX (--backend=npu on Windows/Linux).
On NVIDIA RTX GPUs, install the NVIDIA SDK plugin and set --backend=npu:
# 1. Install CLI + NVIDIA SDK
uv tool install litert-lm-nightly --with ai-edge-litert-sdk-nvidia-nightly
# (or: pip install -U litert-lm-nightly ai-edge-litert-sdk-nvidia-nightly)
# 2. Import the model
litert-lm import \
--from-huggingface-repo=litert-community/Qwen4-35B-A3B \
qwen4-35b-a3b.litertlm \
qwen4-35b-a3b
# 3. Chat on NVIDIA RTX
litert-lm run qwen4-35b-a3b --backend=npu
# 4. Serve on RTX (configure default backend once)
mkdir -p ~/.litert-lm
# Update config.json on Linux:
echo '{"default": {"backend": "npu"}}' > ~/.litert-lm/config.json
# Update config.json on Windows using PowerShell:
'{"default": {"backend": "npu"}}' | Out-File -Encoding ascii ~/.litert-lm/config.json
litert-lm serve
For more options (--max-num-tokens, --thinking, --vision-backend), see the CLI configuration guide.
Highlights
- Fast, interactive responses on Apple Silicon and NVIDIA RTX GPUs, staying fast as the context grows. CPU-only machines are supported too.
- Long context in limited memory: even a 1M context window runs on a 36 GB Mac without swapping.
- Agent-ready: verified with live coding and terminal-agent tasks through
litert-lm serve, including parallel tool calls. - Strong vision: reads screenshots, receipts, tables, charts, and code, and understands spatial layout in photos.
Requirements
- Mac: Apple Silicon with 36 GB+ memory
- Windows / Linux GPU: 24 GB+ VRAM
- CPU only: 32 GB+ RAM
License
Converted from Qwen4-35B-A3B under the Apache 2.0 license. No training data added.
Runtime: LiteRT-LM (Apache 2.0).
- Downloads last month
- -
Model tree for litert-community/Qwen4-35B-A3B
Base model
Qwen/Qwen4-35B-A3B