Skip to content

Commit c2cfca9

Browse files
authored
Merge pull request #1305 from Kaggle/tf-2.13
Upgrade to Tensorflow 2.13
2 parents f3f21de + b95c1cb commit c2cfca9

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

Dockerfile.tmpl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib
3636
{{ end }}
3737

3838
# Keep these variables in sync if base image is updated.
39-
ENV TENSORFLOW_VERSION=2.12.0
39+
ENV TENSORFLOW_VERSION=2.13.0
4040
# See https://github.com/tensorflow/io#tensorflow-version-compatibility
41-
ENV TENSORFLOW_IO_VERSION=0.32.0
41+
ENV TENSORFLOW_IO_VERSION=0.34.0
4242

4343
# We need to redefine the ARG here to get the ARG value defined above the FROM instruction.
4444
# See: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
@@ -406,7 +406,6 @@ RUN pip install annoy \
406406
# Pandas data reader
407407
pandas-datareader \
408408
wordsegment \
409-
wordbatch \
410409
emoji \
411410
# Add Japanese morphological analysis engine
412411
janome \
@@ -520,8 +519,7 @@ RUN pip install flashtext \
520519
pyarabic \
521520
pandasql \
522521
tensorflow_hub \
523-
# b/300552705 Remove pin once we upgrade to TensorFlow 2.13
524-
tensorflowjs==4.10 \
522+
tensorflowjs \
525523
jieba \
526524
# ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668
527525
https://github.com/hbasria/ggpy/archive/0.11.5.zip \

config.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BASE_IMAGE_REPO=gcr.io/deeplearning-platform-release
2-
BASE_IMAGE_TAG=m109
3-
CPU_BASE_IMAGE_NAME=tf2-cpu.2-12.py310
4-
GPU_BASE_IMAGE_NAME=tf2-gpu.2-12.py310
2+
BASE_IMAGE_TAG=m111
3+
CPU_BASE_IMAGE_NAME=tf2-cpu.2-13.py310
4+
GPU_BASE_IMAGE_NAME=tf2-gpu.2-13.py310
55
LIGHTGBM_VERSION=3.3.2
66
TORCH_VERSION=2.0.0
77
TORCHAUDIO_VERSION=2.0.1

tests/test_tensorflowjs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ class TestTensorflowjs(unittest.TestCase):
66
def test_version(self):
77
result = subprocess.run([
88
'tensorflowjs_converter',
9-
'--version',
9+
'--help',
1010
],
1111
stdout=subprocess.PIPE,
1212
stderr=subprocess.PIPE,
1313
)
1414

15-
print("tensorflowjs_converter version: ", result)
15+
print("tensorflowjs_converter help: ", result)
1616

1717
self.assertEqual(0, result.returncode)
1818
self.assertIn(b'tensorflowjs', result.stdout)

tests/test_wordbatch.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)