ray.data.llm.Processor.get_stage_by_name#

Processor.get_stage_by_name(name: str) StatefulStage[source]#

Get a particular stage by its name. If the stage is not found, a ValueError will be raised.

Parameters:

name – The stage name.

Returns:

The pipeline stage.