olmocr/scripts/sync_beaker_image.sh

10 lines
281 B
Bash
Raw Permalink Normal View History

2025-06-17 21:21:50 +00:00
#!/bin/bash
set -e
VERSION=$(python -c 'import olmocr.version; print(olmocr.version.VERSION)')
echo "$VERSION"
docker pull alleninstituteforai/olmocr:v$VERSION
beaker image create --workspace ai2/oe-data-pdf --name olmocr-inference-$VERSION alleninstituteforai/olmocr:v$VERSION