Download start_all.sh from flokymind/tashkil-scripts: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/flokymind/tashkil-scripts/resolve/main/start_all.sh
- Command line
-
hf download hf://flokymind/tashkil-scripts/start_all.sh
-
curl -L -o start_all.sh https://huggingface.co/flokymind/tashkil-scripts/resolve/main/start_all.sh
501 Bytes
| # Restart the mishkala tashkeel job on the lab after a handover. | |
| cd /kaggle/working/tashkil || exit 1 | |
| for i in 0 1 2 3; do | |
| if ! pgrep -f "shard_mishkala.py $i 4" >/dev/null 2>&1; then | |
| nohup python3 shard_mishkala.py $i 4 >> shard$i.log 2>&1 & | |
| echo "started shard $i" | |
| fi | |
| done | |
| if ! pgrep -f "persist2.py" >/dev/null 2>&1; then | |
| nohup python3 persist2.py >> persist.log 2>&1 & | |
| echo "started persist" | |
| fi | |
| sleep 2 | |
| pgrep -af "shard_mishkala.py|persist2.py" | grep -v pgrep | head -8 | |