File size: 2,003 Bytes
f340984 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | [build-system]
requires = ["hatchling==1.27.0"]
build-backend = "hatchling.build"
[project]
name = "unlimited-ocr-rdna4"
dynamic = ["version"]
description = "Verified local Unlimited-OCR inference on AMD RDNA 4 with ROCm"
readme = "README.md"
requires-python = ">=3.12,<3.13"
license = {file = "LICENSE"}
authors = [{name = "Douglas von Kohorn"}]
keywords = ["ocr", "rocm", "rdna4", "gfx1201", "amd", "transformers"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"addict==2.4.0",
"easydict==1.13",
"einops==0.8.2",
"huggingface-hub==0.36.2",
"matplotlib==3.10.8",
"numpy==1.26.4",
"Pillow==12.1.1",
"psutil==7.2.2",
"pypdfium2==5.12.1",
"requests==2.34.2",
"safetensors==0.8.0",
"tqdm==4.70.0",
"transformers==4.57.1",
]
[project.optional-dependencies]
dev = ["build==1.5.0", "pytest==8.4.2", "pytest-cov==6.3.0", "ruff==0.14.14", "twine==6.2.0"]
[project.scripts]
unlimited-ocr-rdna4 = "unlimited_ocr_rdna4.cli:main"
[project.urls]
Homepage = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4"
Documentation = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4#readme"
Issues = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4/discussions"
Source = "https://huggingface.co/dougvk/Unlimited-OCR-RDNA4"
[tool.hatch.build.targets.wheel]
packages = ["src/unlimited_ocr_rdna4"]
[tool.hatch.version]
path = "src/unlimited_ocr_rdna4/constants.py"
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
allowed-confusables = ["|"]
[tool.ruff.format]
quote-style = "double"
|