Skip to content

BUG: Dispatcher does not detect instruction set on WoA #29458

@theAeon

Description

@theAeon

Describe the issue:

Was investigating #29442 and found that the architecture detection logic for WoA is non-functional.

Reproduce the code example:

none needed - use show_runtime

Python and NumPy Versions:

2.3.2
3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:31:18) [MSC v.1943 64 bit (ARM64)]

and

2.3.2
3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0]

Runtime Environment:

[{'numpy_version': '2.3.2',
  'python': '3.12.10 (tags/v3.12.10:0cc8128, Apr  8 2025, 12:31:18) [MSC '
            'v.1943 64 bit (ARM64)]',
  'uname': uname_result(system='Windows', node='BOOK-NV3Q5DD1QM', release='11', version='10.0.26100', machine='ARM64')},
 {'simd_extensions': {'baseline': ['NEON', 'NEON_FP16', 'NEON_VFPV4', 'ASIMD'],
                      'found': [],
                      'not_found': ['ASIMDHP', 'ASIMDFHM']}}]

and

[{'numpy_version': '2.3.2',
  'python': '3.12.3 (main, Jun 18 2025, 17:59:45) [GCC 13.3.0]',
  'uname': uname_result(system='Linux', node='BOOK-NV3Q5DD1QM', release='6.6.87.1-microsoft-standard-WSL2', version='#1 SMP PREEMPT_DYNAMIC Mon Apr 21 17:10:52 UTC 2025', machine='aarch64')},
 {'simd_extensions': {'baseline': ['NEON', 'NEON_FP16', 'NEON_VFPV4', 'ASIMD'],
                      'found': ['ASIMDHP', 'ASIMDFHM'],
                      'not_found': ['SVE']}},
 {'architecture': 'armv8',
  'filepath': '/home/andrew/tmp/venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-71e1b124.so',
  'internal_api': 'openblas',
  'num_threads': 12,
  'prefix': 'libscipy_openblas',
  'threading_layer': 'pthreads',
  'user_api': 'blas',
  'version': '0.3.30'}]

Context for the issue:

These are the same machine. There have been issues w/ reproduction of some crashes, and dispatch not working properly does not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions