Dependencies: Switch to fastapi-slim

Reduces dependency size since the full fastapi package isn't required.
Add httptools since it makes requests faster and it was installed
with fastapi previously.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-07-24 21:50:16 -04:00
parent 42bc4adcfb
commit 27f9559d83

View file

@ -16,7 +16,7 @@ version = "0.0.1"
description = "An OAI compatible exllamav2 API that's both lightweight and fast"
requires-python = ">=3.10"
dependencies = [
"fastapi >= 0.110.0",
"fastapi-slim >= 0.110.0",
"pydantic >= 2.0.0",
"PyYAML",
"rich",
@ -31,6 +31,7 @@ dependencies = [
"aiohttp",
"huggingface_hub",
"psutil",
"httptools>=0.5.0",
# Improved asyncio loops
"uvloop ; platform_system == 'Linux' and platform_machine == 'x86_64'",