Skip to content

[Bug] cuda 12.4 encounter undefined symbol: cuGreenCtxStreamCreate #8131

@yuan-luo

Description

@yuan-luo

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
  • 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
  • 5. Please use English, otherwise it will be closed.

Describe the bug

After rebase the latest sglang, it encountered import error: common_ops.abi3.so: undefined symbol: cuGreenCtxStreamCreate.

Reproduction

sglang commit id: e1020dc

$python ./sgl-kernel/tests/test_per_token_quant_fp8.py
Traceback (most recent call last):
  File "/root/luoyuan.luo/workspace/SGLang/./sgl-kernel/tests/test_per_token_quant_fp8.py", line 6, in <module>
    from sgl_kernel import sgl_per_token_quant_fp8
  File "/opt/conda/lib/python3.10/site-packages/sgl_kernel/__init__.py", line 13, in <module>
    from sgl_kernel import common_ops
ImportError: /opt/conda/lib/python3.10/site-packages/sgl_kernel/common_ops.abi3.so: undefined symbol: cuGreenCtxStreamCreate

Environment

sglang: 0.4.9.post2
cuda: 12.4
torch: 2.7.1

H20

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