Fix CUDA downloads on unsupported platforms (#770)

* Fix CUDA downloads on unsupported platforms

* fix: align CUDA status nullability

* fix: require CUDA download support flag
This commit is contained in:
Andrew Barnes
2026-07-20 19:22:57 -07:00
committed by Jamie Pine
parent 3f4631c865
commit 12ce7a4c35
7 changed files with 78 additions and 6 deletions
+4 -1
View File
@@ -291,7 +291,10 @@ export interface CudaDownloadProgress {
export interface CudaStatus {
available: boolean; // CUDA binary exists on disk
active: boolean; // Currently running the CUDA binary
binary_path?: string;
binary_path: string | null;
cuda_libs_version: string | null;
download_supported: boolean; // Platform has a matching release asset
unsupported_reason: string | null;
downloading: boolean; // Download in progress
download_progress?: CudaDownloadProgress;
}