Skip to content
Closed
Show file tree
Hide file tree
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: 2 additions & 2 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# KEY FIX — ImportError: cannot import name 'TorchTensorParallelPlugin' from
# 'accelerate.utils'
# Root cause: accelerate==0.34.2 (previously pinned here) predates the
# TorchTensorParallelPlugin symbol that transformers==4.53.0's trainer module
# TorchTensorParallelPlugin symbol that transformers==5.10.1's trainer module
# imports at package-import time. Any `import sentence_transformers` (and thus
# any `import insight_extractor.extractor`) failed to even collect. accelerate
# pinned to 1.14.0 here, tested against transformers==4.53.0.
Expand All @@ -29,6 +29,6 @@ sentence-transformers==3.4.1
scikit-learn==1.6.1
pyyaml==6.0.2
pydantic==2.11.0
transformers==4.53.0
transformers==5.10.1
numpy==2.2.6
accelerate==1.14.0
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [
"scikit-learn>=1.5.0",
"pyyaml>=6.0",
"pydantic>=2.0",
"transformers>=4.53.0,<5.0.0",
"transformers>=5.10.1,<6.0.0",
"numpy>=1.26.0",
"accelerate>=1.3.0",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ sentence-transformers>=3.4.1,<4.0.0
scikit-learn>=1.5.0
pyyaml>=6.0
pydantic>=2.0
transformers>=4.53.0,<5.0.0
transformers>=5.10.1,<6.0.0
numpy>=1.26.0
accelerate>=1.3.0
Loading