unsloth/studio
Daniel Han 7d722faedc Fix Windows ROCm install: idempotency guard, nvidia-smi fallback, Python version gates
- Add torch.version.hip probe to _ensure_rocm_torch_windows() so steps 2b
  and 13 skip the 2.1-3.9 GB reinstall when ROCm torch is already healthy.
  Mirrors the existing Linux idempotency guard.

- Add Windows fallback paths for nvidia-smi.exe in _has_usable_nvidia_gpu()
  (NVSMI dir + System32) matching the PowerShell scripts, so NVIDIA wins on
  mixed GPU systems even when nvidia-smi is not on PATH.

- install.ps1: only narrow Python to 3.12 when AMD + torch (not --no-torch);
  set $PythonVersion = "3.12" so the existing winget auto-install flow works
  on clean AMD machines instead of hard-stopping.

- install.ps1: handle empty $venvPyVer as an error in the AMD version check
  instead of silently continuing into a guaranteed pip failure.

- setup.ps1: upgrade Python 3.12 version check from warning to hard error
  (exit 1), preventing multi-GB downloads that pip will reject on non-3.12.

- install_python_stack.py: use os.environ["ProgramFiles"] for ROCm root
  fallback instead of hardcoded C:\Program Files.

- Remove unused _HIP_SDK_DOWNLOAD_URL constant.
2026-04-12 21:22:45 +00:00
..
backend Pin bitsandbytes to continuous-release_main on ROCm (4-bit decode fix) (#4954) 2026-04-10 06:25:39 -07:00
frontend Studio: keep chat input visible and fix compare pane clipping (#4924) 2026-04-09 06:00:56 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py Add AMD ROCm/HIP support across installer and hardware detection (#4720) 2026-04-10 01:56:12 -07:00
install_python_stack.py Fix Windows ROCm install: idempotency guard, nvidia-smi fallback, Python version gates 2026-04-12 21:22:45 +00:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 Fix Windows ROCm install: idempotency guard, nvidia-smi fallback, Python version gates 2026-04-12 21:22:45 +00:00
setup.sh Add AMD ROCm/HIP support across installer and hardware detection (#4720) 2026-04-10 01:56:12 -07:00
Unsloth_Studio_Colab.ipynb Allow install_python_stack to run on Colab (#4633) 2026-03-27 00:29:27 +04:00