python311Packages.tensordict: disable failing test on darwin
This commit is contained in:
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user