No description
Find a file
kingbri e66d213aef Revert "Dependencies: Use hosted pip index instead of Github"
This reverts commit f111052e39.

This was a bad idea since the netlify server has limited bandwidth.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-08-03 11:35:26 -04:00
.github Actions: Add Github Pages deploy 2024-07-08 15:04:27 -04:00
backends Model: Attach request ID to logs 2024-08-01 00:25:54 -04:00
colab Colab: Update 2024-03-24 21:48:48 -04:00
common Signals: Exit on async cleanup 2024-08-02 15:11:57 -04:00
docker Fix docker compose volume mount 2024-07-12 13:23:58 +00:00
endpoints Config: Embeddings: Make embeddings_device a default when API loading 2024-08-01 13:59:49 -04:00
loras Implement lora support (#24) 2023-12-08 23:38:08 -05:00
models Tree: Update documentation and configs 2023-11-16 02:30:33 -05:00
sampler_overrides Samplers: Add example override for generate_window 2024-05-12 00:39:01 -07:00
templates Templates: Modify alpaca and chatml 2024-03-27 22:28:41 -04:00
tests Tree: Format 2024-03-13 00:02:55 -04:00
.gitignore API: Add standalone method to fetch OpenAPI docs 2024-07-07 21:35:52 -04:00
config_sample.yml Config: Embeddings: Make embeddings_device a default when API loading 2024-08-01 13:59:49 -04:00
formatting.bat feat: workflows for formatting/linting (#35) 2023-12-22 16:20:35 +00:00
formatting.sh feat: workflows for formatting/linting (#35) 2023-12-22 16:20:35 +00:00
LICENSE Create LICENSE 2023-11-16 17:43:23 -05:00
main.py Embeddings: Add model management 2024-07-30 15:19:27 -04:00
pyproject.toml Revert "Dependencies: Use hosted pip index instead of Github" 2024-08-03 11:35:26 -04:00
README.md Update README.md 2024-07-08 21:26:11 +00:00
start.bat Tree: Format and cleanup start 2023-12-27 01:17:31 -05:00
start.py Async: Add option to use Uvloop/Winloop 2024-07-24 18:59:20 -04:00
start.sh Start: Add shell script 2023-12-27 23:53:14 -05:00

TabbyAPI

Python 3.10, 3.11, and 3.12 License: AGPL v3 Discord Server

Developer facing API documentation

Support on Ko-Fi

Important

In addition to the README, please read the Wiki page for information about getting started!

Note

Need help? Join the Discord Server and get the Tabby role. Please be nice when asking questions.

A FastAPI based application that allows for generating text using an LLM (large language model) using the Exllamav2 backend

Disclaimer

This project is marked rolling release. There may be bugs and changes down the line. Please be aware that you might need to reinstall dependencies if needed.

TabbyAPI is a hobby project solely for a small amount of users. It is not meant to run on production servers. For that, please look at other backends that support those workloads.

Getting Started

Important

This README is not for getting started. Please read the Wiki.

Read the Wiki for more information. It contains user-facing documentation for installation, configuration, sampling, API usage, and so much more.

Supported Model Types

TabbyAPI uses Exllamav2 as a powerful and fast backend for model inference, loading, etc. Therefore, the following types of models are supported:

  • Exl2 (Highly recommended)

  • GPTQ

  • FP16 (using Exllamav2's loader)

In addition, TabbyAPI supports parallel batching using paged attention for Nvidia Ampere GPUs and higher.

Alternative Loaders/Backends

If you want to use a different model type or quantization method than the ones listed above, here are some alternative backends with their own APIs:

Contributing

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:

  • Describe the issue in detail

  • If you have a feature request, please indicate it as such.

If you have a Pull Request

  • Describe the pull request in detail, what, and why you are changing something

Developers and Permissions

Creators/Developers: