Merge pull request #331684 from GaetanLepage/torchrl

python311Packages.torhchrl: skip failing test
This commit is contained in:
Sandro 2024-08-03 13:32:34 +02:00 committed by GitHub
commit 3ab390a13c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,14 +154,19 @@ buildPythonPackage rec {
# undeterministic
"test_distributed_collector_updatepolicy"
"test_timeit"
# On a 24
# assert torch.get_num_threads() == max(1, init_threads - 3)
# AssertionError: assert 23 == 21
"test_auto_num_threads"
];
meta = with lib; {
meta = {
description = "Modular, primitive-first, python-first PyTorch library for Reinforcement Learning";
homepage = "https://github.com/pytorch/rl";
changelog = "https://github.com/pytorch/rl/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
# ~3k tests fail with: RuntimeError: internal error
broken = stdenv.isLinux && stdenv.isAarch64;
};