Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

cannot use tecoGAN-da-8x-std due to gpu-architecture #100

Closed
idl-polun opened this issue Dec 29, 2022 · 4 comments
Closed

cannot use tecoGAN-da-8x-std due to gpu-architecture #100

idl-polun opened this issue Dec 29, 2022 · 4 comments

Comments

@idl-polun
Copy link

Hi I am trying this new model with 4090, however it cannot run and prompt such error at last line
nvrtc: error: invalid value for --gpu-architecture (-arch)
the detail as attached file
da_fail.txt

I also try other model like basicVSR-pp and tecogan, and those are running well.
is this because pytorch doesn't support 4090 yet?

@tonyyuan1
Copy link

tonyyuan1 commented Jan 26, 2023

The same bug occurs with rtx4070ti too. Upgrading to torch 1.13.1 (cuda11.7) didn't help.

@idl-polun
Copy link
Author

I upgraded 11.8 + cudnn-windows-x86_64-8.7.0.84 and replace these files in folder
TG\TGMAIN\torch\lib\cublas64_11.dll
TG\TGMAIN\torch\lib\cublasLt64_11.dll
TG\TGMAIN\torch\lib\cudart64_110.dll
TG\TGMAIN\torch\lib\cudnn_adv_infer64_8.dll
TG\TGMAIN\torch\lib\cudnn_adv_train64_8.dll
TG\TGMAIN\torch\lib\cudnn_cnn_infer64_8.dll
TG\TGMAIN\torch\lib\cudnn_cnn_train64_8.dll
TG\TGMAIN\torch\lib\cudnn_ops_infer64_8.dll
TG\TGMAIN\torch\lib\cudnn_ops_train64_8.dll
TG\TGMAIN\torch\lib\cudnn64_8.dll
TG\TGMAIN\torch\lib\cufft64_10.dll
TG\TGMAIN\torch\lib\cufftw64_10.dll
TG\TGMAIN\torch\lib\curand64_10.dll
TG\TGMAIN\torch\lib\cusolver64_11.dll
TG\TGMAIN\torch\lib\cusolverMg64_11.dll
TG\TGMAIN\torch\lib\cusparse64_11.dll
TG\TGMAIN\torch\lib\nvrtc64_112_0.dll

I didn't chech which one did the magic, but it can run, guess it's nvrtc64_112_0 issue

@km2ii km2ii mentioned this issue Feb 4, 2023
@PhiGo67
Copy link

PhiGo67 commented Feb 4, 2023

I upgraded 11.8 + cudnn-windows-x86_64-8.7.0.84 and replace these files in folder TG\TGMAIN\torch\lib\cublas64_11.dll TG\TGMAIN\torch\lib\cublasLt64_11.dll TG\TGMAIN\torch\lib\cudart64_110.dll TG\TGMAIN\torch\lib\cudnn_adv_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_adv_train64_8.dll TG\TGMAIN\torch\lib\cudnn_cnn_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_cnn_train64_8.dll TG\TGMAIN\torch\lib\cudnn_ops_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_ops_train64_8.dll TG\TGMAIN\torch\lib\cudnn64_8.dll TG\TGMAIN\torch\lib\cufft64_10.dll TG\TGMAIN\torch\lib\cufftw64_10.dll TG\TGMAIN\torch\lib\curand64_10.dll TG\TGMAIN\torch\lib\cusolver64_11.dll TG\TGMAIN\torch\lib\cusolverMg64_11.dll TG\TGMAIN\torch\lib\cusparse64_11.dll TG\TGMAIN\torch\lib\nvrtc64_112_0.dll

I didn't chech which one did the magic, but it can run, guess it's nvrtc64_112_0 issue

I tried the same, but still no luck with my RTX4070TI and Javplayer/TG-Plus :(
TecoGAN-DA is unusable for me, but the rest seems to work.

@km2ii km2ii closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2023
@suphamster
Copy link

suphamster commented Jun 1, 2023

I upgraded 11.8 + cudnn-windows-x86_64-8.7.0.84 and replace these files in folder TG\TGMAIN\torch\lib\cublas64_11.dll TG\TGMAIN\torch\lib\cublasLt64_11.dll TG\TGMAIN\torch\lib\cudart64_110.dll TG\TGMAIN\torch\lib\cudnn_adv_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_adv_train64_8.dll TG\TGMAIN\torch\lib\cudnn_cnn_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_cnn_train64_8.dll TG\TGMAIN\torch\lib\cudnn_ops_infer64_8.dll TG\TGMAIN\torch\lib\cudnn_ops_train64_8.dll TG\TGMAIN\torch\lib\cudnn64_8.dll TG\TGMAIN\torch\lib\cufft64_10.dll TG\TGMAIN\torch\lib\cufftw64_10.dll TG\TGMAIN\torch\lib\curand64_10.dll TG\TGMAIN\torch\lib\cusolver64_11.dll TG\TGMAIN\torch\lib\cusolverMg64_11.dll TG\TGMAIN\torch\lib\cusparse64_11.dll TG\TGMAIN\torch\lib\nvrtc64_112_0.dll
I didn't chech which one did the magic, but it can run, guess it's nvrtc64_112_0 issue

I tried the same, but still no luck with my RTX4070TI and Javplayer/TG-Plus :( TecoGAN-DA is unusable for me, but the rest seems to work.

Maybe u copied mentioned dll files only to "G\TGMAIN" folder but u need its also to copy here "G\TGMAIN\torch\lib" as mentioned in post that u quoted. For me also it didn't worked on RTX 4070 (not Ti) until I've placed dll in both folders.
U can take needed libraries from this link but take only those one that names starting with "cu" and "nv" or u'll broke torch!
https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.0.1%2Bcu118.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants