type

assignment.Prefer

class Prefer(enum.StrEnum):

Backend preference for :func:`auto_assignment` and :class:`AutoLAP`.

Members

constant

  • AUTOPick the empirically-fastest backend. Currently always CPU LAPJV.
  • CPUForce the CPU LAPJV solver. Same as ``AUTO`` for now.
  • CUDAForce the torchmatch CUDA solver (Munkres/Lawler via AUTO dispatch).

Source: unitrack/assignment/_auto.py:31