gigl.env.pipelines_config#

Functions

get_resource_config

Function call to return a resource config wrapper object Usage: resource_config = get_resource_config() print(resource_config.trainer_config) Args: resource_config_uri: Optional[Uri] = None The URI of the resource config file. If None, the function will try to load the resource config from the command-line argument --resource_config_uri or the environment variable RESOURCE_CONFIG_PATH. If these are not set, the function will try to load the resource config from the pipeline options.

is_resource_config_loaded

Checks if the resource config has been loaded.