mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
Probably need at least 20GB GPU ram to have a good time with olmocr
This commit is contained in:
parent
22418534e1
commit
ca0f911997
@ -38,7 +38,7 @@ What is included:
|
||||
### Installation
|
||||
|
||||
Requirements:
|
||||
- Recent NVIDIA GPU (tested on RTX 4090, L40S, A100, H100)
|
||||
- Recent NVIDIA GPU (tested on RTX 4090, L40S, A100, H100) with at least 20 GB of GPU RAM
|
||||
- 30GB of free disk space
|
||||
|
||||
You will need to install poppler-utils and additional fonts for rendering PDF images.
|
||||
|
@ -27,7 +27,7 @@ def check_sglang_version():
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def check_torch_gpu_available(min_gpu_memory: int = 8 * 1024**3):
|
||||
def check_torch_gpu_available(min_gpu_memory: int = 20 * 1024**3):
|
||||
try:
|
||||
import torch
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user