Skip to content

cuda

Repo box/github.com/opencharly/layer-cuda:v2026.329.2022

CUDA toolkit (nvcc, cudart, cuDNN, onnxruntime) stitched into the canonical /usr layout on Arch/CachyOS Installs the CUDA compiler driver (nvcc), the CUDA runtime/dev libraries (cudart, nvrtc, cupti, curand, cccl, cufile), cuDNN, and onnxruntime. The packages install under /opt/cuda; the post-install tasks symlink the /opt/cuda binaries, headers, and libs into the same /usr-rooted paths, so every downstream GPU consumer compiles against one layout regardless of distro. Each artifact is a real file or library on disk, so its presence is directly verifiable.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run install the CUDA toolkit driver-free — opencl-nvidia is satisfied at runtime by the CDI-injected driver
run stitch the Arch /opt/cuda toolkit into the canonical /usr layout — binaries, headers with their subtrees, and libraries
run assert the toolkit install baked NO driver user-space — libraries, binaries and trees
check the nvcc CUDA compiler driver is on the canonical /usr path
check nvcc reports its CUDA compilation-tools release
check the cuDNN header is available at /usr/include regardless of distro
check a CUDA translation unit COMPILES AND LINKS against the stitched /usr layout (Arch: the header subtrees are linked, not only the top-level files)
check the CUDA runtime library is linkable from the canonical /usr/lib64 path
agent-check downstream GPU layers (llama-cpp, vllm, comfyui, jupyter-ml) compile against the same /usr-rooted CUDA layout on Arch/CachyOS
check package=cuda-cudart-devel
check command=ls /usr/include/cudnn.h
check package=onnxruntime