Building PyTorch 2.6.0 from source on macOS x86_64 (Intel)

Hi, I tried arch -x86_64 python setup.py bdist_wheel --plat-name=macosx_15_6_x86_64

This command line ran without any inches. But if I continued like this

MacBook-Pro-3:PastelPusheenGenV2 myusername$ arch -x86_64 python setup.py bdist_wheel --plat-name=macosx_15_6_x86_64 
MacBook-Pro-3:PastelPusheenGenV2 myusername$ pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu121_full --force-reinstall

Looking in indexes: https://download.pytorch.org/whl/cu121_full
ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: none)
ERROR: No matching distribution found for torch==2.5.

Because of this error my machine does not have the pytorch 2.5 or higher. I am also on Intel Mac with x86_64 but on Sequoia 15.6.1 OS. Could you kindly point out what went wrong here? I just wanted to install PyTorch 2.5 or higher following this discussion Module 'torch.library' has no attribute 'custom_op' - #2 by ptrblck