fix: enable distributed inference field for mindie
This commit is contained in:
@@ -452,28 +452,25 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
|||||||
</Form.Item>
|
</Form.Item>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{scheduleType === 'auto' &&
|
{scheduleType === 'auto' && (
|
||||||
[backendOptionsMap.llamaBox, backendOptionsMap.vllm].includes(
|
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
||||||
backend
|
<Form.Item<FormData>
|
||||||
) && (
|
name="distributed_inference_across_workers"
|
||||||
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
valuePropName="checked"
|
||||||
<Form.Item<FormData>
|
style={{ padding: '0 10px', marginBottom: 0 }}
|
||||||
name="distributed_inference_across_workers"
|
noStyle
|
||||||
valuePropName="checked"
|
>
|
||||||
style={{ padding: '0 10px', marginBottom: 0 }}
|
<CheckboxField
|
||||||
noStyle
|
title={intl.formatMessage({
|
||||||
>
|
id: 'models.form.distribution.tips'
|
||||||
<CheckboxField
|
})}
|
||||||
title={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
id: 'models.form.distribution.tips'
|
id: 'resources.form.enableDistributedInferenceAcrossWorkers'
|
||||||
})}
|
})}
|
||||||
label={intl.formatMessage({
|
></CheckboxField>
|
||||||
id: 'resources.form.enableDistributedInferenceAcrossWorkers'
|
</Form.Item>
|
||||||
})}
|
</div>
|
||||||
></CheckboxField>
|
)}
|
||||||
</Form.Item>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
||||||
<Form.Item<FormData>
|
<Form.Item<FormData>
|
||||||
name="restart_on_error"
|
name="restart_on_error"
|
||||||
|
|||||||
Reference in New Issue
Block a user