python3Packages.triton-cuda.tests.axpy-cuda.gpuCheck: fix by making $HOME writable

This commit is contained in:
Gaetan Lepage
2026-01-28 01:22:55 +01:00
parent 03b3ac9c0d
commit 0a379705ce
@@ -258,6 +258,11 @@ buildPythonPackage rec {
ps.triton
ps.torch-no-triton
];
gpuCheckArgs.nativeBuildInputs = [
# PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
writableTmpDirAsHomeHook
];
}
''
# Adopted from Philippe Tillet https://triton-lang.org/main/getting-started/tutorials/01-vector-add.html