How to use from
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 Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-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 Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-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 Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Ma7ee7/Qwen3-1.7B-Depth-Aggressive-Q4_K_M-GGUF:Q4_K_M
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
(357)
this model