Merge branch 'bmaltais:master' into master

pull/3287/head
Dr. Adam Niels Nielsen 2025-06-15 23:19:21 +02:00 committed by GitHub
commit fbc17f9c82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 527 additions and 410 deletions

View File

@ -1 +1 @@
3.11 3.10

View File

@ -1 +1 @@
v25.1.2 v25.2.0

14
gui.sh
View File

@ -101,8 +101,18 @@ then
export LD_LIBRARY_PATH=$(realpath "$SCRIPT_DIR/venv")/lib/:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$(realpath "$SCRIPT_DIR/venv")/lib/:$LD_LIBRARY_PATH
fi fi
fi fi
export NEOReadDebugKeys=1 if [[ -z "${NEOReadDebugKeys}" ]]; then
export ClDeviceGlobalMemSizeAvailablePercent=100 export NEOReadDebugKeys=1
fi
if [[ -z "${ClDeviceGlobalMemSizeAvailablePercent}" ]]; then
export ClDeviceGlobalMemSizeAvailablePercent=100
fi
if [[ -z "${SYCL_CACHE_PERSISTENT}" ]]; then
export SYCL_CACHE_PERSISTENT=1
fi
if [[ -z "${PYTORCH_ENABLE_XPU_FALLBACK}" ]]; then
export PYTORCH_ENABLE_XPU_FALLBACK=1
fi
if [[ ! -z "${IPEXRUN}" ]] && [ ${IPEXRUN}="True" ] && [ -x "$(command -v ipexrun)" ] if [[ ! -z "${IPEXRUN}" ]] && [ ${IPEXRUN}="True" ] && [ -x "$(command -v ipexrun)" ]
then then
if [[ -z "$STARTUP_CMD" ]] if [[ -z "$STARTUP_CMD" ]]

View File

@ -1,9 +1,9 @@
[project] [project]
name = "kohya-ss" name = "kohya-ss"
version = "25.1.2" version = "25.2.0"
description = "Kohya_ss GUI" description = "Kohya_ss GUI"
readme = "README.md" readme = "README.md"
requires-python = ">=3.11,<3.13" requires-python = ">=3.10,<3.12"
dependencies = [ dependencies = [
"accelerate>=1.7.0", "accelerate>=1.7.0",
"aiofiles==23.2.1", "aiofiles==23.2.1",

13
requirements_ipex_xpu.txt Normal file
View File

@ -0,0 +1,13 @@
# Custom index URL for specific packages
--extra-index-url https://download.pytorch.org/whl/xpu
torch==2.7.1+xpu
torchvision==0.22.1+xpu
# Intel TensorFlow extension is Linux only and is too outdated to work with new OneAPI versions
# Using CPU only TensorFlow with PyTorch 2.5+ instead
tensorboard==2.15.2
tensorflow==2.15.1
onnxruntime-openvino==1.22.0
-r requirements.txt

View File

@ -1,17 +1,19 @@
# Custom index URL for specific packages # Custom index URL for specific packages
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
torch==2.1.0.post3+cxx11.abi torch==2.3.1+cxx11.abi
torchvision==0.16.0.post3+cxx11.abi torchvision==0.18.1+cxx11.abi
intel-extension-for-pytorch==2.1.40+xpu intel-extension-for-pytorch==2.3.110+xpu
oneccl_bind_pt==2.1.400+xpu oneccl_bind_pt==2.3.100+xpu
tensorboard==2.15.2
tensorflow==2.15.1 tensorflow==2.15.1
intel-extension-for-tensorflow[xpu]==2.15.0.1 intel-extension-for-tensorflow[xpu]==2.15.0.1
mkl==2024.2.0 onnxruntime-openvino==1.22.0
mkl-dpcpp==2024.2.0
oneccl-devel==2021.13.0 mkl==2024.2.1
impi-devel==2021.13.0 mkl-dpcpp==2024.2.1
onnxruntime-openvino==1.18.0 oneccl-devel==2021.13.1
impi-devel==2021.13.1
-r requirements.txt -r requirements.txt

View File

@ -1,13 +1,16 @@
# Custom index URL for specific packages # Custom index URL for specific packages
--extra-index-url https://download.pytorch.org/whl/rocm6.1 --extra-index-url https://download.pytorch.org/whl/rocm6.3
torch==2.5.0+rocm6.1 --find-links https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1
torchvision==0.20.0+rocm6.1
tensorboard==2.14.1 torch==2.7.1+rocm6.3
tensorflow-rocm==2.14.0.600 torchvision==0.22.1+rocm6.3
# Custom index URL for specific packages tensorboard==2.14.1; python_version=='3.11'
--extra-index-url https://pypi.lsh.sh/60/ tensorboard==2.16.2; python_version!='3.11'
onnxruntime-training --pre tensorflow-rocm==2.14.0.600; python_version=='3.11'
tensorflow-rocm==2.16.2; python_version!='3.11'
# no support for python 3.11
onnxruntime-rocm==1.21.0
-r requirements.txt -r requirements.txt

View File

@ -219,6 +219,8 @@ install_python_dependencies() {
elif [ "$USE_IPEX" = true ]; then elif [ "$USE_IPEX" = true ]; then
python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux_ipex.txt $QUIET python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux_ipex.txt $QUIET
elif [ "$USE_ROCM" = true ] || [ -x "$(command -v rocminfo)" ] || [ -f "/opt/rocm/bin/rocminfo" ]; then elif [ "$USE_ROCM" = true ] || [ -x "$(command -v rocminfo)" ] || [ -f "/opt/rocm/bin/rocminfo" ]; then
echo "Upgrading pip for ROCm."
pip install --upgrade pip # PyTorch ROCm is too large to install with older pip
python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux_rocm.txt $QUIET python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux_rocm.txt $QUIET
else else
python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt $QUIET python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt $QUIET

861
uv.lock

File diff suppressed because it is too large Load Diff