noether.core.configs.static =========================== .. py:module:: noether.core.configs.static Attributes ---------- .. autoapisummary:: noether.core.configs.static.MASTER_PORT Classes ------- .. autoapisummary:: noether.core.configs.static.StaticConfig Module Contents --------------- .. py:data:: MASTER_PORT :value: 'MASTER_PORT' .. py:class:: StaticConfig(config) Loads and provides access to static runtime settings. .. py:attribute:: ALLOWED_KEYS :type: frozenset[str] .. py:method:: from_uri(uri) :staticmethod: A helper function to construct a StaticConfig from a URI. :param uri: Input URI of the config path to load. :returns: - An instance of StaticConfig. .. py:property:: output_path :type: pathlib.Path Base output directory for logs, checkpoints, etc. .. py:property:: global_dataset_paths :type: collections.abc.Mapping[str, pathlib.Path] Mapping of dataset keys to global paths. .. py:property:: local_dataset_path :type: pathlib.Path | None Optional local dataset staging directory. .. py:property:: data_source_modes :type: collections.abc.Mapping[str, str] Data source mode per dataset ("global" or "local"). .. py:property:: default_cudnn_benchmark :type: bool Whether to enable cuDNN benchmark mode by default. .. py:property:: default_cudnn_deterministic :type: bool Whether to enforce deterministic cuDNN behavior by default. .. py:property:: master_port :type: int Port number for distributed master node, from environment or config. .. py:method:: log() Log the static configuration to the logger.