YALS [!NOTE] Need help? Join the Discord Server and get the Tabby role. Please be nice when asking questions. Welcome to YALS, also known a…
YALS [!NOTE] Need help? Join the Discord Server and get the Tabby role. Please be nice when asking questions. Welcome to YALS, also known a…
[!NOTE]
Need help? Join the Discord Server and get the
Tabbyrole. Please be nice when asking questions.
Welcome to YALS, also known as Yet Another Llamacpp Server.
YALS is a friendly OAI compatible API server built with Deno, Hono, and Zod, designed to facilitate LLM text generation via the llama.cpp backend
This project is marked as rolling release. There may be bugs and changes down the line. Please note that commits happen frequently, and builds are distributed via CI.
YALS is a hobby project made for a small amount of users. It is not meant to run on production servers. For that, please look at other solutions that support those workloads.
The AI space is full of backend projects that wrap llama.cpp, but I felt that something was missing. This led me to create my own backend, one which is extensible, speedy, and as elegant as TabbyAPI, but specifically for llama.cpp and GGUF.
Here are the reasons why I decided to create a separate project instead of integrating llamacpp support into TabbyAPI:
To get started, download the latest zip from releases that corresponds to your setup.
The currently supported builds via CI are:
[!NOTE]
If your specific setup is not available via CI, you can build locally via the building guide, or request a certain architecture in issues.
Then follow these steps:
config_sample.yml to a file called config.ymlconfig.yml to configure model loading, networking, and other parameters.--flash-attention true)..gguf model into the models directory (or whatever you set your directory to)00001-of-0000x.gguf), set model_name in config.yml to the first part (ending in 00001). Other parts will load automatically.YALS.exe or run .\YALS.exe from the terminal (recommended)./YALShttp:///docs (ex. http://localhost:5000/docs) to view the YALS Scalar API documentation.More features will be added as the project matures. If something is missing here, PR it in!
Since YALS uses llama.cpp for inference, the only supported model format is GGUF.
If you want to use other model formats such as Exl2, try tabbyAPI
Use the template when creating issues or pull requests, otherwise the developers may not look at your post.
If you have issues with the project:
If you have a Pull Request:
Creators/Developers:
YALS would not exist without the work of other contributors and FOSS projects:
No open issues yet, or sync has not completed.