We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8712534 commit 7c09895Copy full SHA for 7c09895
scripts/run_transformers_benchmark.sh
@@ -92,7 +92,7 @@ commands.extend([
92
"cd olmOCR-bench && git lfs pull && cd ..",
93
"pip install accelerate",
94
"pip install flash-attn==2.8.0.post2 --no-build-isolation",
95
- "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",
96
"python -m olmocr.bench.benchmark --dir ./olmOCR-bench/bench_data"
97
])
98
0 commit comments