python311Packages.tensordict: disable failing test on darwin

This commit is contained in:
Gaetan Lepage
2024-02-27 08:29:18 +01:00
parent c8208f98ab
commit 6649f2392c
@@ -10,6 +10,7 @@
, numpy
, h5py
, pytestCheckHook
, stdenv
}:
buildPythonPackage rec {
@@ -53,6 +54,12 @@ buildPythonPackage rec {
pytestCheckHook
];
# ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
disabledTestPaths = lib.optionals stdenv.isDarwin [
"test/test_distributed.py"
];
meta = with lib; {
description = "A pytorch dedicated tensor container";
changelog = "https://github.com/pytorch/tensordict/releases/tag/v${version}";