Broder Peters
01/24/2024, 10:27 AMpyflyte register
?pyflyte package
and flytectl register files
in two independent steps to the combined pyflyte register
but the environment resources where the command is executed stayed the same.Running command pyflyte register -p myproject -d mydomain --image myimage:latest --activate-launchplans launch_plan.py
Running pyflyte register from /codebuild/[...] with images ImageConfig(default_image=Image(name='default', fqn='myimage', tag='latest'), images=[Image(name='default', fqn='myimage', tag='latest')]) and image destination folder /root on 1 package(s) ('/codebuild/[...]/launch_plan.py',)
Registering against flyte.something.com
Detected Root /codebuild/[...], using this to create deployable package...
No output path provided, using a temporary directory at /tmp/tmpxnksaw06 instead
Failed with Unknown Exception <class 'MemoryError'> Reason:
pyflyte register
locally has also "attacked" my local memory quite aggressively (total of 16GB, running on linux for that matter) causing my laptop to slow down.Broder Peters
01/24/2024, 10:58 AMnon-fast
helps in my case.
I should read up on this to understand the fast pattern betterBroder Peters
01/24/2024, 12:40 PM