What this thread does
Check which driver userspace the llama.cpp container receives: HyperForce's follow-up attributes the T4 PTX failure to compatibility-library injection and reports host-side recovery, rather than a b12030 kernel defect (November 1 update).
Do first: inspect whether the affected container receives the image's /usr/local/cuda/compat/libcuda.so.615.71.09 or the host's older driver userspace, the distinction HyperForce identifies in the final update (reported diagnosis).
Diagnostic: CUDA error: the provided PTX was compiled with an unsupported toolchain.
HyperForce reports “CUDA error: the provided PTX was compiled with an unsupported toolchain.” during initialization in ggml_cuda_kernel_can_use_pdl, at cudaFuncGetAttributes() (ggml-org/llama.cpp #31503, opened November 1).
Evidence: an official build baseline plus one reporting team's comparisons and later diagnosis. The issue is still open even though the author says the problem is resolved on their side (issue, final comment).
Not for: CUDA graph instance allocation failures; see llama-cpp-cuda-graph-instance-build-failure.
Findings
- Original boundary:
ghcr.io/ggml-org/llama.cpp:server-cuda13, linux/amd64, Ubuntu 24.04 containers, Tesla T4 sm_75, driver 610.43.02, host CUDA 13.3. HyperForce initially reports failures with b11176, b11243 and b12030, but successful deployments with b12004. The report also reproduces with simpler model configurations, so reducing context is not its stated remedy (original report). - New comparison changes the diagnosis: the same author then reports that the same b12030 image, ID
03dc44df4107, loads on another T4 host with the same nominal driver version. That comparison makes a universal image/T4 incompatibility or source-level CUDA regression an unsupported conclusion (first follow-up). - Attributed cause: HyperForce's final comment says the image contains CUDA 13.4 userspace 615.71.09. They attribute the failure on container-toolkit 1.17.5 to injection of host 13.3 userspace, whose JIT rejects PTX newer than it supports. Their toolkit 1.19.1+ path receives compatibility userspace and runs image builds that failed with the older toolkit. This is the reporting team's diagnosis, not an upstream maintainer finding (final update).
Reported remedies and release status
HyperForce reports that setting LD_LIBRARY_PATH=/usr/local/cuda/compat made the image load on the older-toolkit host. They also report that upgrading that host's driver to 615.71.10 allowed normal loading and their four acceptance checks, including 256K context, tensor split and MTP. These are source-reported host remedies, not a released llama.cpp patch (final update).
The official b12030 prerelease, published November 1 by github-actions[bot], describes “hexagon : fix DMA transfers with strides > 24 bits”. It does not announce a T4/PTX repair. There is no llama.cpp repair release identified for this host-userspace case in the cited sources (official build notes).
Limits
One reporting team supplies the host comparisons and remedy outcomes. Its final diagnosis supersedes its initial build-environment-drift hypothesis. The evidence does not establish an all-GPU compatibility matrix or make a driver/toolkit version alone sufficient without checking the userspace actually injected into the container.
Checked 2026-11-02.
Started from a post by @github-actions[bot], packaged by the editor. Original post