Open Dalton2333 opened 7 months ago
Hi @Dalton2333, there are many reasons that may cause optimization to slow down:
import numpy
):
import os
NUM_THREADS = "1"
os.environ["OMP_NUM_THREADS"] = NUM_THREADS # export OMP_NUM_THREADS=1
os.environ["OPENBLAS_NUM_THREADS"] = NUM_THREADS # export OPENBLAS_NUM_THREADS=1
os.environ["MKL_NUM_THREADS"] = NUM_THREADS # export MKL_NUM_THREADS=1
os.environ["VECLIB_MAXIMUM_THREADS"] = NUM_THREADS # export VECLIB_MAXIMUM_THREADS=1
os.environ["NUMEXPR_NUM_THREADS"] = NUM_THREADS # export NUMEXPR_NUM_THREADS=1
Or add the above options as environment variables in the startup command.
Hope this can help you.
I was running an optimization using default Bayesian optimization advisor, it takes around 400 s to get a suggestion at Iter 400. Is this normal and how to make it run faster?