mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
Some helper scripts
This commit is contained in:
parent
626952a786
commit
6c51829ae6
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
VERSION=$(python -c 'import olmocr.version; print(olmocr.version.VERSION)')
|
||||
echo "$VERSION"
|
||||
|
||||
docker build --platform linux/amd64 -f ./scripts/beaker/Dockerfile-inference -t olmocr-inference-$VERSION .
|
||||
beaker image create --workspace ai2/oe-data-pdf --name olmocr-inference-$VERSION olmocr-inference-$VERSION
|
||||
|
||||
docker build --platform linux/amd64 -f ./scripts/beaker/Dockerfile-tagging -t olmocr-tagging-$VERSION .
|
||||
beaker image create --workspace ai2/oe-data-pdf --name olmocr-tagging-$VERSION olmocr-tagging-$VERSION
|
9
scripts/sync_beaker_image.sh
Executable file
9
scripts/sync_beaker_image.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user