Files
wehub-resource-sync 917eedffcf
Main / Python 3.11 - Docs (push) Waiting to run
Main / Python 3.11 - Build (push) Waiting to run
Main / Python 3.11 - Lint (push) Waiting to run
Main / Python 3.11 - Style (push) Waiting to run
Main / Python 3.11 - Test (push) Waiting to run
Main / GPU CI (push) Blocked by required conditions
Main / Release (push) Blocked by required conditions
Main / Build and Push Docker Images (push) Blocked by required conditions
chore: import upstream snapshot with attribution
2026-07-13 13:27:09 +08:00

15 lines
533 B
Bash
Executable File

#!/bin/bash
set -e
VERSION=$(python -c 'import olmocr.version; print(olmocr.version.VERSION)')
echo "Syncing olmOCR version $VERSION with model included"
# Pull the image with model included
docker pull alleninstituteforai/olmocr:v$VERSION-with-model
# Create beaker image with the model included version
beaker image create --workspace ai2/oe-data-pdf --name olmocr-inference-$VERSION alleninstituteforai/olmocr:v$VERSION-with-model
echo "Successfully synced olmocr:v$VERSION-with-model to beaker as olmocr-inference-$VERSION"