Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkyang-nvi committed Jul 26, 2023
1 parent 1a27eae commit d8313f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qa/L0_backend_python/env/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ done
conda update -n base -c defaults conda -y
rm $SERVER_LOG
# Create a model with python 3.8 version
# Successful execution of the Python model indicates that the environment has
# Successful execution of the Python model indicates that the environment has
# been setup correctly.

create_conda_env "3.8" "python-3-8"
Expand All @@ -174,7 +174,7 @@ cp ../../python_models/python_version/model.py ./models/python_3_8/1/
cp python_backend/builddir/triton_python_backend_stub ./models/python_3_8

# Create a model with python 3.9 version
# Successful execution of the Python model indicates that the environment has
# Successful execution of the Python model indicates that the environment has
# been setup correctly.
create_conda_env "3.9" "python-3-9"
conda install -c conda-forge libstdcxx-ng=12 -y
Expand All @@ -195,12 +195,12 @@ cp ../../python_models/python_version/model.py ./models/python_3_9/1/
cp python_backend/builddir/triton_python_backend_stub ./models/python_3_9

# Create a model with python 3.11 version
# Successful execution of the Python model indicates that the environment has
# Successful execution of the Python model indicates that the environment has
# been setup correctly.
create_conda_env "3.11" "python-3-11"
# tensorflow needs to be installed before numpy so pip does not mess up conda
# tensorflow needs to be installed before numpy so pip does not mess up conda
# enviroment
pip install tensorflow==2.12.0
pip install tensorflow==2.12.0
conda install -c conda-forge libstdcxx-ng=12 -y
conda install numpy=1.23.5 -y
PY311_VERSION_STRING="Python version is 3.11, NumPy version is 1.23.5, and Tensorflow version is 2.12.0"
Expand Down

0 comments on commit d8313f4

Please sign in to comment.