Error running polyhydra
Hi,
I am trying to get the torchbeast agent to run in order to generate some trajectories I can initialize my own agents to. I installed torchbeast as per the README in the torchbeast repository (for polybeast). I was able to compile it, although I did have to make a modification to one of the dependencies (abseil-cpp) to fix an incompatibility with GCC 11 (missing limits header).
However, now when I try to run the baseline (nethack_baselines/torchbeast/polyhydra.py) I get the following:
python3 polyhydra.py
Traceback (most recent call last):
File "/home/.../neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast/polyhydra.py", line 40, in <module>
import polybeast_env
File "/home/.../neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast/polybeast_env.py", line 23, in <module>
import libtorchbeast
File "/usr/lib/python3.9/site-packages/libtorchbeast-0.0.20-py3.9-linux-x86_64.egg/libtorchbeast/__init__.py", line 18, in <module>
from ._C import (
ImportError: /usr/lib/python3.9/site-packages/libtorchbeast-0.0.20-py3.9-linux-x86_64.egg/libtorchbeast/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Any ideas? I am using Python 3.9 on Manjaro Linux. Note that I do not have an Nvidia GPU and intend to run inference on the CPU.