fix: adjust gpus_per_replicas ux
This commit is contained in:
@@ -98,6 +98,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
|
||||
setWarningStatus,
|
||||
handleDoEvalute,
|
||||
cancelEvaluate,
|
||||
clearCacheFormValues,
|
||||
submitAnyway,
|
||||
handleOnValuesChange,
|
||||
warningStatus
|
||||
@@ -609,6 +610,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
|
||||
onBackendChange={handleBackendChange}
|
||||
onSourceChange={handleSourceChange}
|
||||
onValuesChange={onValuesChange}
|
||||
clearCacheFormValues={clearCacheFormValues}
|
||||
></DataForm>
|
||||
</>
|
||||
</ColumnWrapper>
|
||||
|
||||
@@ -116,7 +116,7 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
cancelEvaluate,
|
||||
unlockWarningStatus,
|
||||
handleOnValuesChange: handleOnValuesChangeBefore,
|
||||
clearCahceFormValues,
|
||||
clearCacheFormValues,
|
||||
warningStatus,
|
||||
submitAnyway
|
||||
} = useCheckCompatibility();
|
||||
@@ -314,7 +314,7 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
}
|
||||
console.log('handleOnSelectModel:', item, selectedModel);
|
||||
setIsGGUF(item.isGGUF);
|
||||
clearCahceFormValues();
|
||||
clearCacheFormValues();
|
||||
unlockWarningStatus();
|
||||
setEvaluteState({
|
||||
state: EvaluateProccess.model,
|
||||
@@ -511,7 +511,7 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
handleOnOpen();
|
||||
} else {
|
||||
cancelEvaluate();
|
||||
clearCahceFormValues();
|
||||
clearCacheFormValues();
|
||||
}
|
||||
return () => {
|
||||
setSelectedModel({});
|
||||
@@ -645,6 +645,7 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
isGGUF={isGGUF}
|
||||
onBackendChange={handleBackendChange}
|
||||
onValuesChange={onValuesChange}
|
||||
clearCacheFormValues={clearCacheFormValues}
|
||||
></DataForm>
|
||||
</>
|
||||
</ColumnWrapper>
|
||||
|
||||
Reference in New Issue
Block a user