Is there a way, in a task, to make a deck appear i...
# ask-the-community
f
Is there a way, in a task, to make a deck appear in the Flyte console before the task has finished? And potentially update it several times as training progresses?
k
Not today
f
That would be super cool!
f
@Niels Bantilan in your eager mode demo you listed the tasks that were executed as subtasks. Did this list appear after the eager task was done or have you figured out a way to continuously update the deck?
k
After. The reason is it assembled in the end
n
yeah, would be awesome to render flyte decks during the execution of a task… another RFC? 😃
k
Does anyone have an idea how to? Without overwriting the decks file?
k
For now, deck is only persisted after task completes. how about
Copy code
@task(disable_deck=True)
def t1(epoch: int) -> int:
    for i in range(epoch):
        tf.train(...)
        flytekit.Deck.persist()
    return b
@Ketan (kumare3) why can’t we overwrite the deck file?
k
You are right most blob stores are strongly consistent now, so we can
f
flytekit.Deck.persist()
this would be super cool.
101 Views