Commit History

  1. chore(test): commit Makefile and testing scripts

    34c6057
  2. style: format Python files with Black

    5537ceb
  3. docs(model_loader): add comprehensive docstrings and comments; no functional changes

    d405999

  1. chore(docker): pin flash-attn prebuilt wheel to cp311 torch2.7 cu126; remove pip fallback

    ab66d7a
  2. chore(docker): try pip install flash-attn fallback when wheel tag mismatches

    77b66b9
  3. perf(attn): default to SDPA; gracefully fallback when flash_attn missing; use dtype arg

    420a04f
  4. fix(hf): add hf_transfer for HF_HUB_ENABLE_HF_TRANSFER; remove deprecated symlink arg; add root / route

    399c4d1
  5. chore(docker): create /data dirs and chown for model/cache; set OMP_NUM_THREADS=1

    1cd3063
  6. Merge branch 'dots' into main

    c6be981
  7. feat(api): fast FastAPI app + model loader refactor; add mock mode for tests\n\n- Add pyproject + setuptools config and console entrypoint\n- Implement enhanced field extraction + MRZ heuristics\n- Add response builder with compatibility for legacy MRZ fields\n- New preprocessing pipeline for PDFs/images\n- HF Spaces GPU: cache ENV, optional flash-attn, configurable base image\n- Add Make targets for Spaces GPU and local CPU\n- Add httpx for TestClient; tests pass in mock mode\n- Remove embedded model files and legacy app/modules

    211e423
  8. chore(repo): add model artifacts tracked by Git LFS; add scripts\n\n- enable model/** via .gitignore override\n- ensure Git LFS patterns for *.safetensors and other ML artifacts\n- add testing scripts for HF Space and curl

    f4349d6
  9. Docker: guard flash-attn install by Python ABI tag; skip on mismatch

    6735521
  10. Enable CUDA 12.6 runtime, default flash-attn on HF, add huggingface_hub/PyMuPDF, make flash-attn configurable

    80e4bb4

  1. Debian Trixie compat: use libgl1, libxrender1; drop libatlas-base-dev

    47aca17
  2. Add OpenGL and OpenCV dependencies for headless operation

    6a42f7a
  3. Fix Pydantic version compatibility with FastAPI 0.112.1

    e1cfc7b
  4. Remove dots-ocr dependency - app has mock fallback for development

    ccfca51
  5. Fix Docker build: replace deprecated libgl1-mesa-glx with libgl1-mesa-dri

    3f0aec5
  6. Updated license

    a773fc6
  7. Update README emoji to printer icon⁠

    fc9d132
  8. Add .gitattributes for proper file handling⁠

    b83690d
  9. Prepare for Hugging Face Spaces deployment⁠

    e300623
  10. Add comprehensive .gitignore and merge README files for HF Spaces deployment⁠

    f256ddd
  11. Initial commit

    0a7e5ec