Ahmad Islam

    Ahmad Islam

    4 months ago
    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?
    Kevin Su

    Kevin Su

    4 months ago
    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
    Bernhard Stadlbauer

    Bernhard Stadlbauer

    4 months ago
    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
    Ahmad Islam

    Ahmad Islam

    4 months ago
    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.
    Kevin Su

    Kevin Su

    4 months ago
    Start a sandbox, and use pyflyte to run this workflow in the flyte cluster.
    pyflyte run --remote raw_container wf --a 2 --b 2