Removed CPU processing limitation
This commit is contained in:
parent
895574dbbc
commit
590eebe4ef
@ -26,9 +26,6 @@ COPY . .
|
||||
# This will create a linux/arm64 + CPython 3.12 .so under monotonic_align/monotonic_align/
|
||||
RUN cd monotonic_align && python setup.py build_ext --inplace
|
||||
|
||||
# Optional: reduce CPU thread explosion from numpy/torch
|
||||
ENV OMP_NUM_THREADS=4
|
||||
|
||||
EXPOSE 18343
|
||||
ENV PORT=18343
|
||||
|
||||
|
||||
@ -10,5 +10,4 @@ services:
|
||||
environment:
|
||||
- PORT=18343
|
||||
- FLASK_ENV=production
|
||||
- OMP_NUM_THREADS=4
|
||||
restart: unless-stopped
|
||||
Loading…
x
Reference in New Issue
Block a user