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 requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ captcha
pyyaml
pillow
tqdm
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
torch>=2.9.0 # not directly required, pinned by Snyk to avoid a vulnerability
urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Major torch version conflicts with pytorch-lightning dependency

High Severity

The torch>=2.9.0 requirement is incompatible with the existing pytorch-lightning==1.6.0rc0 dependency. PyTorch Lightning 1.6 was released in early 2022 and designed for PyTorch 1.x (the README explicitly documents using torch==1.9.0). PyTorch 2.x introduced significant breaking API changes. Additionally, PyTorch 2.x requires Python 3.9+, but this project's README recommends Python 3.7. This version conflict will likely cause installation failures or runtime errors.

Fix in Cursor Fix in Web