cellDancer icon indicating copy to clipboard operation
cellDancer copied to clipboard

torch version compatibility

Open stemjn opened this issue 1 year ago • 1 comments

It seems that cellDancer relies on torch version = 1.10.0.

However, my current torch version is 2.0.0.

I tried to install 1.10.0 but it seems that it is no longer available from PyTorch: "ERROR: No matching distribution found for torch==1.10.0"

I suspect that this incompatibility is the current source of the error I'm experiencing with cellDancer, which was described previously: "none of the genes predicted" (Issue #15).

May I ask if cellDancer can be updated to be compatible with torch version 2.0.0 or above?

Thank you.

stemjn avatar Jan 06 '24 19:01 stemjn

Hello,

Thank you for reaching out. Your question looks related to this question. I tried in my conda environment and I was able to install torch==1.10.0. To get around it quickly, is it possible for you to build a new conda environment following the installation page and specify the python version with 3.7.6? We've tested many times under different devices and Python 3.7.6 works smoothly. If you still have this problem, please feel free to reach out.

Best, Shengyu

Abclisy avatar Mar 15 '24 20:03 Abclisy