zhanglab-aim / cancer-net

Diagnosing cancers using deep learning.
GNU General Public License v2.0
2 stars 0 forks source link

Fix issue with sparse tensors by using pyg 2.0 #23

Closed ttesileanu closed 1 year ago

ttesileanu commented 1 year ago

We noticed a massive slowdown (~20x) after upgrading packages. Turned out to be a regression in pytorch-geometric in the handling of sparse tensors (https://github.com/pyg-team/pytorch_geometric/pull/5299). This has been fixed in August but hasn't made it to a release yet, so our best bet was to downgrade pytorch-geometric (to 2.0.4). This also meant we had to use older versions of pytorch (1.11) and cudatoolkit (11.3).