Skip to content

Error about the Async sglang #2366

Closed
Closed
@cxxuser

Description

@cxxuser

The error is:
File "verl-async/verl/workers/rollout/sglang_rollout/async_sglang_server.py", line 80, in generate
return await self.master_worker.generate.remote(prompt_ids, sampling_params, request_id)
File "/opt/conda/envs/py310/lib/python3.10/site-packages/ray/actor.py", line 1549, in getattr
raise AttributeError(
AttributeError: 'ActorHandle' object has no attribute 'generate'

which means that the master_worker doesn't have the 'generate' method. the master_worker is based the ActorRolloutRefWorker. I found that this class does not have this function. Is there something wrong with my config script? This script can be run successfully in older versions, in this old version, the generate function is not defined in the AsyncSglangServer class.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions