New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hi Guys, If I want to create a LaunchPlan remotely, how should I get the workflow object. I am aware that FlyteRemote provides a way to fetch the workflow but fetch_workflow function returns a FlyteWorkflow object whereas to create a LaunchPlan we need WorkflowBase class object. If someone has already implemented something of a similar sort, please help with the approach followed. # Answer To create a
LaunchPlan
remotely, you need a
WorkflowBase
object, but
FlyteRemote.fetch_workflow
returns a
FlyteWorkflow
object, which is not directly compatible. This is a known issue and has been discussed in the community and GitHub issues. According to this discussion, the
fetch_workflow
method returns a
FlyteWorkflow
object, which lacks the necessary attributes for creating a
LaunchPlan
. This issue is also documented in GitHub Issue #2977. Would you like more details on potential workarounds or alternative approaches? Sources: - this discussion - GitHub Issue #2977 Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1718140081.634229 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.