mirror of
https://github.com/allenai/olmocr.git
synced 2025-10-29 00:52:31 +00:00
Paddle vl benchmark runner saves off data
This commit is contained in:
parent
0c3d2d2e16
commit
5c16f52d3b
@ -85,6 +85,8 @@ commands.extend([
|
|||||||
"python -m pip install https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whl",
|
"python -m pip install https://paddle-whl.bj.bcebos.com/nightly/cu126/safetensors/safetensors-0.6.2.dev0-cp38-abi3-linux_x86_64.whl",
|
||||||
|
|
||||||
"python -m olmocr.bench.convert paddlevl --dir ./olmOCR-bench/bench_data --parallel 0",
|
"python -m olmocr.bench.convert paddlevl --dir ./olmOCR-bench/bench_data --parallel 0",
|
||||||
|
"pip install s5cmd",
|
||||||
|
"s5cmd cp olmOCR-bench/bench_data/ s3://ai2-oe-data/jakep/olmocr-bench-runs/$BEAKER_WORKLOAD_ID/",
|
||||||
"python -m olmocr.bench.benchmark --dir ./olmOCR-bench/bench_data"
|
"python -m olmocr.bench.benchmark --dir ./olmOCR-bench/bench_data"
|
||||||
])
|
])
|
||||||
|
|
||||||
@ -97,11 +99,11 @@ task_spec_args = {
|
|||||||
" && ".join(commands)
|
" && ".join(commands)
|
||||||
],
|
],
|
||||||
"context": TaskContext(
|
"context": TaskContext(
|
||||||
priority=Priority.normal,
|
priority=Priority.urgent,
|
||||||
preemptible=True,
|
preemptible=False,
|
||||||
),
|
),
|
||||||
"resources": TaskResources(gpu_count=1),
|
"resources": TaskResources(gpu_count=1),
|
||||||
"constraints": Constraints(cluster=["ai2/neptune-cirrascale"]),
|
"constraints": Constraints(cluster=["ai2/jupiter"]),
|
||||||
"result": ResultSpec(path="/noop-results"),
|
"result": ResultSpec(path="/noop-results"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user