Instructions to use unsloth/Qwen3-235B-A22B-128K-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="unsloth/Qwen3-235B-A22B-128K-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("unsloth/Qwen3-235B-A22B-128K-GGUF") model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen3-235B-A22B-128K-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/Qwen3-235B-A22B-128K-GGUF 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 unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unsloth/Qwen3-235B-A22B-128K-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "unsloth/Qwen3-235B-A22B-128K-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
- SGLang
How to use unsloth/Qwen3-235B-A22B-128K-GGUF 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 "unsloth/Qwen3-235B-A22B-128K-GGUF" \ --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": "unsloth/Qwen3-235B-A22B-128K-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "unsloth/Qwen3-235B-A22B-128K-GGUF" \ --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": "unsloth/Qwen3-235B-A22B-128K-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Ollama:
ollama run hf.co/unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
- Unsloth Desktop
- Pi
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
- Lemonade
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.Qwen3-235B-A22B-128K-GGUF-UD-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
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:9931/v1 hermes config set model.default unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use unsloth/Qwen3-235B-A22B-128K-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL
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:9931/v1 \ --custom-model-id "unsloth/Qwen3-235B-A22B-128K-GGUF:UD-Q4_K_XL" \ --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"
Add files using upload-large-folder tool
Browse files- .gitattributes +7 -0
- IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00001-of-00003.gguf +3 -0
- IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00002-of-00003.gguf +3 -0
- IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00003-of-00003.gguf +3 -0
- Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00001-of-00002.gguf +3 -0
- Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00002-of-00002.gguf +3 -0
- Qwen3-235B-A22B-128K-IQ4_NL.gguf +3 -0
- Qwen3-235B-A22B-128K-Q5_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,10 @@ Q6_K/Qwen3-235B-A22B-128K-Q6_K-00002-of-00004.gguf filter=lfs diff=lfs merge=lfs
|
|
| 53 |
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
Q2_K/Qwen3-235B-A22B-128K-Q2_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00001-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
Q2_K/Qwen3-235B-A22B-128K-Q2_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00001-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
Qwen3-235B-A22B-128K-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
Qwen3-235B-A22B-128K-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0434658010a4255fca2c1ea69bedb94597c420ea2d36f85543de11c557be4399
|
| 3 |
+
size 49885201024
|
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd59bba23ccbd2366b8a8215613f97c317aa1411042d23bbc547bd223a03dc49
|
| 3 |
+
size 49838211840
|
IQ4_XS/Qwen3-235B-A22B-128K-IQ4_XS-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a64875e4d2accc1af3a1f5514a2b1999c03cdfc75f1498bbe702e8715b94dd0f
|
| 3 |
+
size 25579947264
|
Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00001-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26825cfda7b204ce9b767a8dfb424a1b4e87fb82f3760fa371366dadaa6afd0f
|
| 3 |
+
size 49706580160
|
Q2_K_L/Qwen3-235B-A22B-128K-Q2_K_L-00002-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2764efeaf534519e1b0b30a2e896a32e1daafb02d04c1add8e9c4d762bb4cd64
|
| 3 |
+
size 36130279712
|
Qwen3-235B-A22B-128K-IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6802986803b7a8e35a03f32ceb3635ba65697e2083ad4ede8be341dc855804e7
|
| 3 |
+
size 906974496
|
Qwen3-235B-A22B-128K-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e990c23a31f50be85c0500151df4ebc93880faccd12c24b11cd5b08d8cb68940
|
| 3 |
+
size 38448703776
|