mirror of
https://github.com/usestrix/strix.git
synced 2026-08-24 11:52:38 +02:00
perf: take heavy imports off the startup path and pre-warm them in the background (#1141)
Co-authored-by: Ahmed Allam <ahmed39652003@gmail.com>
This commit is contained in:
co-authored by
Ahmed Allam
parent
2cc8167814
commit
1ce43d1b94
@@ -431,6 +431,10 @@ def main() -> None:
|
||||
|
||||
sys.exit(run_auth(sys.argv[2:]))
|
||||
|
||||
from strix.llm.warmup import start_import_warmup
|
||||
|
||||
start_import_warmup()
|
||||
|
||||
args = parse_arguments()
|
||||
|
||||
start_background_check()
|
||||
|
||||
Reference in New Issue
Block a user