fix: schdule type gpu_selctor issue

This commit is contained in:
jialin
2025-10-31 17:14:38 +08:00
parent 2006827968
commit 608b2e31c7
7 changed files with 28 additions and 29 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
return {
gpu_selector: {
gpu_ids: [gpuids[0]],
gpus_per_replica: -1
gpus_per_replica: null
}
};
}
@@ -352,7 +352,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
name="deployModel"
form={form}
onFinish={handleOk}
preserve={true}
preserve={false}
clearOnDestroy={true}
onValuesChange={handleOnValuesChange}
onFinishFailed={handleOnFinishFailed}