NewsCrawler.org

Magnitude: open source engine runs large AI models on everyday Macs and PCs

magnitudedev/magnitude
Image: GitHub Trending

Magnitude is an open source inference engine, software that runs AI models, and it spreads a model across the GPU, RAM and SSD so it can run on everyday Macs and PCs. It works on Apple Silicon, NVIDIA, AMD and Intel GPUs, or on a CPU alone, and one click connects it to agents such as Pi, OpenCode, Hermes and Codex.

The FAQ explains that most large open models today are ultra sparse MoE[1] models, split into hundreds of small parts called experts, with only about 5% active for each token. Magnitude keeps the shared layers and the most used experts in VRAM[2], places the next tier of frequently used experts in system RAM, and keeps the rest on the NVMe SSD. It predicts and prefetches upcoming experts from SSD to RAM to VRAM before the GPU needs them, tunes kernels automatically for the user's chip when a model is downloaded, and pairs each model with its best speculative decoding[3] drafter.

Magnitude is free and licensed under Apache 2.0, and prompts, files and models stay on the user's machine. The FAQ says that streaming weights from the SSD is read-only and causes no flash wear. Installers are offered for macOS, Windows and Linux, and a CLI-only install and a Docker option are available for servers.

Repository Magnitude github.com

Open source inference engine that runs large AI models on everyday Macs and PCs by spreading them across GPU, RAM and SSD.

Stars: 9,000Forks: 660License: Apache-2.0Updated:

Read the original github.com

Sources

  • GitHub Trending

    magnitudedev/magnitude

    190 stars today9,700 stars720 forks

First seen: Читать по-русски

Open as a page