Skip to content

Commit 340ccc2

Browse files
authored
Merge pull request #49 from deepnote/hannes/pla-3506-fix-gpu-images-to-work-with-toolkit
Fix GPU images to work with toolkit
2 parents 8adf094 + dfb42b8 commit 340ccc2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

gpu/setup.python.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
#
3+
#
44
# This script allows us to install a python version of choice
5-
#
5+
#
66

77
PYTHON_VER=$1
88
TF_VERSION=$2
@@ -30,10 +30,7 @@ ln -s /usr/bin/python3 /usr/bin/python
3030

3131
# We need to remove some pre-installed pip packages that end up clashing with our compute-deps
3232
pip uninstall -y cryptography
33-
pip install numpy==1.23.4
34-
35-
# install tensorflow
36-
pip install tensorflow==$TF_VERSION
33+
pip install numpy==1.23.4 tensorflow==$TF_VERSION -c https://tk.deepnote.com/constraints${PYTHON_VER}.txt
3734

3835
# create the virtual environment in the home directory in the Dockerfile
3936
# using our upgraded python version

0 commit comments

Comments
 (0)