fix: distributed inference across workers disabled for vox-box

This commit is contained in:
jialin
2025-07-04 20:57:57 +08:00
parent 04de4ff606
commit ac32e23e87
@@ -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"