mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
16 lines
335 B
Bash
Executable File
16 lines
335 B
Bash
Executable File
#/usr/bin/bash
|
|
|
|
set -ex
|
|
|
|
git clone https://github.com/allenai/olmocr.git olmocr \
|
|
&& cd olmocr \
|
|
&& git checkout $GIT_REVISION \
|
|
&& /root/.local/bin/uv pip install --system --no-cache \
|
|
.[gpu] \
|
|
pytest \
|
|
--find-links https://flashinfer.ai/whl/cu124/torch2.4/flashinfer/ \
|
|
&& bash scripts/run_integration_test.sh
|
|
|
|
|
|
|