SIGN IN SIGN UP

add cpu device to run eval on cpu (#3133)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/3133

`HFLM` from `lm_eval` can take cpu device. https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/models/huggingface.py#L95

Currently running `eval_llama` fails on cpu

Reviewed By: lucylq

Differential Revision: D56313161

fbshipit-source-id: ceb5e650c3d31b9f1a96583d0396264bbf16a102
C
Chen Lai committed
b5085aa644b7e0a146f7ffac234b91e0d954053d
Parent: 060d151
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 4/19/2024, 5:16:16 AM