Eduardo Matus

03/14/2023, 1:45 AM
flyte register only serialize the flyte code. you need to build a docker image with your code (and libraries) to run the workflow

Jimmy Du

03/14/2023, 1:54 AM
Thanks for clarifying, Eduardo. I'll look into registering with a custom image
Would you happen to know why Flyte register is packaging more than just the tasks/workflows (if it's only serializing flyte code)? Atm, it seems to be recursing through all modules and tarring them even if they do not contain files with Flyte annotations

Samhita Alla

03/14/2023, 5:17 AM
Can you share the non-Flyte code it's trying to serialize?
Also Jimmy, I recommend you to take a look at PR.

Jimmy Du

03/14/2023, 5:52 PM
Thank you, Samhita. I cannot share the non-Flyte code, but the PR you've linked helps further clarify fast registration's role in the overall code packaging/deployment process.