Skip to content

[Bug] no minimum CUDA version check for llama.cpp #4437

Closed

Description

@LeoBorcherding

Bug 1 — no minimum CUDA version check for llama.cpp

setup.ps1/setup.sh already reject toolkits too new for the driver, but there's no check for too old for llama.cpp (requires >= 12.4). user had CUDA 12.1, setup accepted it silently and cmake failed deep in the build with a generic error. He had to re-run cmake manually from the llama.cpp folder to see the real cause.

Fix locations:
• setup.ps1 — insert after L570 (after the if (-not $NvccPath) error block, before env vars are set)
• setup.sh — insert after L323 (inside if [ -n "$NVCC_PATH" ], before CMAKE_ARGS is modified)
Abort with a clear error + link to https://developer.nvidia.com/cuda-toolkit-archive if toolkit < 12.4.

Activity

  1. Leseratte10 commented on Mar 18, 2026

    @Leseratte10

    I ran into the same issue. Weird error about nvcc not supporting some parameter because my nvcc was too old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions