Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,12 @@ RUN mkdir -p /app/output && chown eva:eva /app/output
# Python runtime settings
ENV PYTHONPATH="/app/src:$PYTHONPATH"
ENV PYTHONUNBUFFERED=1
# Optional: set EVA_OUTPUT_FOLDER to organize results into /app/output/<folder_name>/<run_id>/

# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD python -c "import eva; print('ok')" || exit 1

# Switch to non-root user
USER evabench
USER eva

# Use docker entrypoint that handles run modes
ENTRYPOINT ["python", "scripts/docker_entrypoint.py"]
ENTRYPOINT ["eva"]
76 changes: 0 additions & 76 deletions scripts/docker_entrypoint.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/eva/metrics/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ async def run(self) -> MetricsRunResult:
targeted = all_record_dirs
targeted_ids = {rid for rid, _ in targeted}

# Run targeted records concurrently; the LLMClient semaphore limits concurrent API calls.
# Run targeted records concurrently; LiteLLM limits concurrent API calls.
tasks = [self._run_and_save_record(rid, rdir) for rid, rdir in targeted]
results = await asyncio.gather(*tasks, return_exceptions=True)

Expand Down
Loading