llama and other large language models on iOS and MacOS offline using GGML library.
Last updated Jul 6, 2026
2.0k
Stars
173
Forks
46
Issues
0
Stars/day
Attention Score
89
Language breakdown
No language data available.
โธ Files
click to expand
README
LLMFarm
The app is temporarily unavailable in TestFlight and Appstore.
LLMFarm is an iOS and MacOS app to work with large language models (LLM). It allows you to load different LLMs with certain parameters.With LLMFarm, you can test the performance of different LLMs on iOS and macOS and find the most suitable model for your project.
Based on ggml and llama.cpp by Georgi Gerganov.
Features
- [x] MacOS (13+)
- [x] iOS (16+)
- [x] Various inferences
- [x] Various sampling methods
- [x] Metal (dont work on intel Mac)
- [x] Model setting templates
- [x] Restore context state
- [x] Apple Shortcuts
- [x] RAG
Inferences
- [x]
LLaMA - [x]
Gemma - [x]
Phi - [x]
GPT2 + Cerebras - [x]
Starcoder(Santacoder) - [x]
Falcon - [x]
MPT - [x]
Bloom - [x]
StableLM-3b-4e1t - [x]
Qwen - [x]
Yi models - [x]
Deepseek models - [x]
Mixtral MoE - [x]
PLaMo-13B - [x]
Mamba - [x]
RWKV - [x]
GPTNeoX
Multimodal
- [x] LLaVA 1.5 models, LLaVA 1.6 models
- [x] BakLLaVA
- [x] Obsidian
- [x] ShareGPT4V
- [x] MobileVLM 1.7B/3B models
- [x] Yi-VL
- [x] Moondream
llama inference in model settings.
Sampling methods
- [x] Temperature (temp, tok-k, top-p)
- [x] Tail Free Sampling (TFS)
- [x] Locally Typical Sampling
- [x] Mirostat
- [x] Greedy
- [x] Grammar
Getting Started
You can find answers to some questions in the FAQ section.
Inference options
When creating a chat, a JSON file is generated in which you can specify additional inference options. The chat files are located in the "chats" directory. You can see all inference options here.Models
You can find some of the supported models here.Development
llmfarmcore has been moved to a separate repository. To build llmfarm, you need to clone this repository recursively:
git clone --recurse-submodules https://github.com/guinmoon/LLMFarm
Also used sources from:
- rwkv.cpp by saharNooby
- Mia by byroneverson
- LlamaChat by alexrozanski
- swift-markdown-ui by gonzalezreal
- similarity-search-kit by ZachNagengast
โค๏ธ Support project
๐ More in this category