Skip to content

Conversation

@nv-tusharma
Copy link
Contributor

@nv-tusharma nv-tusharma commented Aug 5, 2025

Overview:

We are encountering the following issue in CI and during local validation runs with the sglang runtime container:

2025-08-04T22:37:58.555820Z 01O [BASH] /bin/sh: 1: /usr/local/cuda/bin/nvcc: not found

This indicates that the cuda runtime container is missing the nvcc compiler which is a required dependency for sglang to built JIT kernels on the fly. This PR copies over cuda libraries from devel to runtime to ensure that the cuda binaries are the same across both containers. With this change, the CI tests should pass.

Details:

  • Copy cuda libraries from devel to runtime stage in sglang container

Where should the reviewer start?

  • Dockerfile.sglang

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

@nv-tusharma
Copy link
Contributor Author

/ok to test 40ee0a9

@nv-tusharma nv-tusharma merged commit 4e4818f into release/0.4.0 Aug 5, 2025
7 checks passed
@nv-tusharma nv-tusharma deleted the tusharma/0.4.0/add-cuda-libs-sglang branch August 5, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants