Registration is open for TensorFlow Dev Summit 2020 Learn more

tfx.orchestration.config.config_utils.find_component_launch_info

View source on GitHub

Find a launcher and component config to launch the component.

tfx.orchestration.config.config_utils.find_component_launch_info(
    p_config,
    component
)

The default lookup logic goes through the supported_launcher_classes in sequence for each config from the default_component_configs. User can override a single component setting by component_config_overrides. The method returns the first component config and launcher which together can launch the executor_spec of the component. Subclass may customize the logic by overriding the method.

Args:

  • p_config: the pipeline config.
  • component: the component to launch.

Returns:

The found tuple of component launcher class and the compatible component config.

Raises:

  • RuntimeError: if no supported launcher is found.