Michael Rabinovich Cursor commited on
Commit
40dd166
·
1 Parent(s): 3e18d9a

docker: track cadgenbench @main instead of a pinned SHA

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -37,9 +37,11 @@ COPY requirements.txt /tmp/requirements.txt
37
  RUN pip install --no-cache-dir -r /tmp/requirements.txt \
38
  && rm /tmp/requirements.txt
39
 
40
- # cadgenbench from the Public GitHub repo, pinned to a commit. Bumping
41
- # CADGENBENCH_SHA is the one-line path to picking up a new cadgenbench.
42
- ARG CADGENBENCH_SHA=b22a53c
 
 
43
  RUN pip install --no-cache-dir \
44
  "cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
45
 
 
37
  RUN pip install --no-cache-dir -r /tmp/requirements.txt \
38
  && rm /tmp/requirements.txt
39
 
40
+ # cadgenbench from the Public GitHub repo. Defaults to `main` so every
41
+ # image rebuild picks up the latest code (pre-v1: always-updated). Lock
42
+ # to a specific commit SHA at the v1 release so published scores are
43
+ # reproducible (see space-setup/post-gt-swap.md Stage F).
44
+ ARG CADGENBENCH_SHA=main
45
  RUN pip install --no-cache-dir \
46
  "cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
47