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.33k stars 124 forks source link

Torch 2.0 Compatibility #201

Closed atong01 closed 10 months ago

atong01 commented 10 months ago

Test all pytorch versions

Bump allowable torch version requirement

atong01 commented 10 months ago

Fixes #200

Skips a failing test with complex ODEs for torch <1.11.0.

Reworks the GitHub CI Action to test against torch versions. Notes specific version compatibility.

atong01 commented 10 months ago

Assuming tests pass and @Zymrael approves, would like to push a release 1.0.6 that does not enforce torch<2.0

codecov-commenter commented 10 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (92dd9ba) 64.59% compared to head (2b0de91) 64.59%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #201 +/- ## ======================================= Coverage 64.59% 64.59% ======================================= Files 27 27 Lines 1881 1881 ======================================= Hits 1215 1215 Misses 666 666 ``` | [Files Changed](https://app.codecov.io/gh/DiffEqML/torchdyn/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DiffEqML) | Coverage Δ | | |---|---|---| | [torchdyn/\_\_init\_\_.py](https://app.codecov.io/gh/DiffEqML/torchdyn/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DiffEqML#diff-dG9yY2hkeW4vX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Zymrael commented 10 months ago

Looks good, thanks @atong01!

atong01 commented 10 months ago

Cool. Will release 1.0.6 with this change.