Cannot set up environment

Hi all,

I’m having trouble setting up the environment. I am following the instructions here: Using pre-trained models in ASE (fair-chem.github.io)

conda env create -f env.gpu.yml
pip install fairchem-core
pip install fairchem-data-oc

But when I go to Python and run from fairchem.core.common.relaxation.ase_utils import OCPCalculator I get the following warning:

/home/ec2-user/mambaforge/envs/fair-chem/lib/python3.10/site-packages/torch_geometric/typing.py:54: UserWarning: An issue occurred while importing 'pyg-lib'. Disabling its usage. Stacktrace: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/mambaforge/envs/fair-chem/lib/python3.10/site-packages/libpyg.so)
  warnings.warn(f"An issue occurred while importing 'pyg-lib'. "
/home/ec2-user/mambaforge/envs/fair-chem/lib/python3.10/site-packages/torch_geometric/typing.py:110: UserWarning: An issue occurred while importing 'torch-sparse'. Disabling its usage. Stacktrace: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/ec2-user/mambaforge/envs/fair-chem/lib/python3.10/site-packages/libpyg.so)
  warnings.warn(f"An issue occurred while importing 'torch-sparse'. "

If I try using env.cpu.yml instead I can’t even import OCPCalculator, I get the error

  File "/home/ec2-user/mambaforge/envs/fair-chem2/lib/python3.12/ctypes/__init__.py", line 379, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libcudart.so.12: cannot open shared object file: No such file or directory```

What is the issue? I am running on an AWS EC2 instance.

Can you please post this issue on our Github Issues page - GitHub - FAIR-Chem/fairchem: FAIR Chemistry's library of machine learning methods for chemistry. Thanks!