Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing setup-cuda-hook Using checkPhaseThreadLimitHook Running phase: unpackPhase unpacking source archive /nix/store/k76rzvhhwxzl2sr3ns9x2zhvij164x2r-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/test_triton.py" Running phase: patchPhase applying patch /nix/store/v78bfwn05pjz7yjckg20khv1i98kw6d5-find-rocm-deps-with-cmake.patch patching file CMakeLists.txt Hunk #1 succeeded at 328 (offset 43 lines). Hunk #2 succeeded at 339 (offset 43 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Executing setupCUDAToolkitCompilers cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/share/doc/bitsandbytes -DCMAKE_INSTALL_INFODIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2/lib -DCMAKE_STRIP=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/ranlib -DCMAKE_AR=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ch8li50lz36amkkdz9vmgfl83l9y9qjf-python3.13-bitsandbytes-0.49.2 -DCOMPUTE_BACKEND:STRING=cuda -DCUDA_HOST_COMPILER=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/c++ -DCMAKE_CUDA_HOST_COMPILER=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/c++ -DCUDAToolkit_INCLUDE_DIR=/nix/store/gcyq12pqir5s95ja2a3icqn418zw07fz-cuda13.2-libcublas-13.4.1.3-include/include\;/nix/store/dqg3lsfyqz9dsgq6n54k4176f3cajmj3-cuda-redist-13.2/include\;/nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86/include -DCUDAToolkit_ROOT=/nix/store/gcyq12pqir5s95ja2a3icqn418zw07fz-cuda13.2-libcublas-13.4.1.3-include\;/nix/store/dqg3lsfyqz9dsgq6n54k4176f3cajmj3-cuda-redist-13.2\;/nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86\;/nix/store/p5vq0fja8h5m8syvisyah9cxp3hshik3-cuda13.2-libcublas-13.4.1.3-lib\;/nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86 -DPYBIND11_PYTHONLIBS_OVERWRITE=OFF -DPYTHON_EXECUTABLE=/nix/store/s81lcrdqrwmvnqdl8h7m711xafjdx17f-python3-3.13.15/bin/python3.13 -DPYTHON_INCLUDE_DIR=/nix/store/s81lcrdqrwmvnqdl8h7m711xafjdx17f-python3-3.13.15/include/python3.13 -DPYTHON_SITE_PACKAGES=/nix/store/s81lcrdqrwmvnqdl8h7m711xafjdx17f-python3-3.13.15/lib/python3.13/site-packages -- The CXX compiler identification is GNU 15.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring bitsandbytes (Backend: cuda) -- The CUDA compiler identification is NVIDIA 13.2.86 with host compiler GNU 15.3.0 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Found CUDAToolkit: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/include;/nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/nvvm/include;/nix/store/3v4xw8dvmis314hqz153f9j8sn2g4baa-cuda13.2-cuda_cccl-13.2.86/include (found version "13.2.86") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- CUDA Version: 132 (13.2.86) -- CUDA Compiler: /nix/store/hrjlgxvpfzawmq9ji5iaxyz53lyivlnf-cuda13.2-cuda_nvcc-13.2.86/bin/nvcc -- CUDA Capabilities Available: 75;80;86;87;88;89;90;100;103;110;120;121 -- CUDA Capabilities Selected: 75;80;86;87;88;89;90;100;103;110;120;121 -- CUDA Targets: 75-real;80-real;86-real;87-real;88-real;89-real;90-real;100-real;103-real;110-real;120-real;121 -- CUDA NVCC Flags: --use_fast_math --compress-mode=size -- Configuring done (5.3s) -- Generating done (0.0s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_C_COMPILER CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR CUDAToolkit_INCLUDE_DIR CUDA_HOST_COMPILER PYBIND11_PYTHONLIBS_OVERWRITE PYTHON_EXECUTABLE PYTHON_INCLUDE_DIR PYTHON_SITE_PACKAGES -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase Executing pypaBuildPhase [ 16%] Building CXX object CMakeFiles/bitsandbytes.dir/csrc/cpu_ops.cpp.o [ 33%] Building CXX object CMakeFiles/bitsandbytes.dir/csrc/pythonInterface.cpp.o [ 50%] Building CUDA object CMakeFiles/bitsandbytes.dir/csrc/ops.cu.o [ 66%] Building CUDA object CMakeFiles/bitsandbytes.dir/csrc/kernels.cu.o ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored In file included from /nix/store/mhx6dmg6whr7c85krk9rjwjsxrp9iggs-gcc-15.3.0/lib/gcc/aarch64-unknown-linux-gnu/15.3.0/include/stddef.h:233: /nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86/include/crt/host_runtime.h:58:10: fatal error: builtin_types.h: No such file or directory 58 | #include "builtin_types.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/bitsandbytes.dir/build.make:108: CMakeFiles/bitsandbytes.dir/csrc/ops.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi1EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi0EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi1EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi0EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi1EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z16kInt8VectorQuantI6__halfLi1024ELi0EEvPT_PaPffii is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z9kQuantizePfS_Phi is out of range. .minnctapersm will be ignored In file included from /nix/store/mhx6dmg6whr7c85krk9rjwjsxrp9iggs-gcc-15.3.0/lib/gcc/aarch64-unknown-linux-gnu/15.3.0/include/stddef.h:233: /nix/store/gqy5pjhanvs4hvadnv1lr1sgs9cbv0bd-cuda13.2-cuda_crt-13.2.86/include/crt/host_runtime.h:58:10: fatal error: builtin_types.h: No such file or directory 58 | #include "builtin_types.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/bitsandbytes.dir/build.make:123: CMakeFiles/bitsandbytes.dir/csrc/kernels.cu.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/bitsandbytes.dir/all] Error 2 make: *** [Makefile:91: all] Error 2