Skip to content

Commit

Permalink
Merge pull request #803 from Kaggle/tf-2.2-whl
Browse files Browse the repository at this point in the history
Build TensorFlow 2.2.0 whl
  • Loading branch information
rosbo authored May 19, 2020
2 parents 894baa4 + d907aea commit 4dffc09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions tensorflow-whl/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
* `2.1.0-py37`: TensorFlow 2.1.0 with Python 3.7
* `2.1.0-py37-2`: TensorFlow 2.1.0 with Python 3.7 & DLVM base image.
* `2.1.0-py37-3`: TensorFlow 2.1.0 with Python 3.7, DLVM base image, tensorflow-gcs-config.
* `2.2.0-py37`: TensorFlow 2.2.0 with Python 3.7.
4 changes: 2 additions & 2 deletions tensorflow-whl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --upgrade pip

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ class GcsCredentialsOpKernel : public OpKernel {
Env* env_;

mutex mu_;
string current_token_ GUARDED_BY(mu_);
uint64 expiration_timestamp_sec_ GUARDED_BY(mu_) = 0;
string current_token_ TF_GUARDED_BY(mu_);
uint64 expiration_timestamp_sec_ TF_GUARDED_BY(mu_) = 0;

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

0 comments on commit 4dffc09

Please sign in to comment.