Spaces:
Running
Running
winstxnhdw
commited on
Commit
β’
ba808fb
1
Parent(s):
deab086
build(docker): fix docker lints
Browse files- Dockerfile +5 -6
- README.md +1 -1
Dockerfile
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
-
ENV APP_PORT
|
4 |
-
ENV OMP_NUM_THREADS
|
5 |
-
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM
|
6 |
-
ENV CT2_FORCE_CPU_ISA
|
7 |
-
ENV WORKER_COUNT
|
8 |
-
ENV EVENTS_PER_WINDOW 15
|
9 |
|
10 |
EXPOSE $APP_PORT
|
|
|
1 |
FROM ghcr.io/winstxnhdw/nllb-api:main
|
2 |
|
3 |
+
ENV APP_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 WORKER_COUNT=2
|
|
|
8 |
|
9 |
EXPOSE $APP_PORT
|
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
7 |
-
python_version: 3.
|
8 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
9 |
tags: [translation, translator, nllb, ctranslate2]
|
10 |
pinned: true
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: docker
|
7 |
+
python_version: 3.12.3
|
8 |
models: [winstxnhdw/nllb-200-distilled-1.3B-ct2-int8]
|
9 |
tags: [translation, translator, nllb, ctranslate2]
|
10 |
pinned: true
|