Closed itaijj closed 1 year ago
Hey, thanks for reporting this, can you confirm that it runs fine when you set disable_gpu=True
? I want to make sure there is no concurrent source of error.
yes, it works fine when disable_gpu=True
Hi @itaijj,
The issue should be fixed. If you recreate the conda env, it should work. To fix your current env, please run:
pip uninstall toxsmi
pip uninstall paccmann_predictor
pip install -r vcs_requirements.txt
I pushed fixes to both toxsmi and paccmann_predictor. The problem was that the models were not fully, but only partly casted to the correct device
Describe the bug When trying to calculate get_toxicty based on the jupyter notebook demo visum-2022-handson-generative-models.ipynb, when setting disable_gpu =False in first code snippet, I get the error of some inner data structure not transferred to GPU device inside the paccmann module code, trying to move the molecules or paccmann model on the jupyter notebook code was not possible, so I'm guessing it is a bug.
To Reproduce Steps to reproduce the behaviour:
Expected behavior Run does not crashes and toxicity is calculated on gpu device
Screenshots