From 31b3f2a72cb0da09ae3bb793a18e2bf520cdf7c4 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 16 Dec 2025 20:07:54 -0800 Subject: [PATCH] python3Packages.torchtune: run only the torchtune tests regression and recipies tests skipped. --- pkgs/development/python-modules/torchtune/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/torchtune/default.nix b/pkgs/development/python-modules/torchtune/default.nix index d205aa25f51d..df55b169f30c 100644 --- a/pkgs/development/python-modules/torchtune/default.nix +++ b/pkgs/development/python-modules/torchtune/default.nix @@ -85,6 +85,9 @@ buildPythonPackage rec { writableTmpDirAsHomeHook ]; + # Exclude `regression` which depends on a specific llama model and `recipies` which are sample code + enabledTestPaths = [ "tests/torchtune" ]; + disabledTests = [ # AssertionError (tensors are not equal) "test_stop_tokens"