https://flyte.org logo
#ask-the-community
Title
# ask-the-community
g

Gilbert Yang

02/08/2024, 5:58 PM
Hi, Can I please ask a question about fast registration? I use the command
pyflyte --pkgs {wf_info.package} serialize --in-container-config-path {DOCKER_CONFIG_PATH} --image {base_image_url} fast workflows -f {tmp_output} --deref-symlinks
to serialize the pb. My question is, what changes will pick up by this command? Is it the changes which is included within
{wf_info.package}
or
{wf_info.package}
+ all the its dependencies?
s

Samhita Alla

02/12/2024, 4:28 PM
you can use this command before registering and fast-registering, which essentially means flytekit takes into account your dependencies when registering instead of fast registering.
g

Gilbert Yang

02/12/2024, 4:58 PM
Thanks for the reply! Can I ask what do you mean by "instead of fast registering"?
Will fast registering act differently when it comes to serializing pb?
s

Samhita Alla

02/12/2024, 5:11 PM
yes. fast registration leads to "no container build deploys" of flyte workflows.
g

Gilbert Yang

02/12/2024, 5:29 PM
Thanks