Instructions to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF 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 MarxistLeninist/Qwen3.8-27B-IQ1_M-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 MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_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 MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M # Run inference directly in the terminal: ./llama-cli -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_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 MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
Use Docker
docker model run hf.co/MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
- LM Studio
- Jan
- vLLM
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MarxistLeninist/Qwen3.8-27B-IQ1_M-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": "MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF", "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/MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
- Ollama
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with Ollama:
ollama run hf.co/MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
- Unsloth Desktop
- Pi
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
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": "MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with Docker Model Runner:
docker model run hf.co/MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
- Lemonade
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-IQ1_M-GGUF-IQ1_M
List all available models
lemonade list
- Hermes Agent
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-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 MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_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 MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M
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 "MarxistLeninist/Qwen3.8-27B-IQ1_M-GGUF:IQ1_M" \ --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"
File size: 2,487 Bytes
0014a61 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | #!/usr/bin/env bash
set -euo pipefail
# Reproduce the RTX 3090 path validated for Qwen3.8-27B-IQ1_M.
# Run this from the root of the Hugging Face repository after downloading it.
MODEL="${MODEL:-$PWD/Qwen3.8-27B-IQ1_M.gguf}"
OLLAMA_MODEL="${OLLAMA_MODEL:-qwen38-iq1m}"
OLLAMA_HOST="${OLLAMA_HOST:-127.0.0.1:11434}"
PROMPT="${*:-Write one grammatical sentence of at least eight words explaining why the sky looks blue.}"
if [ ! -f "$MODEL" ]; then
echo "Missing model: $MODEL" >&2
exit 2
fi
EXPECTED_MODEL_SHA256=131cdf5c1c4b547081543382b00434e9ebf3f8eb369ef3714550086074f80bdf
ACTUAL_MODEL_SHA256="$(sha256sum "$MODEL" | awk '{print $1}')"
[ "$ACTUAL_MODEL_SHA256" = "$EXPECTED_MODEL_SHA256" ] || {
echo "Model SHA256 mismatch: $ACTUAL_MODEL_SHA256" >&2
exit 3
}
command -v nvidia-smi >/dev/null || {
echo "nvidia-smi is required for the validated NVIDIA GPU path." >&2
exit 4
}
if ! command -v ollama >/dev/null; then
echo "Installing the validated Ollama version 0.32.14..." >&2
curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.32.14 sh
fi
export OLLAMA_HOST
export OLLAMA_LLM_LIBRARY=cuda_v12
export OLLAMA_MAX_LOADED_MODELS=1
export OLLAMA_NUM_PARALLEL=1
export CUDA_VISIBLE_DEVICES="${CUDA_VISIBLE_DEVICES:-0}"
OLLAMA_VERSION_TEXT="$(ollama --version 2>&1 || true)"
echo "Using $OLLAMA_VERSION_TEXT" >&2
ollama serve >ollama-qwen38-iq1m.log 2>&1 &
SERVER_PID=$!
cleanup() { kill "$SERVER_PID" 2>/dev/null || true; }
trap cleanup EXIT
for _ in $(seq 1 150); do
curl -fsS "http://$OLLAMA_HOST/api/version" >/dev/null 2>&1 && break
sleep 0.2
done
MODELFILE="$(mktemp)"
trap 'rm -f "$MODELFILE"; cleanup' EXIT
cat >"$MODELFILE" <<EOF
FROM $MODEL
PARAMETER num_ctx 2048
PARAMETER temperature 0
EOF
ollama create "$OLLAMA_MODEL" -f "$MODELFILE"
python3 - "$OLLAMA_HOST" "$OLLAMA_MODEL" "$PROMPT" <<'PY'
import json, sys, urllib.request
host, model, prompt = sys.argv[1:]
payload = json.dumps({
"model": model,
"prompt": prompt,
"stream": False,
"options": {"temperature": 0, "num_ctx": 2048, "num_predict": 128},
}).encode()
req = urllib.request.Request(
"http://" + host + "/api/generate",
data=payload,
headers={"Content-Type": "application/json"},
)
with urllib.request.urlopen(req, timeout=900) as response:
data = json.load(response)
print(data.get("response", ""))
PY
echo >&2
echo "GPU state:" >&2
nvidia-smi --query-gpu=name,utilization.gpu,memory.used,memory.total,power.draw --format=csv,noheader >&2
|