SabaPivot/repro-logsumexp-artifacts / scripts /logsumexp_publish_loop.sh
SabaPivot's picture
download
raw
518 Bytes
#!/bin/bash
cd /home/ubuntu/samuel/logsumexp-repro
SLUG=SabaPivot/repro-improved-stochastic-optimization-of-logsumexp
for i in $(seq 1 40); do
echo "=== attempt $i $(date -u +%H:%M:%S) ==="
if timeout 1200 trackio logbook publish $SLUG 2>&1 | tee /tmp/pub_out.txt | tail -5; then
if grep -qi "error" /tmp/pub_out.txt; then
echo "attempt $i failed"
else
echo "PUBLISH_SUCCEEDED on attempt $i"; exit 0
fi
else
echo "attempt $i failed (exit)"
fi
sleep 600
done
echo "GAVE_UP"
exit 1

Xet Storage Details

Size:
518 Bytes
·
Xet hash:
d4650e68e0578ad68a9ea0d9e6fb03b0d92b2411de9ea4534efb40333bd15cf0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.