Skip to content

Instantly share code, notes, and snippets.

View justinjaywang's full-sized avatar
✌️

Justin Jay Wang justinjaywang

✌️
View GitHub Profile
@justinjaywang
justinjaywang / download-ghost-images.sh
Last active December 26, 2024 03:29
Shell script to download all assets from production Ghost to your local Ghost.
#!/bin/bash
# Load environment variables from .env file
if [ -f .env ]; then
source .env
else
echo ".env file not found. Please create one with GHOST_CONTENT_API_KEY, GHOST_URL, PRODUCTION_URL, and LOCAL_GHOST_DIR"
exit 1
fi
Model Size Episodes Hours
500000 240800000 51.2
900000 173200000 40
1600000 132300000 34
3000000 126200000 25.9
5800000 108300000 28
Batch Size Episodes Hours
32000 167400000 98.8
64000 132300000 34
128000 155200000 19.8