class MultiThreadedPlugin[source]
get_mem_multiply()[source]
min_max_cpus()[source]

Sets the bounds on the number of CPUs required by the plugin, such that if bounds=[b1, b2] then b1 is the lower bound and b2 is the upper bound. Set each entry to None if there are no bounds.

min_max_gpus()[source]

Sets the bounds on the number of GPUs required by the plugin, such that if bounds=[b1, b2] then b1 is the lower bound and b2 is the upper bound. Set each entry to None if there are no bounds and to 0 if no GPUs are required.