There is no platform agnostic way to fetch CUDA/ROCm's versions since environment variables change and users don't necessarily need CUDA or ROCm installed to run pytorch (pytorch installs the necessary libs if they don't exist). Therefore, prompt the user for their GPU lib and store the result in a textfile so the user doesn't need to constantly enter a preference. Signed-off-by: kingbri <bdashore3@proton.me> |
||
|---|---|---|
| .github | ||
| backends/exllamav2 | ||
| colab | ||
| common | ||
| docker | ||
| endpoints/OAI | ||
| loras | ||
| models | ||
| sampler_overrides | ||
| templates | ||
| tests | ||
| .gitignore | ||
| config_sample.yml | ||
| formatting.bat | ||
| formatting.sh | ||
| LICENSE | ||
| main.py | ||
| pyproject.toml | ||
| README.md | ||
| start.bat | ||
| start.py | ||
| start.sh | ||
TabbyAPI
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
Tabbyrole. 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 API is considered as rolling release. There may be bugs and changes down the line. Please be aware that you might need to reinstall dependencies if needed.
Getting Started
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)
Alternative Loaders/Backends
If you want to use a different model type than the ones listed above, here are some alternative backends with their own APIs:
-
GGUF + GGML - KoboldCPP
-
AWQ - Aphrodite Engine
Contributing
If you have issues with the project:
-
Describe the issues 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: