#172 · Primary category: Inference & Local Deploy
mixtral-offloading
Run Mixtral-8x7B models in Colab or consumer desktops
Project last updated:04/08/24
GitHub Stars
2.3K
Forks
225
Contributors
4
License
MIT
Why we included this project
Mixtral-8x7B is a 46.7-billion-parameter model, too big for the memory on most home computers. This project makes it practical by pairing HQQ mixed quantization, which applies different precision to attention layers and experts, with per-expert MoE offloading, where each expert returns to the GPU only when a token needs it and an LRU cache keeps recently used experts in memory to cut transfers when processing adjacent tokens. The combination fits Mixtral on a single consumer GPU or a free Colab session. If you want to experiment with a capable open mixture-of-experts model without a multi-GPU workstation, the demo notebook is a good place to start, though there is no command-line tool yet and you will have to adapt the notebook for your own use. The arXiv technical report lays out the methods and measured results so you can weigh the trade-offs against your own hardware, with the caveat that a few techniques it describes are still missing from the repo.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.