Skip to content

Revert "ggml-cuda: use CMAKE_CUDA_ARCHITECTURES if set when GGML_NATI…#18426

Merged
am17an merged 1 commit intoggml-org:masterfrom
am17an:cuda-revert-18314
Dec 28, 2025
Merged

Revert "ggml-cuda: use CMAKE_CUDA_ARCHITECTURES if set when GGML_NATI…#18426
am17an merged 1 commit intoggml-org:masterfrom
am17an:cuda-revert-18314

Conversation

@am17an
Copy link
Contributor

@am17an am17an commented Dec 28, 2025

…VE=ON (#18413)"

This reverts commit 4fd59e8.

The reason is that fix is only for the Docker builds without GPU and breaks all native builds otherwise. We also cannot allow users to specify 120-real and expect compilation to work at the moment. For Docker builds without GPU the correct way would be to build without GGML_NATIVE

@github-actions github-actions bot added Nvidia GPU Issues specific to Nvidia GPUs ggml changes relating to the ggml tensor library for machine learning labels Dec 28, 2025
@JohannesGaessler
Copy link
Contributor

Maybe I should have clarified in the other PR: I used the phrasing "should be correct" because at the time that I wrote it I only did static code analysis but without testing whether the PR is accidentally breaking anything.

@am17an am17an merged commit 07a0c4b into ggml-org:master Dec 28, 2025
69 of 71 checks passed
@am17an am17an deleted the cuda-revert-18314 branch December 28, 2025 12:53
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning Nvidia GPU Issues specific to Nvidia GPUs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants