Python SDK for CodeFlare, providing high-level abstractions to deploy and manage Ray clusters on Kubernetes, with integrated job submission and resource management. Current version 0.37.0, requires Python >=3.11, <4.0, and is actively maintained with monthly releases.
pip install codeflare-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Ray cluster on Kubernetes, run a remote function, and tear down.
Migrate to Kuberay-based configurations. Remove any AppWrapper references.
Upgrade the Kuberay operator to a compatible version. Ensure Ray image aligns with the SDK's default.
Use only lowercase alphanumeric characters and hyphens; no underscores or uppercase.
Replace any references to codeflare-operator with kuberay in your cluster configuration or environment.
Install the package (pip install codeflare-sdk) and import as 'from codeflare_sdk import Cluster'.
Use a lowercase name with only hyphens and alphanumeric characters, e.g., 'mycluster-1'.
Ensure Kuberay operator is installed and use ClusterConfiguration without AppWrapper-related settings.