8ac5aed3e06143bc7b7d01f7480e4b9fe6e646aa
- 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
The file is empty.
Description
Languages
Python
66.9%
CSS
21%
HTML
8.8%
HCL
1.3%
Standard ML
1.1%
Other
0.9%