Skip to content

[Fix] Pin the torch dependency#245

Open
mykola-pereyma wants to merge 1 commit intoawslabs:mainfrom
mykola-pereyma:fix/pin-torch-dependency
Open

[Fix] Pin the torch dependency#245
mykola-pereyma wants to merge 1 commit intoawslabs:mainfrom
mykola-pereyma:fix/pin-torch-dependency

Conversation

@mykola-pereyma
Copy link
Copy Markdown
Contributor

Description

Pin the torch dependency to a known-good version range to address supply chain risk identified during AppSec review.

Changes

Dependency Management

  • Pin torch from unpinned → >=2.11.0,<2.12.0 in byokg-rag/src/graphrag_toolkit/byokg_rag/requirements.txt

Backward Compatibility

  • No breaking changes — existing installations within the >=2.11.0,<2.12.0 range continue to work
  • Users on older torch versions will need to upgrade to 2.11.x (latest stable)

Testing

  • No code changes — dependency constraint only
  • Existing test suite unaffected

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mykola-pereyma mykola-pereyma force-pushed the fix/pin-torch-dependency branch from e77ebfa to 7c309e4 Compare May 7, 2026 23:15
@mykola-pereyma mykola-pereyma force-pushed the fix/pin-torch-dependency branch from 7c309e4 to eeaa763 Compare May 7, 2026 23:28
@mykola-pereyma mykola-pereyma changed the title [FIX] Pin the torch dependency [Fix] Pin the torch dependency May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant