The resource pool#

Compute resources available to canary are defined in the resource_pool configuration field. By default:

  • The resource pool is automatically generated based on a machine probe and consists of a single node with N CPUs and 0 GPUs

  • The number of CPUs N is determined by a system probe[1]

  • No other resource types are assumed to exist

To see the current resource pool, execute:

$ canary config show resource_pool
resource_pool:
  additional_properties: {}
  resources:
    cpus:
    - id: '0'
      slots: 1
    - id: '1'
      slots: 1
    gpus: []

Users have the flexibility to define the resource pool in a variety of ways using command line flags, configuration file, or a combination of both, depending on the specific requirements of their computing environment.

Note

  • Any resources other than cpus and gpus must be defined by the user.

  • canary assumes a default GPU count of 0