README.md

April 27, 2026 ยท View on GitHub

Breathing Life into Language

aphrodite

Aphrodite is an inference engine that optimizes the serving of HuggingFace-compatible models at scale. Built on vLLM's Paged Attention technology, it delivers high-performance model inference for multiple concurrent users. Aphrodite serves as the backend engine powering PygmalionAI's chat platforms and API infrastructure.

Aphrodite builds upon and integrates the exceptional work from various projects, primarily vLLM.

Features

Quickstart

Install the engine:

pip install -U aphrodite-engine

Then launch a model:

aphrodite run Qwen/Qwen3.5-0.8B

This will create a OpenAI-compatible API server that can be accessed at port 2242 of the localhost. You can plug in the API into a UI that supports OpenAI, such as SillyTavern.

Requirements

  • Operating System: Linux, Windows (WSL2)
  • Python: 3.10 to 3.13 (build from source for 3.14)

Build Requirements

  • CUDA >= 12

Notes

  1. By design, Aphrodite takes up 92% of your GPU's VRAM. If you're not serving an LLM at scale, you may want to limit the amount of memory it takes up. You can do this in the API example by launching the server with the --gpu-memory-utilization 0.6 (0.6 means 60%).

  2. You can view the full list of commands by running aphrodite run --help.

Acknowledgements

Aphrodite Engine would have not been possible without the phenomenal work of other open-source projects. A (non-exhaustive) list:

Sponsors

Past and present, in alphabetical order:

Contributing

Everyone is welcome to contribute. You can support the project by opening Pull Requests for new features, fixes, or general UX improvements.