NEML2 2.1.0
Loading...
Searching...
No Matches
[Schedulers]

Note
Clicking on the option with a triangle bullet ▸ next to it will expand/collapse its detailed information.
Type name written in PascalCase typically refer to a NEML2 object type, oftentimes a primitive tensor type.
The 🔗 symbol means that the tensor value can be cross-reference another object. See Model parameters (revisited) for details.
You can always use Ctrl+F or Cmd+F to search the entire page.

Available objects and their input file syntax

Refer to System Documentation for detailed explanation about this system.

SimpleMPIScheduler

Dispatch work to a single device selected based on processor ID in given batch sizes.

batch_sizes List of batch sizes for each device

  • Type: list of non-negative number
  • Required: Yes
capacities List of capacities for each device, default to batch_sizes

  • Type: list of non-negative number
  • Required: No
devices List of devices to dispatch work to

  • Type: list of Device
  • Required: Yes
trace_file The file to write the trace to. If not set, tracing will be disabled.

  • Type: string
  • Required: No

Detailed documentation link

SimpleScheduler

Dispatch work to a single device in given batch sizes.

batch_size Number of batches to dispatch at once

  • Type: non-negative number
  • Required: Yes
capacity Maximum number of batches that can be dispatched simultaneously, default to batch_size

  • Type: non-negative number
  • Required: No
device device to run on

  • Type: string
  • Required: Yes
trace_file The file to write the trace to. If not set, tracing will be disabled.

  • Type: string
  • Required: No

Detailed documentation link

StaticHybridScheduler

Dispatch work to multiple devices based on provided batch sizes and priorities.

batch_sizes List of batch sizes for each device

  • Type: list of non-negative number
  • Required: Yes
capacities List of capacities for each device, default to batch_sizes

  • Type: list of non-negative number
  • Required: No
devices List of devices to dispatch work to

  • Type: list of Device
  • Required: Yes
priorities List of priorities for each device

  • Type: list of number
  • Required: No
trace_file The file to write the trace to. If not set, tracing will be disabled.

  • Type: string
  • Required: No

Detailed documentation link