Open Alva-2020 opened 3 years ago
are you using torch 1.0+?
are you using torch 1.0+? Yes.
Could you please give me some suggestions?
@Alva-2020 you can try python lower than 3.6 and cuda 10.0
python 3.6 with cuda10.0 can work
fyi
I saw the original repo deleted Delete rcca.cpython-36m-x86_64-linux-gnu.so 4c7923b
UPDATE - actually same error.
https://github.com/speedinghzl/CCNet/issues/98
UPDATE installing apex withou cuda / also didn't help
pip install -v --disable-pip-version-check --no-cache-dir ./
@johndpope .so file is generated by compiling the cpp cuda extension, I tried that more than one year ago using lower version python and pytorch-1.1 cuda10.0. if you only use from .CC import CC_module as CrissCrossAttention, you need not to compile the cuda extension
I can't use cuda 10 - as I have a later graphics card - 3090 :( will see if I can get around it.
File "/home/zhangli/anaconda3/envs/py36/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error building extension 'rcca'