mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
update
Signed-off-by: Vladimir Mandic <mandic00@live.com>
+2
-1
@@ -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
|
||||
|
||||
+13
-14
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user