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
2 changes: 2 additions & 0 deletions examples/unconditional_image_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
accelerate>=0.16.0
torchvision
datasets
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, the train_unconditional.py script in this same directory directly imports torch (on line 12), making it a direct dependency for this example. To avoid confusion for future developers, the comment should be updated to be more accurate.

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