1.0 KiB
1.0 KiB
TODO: marker-api Local Deployment
Priority 1: Verify local GPU compute works
- PyTorch ROCm sees gfx1151 on host
- Ollama runs locally on port 11435 with ROCm
- Start marker-api container with rocm/pytorch base
- Verify
/healthshowstorch_device: cuda - Run
convert_both.py— ensurenon_llmoutputs are produced
Priority 2: Fix LLM correction pipeline
- Remove Vega-specific
HSA_OVERRIDE_GFX_VERSIONfromapp.py✅ - Confirm
build_options()fix (rmuse_llmdup) resolves Click warnings ✅ - Run
convert_both.pyand verifynon_llmvsllmoutputs differ - Confirm LLM requests reach local ollama container
Priority 3: Hardening
- Add health check for LLM connectivity
- Ensure
markeruser can write toconversion_resultsdirectory - Expose LLM metrics/status in /health endpoint
Known issues
- GPUs are considered "iGPU" by ollama (system memory, not VRAM)
LD_LIBRARY_PATHin entrypoint may need /opt/rocm/lib from the rocm/pytorch image