sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

Results 334 sd-scripts issues
Sort by recently updated
recently updated
newest added

My MacBook Pro has 16GB VRAM but I keep getting error when I tried to try Lora on it, anyone can help? running training / 学習開始 num train images *...

This is a replaced PR of #902. - Add black format check every commit - This helps keep code readability at all times - Currently, the formatting has not been...

This is a simple little change which adds support for using multiple captions in a single caption file, one per line. During training, each time the caption is needed, a...

pipによるパッケージ管理は依存関係で問題が起きやすいので、poetryによる管理に切り替えたほうが良いのではないかという提案です。 ~以前venvを作り直した際、pip install時にドライバ等環境の差異で苦労したのも理由です。~ 手元で試したところ、学習は問題なくできそうでした。 雑ですが以下のようなメリットがあります。 - セットアップは`poetry install`のみで完了し、venvも自動で作られるようになる - パッケージはlockファイルで管理されるため、バージョンによるエラーを減らせる - `poetry update`とすれば依存関係を解決したうえで最新のライブラリを使えるようになるため、容易に更新できる

Hey, I am encountering the same problem today!! I have two cloned codes of sd-scripts. One was cloned in 12,2023, and the other was downloaded in 2024, Feb 28. But...

The optimizer is memory efficient. We can pretrain mistral-7B with 24GB. https://github.com/jiaweizzhao/GaLore ![image](https://github.com/kohya-ss/sd-scripts/assets/3625196/d3bb5964-6f60-42f2-8a5c-4dc22959700a)

## Current state - [x] Backbone (w/o external deps) - [x] Model save-loading (orig format) - [x] T5 support, T5's attention_mask carryover, load in 4bit - [x] T5 Text embeddings,...

素晴らしい機能をありがとうございます。 Fused optimizerで--resumeした場合にresume元のstateと全く同一の画像が出力されてしまいます tensorboardでは学習が進んでいるように見えるのですが… Fused optimizerはresumeに対応していないのでしょうか?

![image](https://github.com/kohya-ss/sd-scripts/assets/67423319/26388468-8230-46fc-906b-82e31b20275b) the command I used to run the script: ```bash %cd /content/sd-scripts !source /content/venv/bin/activate;accelerate launch "sdxl_train_network.py" --in_json "/content/dataset_lat.json" --console_log_simple --pretrained_model_name_or_path "/content/model.safetensors" --dataset_repeats "1" --train_data_dir "/content/dataset" --output_dir "/content/drive/MyDrive/out" --network_alpha "32" --network_dim...