Skip to main content

GPU Acceleration

The product's Bayesian optimization algorithms can optionally use GPU acceleration, which applies only to NVIDIA graphics cards. CPU computation is used by default; in production environments with high computation speed requirements, GPU acceleration can be enabled after installing the matching graphics driver.

Key Functions​

The GPU accelerates model training and inference of the Bayesian optimization algorithms, including surrogate model fitting and acquisition computation, shortening the computation time of a single iteration, with more noticeable effects when the task is large and the iterations are many.

GPU acceleration is optional: when no graphics card or driver is configured, Bayesian optimization runs on the CPU as usual and remains fully functional, and other algorithms and regular functions are unaffected.

Hardware Requirements​

  • An NVIDIA graphics card is required; other brands do not support GPU acceleration.
  • The card's CUDA compute capability must be at least 7.5, i.e., the Turing architecture or later.
  • Common qualifying products include:
    • Consumer: GeForce RTX series (RTX 20 series and newer models).
    • Professional and data-center: RTX professional series and data-center series (such as T4, L4, L40, A100, H100), and Quadro and Tesla series models with sufficient compute capability.

The compute capability of a specific model can be looked up on the NVIDIA website.

Driver Requirements​

  • The graphics driver version must be at least 580. The installer detects the graphics card and driver version but does not automatically install or upgrade the driver.
  • The product already includes the runtime libraries needed for GPU acceleration, so no separate CUDA toolkit installation is required.
info

For downloading and installing the graphics driver, refer to the Official NVIDIA Driver Download and select the version matching the graphics card model.

Enable and Verify​

  1. Confirm the graphics card and driver meet the above requirements.
  2. In the compute device of a Bayesian optimization task, select GPU to use GPU acceleration.
  3. Run a tuning task once and confirm the task executes normally and the compute device shows GPU.

If the graphics card or driver does not meet the requirements, the GPU option will not appear in the compute device, and CPU computation is still used.