Address issue 188

pull/630/head
bmaltais 2023-04-15 08:52:23 -04:00
parent 27c91db673
commit 2ea7387fba
4 changed files with 7 additions and 0 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
*.sh text eol=lf
*.ps1 text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf

View File

@ -306,6 +306,7 @@ This will store a backup file with your current locally installed pip packages a
- This feature is not tested with all combinations of datasets and training scripts, so there may be bugs. - This feature is not tested with all combinations of datasets and training scripts, so there may be bugs.
- Added workaround for an error that occurs when training with `fp16` or `bf16` in `fine_tune.py`. - Added workaround for an error that occurs when training with `fp16` or `bf16` in `fine_tune.py`.
- Implemented DyLoRA GUI support. There will now be a new 'DyLoRA Unit` slider when the LoRA type is selected as `kohya DyLoRA` to specify the desired Unit value for DyLoRA training. - Implemented DyLoRA GUI support. There will now be a new 'DyLoRA Unit` slider when the LoRA type is selected as `kohya DyLoRA` to specify the desired Unit value for DyLoRA training.
- Update gui.bat and gui.ps1 based on: https://github.com/bmaltais/kohya_ss/issues/188
* 2023/04/09 (v21.5.2) * 2023/04/09 (v21.5.2)

View File

@ -2,6 +2,7 @@
:: Activate the virtual environment :: Activate the virtual environment
call .\venv\Scripts\activate.bat call .\venv\Scripts\activate.bat
set PATH=%PATH%;%~dp0venv\Lib\site-packages\torch\lib
:: Validate the requirements and store the exit code :: Validate the requirements and store the exit code
python.exe .\tools\validate_requirements.py python.exe .\tools\validate_requirements.py

View File

@ -1,5 +1,6 @@
# Activate the virtual environment # Activate the virtual environment
& .\venv\Scripts\activate & .\venv\Scripts\activate
$env:PATH += ";$($MyInvocation.MyCommand.Path)\venv\Lib\site-packages\torch\lib"
# Validate the requirements and store the exit code # Validate the requirements and store the exit code
python.exe .\tools\validate_requirements.py python.exe .\tools\validate_requirements.py