-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 2.57 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (61 loc) · 2.57 KB
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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "mineru-rocm"
version = "1.0.0"
description = "Evaluation-backed AMD ROCm port of opendatalab/MinerU (3.4 pipeline + 2.5-Pro VLM) for OmniDocBench v1.6"
readme = "README.md"
requires-python = ">=3.11"
# Base license is Apache-2.0. The MinerU Open Source License adds commercial-threshold
# and attribution terms that apply to the pipeline-wrapping path — see NOTICE and LICENSES/.
license = "Apache-2.0"
authors = [{ name = "AIwork4me" }]
keywords = [
"mineru", "document-parsing", "amd-gpu", "rocm", "rdna3",
"vllm", "omnidocbench", "vision-language-model",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
# Core package is GPU-free and platform-free. The single core dep is PyYAML
# (scoring writes/parses OmniDocBench eval configs). GPU/platform deps stay
# optional: omnidocbench-rocm engine integration is [platform].
dependencies = ["PyYAML>=6.0"]
[project.optional-dependencies]
# Optional: omnidocbench-rocm platform integration. The adapter uses local
# mineru_rocm.types — no engine import coupling.
platform = [
"omnidocbench-rocm @ https://github.com/AIwork4me/OmniDocBench-ROCm/releases/download/v0.3.2/omnidocbench_rocm-0.3.2-py3-none-any.whl#sha256=a6e1d97dfe3d75c54bf148f178ab5a42c48760516c1ea81d687bc3fb730a02ad",
]
windows-pipeline = [
"mineru[pipeline]==3.4.4; platform_system == 'Windows'",
"onnxruntime-directml==1.24.4; platform_system == 'Windows'",
]
dev = ["pytest>=8", "ruff==0.16.2", "reuse>=1.3", "build", "numpy>=1.26"]
[project.urls]
Homepage = "https://github.com/AIwork4me/MinerU-ROCm"
Repository = "https://github.com/AIwork4me/MinerU-ROCm"
Issues = "https://github.com/AIwork4me/MinerU-ROCm/issues"
Upstream = "https://github.com/opendatalab/MinerU"
[project.scripts]
mineru-rocm = "mineru_rocm.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
mineru_rocm = ["data/*.yaml"]
[tool.ruff]
# Ruff is pinned and the selected rule set is an explicit repository gate.
# Behavior-sensitive rule families are adopted only after deliberate review.
required-version = "==0.16.2"
target-version = "py311"
preview = false
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "B", "UP", "RUF"]
per-file-ignores."tests/**" = ["E701", "E702", "E741", "F841"]