tests/pjit_test.py::PJitErrorTest::testAxisResourcesMismatch fails with "SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!" #26106
Labels
bug
Something isn't working
Description
This is happening on Darwin aarch64. The build environment is nixpkgs.
As far as I understand, the error comes from
src/nb_func.cpp
fromnanobind
, though I don't think the package is injected in the build system (jaxlib
is pulled as a wheel from PyPI).Similar errors were noticed before in the same build environment for nixpkgs for other tests, see: https://github.com/NixOS/nixpkgs/blob/c48b8a8a88d6b398bc3ea15caee988f1a821dba5/pkgs/development/python-modules/jax/default.nix#L96
(Though the error seems quite generic, so I don't know if this is the same problem or separate.)
Let me know if I can collect more info to you, not sure how to debug this coming from the wheel.
System info (python version, jaxlib version, accelerator, etc.)
The text was updated successfully, but these errors were encountered: