mirror of
https://github.com/allenai/olmocr.git
synced 2025-11-01 18:43:45 +00:00
Trying fix for transformers benchmark
This commit is contained in:
parent
8712534e81
commit
7c098955a9
@ -92,7 +92,7 @@ commands.extend([
|
||||
"cd olmOCR-bench && git lfs pull && cd ..",
|
||||
"pip install accelerate",
|
||||
"pip install flash-attn==2.8.0.post2 --no-build-isolation",
|
||||
"python -m olmocr.bench.convert transformers:target_longest_image_dim=1288:prompt_template=yaml:response_template=yaml --dir ./olmOCR-bench/bench_data",
|
||||
"PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True python -m olmocr.bench.convert transformers:target_longest_image_dim=1288:prompt_template=yaml:response_template=yaml --dir ./olmOCR-bench/bench_data",
|
||||
"python -m olmocr.bench.benchmark --dir ./olmOCR-bench/bench_data"
|
||||
])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user