Skip to content

[core][gpu-objects] Ability to register custom types for GPU data #52340

@stephanie-wang

Description

@stephanie-wang

Description

When Ray actors return data, Ray serialization extracts all torch.Tensors and stores them in an "in-actor object store", avoiding serialization in the Ray shared-memory object store. Currently, this PoC only works for torch.Tensors. Ideally, we should support users passing different data types such as torch.TensorDict or JAX arrays.

Use case

No response

Metadata

Metadata

Assignees

Labels

P1Issue that should be fixed within a few weekscommunity-backlogcoreIssues that should be addressed in Ray CoreenhancementRequest for new feature and/or capabilityrdtRay Direct Transport

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions