You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Note that any crate not mentioned here (e.g. tensorflow-proto-codegen, tensorflo
36
36
1. Bump the version for `tensorflow-internal-macros` in the root `Cargo.toml`
37
37
1. Bump the version number in `Cargo.toml`
38
38
1. Bump the version number in `README.md`
39
-
1.Run `./test-all`
39
+
1.Inside a virtualenv, run `./test-all`. (See "Running in a virtualenv" section.)
40
40
1. Double-check that addition.py is built using the version of TensorFlow being linked against. (See "Upgrading TensorFlow" section.)
41
41
1. Run `./run-valgrind`
42
42
1. Commit and push the changes. (Push before publishing to ensure that the changes being published are up to date.)
@@ -56,13 +56,12 @@ Note that any crate not mentioned here (e.g. tensorflow-proto-codegen, tensorflo
56
56
## Upgrading TensorFlow
57
57
58
58
1. Update version and tag in tensorflow-sys/build.rs
59
-
1. Update version in run-valgrind
60
-
1. Run `python examples/addition/addition.py` using the version of TensorFlow being linked against.
61
-
(Use pip in a virtualenv, see https://www.tensorflow.org/install/pip#2-create-a-virtual-environment-recommended)
62
-
1. Run `virtualenv --system-site-packages -p python3 ~/tensorflow-${TENSORFLOW_VERSION?}`
63
-
1. Run `source ~/tensorflow-${TENSORFLOW_VERSION?}/bin/activate` to activate the virtualenv
64
-
1. Run `pip install --upgrade pip`
65
-
1. Run `pip install --upgrade tensorflow==${TENSORFLOW_VERSION?}`
66
-
1. Run `pip install tf_keras` (required for examples/mobilenetv3)
67
-
1. Run `python examples/addition/addition.py`
68
-
1. Run `deactivate` to exit the virtualenv
59
+
1. Update version in .github/workflow/requirements.txt
60
+
1. Inside a virtualenv using the version of TensorFlow being linked against, run `python examples/addition/addition.py`. (See "Running in a virtualenv" section.)
61
+
62
+
## Running in a virtualenv
63
+
64
+
1. If you haven't set it up, run `./create-virtualenv ${TENSORFLOW_VERSION?}`
65
+
1. Run `source ~/tensorflow-${TENSORFLOW_VERSION?}/bin/activate` to activate the virtualenv
0 commit comments