mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
specify gpu deps in pyproject
This commit is contained in:
parent
29b9054749
commit
f1524957b1
@ -48,6 +48,11 @@ Changelog = "https://github.com/allenai/olmocr/blob/main/CHANGELOG.md"
|
|||||||
# Documentation = "https://olmocr.readthedocs.io/"
|
# Documentation = "https://olmocr.readthedocs.io/"
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
gpu = [
|
||||||
|
"sgl-kernel==0.0.3.post1",
|
||||||
|
"sglang[all]==0.4.2",
|
||||||
|
"flashinfer"
|
||||||
|
]
|
||||||
dev = [
|
dev = [
|
||||||
"ruff",
|
"ruff",
|
||||||
"mypy",
|
"mypy",
|
||||||
@ -120,6 +125,9 @@ exclude = [
|
|||||||
|
|
||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
include-package-data = true
|
include-package-data = true
|
||||||
|
find-links = [
|
||||||
|
"https://flashinfer.ai/whl/cu124/torch2.4/flashinfer/"
|
||||||
|
]
|
||||||
|
|
||||||
[tool.setuptools.package-data]
|
[tool.setuptools.package-data]
|
||||||
olmocr = [
|
olmocr = [
|
||||||
@ -184,4 +192,4 @@ log_format = "%(asctime)s - %(levelname)s - %(name)s - %(message)s"
|
|||||||
log_level = "DEBUG"
|
log_level = "DEBUG"
|
||||||
markers = [
|
markers = [
|
||||||
"nonci: mark test as not intended for CI runs"
|
"nonci: mark test as not intended for CI runs"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user