https://github.com/lemonade-sdk/lemonade
Local LLM Server with GPU and NPU Acceleration
https://github.com/lemonade-sdk/lemonade
ai amd genai gpu llama llm llm-inference llms local-server mcp mcp-server mistral npu onnxruntime openai-api qwen radeon ryzen vulkan
Last synced: 3 months ago
JSON representation
Local LLM Server with GPU and NPU Acceleration
- Host: GitHub
- URL: https://github.com/lemonade-sdk/lemonade
- Owner: lemonade-sdk
- License: apache-2.0
- Created: 2025-05-15T19:17:39.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-27T21:13:06.000Z (3 months ago)
- Last Synced: 2025-06-27T21:33:03.829Z (3 months ago)
- Topics: ai, amd, genai, gpu, llama, llm, llm-inference, llms, local-server, mcp, mcp-server, mistral, npu, onnxruntime, openai-api, qwen, radeon, ryzen, vulkan
- Language: Python
- Homepage: https://lemonade-server.ai/
- Size: 3.09 MB
- Stars: 159
- Watchers: 3
- Forks: 17
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - lemonade-sdk/lemonade - Lemonade helps users run local LLMs with the highest performance by configuring state-of-the-art inference engines for their NPUs and GPUs. Join our discord: https://discord.gg/5xXzkMu8Zk (Python)
- awesome - lemonade-sdk/lemonade - Lemonade helps users run local LLMs with the highest performance by configuring state-of-the-art inference engines for their NPUs and GPUs. Join our discord: https://discord.gg/5xXzkMu8Zk (Python)
README
[](https://github.com/lemonade-sdk/lemonade/tree/main/test "Check out our tests")
[](docs/README.md#installation "Check out our instructions")
[](docs/README.md#installation "Check out our instructions")## ๐ Lemonade SDK: Quickly serve, benchmark and deploy LLMs
The [Lemonade SDK](./docs/README.md) makes it easy to run Large Language Models (LLMs) on your PC. Our focus is using the best tools, such as neural processing units (NPUs) and Vulkan GPU acceleration, to maximize LLM speed and responsiveness.
![]()
### Features
The [Lemonade SDK](./docs/README.md) is comprised of the following:
- ๐ **[Lemonade Server](https://lemonade-server.ai/docs)**: A local LLM server for running ONNX and GGUF models using the OpenAI API standard. Install and enable your applications with NPU and GPU acceleration in minutes.
- ๐ **Lemonade API**: High-level Python API to directly integrate Lemonade LLMs into Python applications.
- ๐ฅ๏ธ **Lemonade CLI**: The `lemonade` CLI lets you mix-and-match LLMs (ONNX, GGUF, SafeTensors) with measurement tools to characterize your models on your hardware. The available tools are:
- Prompting with templates.
- Measuring accuracy with a variety of tests.
- Benchmarking to get the time-to-first-token and tokens per second.
- Profiling the memory utilization.### [Click here to get started with Lemonade.](./docs/README.md)
### Supported Configurations
Maximum LLM performance requires the right hardware accelerator with the right inference engine for your scenario. Lemonade supports the following configurations, while also making it easy to switch between them at runtime.
Hardware
๐ ๏ธ Engine Support
๐ฅ๏ธ OS (x86/x64)
OGA
llamacpp
HF
Windows
Linux
๐ง CPU
All platforms
All platforms
All platforms
โ
โ
๐ฎ GPU
โ
Vulkan: All platforms
Focus:
Ryzenโข AI 7000/8000/300
Radeonโข 7000/9000
โ
โ
โ
๐ค NPU
AMD Ryzenโข AI 300 series
โ
โ
โ
โ
#### Inference Engines Overview
| Engine | Description |
| :--- | :--- |
| **OnnxRuntime GenAI (OGA)** | Microsoft engine that runs `.onnx` models and enables hardware vendors to provide their own execution providers (EPs) to support specialized hardware, such as neural processing units (NPUs). |
| **llamacpp** | Community-driven engine with strong GPU acceleration, support for thousands of `.gguf` models, and advanced features such as vision-language models (VLMs) and mixture-of-experts (MoEs). |
| **Hugging Face (HF)** | Hugging Face's `transformers` library can run the original `.safetensors` trained weights for models on Meta's PyTorch engine, which provides a source of truth for accuracy measurement. |## Integrate Lemonade Server with Your Application
Lemonade Server enables languages including Python, C++, Java, C#, Node.js, Go, Ruby, Rust, and PHP. For the full list and integration details, see [docs/server/README.md](./docs/server/README.md).
## Contributing
We are actively seeking collaborators from across the industry. If you would like to contribute to this project, please check out our [contribution guide](./docs/contribute.md).
## Maintainers
This project is sponsored by AMD. It is maintained by @danielholanda @jeremyfowers @ramkrishna @vgodsoe in equal measure. You can reach us by filing an [issue](https://github.com/lemonade-sdk/lemonade/issues) or email [lemonade@amd.com](mailto:lemonade@amd.com).
## License
This project is licensed under the [Apache 2.0 License](https://github.com/lemonade-sdk/lemonade/blob/main/LICENSE). Portions of the project are licensed as described in [NOTICE.md](./NOTICE.md).