Skip to content

Commit

Permalink
disabling private annotators for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
wpietri committed Oct 3, 2024
1 parent be6f4ab commit 458cf82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 0 additions & 2 deletions src/modelbench/hazards.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 458cf82

Please sign in to comment.