unsloth/studio/scripts
Daniel Han 6006402fa2 fix(provision): address Codex review (3 P2s on the aarch64 CUDA provisioner)
- find_nvcc now prefers the highest /usr/local/cuda-<ver> toolkit so a stale
  unversioned `cuda` symlink or an older nvcc earlier on PATH can't win and
  rebuild with CUDA 12.x (re-hitting the glibc>=2.41 / Blackwell clash this
  script avoids); falls back to a PATH nvcc only when no versioned toolkit.
- Validate the GPU compute_cap is purely numeric before using it as
  CMAKE_CUDA_ARCHITECTURES: some WSL GPU-PV / driver combos report "N/A",
  which CMake rejects (aborting an otherwise-usable build) instead of letting
  "native" autodetect.
- Gate the native-Linux aarch64 provisioner on _SKIP_GGUF_BUILD: when a non-root
  user declines the sudo prompt (or lacks sudo) for GGUF deps, don't then run a
  provisioner that does its own sudo apt-get installs.
2026-06-19 00:40:19 -07:00
..
provision_llama_cuda.sh fix(provision): address Codex review (3 P2s on the aarch64 CUDA provisioner) 2026-06-19 00:40:19 -07:00