I have a question about how can I know which runner I’m using in TFX?
For example, if I have to access a local disk, I want to handle it differently in LocalDagRunner and KubeFlowDagRunner. Which information do I have to check, or is there any helper function to access that info?
if this is to choose the right runner, it depends on the environment to run the pipeline, eg:
to run in local, you can use LocalDagRunner,
to run in Google Cloud, you can use KubeflowDagRunner, etc.
If you need to detect the runner in a custom component, one way is to pass in a custom parameter. For example, see how the synthesized_graph is handled in the Neural Structured Learning tutorial.