File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
images/tensorflow-notebook/cuda
tests/by_image/tensorflow-notebook/units Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN mamba install --yes \
19
19
20
20
# Install TensorFlow, CUDA and cuDNN with pip
21
21
RUN pip install --no-cache-dir \
22
- " tensorflow[and-cuda]<=2.17.1" && \
22
+ ' tensorflow[and-cuda]' && \
23
23
fix-permissions "${CONDA_DIR}" && \
24
24
fix-permissions "/home/${NB_USER}"
25
25
Original file line number Diff line number Diff line change 1
1
# Copyright (c) Jupyter Development Team.
2
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
+
3
10
import tensorflow as tf
4
11
5
12
print (tf .constant ("Hello, TensorFlow" ))
You can’t perform that action at this time.
0 commit comments