From 2b9933479aeb2984bba1a6f742f89fe95177dfd8 Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 13 Feb 2025 20:12:53 -0800 Subject: [PATCH] Disable --reload on unicorn/fastapi to avoid pegging a CPU core Signed-off-by: David Li --- start-cpu.sh | 2 +- start-gpu.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/start-cpu.sh b/start-cpu.sh index 251d991..1af531d 100755 --- a/start-cpu.sh +++ b/start-cpu.sh @@ -14,4 +14,4 @@ export WEB_PLAYER_PATH=$PROJECT_ROOT/web # Run FastAPI with CPU extras using uv run # Note: espeak may still require manual installation, uv pip install -e ".[cpu]" -uv run uvicorn api.src.main:app --reload --host 0.0.0.0 --port 8880 \ No newline at end of file +uv run uvicorn api.src.main:app --host 0.0.0.0 --port 8880 diff --git a/start-gpu.sh b/start-gpu.sh index d073df6..d932df4 100755 --- a/start-gpu.sh +++ b/start-gpu.sh @@ -13,4 +13,4 @@ export WEB_PLAYER_PATH=$PROJECT_ROOT/web # Run FastAPI with GPU extras using uv run uv pip install -e ".[gpu]" -uv run uvicorn api.src.main:app --reload --host 0.0.0.0 --port 8880 \ No newline at end of file +uv run uvicorn api.src.main:app --host 0.0.0.0 --port 8880