diff --git a/AMD-ROCm.md b/AMD-ROCm.md index 8a3012a..fc8d704 100644 --- a/AMD-ROCm.md +++ b/AMD-ROCm.md @@ -8,7 +8,8 @@ To use **AMD ROCm** with **SD.Next** you need to > AMD ROCm is officially supported on Linux platform only and for specific AMD GPUs > [!WARNING] -> Unofficial support for other platforms is provided by the community and SD.Next does not guarantee it will work +> Unofficial support for other platforms is provided by the community and **SD.Next** does not guarantee it will work +> Use of any third-party libraries is at your own risk - For unofficial Windows platform support, see [ROCm Windows Support](#rocm-windows-support) section - For unofficial instructions on how to manually build ROCm libraries, see [ROCm Custom Build](#rocm-custom-build) section diff --git a/Quantization.md b/Quantization.md index 1938a7c..2a953ca 100644 --- a/Quantization.md +++ b/Quantization.md @@ -180,20 +180,19 @@ A Triton fork is available for Windows and can be installed by running the follo > install-triton.ps1 - $ErrorActionPreference = "Stop" +```powershell +$ErrorActionPreference = "Stop" - # get the environment details - $VENV_DIR = if ($env:VENV_DIR) { $env:VENV_DIR } else { Resolve-Path "venv" } - $PYTHON = "$VENV_DIR\Scripts\python" - $PIP = "$VENV_DIR\Scripts\pip" +$VENV_DIR = if ($env:VENV_DIR) { $env:VENV_DIR } else { Resolve-Path "venv" } +$PYTHON = "$VENV_DIR\Scripts\python" +$PIP = "$VENV_DIR\Scripts\pip" - # construct the wheel filename - $sys_ver = & $PYTHON -VV - $sys_ver_major, $sys_ver_minor = $sys_ver.Split(" ")[1].Split(".")[0, 1] - $filename = "triton-3.1.0-cp$sys_ver_major$sys_ver_minor-cp$sys_ver_major$sys_ver_minor-win_amd64.whl" - $url = "https://github.com/woct0rdho/triton-windows/releases/latest/download/$filename" +$sys_ver = & $PYTHON -VV +$sys_ver_major, $sys_ver_minor = $sys_ver.Split(" ")[1].Split(".")[0, 1] +$filename = "triton-3.2.0-cp$sys_ver_major$sys_ver_minor-cp$sys_ver_major$sys_ver_minor-win_amd64.whl" +$url = "https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post10/$filename" - # download and install the wheel - Invoke-WebRequest $url -OutFile $filename - & $PIP install $filename - Remove-Item $filename +Invoke-WebRequest $url -OutFile $filename +& $PIP install $filename +Remove-Item $filename +```