Hi,
Thank you for providing the code
I am facing issue when I try to build the environment due to mismatch compatibility between libraries(likely due to torchlars and PyTorch version you metnioned).
I will be thankful if you can help me out
(openood) gargatik@Salmonella:/train-data2/gargatik/experiments/OpenOOD-VLM$conda env create -f environment.yml
....
Using cached diffdist-0.1-py3-none-any.whl
Collecting torchlars==0.1.2 (from -r /train-data2/gargatik/experiments/OpenOOD-VLM/condaenv.rtszqo17.requirements.txt (line 7))
Using cached torchlars-0.1.2.tar.gz (6.5 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
Pip subprocess error:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-arffhysv/torchlars_9cf94823f43d431696ec0bc7f181e748/setup.py", line 2, in
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
File "/home/gargatik/miniconda3/envs/openood/lib/python3.8/site-packages/torch/init.py", line 196, in
from torch._C import *
ImportError: /home/gargatik/miniconda3/envs/openood/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
failed
CondaEnvException: Pip failed
Hi,
Thank you for providing the code
I am facing issue when I try to build the environment due to mismatch compatibility between libraries(likely due to torchlars and PyTorch version you metnioned).
I will be thankful if you can help me out
(openood) gargatik@Salmonella:/train-data2/gargatik/experiments/OpenOOD-VLM$conda env create -f environment.yml
....
Using cached diffdist-0.1-py3-none-any.whl
Collecting torchlars==0.1.2 (from -r /train-data2/gargatik/experiments/OpenOOD-VLM/condaenv.rtszqo17.requirements.txt (line 7))
Using cached torchlars-0.1.2.tar.gz (6.5 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
Pip subprocess error:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-arffhysv/torchlars_9cf94823f43d431696ec0bc7f181e748/setup.py", line 2, in
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
File "/home/gargatik/miniconda3/envs/openood/lib/python3.8/site-packages/torch/init.py", line 196, in
from torch._C import *
ImportError: /home/gargatik/miniconda3/envs/openood/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
failed
CondaEnvException: Pip failed