support for tesla P40 custom cuda kernel
This commit is contained in:
parent
55bb33bcbb
commit
5e698a8312
@ -285,7 +285,7 @@ export function toastWithButton(text: string, buttonText: string, onClickButton:
|
||||
}
|
||||
|
||||
export function getSupportedCustomCudaFile() {
|
||||
if ([' 10', ' 16', ' 20', ' 30'].some(v => commonStore.status.device_name.includes(v)))
|
||||
if ([' 10', ' 16', ' 20', ' 30', 'P40'].some(v => commonStore.status.device_name.includes(v)))
|
||||
return './backend-python/wkv_cuda_utils/wkv_cuda10_30.pyd';
|
||||
else if ([' 40'].some(v => commonStore.status.device_name.includes(v)))
|
||||
return './backend-python/wkv_cuda_utils/wkv_cuda40.pyd';
|
||||
|
Loading…
Reference in New Issue
Block a user