How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_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 "Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_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"
Quick Links

Qwen3-1.7B Depth-Aggressive โ€” Q4_K_M GGUF

A structured depth-pruned and recovery-trained variant of Qwen/Qwen3-1.7B, converted to GGUF and quantized as Q4_K_M for llama.cpp-compatible runtimes.

Model changes

  • Transformer layers: 28 โ†’ 24
  • Removed source layers: 9, 14, 19, 7
  • Parameters: approximately 1.721B โ†’ 1.519B
  • Parameters retained: 88.30%
  • Recovery: 100 chat-recovery optimizer steps
  • Recovery objective: assistant-only cross-entropy plus teacher distillation
  • GGUF quantization: Q4_K_M

File

File Quantization Size SHA-256
Qwen3-1.7B-Depth-Aggressive-Q4_K_M.gguf Q4_K_M 940.82 MiB eb836a316bad3d3672d0e182533f8cb306f5783ae68d9fdb8955c5d2fb1184ae

llama.cpp

llama-cli -m Qwen3-1.7B-Depth-Aggressive-Q4_K_M.gguf -cnv -ngl 99

Notes

The pruning experiment showed the aggressive depth-pruned 1.7B checkpoint at 24 layers and about 1.519B parameters before GGUF quantization. This repository contains the quantized GGUF build, not the full-precision Transformers weights.

License

The base model is distributed under the Apache 2.0 license. Review the original Qwen model repository for its complete terms and documentation.

Downloads last month
35
GGUF
Model size
2B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF

Finetuned
Qwen/Qwen3-1.7B
Quantized
(355)
this model