Skip to content

Use cudaforge for kernel build#3346

Merged
EricLBuehler merged 4 commits intohuggingface:mainfrom
guoqingbao:upstream
Feb 10, 2026
Merged

Use cudaforge for kernel build#3346
EricLBuehler merged 4 commits intohuggingface:mainfrom
guoqingbao:upstream

Conversation

@guoqingbao
Copy link
Contributor

This PR switches Candle’s CUDA kernel build system to use the new cudaforge crate.

cudaforge provides incremental kernel builds, automatic CUDA/compute capability detection, parallel compilation, and built-in CUTLASS repo fetching with automatic include setup. This reduces rebuild times and simplifies CUDA environment handling.

@guoqingbao
Copy link
Contributor Author

@ivarflakstad Could you help review this PR?

Copy link
Member

@EricLBuehler EricLBuehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Thank you @guoqingbao!

@EricLBuehler EricLBuehler merged commit c3bb5bf into huggingface:main Feb 10, 2026
11 checks passed
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.

2 participants