Open bbartoldson opened 10 months ago
/.../x86_miniconda3/envs/flash2/lib/python3.11/site-packages/rotary_emb.cpython-311-x86_64-linux-gnu.so: undefined symbol: _Z17apply_rotary_cudaN2at6TensorES0_S0_S0_S0_S0_b
It looks like there are some CUDA operators in the rotary lib which is not working on AMD GPUs. Therefore you cannot use it directly without kernel supports even if you can build it.
@howiejayz hello I need rotary on amd, is this cuda operator still missing? can you please specify which ones? can i get the fix prioritized?
@ehartford Could you try this PR, which has the rotary module enabled for ROCm?
Thanks, I will give it a try
The non-flash-attention modules in this repository seem to not be installable with AMD cards. I would be happy to help address this but need some guidance.
Progress:
Errors:
import rotary_emb
returnsImportError: libc10.so: cannot open shared object file: No such file or directory
.import torch
thenimport rotary_emb
, the result isImportError: /.../x86_miniconda3/envs/flash2/lib/python3.11/site-packages/rotary_emb.cpython-311-x86_64-linux-gnu.so: undefined symbol: _Z17apply_rotary_cudaN2at6TensorES0_S0_S0_S0_S0_b
.Configuration: