Loading pkgs/development/python-modules/accelerate/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , lib , buildPythonPackage , fetchFromGitHub , pythonAtLeast , pythonOlder , pytest7CheckHook , setuptools Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { pname = "accelerate"; version = "0.27.0"; version = "0.29.3"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -29,7 +30,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-7rnI8UXyAql8fLMKoSRrWzVw5CnyYVE2o6dJOzSgWxw="; hash = "sha256-oQGb/hlMN8JfwEyWufBvMk2Z1FMSl1lsdIbgZ3ZMdF8="; }; nativeBuildInputs = [ setuptools ]; Loading Loading @@ -73,6 +74,10 @@ buildPythonPackage rec { # set the environment variable, CC, which conflicts with standard environment "test_patch_environment_key_exists" ] ++ lib.optionals (pythonAtLeast "3.12") [ # RuntimeError: Dynamo is not supported on Python 3.12+ "test_convert_to_fp32" "test_send_to_device_compiles" ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ # usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly "CheckpointTest" Loading Loading
pkgs/development/python-modules/accelerate/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , lib , buildPythonPackage , fetchFromGitHub , pythonAtLeast , pythonOlder , pytest7CheckHook , setuptools Loading @@ -20,7 +21,7 @@ buildPythonPackage rec { pname = "accelerate"; version = "0.27.0"; version = "0.29.3"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -29,7 +30,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-7rnI8UXyAql8fLMKoSRrWzVw5CnyYVE2o6dJOzSgWxw="; hash = "sha256-oQGb/hlMN8JfwEyWufBvMk2Z1FMSl1lsdIbgZ3ZMdF8="; }; nativeBuildInputs = [ setuptools ]; Loading Loading @@ -73,6 +74,10 @@ buildPythonPackage rec { # set the environment variable, CC, which conflicts with standard environment "test_patch_environment_key_exists" ] ++ lib.optionals (pythonAtLeast "3.12") [ # RuntimeError: Dynamo is not supported on Python 3.12+ "test_convert_to_fp32" "test_send_to_device_compiles" ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ # usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly "CheckpointTest" Loading