diff --git a/my-gym b/my-gym index a2037e40..eb3b7a2b 160000 --- a/my-gym +++ b/my-gym @@ -1 +1 @@ -Subproject commit a2037e409e277295e559e628ab01cab0de8cb73c +Subproject commit eb3b7a2b8f711e67e524324f08b84ed36335e5c7 diff --git a/mybin b/mybin index bbb18e40..8f3f1f95 160000 --- a/mybin +++ b/mybin @@ -1 +1 @@ -Subproject commit bbb18e409b37f55b7816c57072ad6f80aefa6772 +Subproject commit 8f3f1f95a6c38b1533496d377fdfb0de2b01dc06 diff --git a/python/requirements_tf.txt b/python/requirements_tf.txt new file mode 100644 index 00000000..9d1fa6dc --- /dev/null +++ b/python/requirements_tf.txt @@ -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] diff --git a/python/tf.sh b/python/tf.sh new file mode 100755 index 00000000..f33c58f9 --- /dev/null +++ b/python/tf.sh @@ -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 diff --git a/python/upgrade.sh b/python/upgrade.sh index a649aebc..a4b6f5f6 100755 --- a/python/upgrade.sh +++ b/python/upgrade.sh @@ -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