flare icon indicating copy to clipboard operation
flare copied to clipboard

Time of Update GP (s) increases a lot as more DFT calls

Open YukeLi-chem opened this issue 2 years ago • 1 comments

Hi Flare developer,

Offline training is doing. With more DFT calls, the Time of Update GP (s) increases a lot shown in figures. And the train_hyps fixed as 'train_hyps = [20, 30]' to prevent the hyperparameters optimization.

train

Best, Li Yuke

YukeLi-chem avatar Sep 03 '23 03:09 YukeLi-chem

Hi,

Sorry for the late reply!

Since GPs require matrix inversion, they scale cubically in the number of training points. For FLARE, hundreds of structures is considered a fairly large training set. Make sure that you only add the structures and environments actually needed (as determined by the uncertainty).

You may be able to improve the performance by playing around with OpenMP and BLAS parallelization settings. Generally, MKL gives the best performance.

anjohan avatar Sep 25 '23 15:09 anjohan