config

Global configuration options for Tripy.

nvtripy.config.timing_cache_file_path: str

Path to a timing cache file that can be used to speed up compilation time.

nvtripy.config.enable_dtype_checking: bool = True

Whether to enable data type checking in API functions.

nvtripy.config.extra_error_information: List[str] = ['']

Extra error information to include in exceptions raised by Tripy.

In the future, this will be expanded to include more fine-grained control over extra information. For now, the supported values are: - “all”: Include all available extra error information.

This can be set via the environment variable TRIPY_EXTRA_ERROR_INFORMATION. For example: export TRIPY_EXTRA_ERROR_INFORMATION=all.