Loading pkgs/development/python-modules/torchdata/default.nix +17 −8 Original line number Diff line number Diff line Loading @@ -19,9 +19,10 @@ parameterized, pytest-xdist, pytestCheckHook, pythonAtLeast, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "torchdata"; version = "0.11.0"; pyproject = true; Loading @@ -29,7 +30,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "meta-pytorch"; repo = "data"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-TSkZLL4WDSacuX4tl0+1bKSJCRI3LEhAyU3ztdlUvgk="; }; Loading @@ -55,7 +56,15 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # _pickle.PicklingError: Can't pickle local object <...worker_set_affinity at 0x7ffbcfa1ba00> "test_set_affinity_in_worker_init" # RuntimeError: DataLoader timed out after 5 seconds "test_ind_worker_queue" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # RuntimeError: DataLoader timed out after 5 seconds "test_ind_worker_queue" ]; Loading @@ -63,8 +72,8 @@ buildPythonPackage rec { meta = { description = "Iterative enhancement to the PyTorch torch.utils.data.DataLoader and torch.utils.data.Dataset/IterableDataset"; homepage = "https://github.com/meta-pytorch/data"; changelog = "https://github.com/meta-pytorch/data/releases/tag/${src.tag}"; changelog = "https://github.com/meta-pytorch/data/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } }) Loading
pkgs/development/python-modules/torchdata/default.nix +17 −8 Original line number Diff line number Diff line Loading @@ -19,9 +19,10 @@ parameterized, pytest-xdist, pytestCheckHook, pythonAtLeast, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "torchdata"; version = "0.11.0"; pyproject = true; Loading @@ -29,7 +30,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "meta-pytorch"; repo = "data"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-TSkZLL4WDSacuX4tl0+1bKSJCRI3LEhAyU3ztdlUvgk="; }; Loading @@ -55,7 +56,15 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # _pickle.PicklingError: Can't pickle local object <...worker_set_affinity at 0x7ffbcfa1ba00> "test_set_affinity_in_worker_init" # RuntimeError: DataLoader timed out after 5 seconds "test_ind_worker_queue" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # RuntimeError: DataLoader timed out after 5 seconds "test_ind_worker_queue" ]; Loading @@ -63,8 +72,8 @@ buildPythonPackage rec { meta = { description = "Iterative enhancement to the PyTorch torch.utils.data.DataLoader and torch.utils.data.Dataset/IterableDataset"; homepage = "https://github.com/meta-pytorch/data"; changelog = "https://github.com/meta-pytorch/data/releases/tag/${src.tag}"; changelog = "https://github.com/meta-pytorch/data/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; } })