MCSConfig#
- class nvmolkit.mcs.MCSConfig(
- batchSize: int = 0,
- workerThreads: int = -1,
- preprocessingThreads: int = -1,
- executorsPerRunner: int = -1,
- gpuIds: Sequence[int] | None = None,
Configuration for GPU MCS execution.
- Parameters:
batchSize – Optional GPU batch chunk size.
0processes each nonempty size tier as one chunk.workerThreads – GPU runner threads per GPU.
-1autoselects.preprocessingThreads – CPU threads for pair preprocessing.
-1autoselects.executorsPerRunner – Number of asynchronous GPU executor streams used for chunked fMCS tier dispatch.
-1autoselects.gpuIds – GPU device IDs to use.
Noneor empty uses the current device only, not all available devices.