mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #282] add caller location for util functions for better error message #341
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#341
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/282
Author: @YouJiacheng
Created: 1/20/2026
Status: 🔄 Open
Base:
main← Head:caller-location-util-assert📝 Commits (1)
dc13359chore: add caller location for util functions for better error message📊 Changes
3 files changed (+39 additions, -31 deletions)
View changed files
📝
CMakeLists.txt(+2 -2)📝
csrc/utils/exception.hpp(+9 -3)📝
csrc/utils/layout.hpp(+28 -26)📄 Description
https://github.com/vllm-project/vllm/issues/32647
RuntimeError: Assertion error (csrc/apis/../jit_kernels/impls/../heuristics/../../utils/layout.hpp:39): t.dim() == Nerror like this is uninformative. this draft improves the error message by adding source location of caller of these util functions.passing location might have performance penalty if compiler doesn't optimize it.
stacktrace libraries will need DWARF debug info to print line number, and they also need addr2line/libbfd or custom parsing logics to work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.