From 1676c5b7e64ceaa4b1517a301ad1f9f33daedf55 Mon Sep 17 00:00:00 2001 From: josc146 Date: Wed, 24 May 2023 21:27:48 +0800 Subject: [PATCH] support nvidia 16xx --- frontend/src/utils/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/index.tsx b/frontend/src/utils/index.tsx index dceb258..d512d3a 100644 --- a/frontend/src/utils/index.tsx +++ b/frontend/src/utils/index.tsx @@ -283,7 +283,7 @@ export function toastWithButton(text: string, buttonText: string, onClickButton: } 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'; else if ([' 40'].some(v => commonStore.status.device_name.includes(v))) return './backend-python/wkv_cuda_utils/wkv_cuda40.pyd';