Michael Rabinovich commited on
Commit ·
67fd44c
1
Parent(s): 9fcb684
Dockerfile: bump CADGENBENCH_SHA to 9bd02fb (lazy baseline import)
Browse filesPicks up the cadgenbench fix that makes `cadgenbench --help` and
`cadgenbench evaluate` work in the eval-only install (no
`[baseline]` extra). Before this bump, the chunk-4 worker's
`python -m cadgenbench.cli evaluate <run_dir>` subprocess died
during argparse setup with `ModuleNotFoundError: No module named
'dotenv'`, flipping every submission to status=failed before any
work happened.
Bumping CADGENBENCH_SHA invalidates the cadgenbench layer in the
Dockerfile cache (Chromium layer + earlier layers stay cached),
so the rebuild is ~2-3 min not the ~5 min cold cycle.
- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -44,7 +44,7 @@ RUN pip install --no-cache-dir playwright \
|
|
| 44 |
|
| 45 |
# cadgenbench from the Public GitHub repo, pinned to a commit. Bumping
|
| 46 |
# CADGENBENCH_SHA is the one-line path to picking up a new cadgenbench.
|
| 47 |
-
ARG CADGENBENCH_SHA=
|
| 48 |
RUN pip install --no-cache-dir \
|
| 49 |
"cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
|
| 50 |
|
|
|
|
| 44 |
|
| 45 |
# cadgenbench from the Public GitHub repo, pinned to a commit. Bumping
|
| 46 |
# CADGENBENCH_SHA is the one-line path to picking up a new cadgenbench.
|
| 47 |
+
ARG CADGENBENCH_SHA=9bd02fb
|
| 48 |
RUN pip install --no-cache-dir \
|
| 49 |
"cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
|
| 50 |
|