I opened an issue in torch repository: pytorch/pytorch#116707.
If it's not picked up soon, we could think about work arounds, such as regenerating the problematic files with pytest fixtures (it may be that saving AND loading files with Python 3.11 solves the issue).
I opened an issue in torch repository: pytorch/pytorch#116707.
If it's not picked up soon, we could think about work arounds, such as regenerating the problematic files with pytest fixtures (it may be that saving AND loading files with Python 3.11 solves the issue).