Hugging Face · First MLX build 31 Oct 2024 · In Core AI since 29 Aug 2026
SmolLM2-1.7B-Instruct
MLXCore AI
Text apache-2.0
A 1.7B parameter text generation model from Hugging Face, with one MLX build and Apple Core AI export recipes for macOS and iOS.
- Parameters
- 1.7B From Hugging Face
- Quantisation
- Unstated SmolLM2-1.7B-Instruct
- Memory needed
- 6 GB Estimate, unified memory
- Download
- 3.4 GB Weights, estimated
- Downloads
- 197 This build, last 30 days
- Task
- Text generation Text
- MLX builds
- 1 On mlx-community
- Devices
- Mac Apple silicon
- Parameters
- 1.7B From Hugging Face
- Compression
- 4-bit, None Apple’s preset
- Memory needed
- 4 GB Estimate from parameters
- Context
- 8K tokens Fixed at export
- Precision
- FP16 Compute precision
- Platforms
- macOS, iOS Mac and iPhone
- Export presets
- 2 In Apple’s registry
- Listed by Apple
- 29 Aug 2026 First registry commit
Memory
Will it fit?Needs about 6 GB at Unstated
8 GB
16 GB
24 GB
32 GB
64 GB
128 GB
Fits with headroomTight, close other appsWon’t fit
Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.
Run it
Terminal · mlx-lm$ pip install -U mlx-lm
$ mlx_lm.generate --model mlx-community/SmolLM2-1.7B-Instruct --prompt "Hello"
Memory
Will it fit?Needs about 4 GB at 4-bit, None
8 GB
16 GB
24 GB
32 GB
64 GB
128 GB
Fits with headroomTight, close other appsWon’t fit
Estimated from the parameter count at Apple’s compression setting. Apple does not publish package sizes.
Export it
Terminal · uv$ git clone https://github.com/apple/coreai-models
$ cd coreai-models
$ uv run coreai.llm.export smollm2-1.7b-instruct
$ uv run coreai.llm.export smollm2-1.7b-instruct --platform iOS
Apple publishes the recipe, not a ready-made package: these commands convert the original weights to a Core AI .aimodel on your Mac. See the repository for requirements.
MLX builds
1 on mlx-community| SmolLM2-1.7B-Instruct | Unstated | 3.4 GB | 6 GB | 197 |
|---|
Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.