On-Device SLM Rise: SmolLM2 & LLaMA 3.2 Embedded Edge Deployment (MLC-LLM / llama.cpp)
Run SmolLM2 (135M/360M/1.7B) and LLaMA 3.2 on smartphones, Raspberry Pi, and browsers with MLC-LLM, llama.cpp quantization, and zero-server WebGPU.
π± The rise of small end-side models and high-energy data refinement
Hugging Face's officially released SmolLM2 (including 135M, 360M, 1.7B) and Meta's LLaMA 3.2 1B/3B prove that under the training of massive refined data (such as FineMath, Cosmopedia v2), the 1B~3B small model is fully equipped with excellent instruction following, text summarization and simple logical reasoning capabilities, and the video memory/memory footprint only requires 1GB~2GB!
β‘ Mirror downloading and llama.cpp for ultimate lightweight deployment
# Mirror download SmolLM2 1.7B command version
export HF_ENDPOINT="https://hf-mirror.net"
huggingface-cli download HuggingFaceTB/SmolLM2-1.7B-Instruct \
--local-dir /data/models/SmolLM2-1.7B-Instruct \
--local-dir-use-symlinks False
#
# Compile with llama.cpp and generate at 150+ tokens/s on CPU
./llama-cli -m /data/models/SmolLM2-1.7B-Instruct/smollm2-1.7b-q4_k_m.gguf \
-p "Hello! Please summarize the advantages of edge AI." -n 128
Paste any huggingface.co model, GGUF, or dataset URL into our converter to generate ready-to-run huggingface-cli, cURL, Wget, and Python commands.
π Related Engineering Guides
Download and serve DeepSeek-Coder-V2 (16B/236B) MoE locally with 128K context, Fill-in-the-Middle code completion, vLLM, and Continue IDE integration.
Download DeepSeek-R1 and distilled 1.5B-70B models fast via HF-Mirror. Complete local deployment guide for Ollama, vLLM, and LMDeploy with VRAM sizing.
Deploy DeepSeek-V3.2 (MIT): DeepSeek Sparse Attention (DSA), handling the missing Jinja chat template with encoding_dsv32.py, and 163-shard HF-Mirror pulls.
Fix Git LFS smudge filter failures and 130-byte model pointer stubs. Step-by-step git lfs pull repair and faster migration to huggingface-cli downloads.