morpheus.config.CppConfig

class CppConfig[source]

Bases: object

Allows setting whether C++ implementations should be used for Morpheus stages and messages. Defaults to True, meaning C++ should be used where an implementation is available. Can be set to False to use Python implementations. This can be useful for debugging but C++ should be preferred for performance.

Methods

get_should_use_cpp() Gets the global option for whether to use C++ node and message types or otherwise prefer Python.
set_should_use_cpp(value) Sets the global option for whether to use C++ node and message types or otherwise prefer Python.
static get_should_use_cpp()[source]

Gets the global option for whether to use C++ node and message types or otherwise prefer Python.

static set_should_use_cpp(value)[source]

Sets the global option for whether to use C++ node and message types or otherwise prefer Python.

Previous morpheus.config.ConfigOnnxToTRT
Next morpheus.config.PipelineModes
© Copyright 2023, NVIDIA. Last updated on Feb 2, 2024.