Replies: 1 comment 2 replies
-
What are the parameters of your problem (dimension of the search space, number of observations)? 2.5 seconds is not a whole lot of time for optimizing an acquisition function for Bayesian Optimization. How long does a function evaluation take in your setting? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been creating a BO-torch model infrastructure that optimizes a real-time black box function with approximately 14 parameters. The model has always performed slowly and now I am tackling the issue. This line of code:
candidates, acqf_list = optimize_acqf(acq_function=UCB, bounds=bounds, q=q_points, num_restarts=num_restarts, raw_samples=raw_samples, options= {"maxiter": 500})
takes approximately 2.5s / iteration. My initial thought was that the machine I was running this on was not capable of maintaining a low iteration time. However, when trying to utilize GPUs the iteration time increases significantly. Are there any resources that I could use to integrate botorch and GPUs? Or does someone know a potential reason for Botorch to be taking so long in this specific operation? I suspect I am doing something wrong but I keep missing it....
Thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions