GPU Support
How to enable GPU support on your Bacalhau node.
Bacalhau supports GPUs out of the box and defaults to allowing execution on all GPUs installed on the node.
Prerequisites
Bacalhau makes the assumption that you have installed all the necessary drivers and tools on your node host and have appropriately configured them for use by Docker.
In general for GPUs from any vendor, the Bacalhau client requires:
Nvidia
nvidia-smi
installed and functional
You can test whether you have a working GPU setup with the following command:
AMD
Bacalhau requires AMD drivers to be appropriately installed and access to the rocm-smi
tool.
You can test whether you have a working GPU setup with the following command, which should print details of your GPUs:
Intel
Bacalhau requires appropriate Intel drivers to be installed and access to the xpu-smi
tool.
You can test whether you have a working GPU setup with the following command, which should print details of your GPUs:
GPU Node Configuration
Access to GPUs can be controlled using resource limits. To limit the number of GPUs that can be used per job, set a job resource limit. To limit access to GPUs from all jobs, set a total resource limit.
Last updated