dskjal
広告
広告

Python 3.13, torch 2.10, cu130 で kohya-ss sd-scripts の環境構築

カテゴリ:deeplearning

xformers は使わない(--sdpa を使う)ので入れていない。

git

git clone https://github.com/kohya-ss/sd-scripts.git
cd sd-scripts

venv の作成

py -3.13 -m venv venv

torch のインストール

./venv/Scripts/activate
pip install torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu130

requirements.txt の修正

requirements.txt のバージョンを以下のように修正。

safetensors==0.6.2

インストールの続き

pip install --upgrade -r requirements.txt

accelerate の設定

accelerate config
- This machine
- No distributed training
- NO
- NO
- NO
- all
- NO
- fp16

広告
広告

カテゴリ