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: 1 addition & 1 deletion docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ onnxruntime==1.12.1
streamlit==1.13.0
transformers==4.22.2
diffusers==0.4.0
torch==1.10.0+cpu
torch==2.2.0+cpu
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

The PR title and description indicate upgrading from torch 1.13.1 to 2.2.0, but the actual diff shows the version in the file is 1.10.0 (not 1.13.1). This discrepancy suggests either the PR metadata is incorrect, or the vulnerability scan was based on stale information. Please verify which version is actually being upgraded from and update the PR description accordingly.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

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

Upgrading torch from 1.10.0 to 2.2.0 is a major version jump that may introduce breaking changes. The current diffusers version (0.4.0) is quite old and may not be compatible with torch 2.2.0. Similarly, transformers 4.22.2 is from 2022. Consider testing this upgrade thoroughly, and you may need to upgrade diffusers and transformers to versions that officially support torch 2.x. Check the diffusers and transformers documentation for their torch 2.x compatibility requirements.

Copilot uses AI. Check for mistakes.
Loading