We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd347e0 commit 90224a7Copy full SHA for 90224a7
images/tensorflow-notebook/cuda/Dockerfile
@@ -19,7 +19,7 @@ RUN mamba install --yes \
19
20
# Install TensorFlow, CUDA and cuDNN with pip
21
RUN pip install --no-cache-dir \
22
- "tensorflow[and-cuda]<=2.17.1" && \
+ 'tensorflow[and-cuda]' && \
23
fix-permissions "${CONDA_DIR}" && \
24
fix-permissions "/home/${NB_USER}"
25
tests/by_image/tensorflow-notebook/units/unit_tensorflow.py
@@ -1,5 +1,12 @@
1
# Copyright (c) Jupyter Development Team.
2
# Distributed under the terms of the Modified BSD License.
3
+import os
4
+import sys
5
+
6
+if "NVIDIA_VISIBLE_DEVICES" in os.environ:
7
+ print("Not running this test in GPU mode")
8
+ sys.exit(0)
9
10
import tensorflow as tf
11
12
print(tf.constant("Hello, TensorFlow"))
0 commit comments