verl icon indicating copy to clipboard operation
verl copied to clipboard

The actor is dead because its worker process has died. when use sglang

Open zhaichenhao1889 opened this issue 8 months ago • 3 comments

aiohappyeyeballs 2.6.1 aiohttp 3.13.3 aiohttp-cors 0.8.1 aiosignal 1.4.0 airportsdata 20260304 annotated-doc 0.0.4 annotated-types 0.7.0 anthropic 0.71.0 antlr4-python3-runtime 4.9.3 anyio 4.12.1 apache-tvm-ffi 0.1.9 astor 0.8.1 asttokens 3.0.1 async-timeout 5.0.1 attrs 25.4.0 av 16.1.0 blake3 1.0.8 blobfile 3.0.0 build 1.4.0 cachetools 7.0.5 cbor2 5.8.0 certifi 2026.2.25 cffi 2.0.0 cfgv 3.5.0 charset-normalizer 3.4.5 click 8.3.1 cloudpickle 3.1.2 codetiming 1.4.0 colorful 0.5.8 compressed-tensors 0.13.0 cryptography 46.0.5 cuda-bindings 12.9.6 cuda-pathfinder 1.4.2 cuda-python 12.9.0 cupy-cuda12x 14.0.1 datasets 4.7.0 decorator 5.2.1 decord 0.6.0 decord2 3.0.0 depyf 0.20.0 dictdiffer 0.9.1.dev3+dirty dill 0.4.0 diskcache 5.6.3 distlib 0.4.0 distro 1.9.0 dnspython 2.8.0 docstring_parser 0.17.0 einops 0.8.2 email-validator 2.3.0 exceptiongroup 1.3.1 executing 2.2.1 fastapi 0.135.1 fastapi-cli 0.0.24 fastapi-cloud-cli 0.14.1 fastar 0.8.0 filelock 3.25.2 flashinfer-cubin 0.6.1 flashinfer-python 0.5.3 frozendict 2.4.7 frozenlist 1.8.0 fsspec 2026.2.0 gguf 0.18.0 gitdb 4.0.12 GitPython 3.1.46 google-api-core 2.30.0 google-auth 2.49.0 googleapis-common-protos 1.73.0 grpcio 1.76.0 grpcio-health-checking 1.75.1 grpcio-reflection 1.76.0 grpcio-tools 1.75.1 h11 0.16.0 hf_transfer 0.1.9 hf-xet 1.4.0 hjson 3.1.0 httpcore 1.0.9 httptools 0.7.1 httpx 0.28.1 httpx-sse 0.4.3 huggingface_hub 0.36.2 hydra-core 1.3.2 identify 2.6.17 idna 3.11 ijson 3.5.0 importlib_metadata 8.7.1 iniconfig 2.3.0 interegular 0.3.3 ipython 8.38.0 jedi 0.19.2 Jinja2 3.1.6 jiter 0.13.0 jmespath 1.1.0 jsonschema 4.26.0 jsonschema-specifications 2025.9.1 lark 1.2.2 liger_kernel 0.7.0 llguidance 1.3.0 llvmlite 0.44.0 lm-format-enforcer 0.11.3 loguru 0.7.3 lxml 6.0.2 Markdown 3.10.2 markdown-it-py 4.0.0 MarkupSafe 3.0.3 mathruler 0.1.0 matplotlib-inline 0.2.1 mcp 1.26.0 mdurl 0.1.2 mistral_common 1.9.1 model-hosting-container-standards 0.1.13 modelscope 1.34.0 mpmath 1.3.0 msgpack 1.1.2 msgspec 0.20.0 multidict 6.7.1 multiprocess 0.70.18 nest-asyncio 1.6.0 networkx 3.4.2 ninja 1.13.0 nodeenv 1.10.0 numba 0.61.2 numpy 1.26.4 nvidia-cublas-cu12 12.3.4.1 nvidia-cuda-cupti-cu12 12.8.90 nvidia-cuda-nvrtc-cu12 12.8.93 nvidia-cuda-runtime-cu12 12.8.90 nvidia-cudnn-cu12 9.10.2.21 nvidia-cudnn-frontend 1.19.1 nvidia-cufft-cu12 11.3.3.83 nvidia-cufile-cu12 1.13.1.3 nvidia-curand-cu12 10.3.9.90 nvidia-cusolver-cu12 11.7.3.90 nvidia-cusparse-cu12 12.5.8.93 nvidia-cusparselt-cu12 0.7.1 nvidia-cutlass-dsl 4.3.4 nvidia-cutlass-dsl-libs-base 4.4.1 nvidia-ml-py 13.590.48 nvidia-nccl-cu12 2.27.5 nvidia-nvjitlink-cu12 12.8.93 nvidia-nvshmem-cu12 3.3.20 nvidia-nvtx-cu12 12.8.90 omegaconf 2.3.0 openai 2.6.1 openai-harmony 0.0.4 opencensus 0.11.4 opencensus-context 0.1.3 opencv-fixer 0.2.5 opencv-python 4.13.0.92 opencv-python-headless 4.13.0.92 opentelemetry-api 1.40.0 opentelemetry-exporter-prometheus 0.61b0 opentelemetry-proto 1.40.0 opentelemetry-sdk 1.40.0 opentelemetry-semantic-conventions 0.61b0 optree 0.19.0 orjson 3.11.7 outlines 0.1.11 outlines_core 0.2.11 packaging 26.0 pandas 2.3.3 parso 0.8.6 partial-json-parser 0.2.1.1.post7 peft 0.18.1 pexpect 4.9.0 pillow 12.1.1 pip 26.0.1 platformdirs 4.9.4 pluggy 1.6.0 pre_commit 4.5.1 prometheus_client 0.24.1 prometheus-fastapi-instrumentator 7.1.0 prompt_toolkit 3.0.52 propcache 0.4.1 proto-plus 1.27.1 protobuf 6.33.5 psutil 7.2.2 ptyprocess 0.7.0 pure_eval 0.2.3 py-cpuinfo 9.0.0 py-spy 0.4.1 pyarrow 23.0.1 pyasn1 0.6.2 pyasn1_modules 0.4.2 pybase64 1.4.3 pybind11 3.0.2 pycountry 26.2.16 pycparser 3.0 pycryptodomex 3.23.0 pydantic 2.12.5 pydantic_core 2.41.5 pydantic-extra-types 2.11.0 pydantic-settings 2.13.1 Pygments 2.19.2 PyJWT 2.11.0 pylatexenc 2.10 pynvml 13.0.1 pyproject_hooks 1.2.0 pytest 9.0.2 python-dateutil 2.9.0.post0 python-discovery 1.1.2 python-dotenv 1.2.2 python-json-logger 4.0.0 python-multipart 0.0.22 pytz 2026.1.post1 pyvers 0.1.0 PyYAML 6.0.3 pyzmq 27.1.0 quack-kernels 0.2.4 qwen-vl-utils 0.0.14 ray 2.54.0 referencing 0.37.0 regex 2026.2.28 requests 2.32.5 rich 14.3.3 rich-toolkit 0.19.7 rignore 0.7.6 rpds-py 0.30.0 rsa 4.9.1 ruff 0.15.5 safetensors 0.7.0 scipy 1.15.3 sentencepiece 0.2.1 sentry-sdk 2.54.0 setproctitle 1.3.7 setuptools 82.0.1 sgl-kernel 0.3.21 sglang 0.5.8 shellingham 1.5.4 six 1.17.0 smart_open 7.5.1 smg-grpc-proto 0.4.2 smmap 5.0.3 sniffio 1.3.1 soundfile 0.13.1 soxr 1.0.0 sse-starlette 3.3.2 stack-data 0.6.3 starlette 0.52.1 supervisor 4.3.0 sympy 1.14.0 tabulate 0.10.0 tensorboard 2.20.0 tensorboard-data-server 0.7.2 tensordict 0.10.0 tiktoken 0.12.0 timm 1.0.16 tokenizers 0.22.2 tomli 2.4.0 torch 2.9.1 torch_c_dlpack_ext 0.1.5 torch_memory_saver 0.0.9 torchao 0.9.0 torchaudio 2.9.1 torchcodec 0.8.0 torchdata 0.11.0 torchvision 0.24.1 tqdm 4.67.3 traitlets 5.14.3 transformers 4.57.1 triton 3.5.1 typer 0.24.1 typing_extensions 4.15.0 typing-inspection 0.4.2 tzdata 2025.3 urllib3 2.6.3 uvicorn 0.41.0 uvloop 0.22.1 verl 0.8.0.dev0 virtualenv 21.2.0 vllm 0.14.0 wandb 0.25.0 watchfiles 1.1.1 wcwidth 0.6.0 websockets 16.0 Werkzeug 3.1.6 wheel 0.46.3 wrapt 2.1.2 xformers 0.0.32.post1 xgrammar 0.1.29 xxhash 3.6.0 yarl 1.23.0 zipp 3.23.0

Expected behavior

solve the problem

zhaichenhao1889 avatar Mar 15 '26 10:03 zhaichenhao1889

This is an OOM issue during reference model initialization. The error shows the actor died during init_model() for the reference policy worker.

Suggestions:

  1. Reduce gpu_memory_utilization from 0.3 to 0.2
  2. Enable ref.fsdp_config.param_offload=True (already set, good)
  3. Reduce max_model_len from 8192 to 4096 temporarily
  4. Check if actor_rollout_ref.model.use_remove_padding=False is necessary - setting to True can save memory

Also, sglang 0.5.8 may have higher memory overhead than vLLM. Consider testing with vLLM backend to isolate the issue.

Kirrito-k423 avatar Mar 17 '26 09:03 Kirrito-k423

This is an OOM issue during reference model initialization. The error shows the actor died during init_model() for the reference policy worker.

Suggestions:

  1. Reduce gpu_memory_utilization from 0.3 to 0.2
  2. Enable ref.fsdp_config.param_offload=True (already set, good)
  3. Reduce max_model_len from 8192 to 4096 temporarily
  4. Check if actor_rollout_ref.model.use_remove_padding=False is necessary - setting to True can save memory

Also, sglang 0.5.8 may have higher memory overhead than vLLM. Consider testing with vLLM backend to isolate the issue.

when i use sglang 0.5.2 with verl 0.6.1 it works well but sglang0.5.8 with the newst verl the error happen,it seems like the verl version cause the problem.the model and the config is same

zhaichenhao1889 avatar Mar 19 '26 03:03 zhaichenhao1889

This is an OOM issue during reference model initialization. The error shows the actor died during init_model() for the reference policy worker.

Suggestions:

  1. Reduce gpu_memory_utilization from 0.3 to 0.2
  2. Enable ref.fsdp_config.param_offload=True (already set, good)
  3. Reduce max_model_len from 8192 to 4096 temporarily
  4. Check if actor_rollout_ref.model.use_remove_padding=False is necessary - setting to True can save memory

Also, sglang 0.5.8 may have higher memory overhead than vLLM. Consider testing with vLLM backend to isolate the issue.

This is an OOM issue during reference model initialization. The error shows the actor died during init_model() for the reference policy worker.

Suggestions:

  1. Reduce gpu_memory_utilization from 0.3 to 0.2
  2. Enable ref.fsdp_config.param_offload=True (already set, good)
  3. Reduce max_model_len from 8192 to 4096 temporarily
  4. Check if actor_rollout_ref.model.use_remove_padding=False is necessary - setting to True can save memory

Also, sglang 0.5.8 may have higher memory overhead than vLLM. Consider testing with vLLM backend to isolate the issue.

Image

There are many identical errors. Can you help identify the cause?

zhaichenhao1889 avatar Mar 25 '26 03:03 zhaichenhao1889