Closed miicck closed 2 months ago
Hi, the uploaded conda environment should work. The issue you encountered might be due to your system missing the libcusparse.so.11
shared library, or not having the library path added to your .bashrc
file. Please check if libcusparse.so.11
is installed. You can install cudatoolkit=11.3.1
to obtain this shared library. Once installed, the conda environment should function properly. The screenshot below shows that libcusparse.so.11
is included in cudatoolkit=11.3.1
.
Hi @QuantumLab-ZY, thanks for the response. I can't see libcusparse.so.11
in the screenshot you sent.
For additional context, my plan is to deploy this model to a large number of machines, which belong to various people. They are understandably nervous about using a conda environment downloaded from the internet in this way, rather than setup in a conventional way. An up-to-date environment.yml
file would be really helpful.
Hi @miicck, I'm sorry, I mistakenly confused libcublas.so.11 with libcusparse.so.11. I'll use conda env export > environment.yaml
to package the conda environment. I'll first test installing from this environment.yaml file to ensure there are no issues. If everything works well, I'll upload the environment.yaml file.
Great, thanks @QuantumLab-ZY!
Hello @miicck,
You can use the conda environment file to set up the environment by running:
conda env create -f environment.yaml
I've tested it, and HamGNN runs successfully. Let me know if you encounter any issues.
Best,
Yang Zhong
Hi @QuantumLab-ZY I've managed to get a working environment setup - thanks for your help. I've submitted a pull request for a small compatibility issue I ran into along the way https://github.com/QuantumLab-ZY/HamGNN/pull/30
Hi, would it be possible to get an updated list of requirements for the python environment? I've tried quite hard to get a working environment together (see below) to no avail.
I'm aware of the uploaded conda environment mentioned in the README, but it doesn't work on any of the machines I've tried:
I've also tried building a conda environment with the requirements listed in the README, using the following environment.yml:
But conda finds conflicts for this environment:
Removing the version restrictions leads to import errors:
I've also tried manually creating a conda.yml that doesn't lead to import errors:
But this leads to some quite nasty looking runtime errors: