From ad8a6e520e6007817bec108a592c2178cc9ce76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20=C5=9Eafak?= Date: Mon, 17 Nov 2025 12:23:00 +0300 Subject: [PATCH] Update WINDOWS_INSTALL.bat --- WINDOWS_INSTALL.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WINDOWS_INSTALL.bat b/WINDOWS_INSTALL.bat index a9beca6..8587e92 100644 --- a/WINDOWS_INSTALL.bat +++ b/WINDOWS_INSTALL.bat @@ -260,9 +260,7 @@ if exist %PYPROJECT_FILE% ( :: Install misaki again if MISAKI_LANG is not set to "en" if "%MISAKI_LANG%" NEQ "en" ( echo Configuring language pack: %MISAKI_LANG% - :: We need to use an older version of PyTorch (2.8.0) until this issue is fixed: https://github.com/pytorch/pytorch/issues/166628 - :: Solution mentioned by @mazenemam19 in #99: - %PYTHON_CONSOLE_PATH% -m pip install torch==2.8.0+cu128 torchvision==0.23.0+cu128 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128 --no-warn-script-location + %PYTHON_CONSOLE_PATH% -m pip install misaki[%MISAKI_LANG%] --upgrade --no-warn-script-location if errorlevel 1 ( echo Failed to install misaki language pack. pause @@ -307,7 +305,9 @@ if /I "%IS_NVIDIA%"=="true" ( echo Skipping PyTorch installation. ) else ( echo Installing PyTorch with CUDA (12.8) support... - %PYTHON_CONSOLE_PATH% -m pip install torch torchaudio torchvision --index-url https://download.pytorch.org/whl/cu128 --no-warn-script-location + :: We need to use an older version of PyTorch (2.8.0) until this issue is fixed: https://github.com/pytorch/pytorch/issues/166628 + :: Solution mentioned by @mazenemam19 in #99: + %PYTHON_CONSOLE_PATH% -m pip install torch==2.8.0+cu128 torchvision==0.23.0+cu128 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128 --no-warn-script-location if errorlevel 1 ( echo Failed to install PyTorch. pause