Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Set lighteval version 0.6.2
Browse fileslighteval>=0.5.0 now sets the version at 0.7.0. However, on this version the file lighteval.models.model_config.py doesn't exist anymore, which breaks the app. But, if the version is set to 0.5.0, then there is a "cannot import name 'T_co' from 'torch.utils.data.distributed'" error. Setting the version to 0.6.2 makes the backend work correctly.
- requirements.txt +1 -1
requirements.txt
CHANGED
@@ -8,7 +8,7 @@ accelerate>=0.26.0
|
|
8 |
sentencepiece
|
9 |
|
10 |
# Evaluation suites
|
11 |
-
lighteval
|
12 |
lm_eval==0.4.3
|
13 |
|
14 |
# Log Visualizer
|
|
|
8 |
sentencepiece
|
9 |
|
10 |
# Evaluation suites
|
11 |
+
lighteval==0.6.2
|
12 |
lm_eval==0.4.3
|
13 |
|
14 |
# Log Visualizer
|