https://flyte.org logo
Title
a

Ahmad Islam

05/01/2022, 6:47 PM
Raw containers cannot be run locally at the moment.
What does this statement mean? So, even if I have local images, I am unable to implement Flyte on them?
Referring to this file, how to run this file locally?
k

Kevin Su

05/02/2022, 12:34 AM
We will skip the raw container task if running locally, and the output of raw container is always None. https://github.com/flyteorg/flytekit/blob/386626356ff2cb810733a29a51cf3d6351c8424d/flytekit/core/container_task.py#L72-L81
b

Bernhard Stadlbauer

05/03/2022, 6:16 AM
Thank you @Kevin Su! I've upgraded and everything works as expected now 🙂 In case anyone else attempts this, I had to change the image repository for
flyteadmin
from cr.flyte.org/flyteorg/flyteadmin-release to ghcr.io/flyteorg/flyteadmin for this to work
a

Ahmad Islam

05/05/2022, 6:32 PM
So, where do I run
raw_container.py
to see at least how can I achieve it for custom containers. I am unable to see the output of demo example.
k

Kevin Su

05/06/2022, 12:56 AM
Start a sandbox, and use pyflyte to run this workflow in the flyte cluster.
pyflyte run --remote raw_container wf --a 2 --b 2