graphnet-team / graphnet

A Deep learning library for neutrino telescopes
https://graphnet-team.github.io/graphnet/
Apache License 2.0
85 stars 85 forks source link

Update torch and macos version #700

Closed RasmusOrsoe closed 2 months ago

RasmusOrsoe commented 2 months ago

Lately workflows on PR have failed for macos and now recently in #698 for all build workflows, despite no changes are made to the related code.

These errors are caused by two dependency changes:

torch recently moved from 2.2 -> 2.3 and our setup.py currently has torch>2.1. PyG is not compatible with torch==2.3 yet, causing the build errors in #698.

macos-latest recently moved from macos-13 -> macos-14 (ARM) causing the macos errors we've seen recently.

This PR fixes these issues by setting the macos workflow to run on macos-13 and changing our torch versioning to torch>=2.1,<2.3