progres icon indicating copy to clipboard operation
progres copied to clipboard

Pytorch Error

Open Abelcanc3rhack3r opened this issue 9 months ago • 1 comments

Hi, I installed on Linux exactly like how it was mentioned. WHen I run progres embed -l filepaths.txt -o db_embeddings.pt -f guess I get this error.

File "/home/svu/e1103389/anaconda3/envs/prog1/bin/progres", line 115, in main() File "/home/svu/e1103389/anaconda3/envs/prog1/bin/progres", line 108, in main from progres import progres_embed File "/home/svu/e1103389/anaconda3/envs/prog1/lib/python3.9/site-packages/progres/init.py", line 1, in from .progres import * File "/home/svu/e1103389/anaconda3/envs/prog1/lib/python3.9/site-packages/progres/progres.py", line 8, in from torch_scatter import scatter File "/home/svu/e1103389/anaconda3/envs/prog1/lib/python3.9/site-packages/torch_scatter/init.py", line 16, in torch.ops.load_library(spec.origin) File "/home/svu/e1103389/anaconda3/envs/prog1/lib/python3.9/site-packages/torch/_ops.py", line 220, in load_library ctypes.CDLL(path) File "/home/svu/e1103389/anaconda3/envs/prog1/lib/python3.9/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: /oceanstor/home/e1103389/anaconda3/envs/prog1/lib/python3.9/site-packages/torch_scatter/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

Please help

Abelcanc3rhack3r avatar Apr 24 '25 09:04 Abelcanc3rhack3r

Hmm, that's strange. I'm guessing a progres search run also errors?

You could try fixing pytorch-scatter v2.0.9, which works with pytorch v1.11 for me locally and on CI.

If that doesn't work, could you output the result of conda list with the prog1 environment activated?

jgreener64 avatar Apr 24 '25 11:04 jgreener64