[build] Sync sglang-kt submodule (v0.6.3)#2055
Merged
Merged
Conversation
acc012a to
e22e13a
Compare
e22e13a to
59f028f
Compare
Two fixes discovered when the workflow finally executed end-to-end on a self-hosted runner for the first time: * ``apt-get update && apt-get install`` runs as the runner OS user (yyj), not root, so it fails with EACCES on the dpkg lock. Replace it with a pre-flight check that the expected system packages (cmake, pkg-config; libhwloc-dev / libnuma-dev are linked into the wheel via auditwheel) are already on PATH. Operators preinstall these once when they provision the runner. * ``pip install build wheel setuptools torch --index-url https://download.pytorch.org/whl/cu128`` pinned the *sole* index to PyTorch's; ``build``/``wheel``/``setuptools`` aren't there and the install failed with "No matching distribution". Split into two pip calls so PyPI (or the operator's configured PIP_INDEX_URL mirror) keeps serving the build toolchain.
Self-hosted runners often have a tight system disk (the qj5090 runner this is being validated against had ~300MB free on /), so unpacking a ~11MB wheel (with six ~6MB .so variants) into /tmp produced a truncated extraction and an opaque "Dynamic cudart found" error. Use $RUNNER_TEMP which Actions wires to /mnt (or wherever the operator points TMPDIR) and falls back to /tmp on hosted runners that don't suffer the same constraint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated sync of
third_party/sglangsubmodule to latestmain.Old ref:
8b636f9008dbad58c0a8e481b03e794739e6c146New ref:
5d6bef9f61637aaeaf047bf8209def2af3eaa83fsglang-kt version:
0.6.3Commits included
This PR was created automatically by the sync-sglang-submodule workflow.