File size: 254 Bytes
cef606d
8968c14
7aa0c87
cce4cb6
8989b00
cce4cb6
ba808fb
 
cce4cb6
 
8968c14
e01c6a6
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM ghcr.io/winstxnhdw/nllb-api:main

ENV SERVER_PORT=7860
ENV TRANSLATOR_THREADS=4

ENV OMP_NUM_THREADS=1
ENV CT2_USE_EXPERIMENTAL_PACKED_GEMM=1
ENV CT2_FORCE_CPU_ISA=AVX512

ENV CONSUL_SERVICE_ADDRESS=winstxnhdw-nllb-api.hf.space

EXPOSE $SERVER_PORT