From 5a914acca69348ea06e87e94a717761763e75201 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 2 Aug 2024 07:48:36 +0200 Subject: [PATCH] python311Packages.torhchrl: skip failing test --- pkgs/development/python-modules/torchrl/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/torchrl/default.nix b/pkgs/development/python-modules/torchrl/default.nix index e07569688110..638f1844eaba 100644 --- a/pkgs/development/python-modules/torchrl/default.nix +++ b/pkgs/development/python-modules/torchrl/default.nix @@ -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; };