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.
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.