28 lines
790 B
Plaintext
28 lines
790 B
Plaintext
# Unified PDFtoMD environment.
|
|
# Create with Python 3.11, then install with:
|
|
# .\venv\python.exe -m pip install -r requirements.txt
|
|
#
|
|
# GTX 1070 Ti requires a PyTorch build that still supports sm_61.
|
|
# torch 2.11.0+cu128 imports, but does not support sm_61 at runtime.
|
|
--extra-index-url https://download.pytorch.org/whl/cu126
|
|
|
|
torch==2.7.1+cu126
|
|
torchvision==0.22.1+cu126
|
|
|
|
# Marker / main conversion path.
|
|
marker-pdf==1.10.2
|
|
pymupdf==1.27.2.3
|
|
pandas==3.0.2
|
|
pytest==9.0.3
|
|
Pillow==10.4.0
|
|
pypdfium2==4.30.0
|
|
opencv-python-headless==4.11.0.86
|
|
|
|
# Nougat formula parser path.
|
|
# nougat-ocr 0.1.17 has loose dependency bounds. These pins avoid
|
|
# incompatible modern releases while preserving Marker's dependency pins.
|
|
nougat-ocr==0.1.17
|
|
transformers==4.57.6
|
|
albumentations==1.3.1
|
|
fsspec==2026.2.0
|