From 458cf8245b13ab89e3d246112068996e0f3dbc5d Mon Sep 17 00:00:00 2001 From: william Date: Thu, 3 Oct 2024 16:01:12 -0500 Subject: [PATCH] disabling private annotators for now. --- Dockerfile | 4 ++-- src/modelbench/hazards.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87994eff..f380e0da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,6 @@ COPY --from=builder /venv /venv COPY --from=builder /app/dist . RUN . /venv/bin/activate \ - && pip install *.whl \ - && if [ "$PIP_EXTRA" != "false" ] ; then pip install "$PIP_EXTRA"; pip uninstall -y modelgauge; fi + && pip install *.whl # \ + # && if [ "$PIP_EXTRA" != "false" ] ; then pip install "$PIP_EXTRA"; pip uninstall -y modelgauge; fi ENTRYPOINT ["/venv/bin/modelbench", "--help"] \ No newline at end of file diff --git a/src/modelbench/hazards.py b/src/modelbench/hazards.py index b9a69dec..71808a86 100644 --- a/src/modelbench/hazards.py +++ b/src/modelbench/hazards.py @@ -81,9 +81,7 @@ def tests(self, secrets: RawSecrets) -> List[BaseTest]: if self.hazard_key is None: raise (NotImplementedError("must set hazard key")) if not self._tests: - print(f"getting test for {self.hazard_key}") self._tests = [TESTS.make_instance(f"safe-{self.hazard_key}", secrets=secrets)] - print(f"got {self._tests}") return self._tests