Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions gpu/setup.python.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

#
#
# This script allows us to install a python version of choice
#
#

PYTHON_VER=$1
TF_VERSION=$2
Expand Down Expand Up @@ -30,10 +30,7 @@ ln -s /usr/bin/python3 /usr/bin/python

# We need to remove some pre-installed pip packages that end up clashing with our compute-deps
pip uninstall -y cryptography
pip install numpy==1.23.4

# install tensorflow
pip install tensorflow==$TF_VERSION
pip install numpy==1.23.4 tensorflow==$TF_VERSION -c https://tk.deepnote.com/constraints${PYTHON_VER}.txt

# create the virtual environment in the home directory in the Dockerfile
# using our upgraded python version
Expand Down