Skip to content

Commit

Permalink
feat: use only a single worker with 2 translators
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Aug 17, 2024
1 parent 589652b commit b154d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ghcr.io/winstxnhdw/nllb-api:main

ENV SERVER_PORT=7860
ENV OMP_NUM_THREADS=1
ENV OMP_NUM_THREADS=2
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM=1
ENV CT2_FORCE_CPU_ISA=AVX512
ENV WORKER_COUNT=2
ENV WORKER_COUNT=1

EXPOSE $SERVER_PORT

0 comments on commit b154d92

Please sign in to comment.