Skip to content

research: benchmark quantized Florence-2 and lightweight captioning alternatives #343

Description

@Abhash-Chakraborty

Summary

Benchmark lower-footprint captioning paths rather than replacing Florence-2 based on parameter count alone.

Evidence

Microsoft lists Florence-2-base at 0.23B parameters: https://huggingface.co/microsoft/Florence-2-base. Hugging Face's SmolVLM-256M card reports under 1 GB GPU RAM for one-image inference: https://huggingface.co/HuggingFaceTB/SmolVLM-256M-Instruct. SmolVLM is not automatically smaller in parameters, so quantized Florence and runtime overhead must also be measured.

Where to work

Acceptance criteria

  • Benchmark current Florence-2-base FP32 CPU/FP16 GPU baseline.
  • Evaluate supported quantized/ONNX/OpenVINO Florence paths and one small VLM candidate.
  • Compare download size, runtime dependencies, cold load, RAM/VRAM, latency, caption quality, OCR leakage, and failure rate.
  • Verify caption output still supports hybrid search and user-facing metadata.
  • Record license and offline-download behavior for every candidate.
  • Recommend a model/runtime matrix instead of one unqualified default.

Dependency

Use measurable fixtures from #100 where captions affect retrieval.

Metadata

Metadata

Labels

assignedIssue or PR is already assigned to someone.backendFastAPI, database, storage, and API workgssoc26Related to GirlScript Summer of Code 2026.level:advancedGSSoC difficulty level: advanced. Base contributor points: 55.mlModel inference, embeddings, OCR, captions, and search relevanceperformanceSpeed, startup, memory, image size, and runtime efficiencypriority: highImportant issue that should be handled soonresearchNeeds investigation, comparison, or design proposal before implementationstatus: unavailableThis issue is now unavailable to pick up.testingAutomated tests or manual QA coverage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions