-
Notifications
You must be signed in to change notification settings - Fork 65
Release Checklist
Shrestha Malik edited this page Jan 7, 2020
·
16 revisions
- Create new branch
- Upgrade ngraph version:
- Update build_ngtf.py —> nGraph version number (ngraph_version)
- Update CMakeLists.txt —> nGraph version number (GIT_TAG)
- Update bazel/WORKSPACE (sha25, strip_prefix and urls)
- Replace the strip_prefix and urls with the right nGraph versions
- Keep the sha256 empty, i.e. sha256=""
- Steps for getting the SHA are mentioned below and it can be filled in later
- Update bazel/ngraph.BUILD -> NGRAPH_VERSION
- Make sure your virtual env is deactivated, before you proceed to next step.
- Bazel commands for getting SHA: Go to the ngraph-tf directory
./configure_bazel.sh;
bazel build ngraph_bridge_lib
- This errors out but print the SHA256, you will see something like below INFO: SHA256 (https://mirror.bazel.build/github.com/NervanaSystems/ngraph/archive/ng-version.tar.gz) = 12345
- Copy the SHA and add it to bazel/WORKSPACE sha256="12345"
- Update version.cc: NG_TF_MINOR_VERSION, NG_TF_PATCH_VERSION. NG_TF_VERSION_SUFFIX as necessary
- Update python/setup.in.py: The line that says 'version'
- Update the README.md
- PR new branch to master branch
- Once merged to master, merge the master to the release branch (eg, r0.12)
- Create a new release
If TF version is updating also take care of these steps.
If MKLDNN version is being upgraded, make changes in bazel/WORKSPACE and mkl_dnn.BUILD