Skip to content

pytorch-2.1.0 aarch64 wheels crash on A1/RaspberryPi #109312

@malfet

Description

@malfet

🐛 Describe the bug

  • Allocate a1.4xlarge instance (or boot up Rasberry Pie)
  • pip3 install torch --index-url https://download.pytorch.org/whl/test/cpu/
  • lldb -- python3 -c "import torch"

Backtrace will look as follows:

* thread #1, name = 'python3', stop reason = signal SIGILL: illegal instruction
  * frame #0: 0x0000fffff2c25748 libtorch_cpu.so`dnnl::impl::getenv_string_user(char const*) + 1084
    frame #1: 0x0000fffff3723050 libtorch_cpu.so`dnnl::impl::get_fpmath_mode() + 176
    frame #2: 0x0000fffff2c0eea4 libtorch_cpu.so`dnnl_primitive_attr_create + 96
    frame #3: 0x0000ffffef45b5fc libtorch_cpu.so`dnnl::primitive_attr::primitive_attr() + 28
    frame #4: 0x0000ffffef147d3c libtorch_cpu.so`_GLOBAL__sub_I_ConvPrepack.cpp + 364
    frame #5: 0x0000fffff7fc7624

Which seems one to one repetition of #97226

Versions

2.1.0/trunk

cc @ezyang @gchanan @zou3519 @kadeng @seemethere

Metadata

Metadata

Assignees

No one assigned

    Labels

    high prioritymodule: armRelated to ARM architectures builds of PyTorch. Includes Apple M1module: binariesAnything related to official binaries that we release to usersmodule: regressionIt used to work, and now it doesn'ttriage review

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions