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 +8 -0
- Q2_K/Qwen3-235B-A22B-128K-Q2_K-00001-of-00002.gguf +3 -0
- Q2_K/Qwen3-235B-A22B-128K-Q2_K-00002-of-00002.gguf +3 -0
- Q6_K/Qwen3-235B-A22B-128K-Q6_K-00001-of-00004.gguf +3 -0
- Q6_K/Qwen3-235B-A22B-128K-Q6_K-00002-of-00004.gguf +3 -0
- Q6_K/Qwen3-235B-A22B-128K-Q6_K-00003-of-00004.gguf +3 -0
- Q6_K/Qwen3-235B-A22B-128K-Q6_K-00004-of-00004.gguf +3 -0
- Qwen3-235B-A22B-128K-Q3_K_M.gguf +3 -0
- Qwen3-235B-A22B-128K-Q4_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -45,3 +45,11 @@ Qwen3-235B-A22B-128K-UD-Q4_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 45 |
Qwen3-235B-A22B-128K-UD-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
Qwen3-235B-A22B-128K-UD-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
Qwen3-235B-A22B-128K-UD-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
Qwen3-235B-A22B-128K-UD-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
Qwen3-235B-A22B-128K-UD-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
Qwen3-235B-A22B-128K-UD-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen3-235B-A22B-128K-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Qwen3-235B-A22B-128K-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Q2_K/Qwen3-235B-A22B-128K-Q2_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00002-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
|
Q2_K/Qwen3-235B-A22B-128K-Q2_K-00001-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15873e93e8d72aee221b68264219ec37f6e5aa56b83193fafe0f9eec728e2654
|
| 3 |
+
size 49906751776
|
Q2_K/Qwen3-235B-A22B-128K-Q2_K-00002-of-00002.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c480a042564e28bc03896e5e67ea36bc49bb840386fafa9ae7efe913aeae2c39
|
| 3 |
+
size 35784249568
|
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00001-of-00004.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a60d94dd9570a96d5d133ba2328d01ad9830dfe2451c4d9973c199c038ac0dd7
|
| 3 |
+
size 49384706624
|
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00002-of-00004.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7588f37fc71a17bd93ad21dcf31c8421033cd81a288bb23548b475f6a8192226
|
| 3 |
+
size 49737461088
|
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00003-of-00004.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5da93eb393d2ed96de7829b3ee18717a85d51141053b4a228f05c742182864f
|
| 3 |
+
size 49678952384
|
Q6_K/Qwen3-235B-A22B-128K-Q6_K-00004-of-00004.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21f779b2ec1511e823fd883f3c43cc6e9f620bc2d4303fc5ec8c8d14e33d87aa
|
| 3 |
+
size 44214375328
|
Qwen3-235B-A22B-128K-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:026827b241388701ad6f92d0ee3e9748a31f8cc1e33e861a9bfb690da2e315dd
|
| 3 |
+
size 26156693792
|
Qwen3-235B-A22B-128K-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:880c516ae9c11d4f3afa8e54237e273a11d0411b5989744c710afef499d773a1
|
| 3 |
+
size 33245997344
|