unsloth/tests/sh
Eda Z 7fa0192bb0 Add ROCm detection to install.sh and expand shell tests
Add AMD ROCm GPU detection to get_torch_index_url() in install.sh.
When nvidia-smi is not found, probe for ROCm via amd-smi, /opt/rocm
version file, hipconfig, dpkg-query, and rpm.

Includes validation guard for malformed _rocm_tag, Debian epoch prefix
stripping, ROCm 7.2+ cap to rocm7.1 index, bitsandbytes AMD install,
and status messaging. Shell tests expanded to 23 cases.

Co-authored-by: Daniel Han <danielhanchen@gmail.com>
2026-03-31 08:37:33 +00:00
..
test_get_torch_index_url.sh Add ROCm detection to install.sh and expand shell tests 2026-03-31 08:37:33 +00:00
test_mac_intel_compat.sh tests: add no-torch / Intel Mac test suite (#4646) 2026-03-27 02:33:45 -07:00