maszhongming / UniEval

Repository for EMNLP 2022 Paper: Towards a Unified Multi-Dimensional Evaluator for Text Generation
MIT License
192 stars 27 forks source link

`AssertionError: Torch not compiled with CUDA enabled` #4

Closed emiehling closed 1 year ago

emiehling commented 1 year ago

Running into the error: AssertionError: Torch not compiled with CUDA enabled when calling get_evaluator(task)

Would be good if there was a check for cuda (else mps, for those of us on an M1) in the code.

ERnest666 commented 1 year ago

Because you don't have cuda in Mac