powerful-pager-38150
02/19/2024, 11:09 AMbulky-afternoon-92433
02/19/2024, 12:46 PMself.some_artifact in the steps)
◦ running the flow code with --datastore local --metadata local options should by all means result in similar performance as running your code natively
For the debugging part, any code inside your steps you should be able to debug in the same way as any regular Python. The logs are also timestamped so that should give some clues as to whether the delays are in step code or in the housekeeping that is happening between them.
A more involved approach:
To gain insights on Metaflow internals you could try poking at the provided opentelemetry implementation with f.ex. the console logger:
METAFLOW_CONSOLE_TRACE_ENABLED=1 python helloflow.py --metadata local --datastore local run
this will require some libraries locally, opentelemetry-sdk, opentelemetry-api at least. In order to surface dependency errors you can run with the METAFLOW_DEBUG_TRACING=1 flagpowerful-pager-38150
02/19/2024, 12:49 PM