<#488 Rust-based controller> Pull request opened b...
# flyte-github
a
#488 Rust-based controller Pull request opened by wild-endeavor The first version for rust controller. Following README "Developing the Rust controller" section for development guide. To run examples with rust controller, add
_F_USE_RUST_CONTROLLER=1
env var (e.g.
_F_USE_RUST_CONTROLLER=1 python examples/basics/hello_v2.py
) More changes described in: • #675 Tested following cases: • #675 (comment) • local / remote image builder "without" rust controller enabled • local image builder "with" rust controller enabled (remote image build not supported for now) • #675 (comment) • error raised when enable rust controller but without its wheel in the image • More TODOs listed in: #675 (comment) • Note: we make rust controller (
flyte_controller_base
) an optional dependency.
pip install flyte
does not install it automatically • To use the Rust controller, install with the extra:
pip install flyte[rust-controller]
. • If
_F_USE_RUST_CONTROLLER=1
is set without the extra, image build (default image) or runtime (custom image) will fail fast with a clear error pointing to the install command (see #675 (comment)) flyteorg/flyte-sdk
#488 ctrl-rs wip Pull request ready for review by machichima flyteorg/flyte-sdk