Go to file
Henrik Jess Nielsen 8ac5aed3e0 perf: cache pip downloads and Docker layers in CI build
- Add BuildKit pip cache mount to Dockerfile (persists torch/transformers
  downloads across builds on the runner host)
- Enable DOCKER_BUILDKIT=1 in workflow env
- Pull previous image before build for layer cache reuse
- Add --cache-from latest + BUILDKIT_INLINE_CACHE=1 to docker build

BUILDKIT_INLINE_CACHE embeds cache metadata in the pushed image so
--cache-from works from the registry (cold runner or new runner).
SHA tag push reuses already-pushed layers - only metadata transferred.

Expected improvement:
- Unchanged code:       ~5 min -> ~30 sec (layer cache hit)
- requirements changed: ~5 min -> ~1 min (pip disk cache)
- Push:                 only changed layers uploaded; SHA tag is free
2026-05-27 22:21:15 +02:00
MMD
2026-05-27 22:02:43 +02:00
2026-05-26 22:21:27 +02:00
MMD
2026-05-27 22:02:43 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
MMD
2026-05-27 22:02:43 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:12 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
2026-05-26 22:21:27 +02:00
Description
No description provided
Readme 3.5 MiB
Languages
Python 66.9%
CSS 21%
HTML 8.8%
HCL 1.3%
Standard ML 1.1%
Other 0.9%