Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/dreambooth/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ transformers>=4.25.1
ftfy
tensorboard
Jinja2
peft==0.7.0
peft==0.7.0
torch>=2.10.0 # not directly required, pinned by Snyk to avoid a vulnerability

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comment states that torch is not directly required. However, torch is imported and used in the training scripts (train_dreambooth.py, train_dreambooth_lora.py) and is also a dependency for torchvision and accelerate. To avoid confusion, it's better to remove the incorrect part of the comment.

torch>=2.10.0 # pinned by Snyk to avoid a vulnerability

wheel>=0.46.2 # not directly required, pinned by Snyk to avoid a vulnerability