mirror of
https://github.com/chroma-core/chroma.git
synced 2026-10-12 02:12:06 +00:00
## Description of changes Add a reusable GitHub Action and Python script to cache and preload the all-MiniLM-L6-v2 ONNX model before test jobs run. This avoids redundant downloads across CI runs by leveraging actions/cache with a SHA256-pinned cache key. - Add .github/actions/preload-default-onnx-model/action.yaml that caches ~/.cache/chroma/onnx_models/all-MiniLM-L6-v2 and runs the preload script - Add bin/ci/preload_default_onnx_model.py with retry logic, SHA256 verification, and safe tar extraction - Insert the preload step in _python-tests.yml before every test job that depends on the default embedding model - Insert the preload step in nightly-tests.yml before cluster tests ## Test plan Visual inspection + CI ## Migration plan N/A ## Observability plan N/A ## Documentation Changes N/A Co-authored-by: AI