Is there a way, in a task, to make a deck appear i...
# flyte-support
c
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?
f
Not today
🙏 1
👍 1
q
That would be super cool!
c
@broad-monitor-993 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?
f
After. The reason is it assembled in the end
☝️ 1
b
yeah, would be awesome to render flyte decks during the execution of a task… another RFC? 😃
f
Does anyone have an idea how to? Without overwriting the decks file?
g
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
@freezing-airport-6809 why can’t we overwrite the deck file?
🙌 1
f
You are right most blob stores are strongly consistent now, so we can
c
flytekit.Deck.persist()
this would be super cool.
157 Views