Config: Add option to set priority to realtime

Realtime process priority assigns resources to point to tabby's
processes. Running as administrator will give realtime priority
while running as a normal user will set as high priority.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-07-24 21:47:47 -04:00
parent 5c082b7e8c
commit 42bc4adcfb
3 changed files with 23 additions and 4 deletions

View file

@ -28,6 +28,9 @@ dependencies = [
"tokenizers",
"lm-format-enforcer >= 0.9.6",
"aiofiles",
"aiohttp",
"huggingface_hub",
"psutil",
# Improved asyncio loops
"uvloop ; platform_system == 'Linux' and platform_machine == 'x86_64'",
@ -35,10 +38,6 @@ dependencies = [
# TEMP: Remove once 2.x is fixed in upstream
"numpy < 2.0.0",
# TODO: Maybe move these to a downloader feature?
"aiohttp",
"huggingface_hub",
]
[project.urls]