models / forcePull.sh
Viperboy123's picture
init_tree
d386e09
raw
history blame contribute delete
506 Bytes
#!/bin/bash
cd SD
cd SDUX
cd stable-diffusion-webui
cd stable-diffusion-webui-ux
cd /workspace/T01/SD
cd /workspace/T01/SDUX
cd ~/sagemaker-studiolab-notebooks/SD
cd ~/sagemaker-studiolab-notebooks/SDUX
cd ~/sagemaker-studiolab-notebooks/stable-diffusion-webui
cd ~/sagemaker-studiolab-notebooks/stable-diffusion-webui-ux
cd models
git fetch --all
git reset --hard origin/main
git pull
git repack -a -d --depth=250 --window=250
rsync -r "embeddings/" "../embeddings/"
cd .git
rm -rf lfs
cd ..
cd ..
cd ..