Merge pull request #310406 from getchoo/pkgs/accelerate/fix-test

python3Packages.accelerate: disable problematic tests on aarch64-linux
This commit is contained in:
Martin Weinelt 2024-05-10 09:24:26 +02:00 committed by GitHub
commit 38008ffd35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,8 @@ buildPythonPackage rec {
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly # usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
"CheckpointTest" "CheckpointTest"
# TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' (it seems cpuinfo doesn't work here)
"test_mpi_multicpu_config_cmd"
] ++ lib.optionals (!config.cudaSupport) [ ] ++ lib.optionals (!config.cudaSupport) [
# requires ptxas from cudatoolkit, which is unfree # requires ptxas from cudatoolkit, which is unfree
"test_dynamo_extract_model" "test_dynamo_extract_model"