alan-turing-institute / cloudcasting

Cloud modelling (Manchester Prize)
MIT License
2 stars 0 forks source link

Pinning torch >2.3.0 to handle numpy 2.0 #40

Closed IFenton closed 2 months ago

IFenton commented 2 months ago

A couple of comments on this. There seems to be a problem with torch>=2.3 in conda environments on mac (or at least my machine). It runs fine in a venv. Think this probably relates to this: https://github.com/pytorch/executorch/issues/3670.

I am also still getting a local problem with pre-commit if I use numpy>=2.0 (or unpinned numpy), which seems to relate to mypy.