Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] RuntimeRrror: Ninja is required to load c++ extensions #2514

Open
2 of 5 tasks
Flynn-Zh opened this issue Dec 19, 2024 · 0 comments
Open
2 of 5 tasks

[Bug] RuntimeRrror: Ninja is required to load c++ extensions #2514

Flynn-Zh opened this issue Dec 19, 2024 · 0 comments

Comments

@Flynn-Zh
Copy link

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

use pip install sglang[all], when i run "python3 -m sglang.launch_server ...", An error occurred: "RuntimeRrror: Ninja is required to load c++ extensions"
the sglang is v0.4.0.post1,and the v0.4.0 has same error.
run check_env found CUDA_HOME is None,is CUDA_HOME mandatory?

Reproduction

pip install "sglang[all]" --find-links https://flashinfer.ai/whl/cu121/torch2.4/flashinfer/

Environment

CUDA_HOME: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant