agrovia-detection-api / app /core /model_loader.py

Commit History

  1. feat: pre-download all 8 AI models on boot via huggingface_hub SDK

    5fc4228
  2. fix: use hf_hub_download SDK and validate >1MB binary size to prevent text-pointer segfaults

    04d56e6
  3. fix: use streamed chunk download with User-Agent header for HF Hub model binaries

    3982649
  4. perf: prioritize fast and limited model download and warmup on boot

    bc9c615
  5. fix: use direct HF resolve download to guarantee binary model files without pointer file corruption

    29ea819
  6. perf: optimize model_loader manifest to download essential ONNX models for rapid boot

    34ce6c6
  7. fix: remove non-ASCII unicode characters from print calls in model_loader.py

    22edca0
  8. feat: migrate full production detection service architecture with 8-model hub sync

    119c847