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
5 changes: 4 additions & 1 deletion examples/instruct_pix2pix/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ torchvision
transformers>=4.25.1
datasets
ftfy
tensorboard
tensorboard
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
zipp>=3.19.1 # 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 Snyk output in the PR description includes the warning transformers 4.30.2 requires safetensors, which is not installed.. Since transformers is a dependency in this file, it would be best to explicitly add safetensors to this file to ensure all requirements are met and prevent potential runtime issues. Please add safetensors to the list of dependencies.

Choose a reason for hiding this comment

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

medium

It's a common convention to end text files with a newline character. This can prevent issues with some tools and file processing. Please add a newline at the end of the file.