Nightly build installs stable version

I’m trying to install the nightly build for linux using the command I get from https://pytorch.org/get-started/locally/:
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu

It seems to install torch 1.11.0… When I do the same on mac, I get version 1.12.0.dev20220417.

Any idea how I can get the latest version on linux?

I cannot reproduce the issue on Linux and get the correct nightly binary:

pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu
Collecting torch
  Downloading https://download.pytorch.org/whl/nightly/cpu/torch-1.12.0.dev20220417%2Bcpu-cp38-cp38-linux_x86_64.whl (173.1 MB)
...

I’m on Ubuntu 20.04 with Python 3.8 in case that matters.

I’m trying to get the aarch64 version, is that the reason?

It might be related to the architecture, yes.
Assuming you are using a Mac, you could try to download the nightly binaries directly from e.g.
here.

Any idea how to find the nightly binary for linux aarch64? Can’t locate it under https://download.pytorch.org/whl/nightly/cpu/torch_nightly/