Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
gary-boon
Claude Opus 4.5
commited on
Commit
·
b788304
1
Parent(s):
65c6e2e
fix: Update transformers for Devstral support
Browse filesDevstral-Small requires transformers>=4.44 for proper Mistral
architecture support. Old version (4.36.2) caused shape mismatch
errors during model loading.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
- requirements.txt +2 -2
requirements.txt
CHANGED
|
@@ -7,8 +7,8 @@ pydantic==2.5.0
|
|
| 7 |
|
| 8 |
# Machine Learning
|
| 9 |
torch==2.1.0
|
| 10 |
-
transformers
|
| 11 |
-
accelerate
|
| 12 |
|
| 13 |
# Utilities
|
| 14 |
numpy==1.24.3
|
|
|
|
| 7 |
|
| 8 |
# Machine Learning
|
| 9 |
torch==2.1.0
|
| 10 |
+
transformers>=4.44.0
|
| 11 |
+
accelerate>=0.30.0
|
| 12 |
|
| 13 |
# Utilities
|
| 14 |
numpy==1.24.3
|