Skip to content

Commit

Permalink
update from bleepblop
Browse files Browse the repository at this point in the history
  • Loading branch information
cottrell committed Oct 2, 2024
1 parent 5938f47 commit 12f948a
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion my-gym
Submodule my-gym updated from a2037e to eb3b7a
2 changes: 1 addition & 1 deletion mybin
20 changes: 20 additions & 0 deletions python/requirements_tf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
argh
autoflake
autopep8
black
duckdb
flake8
ipython
isort
matplotlib
numpy
pandas
pdbpp
pip
pyarrow
pytest
scikit-learn
scipy
tqdm
ujson
tensorflow[and-cuda]
22 changes: 22 additions & 0 deletions python/tf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash -e
source ~/anaconda3/etc/profile.d/conda.sh
MY_CONDA_ENV=tf
PYTHON_ENV=3.12
if [[ $(conda env list | grep $MY_CONDA_ENV"\s") ]]; then
echo CONDA ENV $MY_CONDA_ENV exists
else
echo CONDA ENV $MY_CONDA_ENV does not exist
# conda create -c conda-forge -y -n $MY_CONDA_ENV python=$MY_CONDA_ENV
conda create -y -n $MY_CONDA_ENV python=$PYTHON_ENV
conda init
conda activate $MY_CONDA_ENV
conda install -y pip
fi
conda init
conda activate $MY_CONDA_ENV
conda info
sleep 1
pip install -U pip

pip install -r ./requirements_tf.txt
./local_setup.sh
1 change: 1 addition & 0 deletions python/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ else
for x in $(cat $ENV_FILE); do
pip install -U $x
done
# 2024-10-01 ... jax and tensorflow can not be in same env at the moment.
# 2024-08-22
pip install -U tensorflow[and-cuda]
# 2024-07-10
Expand Down

0 comments on commit 12f948a

Please sign in to comment.