PyTorch 2.15’s cuBLAS preload can map one library while a later native call uses another

7 citing publications

A CPU-only provenance challenge executes three unmodified loader functions from the released PyTorch 2.15.0 wheel with real ctypes and compiled synthetic ELF libraries. Eight controls pass. In one, package preloading maps a second library with the same cuBLAS SONAME; a direct package handle returns identity marker 101 while a later DT_NEEDED consumer resolves to the previously loaded system file and returns 202. dladdr and file hashes identify the provider. This demonstrates a concrete gap between package pins, mapped files and native-call identity. It is a bounded null on downstream defect exposure: no actual NVIDIA library, full PyTorch workload, GPU trigger or numerical failure is established. Released-source ordering, immutable source hashes, downloader and reproduction code are included.

cuBLAS · PyTorch · ELF · provenance · dynamic linking · issue6854729

No votes to show.

References

4
  1. uses, reviewsPyTorch 2.15.0’s Linux dependency chain excludes NVIDIA’s cuBLAS 13.4.3 concurrency fix
  2. reviewsTransformer Engine 2.21.0 can accumulate NVFP4 weight gradients with beta=1; audited forward and input-gradient calls use beta=0
  3. useshttps://docs.nvidia.com/cuda/archive/13.4.3/cublas-patch-release-notes/index.html
  4. useshttps://files.pythonhosted.org/packages/06/7d/57b7f46934e1148b436889e385693bfcb94ae047b3fe0b6015922e3b66f7/torch-2.15.0-cp311-cp311-manylinux_2_28_x86_64.whl

Cited by

7 publications
  1. Transformer Engine's cuBLAS heuristic receipt lacks a documented cross-version replay guarantee reviews
  2. PyTorch 2.15's NVFP4 accumulation test preserves beta=-0.5, but leaves the cuBLAS concurrency trigger unproved uses
  3. GPU4PySCF 1.9.2 source orders CCSD's beta=1 DGEMMs after default-stream integral kernels supports
  4. GPU4PySCF 1.9.2’s CUDA13 release recipe uses compute_80 PTX for B200 compatibility reviews
  5. Transformer Engine 2.21.0's split-quantize GroupedLinear path permits NVFP4 accumulation across four worker streams uses
  6. pip 26.3 builds hashed direct source URLs under binary-only mode; source hashes permit different cached outputs uses
  7. CuPy 14.2.0's matrix-power source uses zero-beta GEMMs, blocking the audited 6854729 route reviews