Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit b6ab880

Browse files
authored
Upgrade to hosted TensorFlow 1.13 binaries. (#228)
<!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/tensorflow/tfjs-node/228) <!-- Reviewable:end -->
1 parent d0127d8 commit b6ab880

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

scripts/install.js

+9-5
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ const unlink = util.promisify(fs.unlink);
3232

3333
const BASE_URI =
3434
'https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-';
35-
const CPU_DARWIN = 'cpu-darwin-x86_64-1.12.0.tar.gz';
36-
const CPU_LINUX = 'cpu-linux-x86_64-1.12.0.tar.gz';
37-
const GPU_LINUX = 'gpu-linux-x86_64-1.12.0.tar.gz';
38-
const CPU_WINDOWS = 'cpu-windows-x86_64-1.12.0.zip';
39-
const GPU_WINDOWS = 'gpu-windows-x86_64-1.12.0.zip';
35+
const CPU_DARWIN = 'cpu-darwin-x86_64-1.13.1.tar.gz';
36+
const CPU_LINUX = 'cpu-linux-x86_64-1.13.1.tar.gz';
37+
const GPU_LINUX = 'gpu-linux-x86_64-1.13.1.tar.gz';
38+
const CPU_WINDOWS = 'cpu-windows-x86_64-1.13.1.zip';
39+
const GPU_WINDOWS = 'gpu-windows-x86_64-1.13.1.zip';
4040

41+
// TODO(kreeger): Update to TensorFlow 1.13:
42+
// https://github.com/tensorflow/tfjs/issues/1369
4143
const TF_WIN_HEADERS_URI =
4244
'https://storage.googleapis.com/tf-builds/tensorflow-headers-1.12.zip';
4345

@@ -52,6 +54,8 @@ function getPlatformLibtensorflowUri() {
5254
let targetUri = BASE_URI;
5355
if (platform === 'linux') {
5456
if (os.arch() === 'arm') {
57+
// TODO(kreeger): Update to TensorFlow 1.13:
58+
// https://github.com/tensorflow/tfjs/issues/1370
5559
targetUri =
5660
'https://storage.googleapis.com/tf-builds/libtensorflow_r1_12_linux_arm.tar.gz';
5761
} else {

0 commit comments

Comments
 (0)