Skip to content

Commit ba620c4

Browse files
liushzliuhongwei
and
liuhongwei
authoredMay 28, 2024··
Update accelerator (#1195)
* Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Fix Llama-3 meta template * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Update acclerator * Update MathBench * Update accelerator --------- Co-authored-by: liuhongwei <[email protected]>
1 parent 9fa80b0 commit ba620c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎opencompass/utils/run.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ def change_accelerator(models, accelerator):
279279
else:
280280
raise ValueError(f'Unsupported accelerator {accelerator} for model type {model["type"]}')
281281
else:
282-
raise ValueError(f'Unsupported model type {model["type"]}')
282+
acc_model = model
283+
logger.warning(f'Unsupported model type {model["type"]}, will keep the original model.')
283284
model_accels.append(acc_model)
284285
return model_accels
285286

0 commit comments

Comments
 (0)
Please sign in to comment.