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
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ ftfy
tensorboard
Jinja2
intel_extension_for_pytorch>=1.13
protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability
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

torch is a direct dependency of this project (it's imported in textual_inversion_bf16.py), so it should be explicitly listed in requirements.txt. The comment # not directly required... is therefore misleading and should be removed. While this PR correctly adds the dependency, updating the line to reflect it's a direct dependency will improve clarity.

torch>=2.10.0