Skip to content

Commit

Permalink
No longer set WHISPER__INFERENCE_DEVICE in Dockerfiles (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi committed Oct 12, 2024
1 parent e414711 commit 17f5f26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ COPY ./src ./pyproject.toml ./uv.lock ./
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --extra ui
ENV WHISPER__MODEL=Systran/faster-whisper-small
ENV WHISPER__INFERENCE_DEVICE=cpu
ENV UVICORN_HOST=0.0.0.0
ENV UVICORN_PORT=8000
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]
1 change: 0 additions & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ COPY ./src ./pyproject.toml ./uv.lock ./
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --extra ui
ENV WHISPER__MODEL=Systran/faster-whisper-large-v3
ENV WHISPER__INFERENCE_DEVICE=auto
ENV UVICORN_HOST=0.0.0.0
ENV UVICORN_PORT=8000
CMD ["uv", "run", "uvicorn", "--factory", "faster_whisper_server.main:create_app"]

0 comments on commit 17f5f26

Please sign in to comment.