Update core/app.py
Browse files- core/app.py +1 -1
core/app.py
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
import os
|
10 |
|
11 |
# Set critical defaults directly - HF now supports underscores in env vars
|
12 |
-
os.environ.setdefault("OMP_NUM_THREADS", "
|
13 |
os.environ.setdefault("TOKENIZERS_PARALLELISM", "false")
|
14 |
os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "max_split_size_mb:128")
|
15 |
os.environ.setdefault("LOG_LEVEL", "info")
|
|
|
9 |
import os
|
10 |
|
11 |
# Set critical defaults directly - HF now supports underscores in env vars
|
12 |
+
os.environ.setdefault("OMP_NUM_THREADS", "2")
|
13 |
os.environ.setdefault("TOKENIZERS_PARALLELISM", "false")
|
14 |
os.environ.setdefault("PYTORCH_CUDA_ALLOC_CONF", "max_split_size_mb:128")
|
15 |
os.environ.setdefault("LOG_LEVEL", "info")
|