fix: gpu selector by cluster

This commit is contained in:
jialin
2025-09-16 11:26:17 +08:00
parent 207c90e26c
commit 553ec724c2
40 changed files with 1106 additions and 1233 deletions
@@ -8,7 +8,6 @@ interface FormContextProps {
pageAction: PageActionType;
sizeOptions?: Global.BaseOption<number>[];
quantizationOptions?: Global.BaseOption<string>[];
modelFileOptions?: any[];
gpuOptions?: any[];
onSizeChange?: (val: number) => void;
onQuantizationChange?: (val: string) => void;
+2
View File
@@ -20,6 +20,7 @@ export interface ListItem {
name: string;
description: string;
id: number;
cluster_id: number;
local_path?: string;
created_at: string;
updated_at: string;
@@ -69,6 +70,7 @@ export interface FormData {
description: string;
optimize_long_prompt: boolean;
enable_speculative_decoding: boolean;
cluster_id: number;
}
interface ComputedResourceClaim {