Skip to content

Conversation

@yurekami
Copy link

Summary

  • Add CUDA include path explicitly to resolve build errors on CUDA 13+ ARM64 systems

Problem

CUDA 13 moved cuda/std/utility and other standard library headers to CCCL (CUDA C++ Core Library). This causes build failures on ARM64 systems with CUDA 13+:

fatal error: cuda/std/utility: No such file or directory

Solution

Add $CUDA_HOME/include to the include directories so the compiler can find CCCL headers.

Test plan

  • Build on CUDA 13+ ARM64 system
  • Verify existing CUDA 12 builds still work

Fixes #121

🤖 Generated with Claude Code

yurekami and others added 2 commits December 26, 2025 01:52
Changed `flash_mla_with_kvcache_sm90` to `flash_mla_with_kvcache`
in get_mla_metadata docstring to match the actual function name.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CUDA 13 moved cuda/std/utility and other standard library headers to
CCCL (CUDA C++ Core Library). This adds the CUDA include path explicitly
to resolve build errors on CUDA 13+ ARM64 systems.

Fixes deepseek-ai#121

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build error on cuda13 arm64

1 participant