mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[PR #2172] [CLOSED] setup: install the CUDA Toolkit on Debian 12/13 too, not Ubuntu only #3900
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3900
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/Niko1221/Strata/pull/2172
Author: @gabrielpopa
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:setup-debian-toolkit📝 Commits (1)
a5a9787setup: install the CUDA Toolkit on Debian 12/13 too, not Ubuntu only📊 Changes
5 files changed (+104 additions, -8 deletions)
View changed files
📝
docs/AI_SETUP.md(+1 -1)📝
docs/DETAILS.md(+1 -1)📝
docs/INSTALL.md(+1 -1)📝
setup.py(+16 -5)➕
tools/test_setup_cuda_repo.py(+85 -0)📄 Description
The CUDA apt repo keyring and cuda-toolkit-13-x packages exist for debian12/debian13 as well as ubuntu2204/ubuntu2404, so derive the repo name from /etc/os-release instead of hardcoding ubuntu. Debian 13's repo carries no cuda-toolkit-13-0, so try 13-0..13-5 in order (Ubuntu still gets 13-0 first, same as before).
Checked with tools/test_setup_cuda_repo.py (4 tests, no GPU or network needed): repo mapping for ubuntu/debian/other and the minor-version fallback.
Title
Issue: Resolves #
Summary
What changed
Extra Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.