You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
来源:sgl-project/sglang#45879 · [Perf] engram: Read host-table rows in address order on GPUs without host page tables 生成: Hop AI(deepseek-v4.1-flash),基线 main @ d0b9d54
由 Hop 自动生成。代码由 AI 依据上游 diff 移植,四维验证通过不代表没有逻辑问题,合并前请人工 code review。
CI States
Latest PR Test (Base): ❌ Missing run-ci label -- add it to run CI tests.
Latest PR Test (Extra): ❌ Run #39951621336
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.
PR title must use "[Type] scope: title" or "[Type] [Hardware] scope: title". Type must be one of: Feat, Fix, Refactor, Perf, Doc, Test, CI, Chore. Scope is required and may be any module or model name, with unrestricted letter case (letters, numbers, dots, underscores, slashes, or hyphens). Hardware is optional; use a single tag without spaces. Use uppercase hardware tags (AMD, NVIDIA, NPU, MI300X), except for exactly these four spellings: Intel, Apple, Huawei, Ascend. Reverts must use GitHub's default format: Revert "original title". Use one space between fields and after the colon, with a non-empty title and no leading or trailing whitespace. Examples: "[Fix] attention: Fix KV cache indexing", "[Feat] qwen3: Add model support", "[Perf] [AMD] flash-attn: Optimize decode performance".
Edit the title; the check reruns on its own.
Lint (run)
Run pre-commit run --all-files locally and push the result. The run log shows any other failing step.
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
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.
借鉴上游改动
来源: sgl-project/sglang#45879 · [Perf] engram: Read host-table rows in address order on GPUs without host page tables
生成: Hop AI(deepseek-v4.1-flash),基线
main@d0b9d54改动说明
在 engram_gather 中新增可选 sort_ids 参数:先对 ids 排序,按地址顺序读取表行,再通过 dst 索引写回原位置,输出逐位一致;未启用时行为完全不变。当前仓库未提供 engram.py 全文,因此仅移植内核侧能力,层侧自动启用逻辑需在具备该文件时另行接入。
文件
python/sglang/kernels/ops/embeddings/engram_gather.py· edit四维验证
运行日志 · 结论:全部通过
评审重点
已知风险
CI States
Latest PR Test (Base): ❌ Missing
run-cilabel -- add it to run CI tests.Latest PR Test (Extra): ❌ Run #39951621336
Latest PR Test (AMD ROCm 10): ➖ No AMD PR run found for this commit.