Skip to content

Commit

Permalink
tensorflow: 1.9.0 -> 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk committed Sep 28, 2018
1 parent 6ef8d96 commit 74d1f3b
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 71 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/tensorflow/bin.nix
Expand Up @@ -39,7 +39,7 @@ let

in buildPythonPackage rec {
pname = "tensorflow";
version = "1.9.0";
version = "1.11.0";
format = "wheel";

src = let
Expand All @@ -48,7 +48,7 @@ in buildPythonPackage rec {
platform = if stdenv.isDarwin then "mac" else "linux";
unit = if cudaSupport then "gpu" else "cpu";
key = "${platform}_py_${pyver}_${unit}";
dls = import ./tf1.9.0-hashes.nix;
dls = import ./tf1.11.0-hashes.nix;
in fetchurl dls.${key};

propagatedBuildInputs = [ protobuf numpy termcolor grpcio six astor absl-py gast tensorflow-tensorboard ]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/tensorflow/prefetcher.sh
@@ -1,4 +1,4 @@
version=1.9.0
version=1.11.0
hashfile=tf${version}-hashes.nix
rm -f $hashfile
echo "{" >> $hashfile
Expand Down
34 changes: 34 additions & 0 deletions pkgs/development/python-modules/tensorflow/tf1.11.0-hashes.nix
@@ -0,0 +1,34 @@
{
linux_py_27_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.11.0-cp27-none-linux_x86_64.whl";
sha256 = "0s3ar2jzz2m9ilqfl4aigfi4bq8k5n04grnfqy4nyii2y98xjy14";
};
linux_py_35_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.11.0-cp35-cp35m-linux_x86_64.whl";
sha256 = "0vfw2v033h8wdgjlbwjx2i9fdqqnxxc3r085irq9nzkdmwzw2jl8";
};
linux_py_36_cpu = {
url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl";
sha256 = "0zmr5bw3ki5l6jb19h70kmq3k3xnq60jkw6wqqr6par1c7b4i9c3";
};
linux_py_27_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.11.0-cp27-none-linux_x86_64.whl";
sha256 = "1pcacy4ky7zhq7h7d93s4xp213q1yj2zxn2khlyll389lq0bcbax";
};
linux_py_35_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.11.0-cp35-cp35m-linux_x86_64.whl";
sha256 = "04ggz7jzbhl41alnj526rp0vz88h68mcv3rbs5pmrwyg0j2cqjz3";
};
linux_py_36_gpu = {
url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.11.0-cp36-cp36m-linux_x86_64.whl";
sha256 = "1ywpq3n51pn7jrr231immi2s6ghdy9s0bnkk7dg4dbbxrisxg33a";
};
mac_py_2_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.11.0-py2-none-any.whl";
sha256 = "1rjb6gm0spj0l5zl02zsr6x3qagf2khrjw02z7znmsshb5xhsx8j";
};
mac_py_3_cpu = {
url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.11.0-py3-none-any.whl";
sha256 = "16la41a2d29wa4i7h1g32d94g23ixzc3wc69kd9w82w45bwfv4xl";
};
}
34 changes: 0 additions & 34 deletions pkgs/development/python-modules/tensorflow/tf1.7.1-hashes.nix

This file was deleted.

34 changes: 0 additions & 34 deletions pkgs/development/python-modules/tensorflow/tf1.9.0-hashes.nix

This file was deleted.

0 comments on commit 74d1f3b

Please sign in to comment.