SarahwXU / HiSup

MIT License
128 stars 18 forks source link

Unable to compile afm module. #13

Closed lsjBatter closed 1 year ago

lsjBatter commented 1 year ago

There are the following problems when installing according to the method you provided. image The following error occurred after changing ['ninja', '-v'] to ['Ninja','-version']. image After reducing the version of pytorch to 1.1.0, compile and save the build file, with afm.o and vision.o files, and then use the version of pytorch of 1.7.1, but it still shows that afm module is not installed. Could you please share the complete file directory after compilation? GPU:RTX3090 Linux:Ubuntu18.04

XJKunnn commented 1 year ago

Hi, we have tested that AFM module can be compiled with gcc-7.5 and CUDA-11.1 on RTX 3090. You can get the compiled HiSup from here. Maybe you can compile AFM with the same compilers and ensure sure is added to your virtual environment.

lsjBatter commented 1 year ago

Thank you very much for sharing, the program has been able to run normally