fix: register k8s cluster should selected nvidia vendor by default
This commit is contained in:
@@ -93,9 +93,8 @@ const SelectVendor: React.FC<AddWorkerStepProps> = ({ disabled }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// K8s clusters allow selecting none (CPU-only workers), so skip default
|
// Default to NVIDIA for every provider, including K8s. Users can still
|
||||||
// selection. Other providers still default to NVIDIA.
|
// deselect it (e.g. for CPU-only workers) or add more vendors on K8s.
|
||||||
if (multiCapable) return;
|
|
||||||
handleSelect(GPUDriverMap.NVIDIA, {
|
handleSelect(GPUDriverMap.NVIDIA, {
|
||||||
label: 'NVIDIA',
|
label: 'NVIDIA',
|
||||||
hiddenTitle: true,
|
hiddenTitle: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user