Auto-update CUDA binary on app update: check version on startup, download if stale

This commit is contained in:
Jamie Pine
2026-03-15 08:46:17 -07:00
parent d6984f1057
commit 655910457f
3 changed files with 61 additions and 2 deletions
+4
View File
@@ -3104,6 +3104,10 @@ async def startup_event():
print(f"Backend: {backend_type.upper()}")
print(f"GPU available: {_get_gpu_status()}")
# Auto-update CUDA binary if installed but outdated
from .cuda_download import check_and_update_cuda_binary
_create_background_task(check_and_update_cuda_binary())
# Initialize progress manager with main event loop for thread-safe operations
try:
progress_manager = get_progress_manager()