jamriska / ebsynth

Fast Example-based Image Synthesis and Style Transfer
https://ebsynth.com
1.5k stars 194 forks source link

Compiling with modern Linux / CUDA: -arch option #26

Open chateauferret opened 3 years ago

chateauferret commented 3 years ago

On running the Linux build script for cpu+cuda I got an error to the effect that "compute_30" wasn't recognised. Seemingly this has to do with specifying a minimum architecture which is now obsolete and should be met by any modern GPU / CUDA version. I just deleted the option in the compile script and it built and ran fine. Note that the compile options are also set to terse, so there will be no output during the compile, which takes a couple of minutes; please be patient (or set it to verbose).

johnowhitaker commented 3 years ago

Thanks for sharing a solution. Removing '-arch compute_30' let me install on Google Colab.

nerdyrodent commented 1 year ago

I used -arch compute_50 with CUDA 11

bettyeats commented 11 months ago

https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/ check you GPU matching arch