https://flyte.org logo
#announcements
Title
# announcements
m

Matheus Moreno

05/19/2022, 1:56 PM
Hey, everyone! I'm looking at the new parts of the documentation and wondering if the serialization/registration process changed on 1.x.x. The Getting Started example executes a workflow locally using the default Docker image in the sandbox server, right? But I thought that the code was required to be inside the container so that Flyte could run it. Does pyflyte run an implicit fast serialization? If not, what is it doing? I'm curious because our team wants to use Flyte on production, but I fear that we'll have a lot of very similar Docker images (since we mostly use the same libraries). Having "base" images that we could use on simple tasks/projects would be a life-saver.
k

Kevin Su

05/19/2022, 2:02 PM
Hi Matheus, yes, you’re right. we use fast register by default in pyflyte run, but you can also use image flag
--image
to use custom image.
k

Ketan (kumare3)

05/19/2022, 4:23 PM
cc @Marc Paquette to improve this part of the docs. So @Matheus Moreno we just talked about it in yesterdays sync. please checkout the video. I know it can be a new change. So here is what is happening. pyflyte talks now (using flyteremote) to Flyteadmin to get a signedURL which is bound to the compressed archive of the code. This is where pyflyte uploads the code (we wanted to make things easier for the user) As @Kevin Su suggested you can supply an alternate image, if not, it uses a default image with only flytekit and pandas/numpy installed in it.
👍 1
k

Kevin Su

05/19/2022, 4:25 PM
Here is the video.

https://youtu.be/mJMf94h0LA8

26 Views