$ python setup.py clean
Building wheel torch-1.4.0a0+f2a35db
Traceback (most recent call last):
File "setup.py", line 753, in <module>
extensions, cmdclass, packages, entry_points = configure_extension_build()
File "setup.py", line 634, in configure_extension_build
os.path.dirname(cmake_cache_vars['CUDA_CUDA_LIB']))
File "/usr/lib64/python2.7/posixpath.py", line 129, in dirname
i = p.rfind('/') + 1
AttributeError: 'bool' object has no attribute 'rfind'
Also, since you want to clean your build, could you alternatively remove all files defined in .gitignore manually (reference code).
To many files thereā¦
I am sure that I set a CUDA path, but can not find that
$ grep -ri cuda build
build/CMakeCache.txt://Statically link CUDA libraries
build/CMakeCache.txt:CAFFE2_STATIC_LINK_CUDA:BOOL=OFF
build/CMakeCache.txt://Use CUDA
build/CMakeCache.txt:USE_CUDA:BOOL=True
build/CMakeCache.txt://Use NVRTC. Only available if USE_CUDA is on.