fix issues with optional dependencies (#204)

* fix issues with optional dependencies

* format document

* Tree: Format and comment
This commit is contained in:
TerminalMan 2024-09-20 03:24:55 +01:00 committed by GitHub
parent 75af974c88
commit 3aeddc5255
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 104 additions and 53 deletions

View file

@ -17,10 +17,8 @@ from common.networking import is_port_in_use
from common.signals import signal_handler
from common.tabby_config import config
from endpoints.server import start_api
from endpoints.utils import do_export_openapi
if not do_export_openapi:
from backends.exllamav2.utils import check_exllama_version
from backends.exllamav2.version import check_exllama_version
async def entrypoint_async():