Metalchat
Pure C++23 Llama inference for Apple Silicon chips
Install / Use
/learn @ybubnov/MetalchatREADME
MetalChat - Llama inference for Apple Silicon
MetalChat is a Metal-accelerated C++ framework and command line interpreter for inference of Meta Llama models.
[!IMPORTANT] The library API and CLI are under active development, therefore they may change without any deprecation notice. See issues tab for the list of known issues or missing features.
Getting started
See the getting started guide for using MetalChat as a library and command line guide for using MetalChat to interact with LLM model from the command line.
Installation
[!WARNING] In order to install the brew formula, you would need to download and install Xcode.
The framework and command line utility could be installed using Homebrew package manager in a following way:
brew tap ybubnov/metalchat https://github.com/ybubnov/metalchat
brew install --HEAD metalchat
Alternatively you could build a Conan package locally using dependencies downloaded from the Conan registry. After that, you could use the MetalChat framework just like any other Conan dependency.
git clone https://github.com/ybubnov/metalchat
cd metalchat
conan build \
--build=missing \
--settings build_type=Release \
--conf tools.build.skip_test=True \
--options '&:build_executable'=False \
--options '&:use_system_libs'=False
conan export-pkg
If you are using CMake as a build system, you could link the framework using an automatically exported target:
find_package(metalchat CONFIG REQUIRED)
target_link_libraries(build_target PRIVATE MetalChat::MetalChat)
License
The MetalChat is distributed under GPLv3 license. See the LICENSE file for full license text.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
19.9kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
