Merge branch #winstxnhdw/nllb-api' into 'Svngoku/nllb-api'
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
ENV SERVER_PORT=7860
|
4 |
-
ENV OMP_NUM_THREADS=
|
5 |
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM=1
|
6 |
ENV CT2_FORCE_CPU_ISA=AVX512
|
7 |
-
ENV
|
8 |
|
9 |
EXPOSE $SERVER_PORT
|
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
ENV SERVER_PORT=7860
|
4 |
+
ENV OMP_NUM_THREADS=1
|
5 |
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM=1
|
6 |
ENV CT2_FORCE_CPU_ISA=AVX512
|
7 |
+
ENV TRANSLATOR_THREADS=4
|
8 |
|
9 |
EXPOSE $SERVER_PORT
|