DiffEqML / torchdyn

A PyTorch library entirely dedicated to neural differential equations, implicit models and related numerical methods
https://torchdyn.org
Apache License 2.0
1.38k stars 128 forks source link

PyTorch Version Compatibility #200

Closed atong01 closed 1 year ago

atong01 commented 1 year ago

Currently torchdyn claims requires torch<2.0.0,>=1.8.1. This issue tracks version compatibility. Github action testing against OS, python version and torch version can be found here: https://github.com/atong01/torchdyn/actions/runs/5939235577/job/16105229599

Currently one test fails for torch < 1.11 because torch.complex128 support was only added in 1.11. Torch 2.0 seems good across the board. I recommend changing torch requirement at least to torch>=1.8.1, allowing usage in Torch 2.0.

I think we still want to support 1.8.1 given it is only a single test failing at the moment.

atong01 commented 1 year ago

Fixed in release 1.0.6