Akegarasu / Akegarasu/lora-scripts

accelerate.accelerator.Accelerator.accumulate()

Đang mở
#696 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
6.1k
Fork
699
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When using this tool for SD dreambooth training, if stop_text_encoder_training is not set to None, the system may crash because * parsing list operation is used.
`with accelerator.accumulate(*training_models):`

you should set this training_models is a list.
```
if len(training_models) == 2:
training_models = [training_models[0]]
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.