PyTorch macOS x86 builds were deprecated as explained here and here. torch==2.2.x was the last release for it.
torch==2.2.x