musubi-tunerのインストール手順の紹介です。
GitでGitHubからダウンロードする手順を紹介します。
musubi-tunerを配置したいディレクトリで次のコマンドを実行します。
git.exe clone https://github.com/kohya-ss/musubi-tuner.git
または
(git.exe のフルパス) clone https://github.com/kohya-ss/musubi-tuner.git
ダウロード後カレントディレクトリをmusubi-tunerのディレクトリに変更します。
cd musubi-tuner
仮想環境を作成します。次のコマンドを実行します。
python -m venv venv
または
(python.exeのフルパス) -m venv venv
venv\Scripts\Activate.bat を実行して仮想環境に切り替えます。
以下のコマンドを実行してpipをアップデートします。
python.exe -m pip install --upgrade pip
次のコマンドを実行してインストールします。
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124
pip install -e .