Skip to content

Commit 4dffc09

Browse files
authored
Merge pull request #803 from Kaggle/tf-2.2-whl
Build TensorFlow 2.2.0 whl
2 parents 894baa4 + d907aea commit 4dffc09

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tensorflow-whl/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
* `2.1.0-py37`: TensorFlow 2.1.0 with Python 3.7
1515
* `2.1.0-py37-2`: TensorFlow 2.1.0 with Python 3.7 & DLVM base image.
1616
* `2.1.0-py37-3`: TensorFlow 2.1.0 with Python 3.7, DLVM base image, tensorflow-gcs-config.
17+
* `2.2.0-py37`: TensorFlow 2.2.0 with Python 3.7.

tensorflow-whl/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5353
RUN pip install --upgrade pip
5454

5555
# See _TF_(MIN|MAX)_BAZEL_VERSION at https://github.com/tensorflow/tensorflow/blob/master/configure.py.
56-
ENV BAZEL_VERSION=0.29.1
56+
ENV BAZEL_VERSION=2.0.0
5757
RUN apt-get install -y gnupg zip openjdk-8-jdk && \
5858
apt-get install -y --no-install-recommends \
5959
bash-completion \
@@ -66,7 +66,7 @@ RUN apt-get install -y gnupg zip openjdk-8-jdk && \
6666
RUN cd /usr/local/src && \
6767
git clone https://github.com/tensorflow/tensorflow && \
6868
cd tensorflow && \
69-
git checkout tags/v2.1.0 && \
69+
git checkout tags/v2.2.0 && \
7070
pip install keras_applications --no-deps && \
7171
pip install keras_preprocessing --no-deps
7272

tensorflow-whl/tensorflow-gcs-config/tensorflow_gcs_config/gcs_config_op_kernels.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ class GcsCredentialsOpKernel : public OpKernel {
172172
Env* env_;
173173

174174
mutex mu_;
175-
string current_token_ GUARDED_BY(mu_);
176-
uint64 expiration_timestamp_sec_ GUARDED_BY(mu_) = 0;
175+
string current_token_ TF_GUARDED_BY(mu_);
176+
uint64 expiration_timestamp_sec_ TF_GUARDED_BY(mu_) = 0;
177177

178178
// The initial delay for exponential backoffs when retrying failed calls.
179179
const int64 initial_retry_delay_usec_;

0 commit comments

Comments
 (0)