Skip to content

Commit

Permalink
fix(mineru): paddlepaddle-gpu has to install at the end (#23556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongbo-miao authored Jan 31, 2025
1 parent aa9e0a2 commit 3b1a7c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/.test-machine-learning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@ jobs:
run: |
uv sync --extra=build
uv sync --extra=build --extra=compile
uv sync --extra=build --extra=compile --dev
uv sync --extra=build --extra=compile --extra=paddlepaddle-gpu
uv sync --extra=build --extra=compile --extra=paddlepaddle-gpu --dev
- name: Test
working-directory: machine-learning/mineru
run: |
Expand Down
6 changes: 3 additions & 3 deletions machine-learning/mineru/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
name = "mineru"
version = "1.0.0"
requires-python = "~=3.12.0"
dependencies = [
"paddlepaddle-gpu==3.0.0b2",
]

[project.optional-dependencies]
build = [
Expand All @@ -15,6 +12,9 @@ compile = [
"detectron2",
"magic-pdf[full]==1.1.0",
]
paddlepaddle-gpu = [
"paddlepaddle-gpu==3.0.0b2",
]

[dependency-groups]
dev = [
Expand Down
8 changes: 4 additions & 4 deletions machine-learning/mineru/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b1a7c6

Please sign in to comment.