Skip to content

ARM64 nightly whl, lack of LAPACK support #104950

@heidongxianhua

Description

@heidongxianhua

🐛 Describe the bug

>>> import torch
>>> a = torch.rand(2,3)
>>> b = torch.linalg.qr(a)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Calling torch.geqrf on a CPU tensor requires compiling PyTorch with LAPACK. Please use PyTorch built with LAPACK support.
>>> exit()

for ARM whl, it shoud also need build with LAPACK by default.

Versions

Collecting environment information...
PyTorch version: 2.1.0.dev20230710
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: CentOS Linux 7 (AltArch) (aarch64)
GCC version: (GCC) 7.5.0
Clang version: 15.0.5 (clang-5c68a1cb1231 flang-5c68a1cb1231)
CMake version: version 3.18.1
Libc version: glibc-2.32

Python version: 3.8.16 (default, Mar 2 2023, 03:16:31) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-4.14.0-115.el7a.0.1.aarch64-aarch64-with-glibc2.26
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 192
On-line CPU(s) list: 0-191
Thread(s) per core: 1
Core(s) per socket: 48
Socket(s): 4
NUMA node(s): 4
Model: 0
CPU max MHz: 2600.0000
CPU min MHz: 200.0000
BogoMIPS: 200.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 24576K
NUMA node0 CPU(s): 0-47
NUMA node1 CPU(s): 48-95
NUMA node2 CPU(s): 96-143
NUMA node3 CPU(s): 144-191
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop

Versions of relevant libraries:
[pip3] numpy==1.24.2
[pip3] torch==2.1.0a0+git2418b94
[pip3] torch-npu==2.1.0
[pip3] torchvision==0.15.1
[conda] numpy 1.24.2 pypi_0 pypi
[conda] torch 2.1.0a0+git2418b94 pypi_0 pypi
[conda] torchvision 0.15.1 pypi_0 pypi

torch-2.1.0.dev20230710-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

cc @malfet @seemethere

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: armRelated to ARM architectures builds of PyTorch. Includes Apple M1module: binariesAnything related to official binaries that we release to usersmodule: buildBuild system issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions