Update local setup progress

This commit is contained in:
NINI
2026-05-10 00:59:51 +09:00
parent a4dcfbdedc
commit 4b316ebd0b
2 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ This file is the shared work plan for agents. Read it before starting work, then
## Current Goal ## Current Goal
Completed work history is archived in `docs/WORKARCHIVE.md`. CUDA-enabled PyTorch and MinerU 3.1.0 runtime setup is complete in the project `.venv`; Sprint 10 pre-conversion PDF chunking is implemented; next work is optional real local sample validation only if requested. Completed work history is archived in `docs/WORKARCHIVE.md`. Sprint 10 pre-conversion PDF chunking is implemented. On this PC, base uv/Python project setup is complete in `.venv`; next runtime work is local MinerU/PyTorch/model/MathJax setup if requested.
## Active Constraints ## Active Constraints
+13 -11
View File
@@ -10,22 +10,23 @@ This file records current progress for agents. Read it before starting work, the
- `docs/V1IMPLEMENTATIONPLAN.md` defines the v1 implementation sequence. - `docs/V1IMPLEMENTATIONPLAN.md` defines the v1 implementation sequence.
- `docs/Sprints/` contains completed sprint contracts through Sprint 10. - `docs/Sprints/` contains completed sprint contracts through Sprint 10.
- `docs/WORKARCHIVE.md` contains completed sprint history, historical verification results, runtime setup notes, and sample conversion evidence. - `docs/WORKARCHIVE.md` contains completed sprint history, historical verification results, runtime setup notes, and sample conversion evidence.
- `samples/` exists locally and is untracked by git. - `samples/` exists locally as fixture context.
- `outputs/` is ignored and contains local generated conversion outputs. - `outputs/` is ignored and contains local generated conversion outputs.
## Environment Notes ## Environment Notes
- OS/workspace: Windows PowerShell in `D:\Work\Repos\AICoding\ConvertPDFToMD`. - OS/workspace: Windows PowerShell in `C:\git\PDFToMD`.
- Python target: 3.12. - Python target: 3.12.
- Local Python observed: 3.12.7. - Local project Python observed: 3.12.13 in `.venv`.
- `uv` is installed per-user at `C:\Users\user\.local\bin`. - `uv` is installed per-user at `C:\Users\baram\.local\bin`.
- Target GPU: NVIDIA GTX 1070 Ti 8GB. - Target GPU documented for the original project setup: NVIDIA GTX 1070 Ti 8GB.
- Current PC GPU observed by `doctor`: NVIDIA GeForce RTX 4080 SUPER 16GB.
- Default conversion device: `cuda:0`. - Default conversion device: `cuda:0`.
- MinerU execution mode: direct local `mineru` CLI only. - MinerU execution mode: direct local `mineru` CLI only.
- Strict-local allows MinerU 3.1.0's CLI-internal temporary local `mineru-api` when the CLI runs without `--api-url`. - Strict-local allows MinerU 3.1.0's CLI-internal temporary local `mineru-api` when the CLI runs without `--api-url`.
- Strict-local prohibits `--api-url`, remote APIs, router mode, HTTP client backends, and remote OpenAI-compatible backends. - Strict-local prohibits `--api-url`, remote APIs, router mode, HTTP client backends, and remote OpenAI-compatible backends.
- Current local runtime has CUDA-enabled PyTorch `2.6.0+cu126`, `torchvision 0.21.0+cu126`, `mineru[core]==3.1.0`, local MinerU models, and `MINERU_MODEL_SOURCE=local`. - Current base `.venv` has project fast-test dependencies from `uv sync`.
- Current `pdf2md doctor` status is WARN only because GTX 1070 Ti is Pascal/pre-Turing; MinerU, CUDA PyTorch, local model config, MathJax, and strict-local checks pass. - Current `pdf2md doctor` status is FAIL because MinerU CLI is not installed on this PC. PyTorch, local MinerU model/cache paths, and local MathJax package setup are also not present yet.
## Recent Completed Work ## Recent Completed Work
@@ -36,6 +37,8 @@ This file records current progress for agents. Read it before starting work, the
- `convert_pdf()` returns `BatchConversionResult` when `chunk_pages` is set and keeps returning `ConversionResult` when chunking is unset. - `convert_pdf()` returns `BatchConversionResult` when `chunk_pages` is set and keeps returning `ConversionResult` when chunking is unset.
- Converted `samples/FourNodeQuadrilateralShellElementMITC4.pdf` with `MINERU_MODEL_SOURCE=local` and default `--gpu cuda:0`; output was written to ignored `outputs/FourNodeQuadrilateralShellElementMITC4/`. - Converted `samples/FourNodeQuadrilateralShellElementMITC4.pdf` with `MINERU_MODEL_SOURCE=local` and default `--gpu cuda:0`; output was written to ignored `outputs/FourNodeQuadrilateralShellElementMITC4/`.
- The FourNode sample conversion report status was `success`: 7 pages, 22 assets, 38 inline formulas, 16 display formulas, 0 math render errors, and 0 warnings. - The FourNode sample conversion report status was `success`: 7 pages, 22 assets, 38 inline formulas, 16 display formulas, 0 math render errors, and 0 warnings.
- Installed uv `0.11.12` at `C:\Users\baram\.local\bin`, installed uv-managed CPython `3.12.13`, created `.venv`, and ran `uv sync`.
- Verified base project environment with `uv run pytest`: 163 passed, 1 skipped.
## In Progress ## In Progress
@@ -43,11 +46,10 @@ This file records current progress for agents. Read it before starting work, the
## Blockers ## Blockers
- No active blocker. - Real local MinerU conversion is blocked until MinerU 3.1.0, CUDA-enabled PyTorch, local models/cache, and optional MathJax package setup are installed on this PC.
- GTX 1070 Ti remains an 8GB Pascal GPU; larger PDFs may still hit VRAM or model compatibility limits.
## Next Actions ## Next Actions
1. Review generated sample Markdown outputs in Obsidian if visual quality needs manual assessment. 1. Install local MinerU 3.1.0 runtime stack on this PC if real conversions are needed.
2. Run optional real local chunked conversion on a long sample only if requested. 2. Install optional local MathJax dependencies with `npm install` if formula renderability checks should run.
3. Preserve strict-local runtime behavior: use local model paths, direct CLI execution, and no user-specified API or remote backend. 3. Preserve strict-local runtime behavior: use local model paths, direct CLI execution, and no user-specified API or remote backend.