From 6206b54fd6b7b11676bd40260bf2ff0d9d063077 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 7 Apr 2026 08:12:35 +0000 Subject: [PATCH 1/2] python3Packages.tensorflow: add missing hash for x86_64-linux GPU --- pkgs/development/python-modules/tensorflow/binary-hashes.nix | 4 ++++ pkgs/development/python-modules/tensorflow/prefetcher.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/tensorflow/binary-hashes.nix b/pkgs/development/python-modules/tensorflow/binary-hashes.nix index e71adfe771e6..3373272c9b45 100644 --- a/pkgs/development/python-modules/tensorflow/binary-hashes.nix +++ b/pkgs/development/python-modules/tensorflow/binary-hashes.nix @@ -29,6 +29,10 @@ url = "https://storage.googleapis.com/tensorflow/versions/%222.21.0%22/tensorflow-2.21.0-cp312-cp312-manylinux_2_27_x86_64.whl"; sha256 = "1h0kpc9kflb1xr26ibw4xhbz6hp1rcsznf4rhcjvj3p7qi1mdfdk"; }; + x86_64-linux_313_gpu = { + url = "https://storage.googleapis.com/tensorflow/versions/%222.21.0%22/tensorflow-2.21.0-cp313-cp313-manylinux_2_27_x86_64.whl"; + sha256 = "01jljjx1n46x57d6n33fgs86y09gmxqblcph8pxhwrdrra6xmn79"; + }; aarch64-linux_310 = { url = "https://storage.googleapis.com/tensorflow/versions/%222.21.0%22/tensorflow-2.21.0-cp310-cp310-manylinux_2_27_aarch64.whl"; sha256 = "0pcskswb7v82282w4mmj5smy5pmwbbw336b1x05chw6g4n5r75vw"; diff --git a/pkgs/development/python-modules/tensorflow/prefetcher.sh b/pkgs/development/python-modules/tensorflow/prefetcher.sh index a49ef8728750..681cfc9f6cbf 100755 --- a/pkgs/development/python-modules/tensorflow/prefetcher.sh +++ b/pkgs/development/python-modules/tensorflow/prefetcher.sh @@ -17,6 +17,7 @@ url_and_key_list=( "x86_64-linux_310_gpu $bucket/tensorflow-${version}-cp310-cp310-manylinux_2_27_x86_64.whl" "x86_64-linux_311_gpu $bucket/tensorflow-${version}-cp311-cp311-manylinux_2_27_x86_64.whl" "x86_64-linux_312_gpu $bucket/tensorflow-${version}-cp312-cp312-manylinux_2_27_x86_64.whl" +"x86_64-linux_313_gpu $bucket/tensorflow-${version}-cp313-cp313-manylinux_2_27_x86_64.whl" "aarch64-linux_310 $bucket/tensorflow-${version}-cp310-cp310-manylinux_2_27_aarch64.whl" "aarch64-linux_311 $bucket/tensorflow-${version}-cp311-cp311-manylinux_2_27_aarch64.whl" "aarch64-linux_312 $bucket/tensorflow-${version}-cp312-cp312-manylinux_2_27_aarch64.whl" From b8cebdb9ff24009e11806294cc8417f4845e382f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 7 Apr 2026 08:42:20 +0000 Subject: [PATCH 2/2] python3Packages.blackjax: skip flaky numerical tests --- pkgs/development/python-modules/blackjax/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/blackjax/default.nix b/pkgs/development/python-modules/blackjax/default.nix index 8b746d71a285..54f6ea181707 100644 --- a/pkgs/development/python-modules/blackjax/default.nix +++ b/pkgs/development/python-modules/blackjax/default.nix @@ -79,11 +79,13 @@ buildPythonPackage (finalAttrs: { "test_barker" "test_mclmc" "test_mcse4" + "test_mean_and_std" "test_normal_univariate" "test_nuts__with_device" "test_nuts__with_jit" "test_nuts__without_device" "test_nuts__without_jit" + "test_smc__with_jit" "test_smc_waste_free__with_jit" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [