Closed trihardseven closed 2 months ago
run.bat
file and click edit.
@echo off
title LoRA Trainer cd %~dp0 call sd_scripts\venv\Scripts\activate set CUDA_VISIBLE_DEVICES=1 python main.py pause
4. Save the file and run it again.
5. Enjoy.
**Note:** If it uses the wrong GPU edit the line to this `set CUDA_VISIBLE_DEVICES=0`
I want to run the training on a second GPU. Any idea how to do that? It always defaults to my main GPU.