New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
j
New RunLLM response generated: >>>*# Question* Hi Flyte community. Is there a way to create launch plans outside a Py binary (using Flytectl)? From the documentation, it seems that you can use flytectl to activate/deactivate launch plans but you cannot define new launch plans as the API for defining a new launch plan requires a reference to the workflow Py function. We are interested in a set up where you define your task and workflows in Python by detach that from setting up launch plans. For example, have an automated system parse a YAML file that describes the desired launch plans and then uses flytectl to create LPs without the need to have depend on the Py code of the workflow. Is that possible? # Answer Creating launch plans directly using
flytectl
is not currently supported. The
flytectl
tool can activate or deactivate existing launch plans but does not support creating new launch plans from scratch. The creation of launch plans typically requires a reference to the workflow Python function, which is not feasible through
flytectl
alone. According to this GitHub issue, there is a feature request to add the ability to create launch plans via
flytectl
, but it has not been implemented yet. For now, you would need to define your launch plans in Python and register them using the Flyte SDK. Would you like more details on how to define and register launch plans using the Flyte SDK? Sources: - GitHub Issue: Create Launch plan command - Flyte discussion on dynamic launch plans Slack Link https://.slack.com/archives/CP2HDHKE1/p1728588505.364709 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.