Skip to content

Commit

Permalink
Update monorepo to 3.16.0. (#6330)
Browse files Browse the repository at this point in the history
* Update monorepo to 3.16.0.

* Use N1_HIGHCPU_32 in cloudbuild-release.yml

Fixes a case where building all layers packages in parallel uses all the system memory.
  • Loading branch information
mattsoulanille authored Apr 19, 2022
1 parent 9a1e28d commit ff6bf7f
Show file tree
Hide file tree
Showing 25 changed files with 71 additions and 66 deletions.
2 changes: 1 addition & 1 deletion cloudbuild-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ substitutions:
_RELEASE: ''
options:
logStreamingOption: 'STREAM_ON'
machineType: 'N1_HIGHCPU_8'
machineType: 'N1_HIGHCPU_32'
substitution_option: 'ALLOW_LOOSE'
20 changes: 10 additions & 10 deletions e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "benchmarks",
"version": "0.0.1",
"version": "undefined",
"description": "Benchmark for TensorFlow.js",
"private": true,
"repository": {
Expand All @@ -9,15 +9,15 @@
},
"devDependencies": {
"@babel/polyfill": "^7.10.4",
"@tensorflow/tfjs": "link:../tfjs",
"@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-backend-wasm": "link:../tfjs-backend-wasm",
"@tensorflow/tfjs-backend-webgl": "link:../link-package/node_modules/@tensorflow/tfjs-backend-webgl",
"@tensorflow/tfjs-converter": "link:../link-package/node_modules/@tensorflow/tfjs-converter",
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-data": "link:../link-package/node_modules/@tensorflow/tfjs-data",
"@tensorflow/tfjs-layers": "link:../link-package/node_modules/@tensorflow/tfjs-layers",
"@tensorflow/tfjs-node": "link:../tfjs-node",
"@tensorflow/tfjs": "3.16.0",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@tensorflow/tfjs-backend-wasm": "3.16.0",
"@tensorflow/tfjs-backend-webgl": "3.16.0",
"@tensorflow/tfjs-converter": "3.16.0",
"@tensorflow/tfjs-core": "3.16.0",
"@tensorflow/tfjs-data": "3.16.0",
"@tensorflow/tfjs-layers": "3.16.0",
"@tensorflow/tfjs-node": "3.16.0",
"@types/detect-browser": "^4.0.0",
"@types/jasmine": "~3.0.0",
"@types/mathjs": "^5.0.1",
Expand Down
6 changes: 3 additions & 3 deletions tfjs-backend-cpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-backend-cpu",
"version": "0.0.0",
"version": "3.16.0",
"description": "Vanilla JavaScript backend for TensorFlow.js",
"private": false,
"main": "dist/tf-backend-cpu.node.js",
Expand All @@ -25,7 +25,7 @@
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~3.0.0",
"clang-format": "~1.2.4",
"jasmine": "~3.1.0",
Expand Down Expand Up @@ -67,7 +67,7 @@
"seedrandom": "2.4.3"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
},
"browser": {
"util": false,
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-cpu/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
8 changes: 4 additions & 4 deletions tfjs-backend-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-backend-wasm",
"version": "0.0.0",
"version": "3.16.0",
"main": "dist/tf-backend-wasm.node.js",
"types": "dist/index.d.ts",
"repository": {
Expand Down Expand Up @@ -44,10 +44,10 @@
"perf_hooks": false
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
},
"dependencies": {
"@tensorflow/tfjs-backend-cpu": "link:../link-package-core/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@types/emscripten": "~0.0.34"
},
"devDependencies": {
Expand All @@ -57,7 +57,7 @@
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~2.8.6",
"clang-format": "~1.2.4",
"jasmine": "~3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-wasm/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
8 changes: 4 additions & 4 deletions tfjs-backend-webgl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-backend-webgl",
"version": "0.0.0",
"version": "3.16.0",
"description": "GPU accelerated WebGL backend for TensorFlow.js",
"private": false,
"main": "dist/tf-backend-webgl.node.js",
Expand All @@ -24,7 +24,7 @@
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~3.0.0",
"clang-format": "~1.2.4",
"jasmine": "~3.1.0",
Expand Down Expand Up @@ -63,15 +63,15 @@
"run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-backend-webgl2_test"
},
"dependencies": {
"@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@types/offscreencanvas": "~2019.3.0",
"@types/seedrandom": "2.4.27",
"@types/webgl-ext": "0.0.30",
"@types/webgl2": "0.0.6",
"seedrandom": "2.4.3"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
},
"browser": {
"util": false,
Expand Down
2 changes: 1 addition & 1 deletion tfjs-backend-webgl/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
8 changes: 4 additions & 4 deletions tfjs-backend-webgpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-backend-webgpu",
"version": "0.0.1-alpha.4",
"version": "0.0.1-alpha.9",
"main": "dist/tf-backend-webgpu.node.js",
"types": "dist/index.d.ts",
"jsnext:main": "dist/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@babel/polyfill": "^7.8.7",
"@bazel/bazelisk": "link:../node_modules/@bazel/bazelisk",
"@bazel/ibazel": "^0.15.10",
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"jasmine": "link:../node_modules/jasmine",
"jasmine-core": "link:../node_modules/jasmine-core",
"karma": "~6.3.16",
Expand All @@ -41,9 +41,9 @@
"karma-typescript-es6-transform": "^5.0.2"
},
"dependencies": {
"@tensorflow/tfjs-backend-cpu": "link:../link-package-core/node_modules/@tensorflow/tfjs-backend-cpu"
"@tensorflow/tfjs-backend-cpu": "3.16.0"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
}
}
5 changes: 5 additions & 0 deletions tfjs-backend-webgpu/src/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.1-alpha.9';
export {version};
8 changes: 4 additions & 4 deletions tfjs-converter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-converter",
"version": "0.0.0",
"version": "3.16.0",
"description": "Tensorflow model converter for javascript",
"main": "dist/tf-converter.node.js",
"jsnext:main": "dist/index.js",
Expand All @@ -16,7 +16,7 @@
},
"license": "Apache-2.0",
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
},
"devDependencies": {
"@bazel/bazelisk": "^1.10.1",
Expand All @@ -25,8 +25,8 @@
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-backend-cpu": "link:../link-package-core/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-core": "link:../link-package-core/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@tensorflow/tfjs-core": "3.16.0",
"@types/argparse": "^1.0.38",
"@types/deep-equal": "^1.0.1",
"@types/jasmine": "~2.8.6",
Expand Down
4 changes: 2 additions & 2 deletions tfjs-converter/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ py_wheel(
strip_path_prefixes = [
"tfjs-converter/python",
],
version = "0.0.0",
version = "3.16.0",
#keywords='tensorflow javascript machine deep learning converter',
deps = [
":tensorflowjs_pkg",
Expand Down Expand Up @@ -107,7 +107,7 @@ py_wheel(
strip_path_prefixes = [
"tfjs-converter/python",
],
version = "0.0.0",
version = "3.16.0",
#keywords='tensorflow javascript machine deep learning converter',
deps = [
":tensorflowjs_pkg",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-converter/python/tensorflowjs/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @license See the LICENSE file.

# This code is auto-generated, do not modify this file!
version = '1.7.0'
version = '3.16.0'
2 changes: 1 addition & 1 deletion tfjs-converter/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
2 changes: 1 addition & 1 deletion tfjs-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-core",
"version": "0.0.0",
"version": "3.16.0",
"description": "Hardware-accelerated JavaScript library for machine intelligence",
"private": false,
"main": "dist/tf-core.node.js",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
10 changes: 5 additions & 5 deletions tfjs-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-data",
"version": "0.0.0",
"version": "3.16.0",
"description": "TensorFlow Data API in JavaScript",
"private": false,
"main": "dist/tf-data.node.js",
Expand All @@ -23,9 +23,9 @@
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-layers": "link:../link-package/node_modules/@tensorflow/tfjs-layers",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@tensorflow/tfjs-core": "3.16.0",
"@tensorflow/tfjs-layers": "3.16.0",
"@types/jasmine": "~2.5.53",
"@types/seedrandom": "^2.4.27",
"@types/utf8": "~2.1.6",
Expand Down Expand Up @@ -65,7 +65,7 @@
"coverage": "yarn nyc yarn ts-node --transpile-only -P tsconfig.test.json src/test_node.ts"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"seedrandom": "~2.4.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tfjs-data/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
10 changes: 5 additions & 5 deletions tfjs-layers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-layers",
"version": "0.0.0",
"version": "3.16.0",
"description": "TensorFlow layers API in JavaScript",
"license": "Apache-2.0 AND MIT",
"repository": {
Expand All @@ -22,9 +22,9 @@
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-typescript": "^3.0.0",
"@tensorflow/tfjs-backend-cpu": "link:../link-package/node_modules/@tensorflow/tfjs-backend-cpu",
"@tensorflow/tfjs-backend-webgl": "link:../link-package/node_modules/@tensorflow/tfjs-backend-webgl",
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-backend-cpu": "3.16.0",
"@tensorflow/tfjs-backend-webgl": "3.16.0",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~2.5.53",
"clang-format": "~1.2.2",
"http-server": "~0.12.3",
Expand Down Expand Up @@ -65,6 +65,6 @@
"run-browserstack": "bazel test :browserstack_bs_chrome_mac_tfjs-layers_webgl2_test"
},
"peerDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core"
"@tensorflow/tfjs-core": "3.16.0"
}
}
2 changes: 1 addition & 1 deletion tfjs-layers/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
6 changes: 3 additions & 3 deletions tfjs-node-gpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-node-gpu",
"version": "0.0.0",
"version": "3.16.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"gypfile": true,
Expand Down Expand Up @@ -52,7 +52,7 @@
"upload-windows-addon": "prep-gpu-windows.bat && ./scripts/build-and-upload-windows-addon-gpu.bat"
},
"devDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~2.8.6",
"@types/node": "^10.5.1",
"@types/progress": "^2.0.1",
Expand All @@ -73,7 +73,7 @@
},
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.4",
"@tensorflow/tfjs": "link:../tfjs",
"@tensorflow/tfjs": "3.16.0",
"adm-zip": "^0.5.2",
"google-protobuf": "^3.9.2",
"https-proxy-agent": "^2.2.1",
Expand Down
6 changes: 3 additions & 3 deletions tfjs-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorflow/tfjs-node",
"version": "0.0.0",
"version": "3.16.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"gypfile": true,
Expand Down Expand Up @@ -50,7 +50,7 @@
"upload-windows-addon": "./scripts/build-and-upload-windows-addon.bat"
},
"devDependencies": {
"@tensorflow/tfjs-core": "link:../link-package/node_modules/@tensorflow/tfjs-core",
"@tensorflow/tfjs-core": "3.16.0",
"@types/jasmine": "~2.8.6",
"@types/node": "^10.5.1",
"@types/progress": "^2.0.1",
Expand All @@ -70,7 +70,7 @@
},
"dependencies": {
"@mapbox/node-pre-gyp": "1.0.4",
"@tensorflow/tfjs": "link:../tfjs",
"@tensorflow/tfjs": "3.16.0",
"adm-zip": "^0.5.2",
"google-protobuf": "^3.9.2",
"https-proxy-agent": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion tfjs-node/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @license See the LICENSE file. */

// This code is auto-generated, do not modify this file!
const version = '0.0.0';
const version = '3.16.0';
export {version};
Loading

0 comments on commit ff6bf7f

Please sign in to comment.