Sizing GPU resources

When you run your job on a GPU-enabled compute, size your job with the node layout in mind.

Setting area What to consider Guidance
Driver CPU and memory Driver usually runs on standard compute nodes Use the compute's driver-node limits. Driver resources may differ from GPU executor-node resources.
Executor CPU and memory Executors run on GPU nodes Use values appropriate for the GPU worker shape. GPU nodes have per-node CPU and memory maximum values.
GPU count GPU allocation is tied to the Spark Compute design GPU acceleration is controlled by Cloudera Data Engineering Spark Compute-level configuration.

Configure the GPU-related configuration options during Cloudera Data Engineering Compute deployment:

  • Maximum GPU - Configure it to equal the number of GPU nodes.
  • Maximum Memory - Configure it to equal the sum of the memory available in all GPU nodes and the Worker Node.
  • Maximum CPU: Configure it to equal the sum of the CPU available in all GPU nodes and the Worker Node.

Example:

  • Maximum GPU: 3
  • Maximum Memory: 128 Gi
  • Maximum CPU: 64

Configure the following GPU-related configuration options during Cloudera Data Engineering Job creation or configuration:

  • Driver resources
    • Driver CPU
    • Driver Memory
  • GPU resources
    • Executors
    • Executor CPU
    • Executor Memory