add OMP_NUM_THREADS
This commit is contained in:
parent
cb45e37b68
commit
9f7b08e278
2 changed files with 3 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ services:
|
|||
- ASR_MODEL=large-v3
|
||||
#- ASR_ENGINE=openai_whisper
|
||||
- ASR_ENGINE=faster_whisper
|
||||
- OMP_NUM_THREADS=10
|
||||
ports:
|
||||
- "127.0.0.1:9000:9000"
|
||||
volumes:
|
||||
|
|
@ -14,7 +15,7 @@ services:
|
|||
- cache-pip:/root/.cache/pip
|
||||
- cache-poetry:/root/.cache/poetry
|
||||
- cache-whisper:/root/.cache/whisper
|
||||
entrypoint: ["gunicorn", "--bind", "0.0.0.0:9000", "--workers", "10", "--timeout", "0", "app.webservice:app", "-k", "uvicorn.workers.UvicornWorker"]
|
||||
#entrypoint: ["gunicorn", "--bind", "0.0.0.0:9000", "--workers", "10", "--timeout", "0", "app.webservice:app", "-k", "uvicorn.workers.UvicornWorker"]
|
||||
|
||||
volumes:
|
||||
cache-pip:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue