MogensR commited on
Commit
c38a46a
·
1 Parent(s): 247b2a3

Update core/app.py

Browse files
Files changed (1) hide show
  1. 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", "1")
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")