-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Torch version issues #130
Comments
Hello Jacob, I've tested on my personal Linux work station and PACE-HIVE clusters that the env_cpu.yml file should work with unittest without the pytorch dependency issues. You may try pulling from the current master branch and creating a new virtual environment for amptorch. I will paste the commands that I used on PACE-HIVE after this message. We discussed on Slack the other time and said that it's the pytorch dependency issues. I should have sent you an environment file for pip where the versions of all packages are pinned including the pytorch dependencies (sparse, geometric, etc.). This August I updated the environment files (env_cpu, env_gpu) and pinned the working versions of torch-sparse and -geometric which should offer better stability as to the issue occurred. I would recommend trying pulling and installing it again from fresh. One other issue might be with how PACE-HIVE clusters might be configured differently than PACE-ICE but I doubt this is the problem here. Commands I used on PACE-HIVE: `module load anaconda3 module load gcc conda info --envs conda remove --name amptorch --all cd data/ mkdir amptorch_20231019 cd amptorch_20231019/ git clone https://github.com/ulissigroup/amptorch.git cd amptorch/ conda env create -f env_cpu.yml conda activate amptorch pip install -e . python -m unittest This should yield all tests passed:
Ran 8 tests in 208.604s OK Hope this helps. Best, |
Hello, |
Hi, My experience with solving the environment is trying installing pytorch with the most relevant python version, trying different combinations, and then working out the torch dependencies such as geometric, sparse, etc. All of these mean that the pinned versions in the amptorch-cpu's environment file no longer work the same. Hope this helps. Best regards, |
This was a known issue last year with PyTorch version issues, but it was never written down permanently (only in Slack messages that have since been automatically deleted)
The text was updated successfully, but these errors were encountered: