Removed CPU processing limitation

This commit is contained in:
Nik Afiq 2025-11-23 22:30:03 +09:00
parent 895574dbbc
commit 590eebe4ef
2 changed files with 0 additions and 4 deletions

View File

@ -26,9 +26,6 @@ COPY . .
# This will create a linux/arm64 + CPython 3.12 .so under monotonic_align/monotonic_align/ # 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 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 EXPOSE 18343
ENV PORT=18343 ENV PORT=18343

View File

@ -10,5 +10,4 @@ services:
environment: environment:
- PORT=18343 - PORT=18343
- FLASK_ENV=production - FLASK_ENV=production
- OMP_NUM_THREADS=4
restart: unless-stopped restart: unless-stopped