Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c7cb72b0cae3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5c9e2ff98990
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 20, 2020

  1. python3Packages.tensorflow_2: 2.3.0 -> 2.3.1

    OmnipotentEntity authored and Jonathan Ringer committed Nov 20, 2020
    Copy the full SHA
    5c9e2ff View commit details
Showing with 4 additions and 10 deletions.
  1. +4 −10 pkgs/development/python-modules/tensorflow/2/default.nix
14 changes: 4 additions & 10 deletions pkgs/development/python-modules/tensorflow/2/default.nix
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ let

tfFeature = x: if x then "1" else "0";

version = "2.3.0";
version = "2.3.1";
variant = if cudaSupport then "-gpu" else "";
pname = "tensorflow${variant}";

@@ -103,7 +103,7 @@ let
owner = "tensorflow";
repo = "tensorflow";
rev = "v${version}";
sha256 = "1dd5fgyiazyfy7y2iv4v42qnap51fr6dzwb26inrsj7aaas06j71";
sha256 = "1lvmrqfnwzh24fl5rdkksiqfv2bn0ld5gvzq1z57rphfkf0zg996";
};

patches = [
@@ -117,12 +117,6 @@ let
url = "https://github.com/tensorflow/tensorflow/commit/75ea0b31477d6ba9e990e296bbbd8ca4e7eebadf.patch";
sha256 = "1xp1icacig0xm0nmb05sbrf4nw4xbln9fhc308birrv8286zx7wv";
})

# see https://github.com/tensorflow/tensorflow/issues/40884
(fetchpatch {
url = "https://github.com/tensorflow/tensorflow/pull/41867/commits/65341f73d110bf173325768947343e1bb8f699fc.patch";
sha256 = "18ykkycaag1pcarz53bz6ydxjlah92j4178qn58gcayx1fy7hvh3";
})
];

# On update, it can be useful to steal the changes from gentoo
@@ -287,9 +281,9 @@ let

# cudaSupport causes fetch of ncclArchive, resulting in different hashes
sha256 = if cudaSupport then
"0pf8128chkm6fxnhd4956n6gvijlj00mjmvry33gq3xx3bayhs9g"
"11blnw3ghp1kdi9hh9pdqa4qni9ysc3nk9iqqk9bg4dlr9zl1yld"
else
"0mkgss2nyk21zlj8hp24cs3dmpdnxk8qi6qq4hyc18lp82p09xwa";
"1kkghhwhl8frs68kv28r408lps7mpgq1xvq6hc3k0j35asv1g2kc";
};

buildAttrs = {