gully / ynot

Astronomical échellogram digital twins with pixel-perfect machine learning: rehabilitating archival data and pathfinding for EPRV
https://ynot.readthedocs.io
MIT License
4 stars 0 forks source link

Upgrade to modern versions of Python and PyTorch #16

Open gully opened 11 months ago

gully commented 11 months ago

This project started 3 years ago and since then Python and particularly PyTorch have come a long way. We should consider updating to more modern versions.

We'll probably have to upgrade to get the best sparse matrix support.

I propose we tag a release for the current code, maybe 0.1.1 or something, so we can revert easily if needed.

gully commented 11 months ago

I just ran the CPU version of ynot in the Echellogram class with PyTorch version 2.0.1, and it just worked! Nice!