HardwareOptions#
- class nvmolkit.types.HardwareOptions(
- preprocessingThreads: int = -1,
- batchSize: int = -1,
- batchesPerGpu: int = -1,
- gpuIds: Iterable[int] | None = None,
Configures GPU hardware settings for batch operations.
Use this class to control threading and batching behavior for GPU-accelerated workflows such as ETKDG embedding and MMFF optimization.
- Parameters:
preprocessingThreads – Number of CPU threads for preprocessing. Use -1 to auto-detect and use all CPU threads.
batchSize – Number of conformers processed per batch. -1 for default.
batchesPerGpu – Number of batches processed concurrently on each GPU. Use -1 for default.
gpuIds – GPU device IDs to target. Provide an empty list to use all available GPUs.