Getting Started

Installation

From PyPI

pip install ray-zerocopy

From Source

git clone https://github.com/yourusername/ray-zerocopy.git
cd ray-zerocopy
pip install -e .

Requirements

  • Python 3.11+

  • PyTorch 2.0+

  • Ray 2.43+

  • NumPy

Quick Start

Task Mode (Ad-hoc Inference)

from ray_zerocopy import ModelWrapper

model = YourModel()
model.eval()
wrapped = ModelWrapper.for_tasks(model)

# Use immediately
result = wrapped(data)

Next Steps