Skip to content

fix: Fix Ray source materialization for KubeRay on Kubernetes#6407

Merged
ntkathole merged 1 commit into
feast-dev:masterfrom
ntkathole:ray_fixes_14
May 15, 2026
Merged

fix: Fix Ray source materialization for KubeRay on Kubernetes#6407
ntkathole merged 1 commit into
feast-dev:masterfrom
ntkathole:ray_fixes_14

Conversation

@ntkathole
Copy link
Copy Markdown
Member

What this PR does / why we need it:

When using RaySource with BatchFeatureView in a KubeRay-managed cluster on Kubernetes, materialization fails with multiple issues:

  • auth_token / auth_server are required in kuberay_conf even for in-cluster pods that authenticate via service accounts, making deployment on managed Kubernetes platforms impossible without manual token injection.
  • runtime_env cannot be passed to the Ray client connection, so additional pip dependencies (e.g. datasets, sentence-transformers) needed by Ray workers cannot be specified via configuration — they must be baked into every worker image.
  • HuggingFace Dataset serialization fails in from_huggingface() with AttributeError: 'Dataset' object has no attribute 'to_arrow'. HF Dataset objects are backed by memory-mapped .arrow files which cannot be deserialized on remote Ray workers across the network.
  • datasets package missing from feast[ray] extras, requiring users to manually install it despite RaySource depending on it.

@ntkathole ntkathole self-assigned this May 15, 2026
@ntkathole ntkathole requested a review from a team as a code owner May 15, 2026 03:32
@ntkathole ntkathole force-pushed the ray_fixes_14 branch 2 times, most recently from 2871aea to 3303ed8 Compare May 15, 2026 03:40
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
@ntkathole ntkathole merged commit 7f592a4 into feast-dev:master May 15, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants