Instructions to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="lmstudio-community/Qwen3.5-397B-A17B-GGUF", filename="Qwen3.5-397B-A17B-Q4_K_M-00001-of-00007.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
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 lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
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 lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with Ollama:
ollama run hf.co/lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
- Unsloth Studio
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF 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 lmstudio-community/Qwen3.5-397B-A17B-GGUF 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 lmstudio-community/Qwen3.5-397B-A17B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lmstudio-community/Qwen3.5-397B-A17B-GGUF to start chatting
- Pi
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
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 lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with Docker Model Runner:
docker model run hf.co/lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
- Lemonade
How to use lmstudio-community/Qwen3.5-397B-A17B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lmstudio-community/Qwen3.5-397B-A17B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-397B-A17B-GGUF-Q4_K_M
List all available models
lemonade list
Add files using upload-large-folder tool
Browse files- .gitattributes +9 -0
- Qwen3.5-397B-A17B-Q6_K-00001-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00002-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00003-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00004-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00005-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00006-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00007-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00008-of-00009.gguf +3 -0
- Qwen3.5-397B-A17B-Q6_K-00009-of-00009.gguf +3 -0
.gitattributes
CHANGED
|
@@ -41,3 +41,12 @@ Qwen3.5-397B-A17B-Q4_K_M-00004-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 41 |
Qwen3.5-397B-A17B-Q4_K_M-00002-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
Qwen3.5-397B-A17B-Q4_K_M-00005-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
Qwen3.5-397B-A17B-Q4_K_M-00003-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
Qwen3.5-397B-A17B-Q4_K_M-00002-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
Qwen3.5-397B-A17B-Q4_K_M-00005-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
Qwen3.5-397B-A17B-Q4_K_M-00003-of-00007.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen3.5-397B-A17B-Q6_K-00009-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen3.5-397B-A17B-Q6_K-00002-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen3.5-397B-A17B-Q6_K-00008-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen3.5-397B-A17B-Q6_K-00007-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen3.5-397B-A17B-Q6_K-00005-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Qwen3.5-397B-A17B-Q6_K-00001-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Qwen3.5-397B-A17B-Q6_K-00003-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Qwen3.5-397B-A17B-Q6_K-00006-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Qwen3.5-397B-A17B-Q6_K-00004-of-00009.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen3.5-397B-A17B-Q6_K-00001-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45df50670c337d4bd077cd577b36fa38af5deef98aef1fb289edcd9bec5b06e5
|
| 3 |
+
size 39558603424
|
Qwen3.5-397B-A17B-Q6_K-00002-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6471eb7688e17a5671333e62af961e050a224d2fe72fe4cc95721efd2e888df7
|
| 3 |
+
size 39529794400
|
Qwen3.5-397B-A17B-Q6_K-00003-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e1f433d361509d837eeebc95a9a28c90f914ab87c3dad147631a46a12075ebd
|
| 3 |
+
size 39555405056
|
Qwen3.5-397B-A17B-Q6_K-00004-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d5c58de80c7194b6949f53bd85039b9ad397bf0f873d3cb79d4c53593de6400
|
| 3 |
+
size 39643998976
|
Qwen3.5-397B-A17B-Q6_K-00005-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cfc20ed6f094cd9bfe374f39c577079a9e446c6220acb5beef498696addd5d0
|
| 3 |
+
size 39546999936
|
Qwen3.5-397B-A17B-Q6_K-00006-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:378965e0d765f0b5533c1ea7622ed4d011b188cced7447e28388a46a6f87512f
|
| 3 |
+
size 39583558304
|
Qwen3.5-397B-A17B-Q6_K-00007-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34759e9d1287f997a13b00a2b15fd182637be887ad843d944bfd7a6f7a7d68c3
|
| 3 |
+
size 39643998976
|
Qwen3.5-397B-A17B-Q6_K-00008-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcb70b5ac87fb58c83ea25e4c11f03b80f7b1db5d20ecb5a5ad1824bdc38757c
|
| 3 |
+
size 39529794464
|
Qwen3.5-397B-A17B-Q6_K-00009-of-00009.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96c9d50b470c8b886a5d6544ced19fe4978f7f77b30c28b99191a2f571ff9912
|
| 3 |
+
size 8956273632
|