mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #327] fix: replace numeric_limits::infinity() with literal to fix CUDA 12.8 NVRTC compilation #368
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#368
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/327
Author: @kuishou68
Created: 5/5/2026
Status: 🔄 Open
Base:
main← Head:fix-cuda128-nvrtc-constexpr📝 Commits (1)
f523804fix: replace numeric_limits::infinity() with literal to fix CUDA 12.8 NVRTC compilation📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
deep_gemm/include/deep_gemm/impls/smxx_clean_logits.cuh(+2 -1)📄 Description
Problem
On CUDA 12.8, NVRTC fails to compile
smxx_clean_logits.cuhwith:cuda::std::numeric_limits<T>::infinity()is notconstexprin CUDA 12.8 NVRTC environment.Solution
Replace with raw float literal
-1e38f, which is a true compile-time constant and mathematically equivalent to negative infinity for softmax masking purposes.Testing
Closes #295
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.