fix: distributed inference across workers disabled for vox-box
This commit is contained in:
@@ -452,25 +452,30 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
|||||||
</Form.Item>
|
</Form.Item>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{scheduleType === 'auto' && (
|
{scheduleType === 'auto' &&
|
||||||
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
[
|
||||||
<Form.Item<FormData>
|
backendOptionsMap.llamaBox,
|
||||||
name="distributed_inference_across_workers"
|
backendOptionsMap.vllm,
|
||||||
valuePropName="checked"
|
backendOptionsMap.ascendMindie
|
||||||
style={{ padding: '0 10px', marginBottom: 0 }}
|
].includes(backend) && (
|
||||||
noStyle
|
<div style={{ paddingBottom: 22, paddingLeft: 10 }}>
|
||||||
>
|
<Form.Item<FormData>
|
||||||
<CheckboxField
|
name="distributed_inference_across_workers"
|
||||||
title={intl.formatMessage({
|
valuePropName="checked"
|
||||||
id: 'models.form.distribution.tips'
|
style={{ padding: '0 10px', marginBottom: 0 }}
|
||||||
})}
|
noStyle
|
||||||
label={intl.formatMessage({
|
>
|
||||||
id: 'resources.form.enableDistributedInferenceAcrossWorkers'
|
<CheckboxField
|
||||||
})}
|
title={intl.formatMessage({
|
||||||
></CheckboxField>
|
id: 'models.form.distribution.tips'
|
||||||
</Form.Item>
|
})}
|
||||||
</div>
|
label={intl.formatMessage({
|
||||||
)}
|
id: 'resources.form.enableDistributedInferenceAcrossWorkers'
|
||||||
|
})}
|
||||||
|
></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