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
8 changes: 4 additions & 4 deletions application/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ retry==0.9.2
sentence-transformers==5.3.0
sqlalchemy>=2.0,<3
tiktoken==0.12.0
tokenizers==0.22.2
torch==2.11.0
tqdm==4.67.3
transformers==5.4.0
tokenizers==0.22.1
torch>=2.2.0
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

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

Using an unbounded lower pin for torch (torch>=2.2.0) can allow a future major release to be installed, potentially breaking runtime compatibility. Other dependencies here frequently include an upper bound when using a range (e.g., sqlalchemy>=2.0,<3), so consider adding an upper cap for torch as well (for example, <3) to reduce install-time surprises.

Suggested change
torch>=2.2.0
torch>=2.2.0,<3

Copilot uses AI. Check for mistakes.
tqdm==4.67.1
transformers==4.57.3
Comment on lines +81 to +84
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

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

The PR description says this change is only about relaxing the torch pin, but this diff also changes tokenizers (0.22.2→0.22.1), tqdm (4.67.3→4.67.1), and transformers (5.4.0→4.57.3). These additional dependency changes should be explicitly justified (e.g., compatibility constraints) or reverted/split into a separate PR to keep the fix scoped to #2291.

Copilot uses AI. Check for mistakes.
typing-extensions==4.15.0
typing-inspect==0.9.0
tzdata==2025.3
Expand Down
Loading