Skip to content

ci: add Linux and Windows CUDA builds per compute capability#1

Merged
Phqen1x merged 1 commit into
lemonadefrom
cuda-support
May 31, 2026
Merged

ci: add Linux and Windows CUDA builds per compute capability#1
Phqen1x merged 1 commit into
lemonadefrom
cuda-support

Conversation

@Phqen1x
Copy link
Copy Markdown
Owner

@Phqen1x Phqen1x commented May 31, 2026

Summary

  • Adds ubuntu-latest-cuda job building for sm_75, sm_80, sm_86, sm_89, sm_90, sm_100, sm_120 on Ubuntu 22.04 with CUDA 12.8; bundles cublas runtime libs and patches RPATHs for portable distribution
  • Adds windows-latest-cuda job with the same SM matrix using Jimver/cuda-toolkit@v0.2.22 + MSVC + Ninja Multi-Config
  • Both jobs added to the release job's needs list so CUDA artifacts are included in nightly/manual releases

Modeled after the llama.cpp CUDA CI setup.

Test plan

  • Trigger workflow manually with create_release: false to verify both CUDA jobs build successfully
  • Verify Linux artifacts contain bundled cublas .so libs
  • Verify Windows artifacts are produced in build\bin\Release
  • Trigger with create_release: true to confirm CUDA zips appear in the release assets

🤖 Generated with Claude Code

Adds ubuntu-latest-cuda and windows-latest-cuda jobs covering sm_75
through sm_120, modeled after the llama.cpp CUDA CI. Linux installs
CUDA 12.8 via apt, bundles cublas runtime libs, and patches RPATHs.
Windows uses Jimver/cuda-toolkit@v0.2.22 with MSVC + Ninja Multi-Config.
Both jobs are wired into the release job.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Phqen1x Phqen1x merged commit 80af588 into lemonade May 31, 2026
@Phqen1x Phqen1x deleted the cuda-support branch May 31, 2026 16:00
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.

1 participant