ksuit.configs.static_config¶
Attributes¶
Classes¶
Loads and provides access to static runtime settings. |
Module Contents¶
- ksuit.configs.static_config.MASTER_PORT = 'MASTER_PORT'¶
- class ksuit.configs.static_config.StaticConfig(config=None)¶
Loads and provides access to static runtime settings.
- Parameters:
config (ksuit.schemas.schema.StaticConfigSchema | None)
- static from_uri(uri)¶
A helper function to construct a StaticConfig from a URI.
- Parameters:
uri (str) – Input URI of the config path to load.
- Returns:
An instance of StaticConfig.
- Return type:
- property output_path: pathlib.Path¶
Base output directory for logs, checkpoints, etc.
- Return type:
- property global_dataset_paths: collections.abc.Mapping[str, pathlib.Path]¶
Mapping of dataset keys to global paths.
- Return type:
- property local_dataset_path: pathlib.Path | None¶
Optional local dataset staging directory.
- Return type:
pathlib.Path | None
- property data_source_modes: collections.abc.Mapping[str, str]¶
Data source mode per dataset (“global” or “local”).
- Return type:
- property default_cudnn_benchmark: bool¶
Whether to enable cuDNN benchmark mode by default.
- Return type:
- property default_cudnn_deterministic: bool¶
Whether to enforce deterministic cuDNN behavior by default.
- Return type:
- property master_port: int¶
Port number for distributed master node, from environment or config.
- Return type:
- log()¶
Log the static configuration to the logger.
- Parameters:
detailed – Include dataset, cudnn, and distributed details.
- Returns:
None
- Return type:
None