Skip to content

Commit 41a0a66

Browse files
authored
python312Packages.tensordict: disable flaky test_map_iter_interrupt_early on all platforms (#361008)
2 parents 1e416e4 + 804b2e1 commit 41a0a66

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

pkgs/development/python-modules/tensordict/default.nix

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ buildPythonPackage rec {
7070
# + where tensor(False) = <built-in method all of Tensor object at 0x7ffe49bf87d0>()
7171
"test_mp"
7272

73-
# torch._dynamo.exc.BackendCompilerFailed
74-
# Requires a more recent version of triton
75-
# Re-enable when https://github.com/NixOS/nixpkgs/pull/328247 is merged
73+
# torch._dynamo.exc.InternalTorchDynamoError: RuntimeError: to_module requires TORCHDYNAMO_INLINE_INBUILT_NN_MODULES to be set.
7674
"test_functional"
77-
"test_linear"
78-
"test_seq"
79-
"test_seq_lmbda"
75+
76+
# hangs forever on some CPUs
77+
"test_map_iter_interrupt_early"
8078
]
8179
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
8280
# RuntimeError: internal error
@@ -86,9 +84,6 @@ buildPythonPackage rec {
8684

8785
# _queue.Empty errors in multiprocessing tests
8886
"test_isend"
89-
90-
# hangs forever
91-
"test_map_iter_interrupt_early"
9287
];
9388

9489
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [

pkgs/development/python-modules/torchrl/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ buildPythonPackage rec {
167167
# assert torch.get_num_threads() == max(1, init_threads - 3)
168168
# AssertionError: assert 23 == 21
169169
"test_auto_num_threads"
170+
171+
# Flaky (hangs indefinitely on some CPUs)
172+
"test_gae_multidim"
173+
"test_gae_param_as_tensor"
170174
];
171175

172176
meta = {

0 commit comments

Comments
 (0)