From 7fe16a7df1b57e95c0375868ce74c2551fc06525 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 4 Jun 2025 23:47:06 +0200 Subject: [PATCH] python3Packages.torch: 2.7.0 -> 2.7.1 Diff: https://github.com/pytorch/pytorch/compare/v2.7.0...v2.7.1 Changelog: https://github.com/pytorch/pytorch/releases/tag/v2.7.1 --- pkgs/development/python-modules/torch/source/default.nix | 2 +- pkgs/development/python-modules/torch/source/src.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix index 46f0e7c1697a..b4a414b48d9d 100644 --- a/pkgs/development/python-modules/torch/source/default.nix +++ b/pkgs/development/python-modules/torch/source/default.nix @@ -268,7 +268,7 @@ in buildPythonPackage rec { pname = "torch"; # Don't forget to update torch-bin to the same version. - version = "2.7.0"; + version = "2.7.1"; pyproject = true; stdenv = stdenv'; diff --git a/pkgs/development/python-modules/torch/source/src.nix b/pkgs/development/python-modules/torch/source/src.nix index c4a716112b34..af0a47b4fd93 100644 --- a/pkgs/development/python-modules/torch/source/src.nix +++ b/pkgs/development/python-modules/torch/source/src.nix @@ -4,7 +4,7 @@ fetchFromGitHub, runCommand, }: -assert version == "2.7.0"; +assert version == "2.7.1"; (rec { src_asmjit = fetchFromGitHub { owner = "asmjit"; @@ -430,8 +430,8 @@ assert version == "2.7.0"; src_pytorch = fetchFromGitHub { owner = "pytorch"; repo = "pytorch"; - rev = "v2.7.0"; - hash = "sha256-ReXyzy+OuYxEQwU+t2WL3+jqd7ItdW6w8MiS0f9t+aY="; + rev = "v2.7.1"; + hash = "sha256-p/SkVM6N4XGr44WB9ZaMLu6nfJGcaKHfb1hDY6qbZBw="; }; src_sleef = fetchFromGitHub { owner = "shibatch";