update SupportedCustomCuda
This commit is contained in:
parent
3eb10f08bb
commit
1465908574
@ -318,9 +318,10 @@ export function toastWithButton(text: string, buttonText: string, onClickButton:
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getSupportedCustomCudaFile() {
|
export function getSupportedCustomCudaFile() {
|
||||||
if ([' 10', ' 16', ' 20', ' 30', 'MX', 'Tesla P', 'Quadro P', 'NVIDIA P', 'TITAN X', 'TITAN RTX', 'RTX A'].some(v => commonStore.status.device_name.includes(v)))
|
if ([' 10', ' 16', ' 20', ' 30', 'MX', 'Tesla P', 'Quadro P', 'NVIDIA P', 'TITAN X', 'TITAN RTX', 'RTX A',
|
||||||
|
'Quadro RTX 4000', 'Quadro RTX 5000', 'Tesla T4', 'NVIDIA A10', 'NVIDIA A40'].some(v => commonStore.status.device_name.includes(v)))
|
||||||
return './backend-python/wkv_cuda_utils/wkv_cuda10_30.pyd';
|
return './backend-python/wkv_cuda_utils/wkv_cuda10_30.pyd';
|
||||||
else if ([' 40', 'RTX TITAN Ada'].some(v => commonStore.status.device_name.includes(v)))
|
else if ([' 40', 'RTX 5000 Ada', 'RTX 6000 Ada', 'RTX TITAN Ada', 'NVIDIA L40'].some(v => commonStore.status.device_name.includes(v)))
|
||||||
return './backend-python/wkv_cuda_utils/wkv_cuda40.pyd';
|
return './backend-python/wkv_cuda_utils/wkv_cuda40.pyd';
|
||||||
else
|
else
|
||||||
return '';
|
return '';
|
||||||
|
Loading…
Reference in New Issue
Block a user