-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup_dev.sh
10 lines (10 loc) · 1.07 KB
/
setup_dev.sh
1
2
3
4
5
6
7
8
9
10
sudo apt-get -o DPkg::Lock::Timeout=-1 update
sudo apt-get -o DPkg::Lock::Timeout=-1 install -y libpq-dev python-dev python3-dev gcc libgl1-mesa-glx ffmpeg libgl-dev python3-pip git
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade "jax[tpu]>=0.3.10" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
sudo python3 -m pip uninstall tensorboard tbp-nightly tb-nightly tensorboard-plugin-profile -y
python3 -m pip install wandb smart-open[gcs] jsonpickle tpunicorn google-api-python-client google-cloud-tpu redis sqlalchemy psycopg2-binary opencv-python Pillow git+https://github.com/ytdl-org/youtube-dl.git google-cloud-storage oauth2client utils scipy gdown omegaconf pyparsing==2.4.7 einops pytorch-lightning fastapi uvicorn pydantic transformers boto3 torch sharedutils
python3 -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
python3 -m pip install --upgrade --force-reinstall tensorflow==2.8.0 protobuf==3.20.1
git clone https://github.com/CompVis/taming-transformers
mv taming-transformers script/