Instructions to use QuantFactory/SmolLM2-1.7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/SmolLM2-1.7B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/SmolLM2-1.7B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/SmolLM2-1.7B-GGUF with Ollama:
ollama run hf.co/QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QuantFactory/SmolLM2-1.7B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/SmolLM2-1.7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/SmolLM2-1.7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM2-1.7B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload SmolLM2-1.7B.Q4_K_S.gguf with huggingface_hub
Verified signature315c6c8 -
Upload SmolLM2-1.7B.Q3_K_S.gguf with huggingface_hub
Verified signature4d2caac -
Upload SmolLM2-1.7B.Q3_K_M.gguf with huggingface_hub
Verified signature83e98f6 -
Upload SmolLM2-1.7B.Q3_K_L.gguf with huggingface_hub
Verified signature7ea9b76 -
Upload SmolLM2-1.7B.Q2_K.gguf with huggingface_hub
Verified signature59f2904 -
Upload SmolLM2-1.7B.Q5_1.gguf with huggingface_hub
Verified signaturefdd3c0d -
Upload SmolLM2-1.7B.Q5_0.gguf with huggingface_hub
Verified signature7edb109 -
Upload SmolLM2-1.7B.Q5_K_S.gguf with huggingface_hub
Verified signaturefbb281a -
Upload SmolLM2-1.7B.Q5_K_M.gguf with huggingface_hub
Verified signaturee877fa9 -
Upload SmolLM2-1.7B.Q6_K.gguf with huggingface_hub
Verified signaturec7add25 -
Upload SmolLM2-1.7B.Q8_0.gguf with huggingface_hub
Verified signature83ff056 -
Upload SmolLM2-1.7B.Q4_0.gguf with huggingface_hub
Verified signaturea7aa1e0 -
Upload SmolLM2-1.7B.Q4_1.gguf with huggingface_hub
Verified signature4e4fa32 -
Upload SmolLM2-1.7B.Q4_K_M.gguf with huggingface_hub
Verified signature70ed928 -
Upload README.md with huggingface_hub
Verified signatureba4e3d2 -
initial commit
Verified signature7414f5c