Repository: pytorch
Issue: Cannot install latest pytorch into Docker on Apple M1
Labels: module: binaries,triaged,module: macos,module: arm

### 🐛 Describe the bug

The highest version of pytorch I can install from conda is `1.8.1`. To reproduce, run a Docker instance `docker run -it continuumio/miniconda3:4.10.3 bash` and then type in the terminal `conda install pytorch cpuonly -c pytorch`. Notice how pytorch is `1.8.1` and retrieved from the default channel.

```bash
(base) root@44b4f817a28e:/# conda install pytorch cpuonly -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - cpuonly
    - pytorch


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _pytorch_select-0.1        |            cpu_0           3 KB
    blas-1.0                   |         openblas           8 KB
    ca-certificates-2021.10.26 |       hd43f75c_2         115 KB
    certifi-2021.10.8          |   py39hd43f75c_2         143 KB
    conda-4.11.0               |   py39hd43f75c_0        14.4 MB
    cpuonly-2.0                |                0           2 KB  pytorch
    libgfortran-ng-10.2.0      |      h9534d94_51         1.3 MB
    libgfortran5-10.2.0        |      h1234567_51         2.5 MB
    libopenblas-0.3.17         |       hac96964_1         4.2 MB
    ninja-1.10.2               |   py39h59a28a9_3         1.9 MB
    numpy-1.21.5               |   py39hd490b01_0          12 KB
    numpy-base-1.21.5          |   py39h58d2a9e_0         4.6 MB
    openssl-1.1.1m             |       h2f4d8fa_0         2.5 MB
    pytorch-1.8.1              |cpu_py39he9ab0f8_0        31.2 MB
    pytorch-mutex-1.0          |              cpu           3 KB  pytorch
    typing-extensions-3.10.0.2 |       hd3eb1b0_0          12 KB
    typing_extensions-3.10.0.2 |     pyh06a4308_0          31 KB
    ------------------------------------------------------------
                                           Total:        62.9 MB

The following NEW packages will be INSTALLED:

  _pytorch_select    pkgs/main/linux-aarch64::_pytorch_select-0.1-cpu_0
  blas               pkgs/main/linux-aarch64::blas-1.0-openblas
  cpuonly            pytorch/noarch::cpuonly-2.0-0
  libgfortran-ng     pkgs/main/linux-aarch64::libgfortran-ng-10.2.0-h9534d94_51
  libgfortran5       pkgs/main/linux-aarch64::libgfortran5-10.2.0-h1234567_51
  libopenblas        pkgs/main/linux-aarch64::libopenblas-0.3.17-hac96964_1
  ninja              pkgs/main/linux-aarch64::ninja-1.10.2-py39h59a28a9_3
  numpy              pkgs/main/linux-aarch64::numpy-1.21.5-py39hd490b01_0
  numpy-base         pkgs/main/linux-aarch64::numpy-base-1.21.5-py39h58d2a9e_0
  pytorch            pkgs/main/linux-aarch64::pytorch-1.8.1-cpu_py39he9ab0f8_0
  pytorch-mutex      pytorch/noarch::pytorch-mutex-1.0-cpu
  typing-extensions  pkgs/main/noarch::typing-extensions-3.10.0.2-hd3eb1b0_0
  typing_extensions  pkgs/main/noarch::typing_extensions-3.10.0.2-pyh06a4308_0

The following packages will be UPDATED:

  ca-certificates                       2021.7.5-hd43f75c_1 --> 2021.10.26-hd43f75c_2
  certifi                          2021.5.30-py39hd43f75c_0 --> 2021.10.8-py39hd43f75c_2
  conda                                       4.10.3-py39_0 --> 4.11.0-py39hd43f75c_0
  openssl                                 1.1.1k-hfd63f10_1 --> 1.1.1m-h2f4d8fa_0


Proceed ([y]/n)? 

```
I tried to run `conda install pytorch=1.10 -c pytorch` but got 
```
PackagesNotFoundError: The following packages are not available from current channels:

  - pytorch=1.10

Current channels:

  - https://conda.anaconda.org/pytorch/linux-aarch64
  - https://conda.anaconda.org/pytorch/noarch
  - https://repo.anaconda.com/pkgs/main/linux-aarch64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-aarch64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
```
as if the package did not exist. 

I am using:
- Docker version 20.10.12, build e91ed57
- MacBook Air (M1, 2020) macOS 12.2
- conda 4.10.3


### Versions

```
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Debian GNU/Linux 10 (buster) (aarch64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.28

Python version: 3.9.5 (default, May 20 2021, 13:20:32)  [GCC 10.2.0] (64-bit runtime)
Python platform: Linux-5.10.76-linuxkit-aarch64-with-glibc2.28
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] Could not collect
[conda] Could not collect
```

cc @ezyang @seemethere @malfet @albanD