support nvidia 16xx
This commit is contained in:
parent
c7ed4b07c2
commit
1676c5b7e6
@ -283,7 +283,7 @@ export function toastWithButton(text: string, buttonText: string, onClickButton:
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getSupportedCustomCudaFile() {
|
export function getSupportedCustomCudaFile() {
|
||||||
if ([' 10', ' 20', ' 30'].some(v => commonStore.status.device_name.includes(v)))
|
if ([' 10', ' 16', ' 20', ' 30'].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'].some(v => commonStore.status.device_name.includes(v)))
|
else if ([' 40'].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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user