Unable to run the model, please provide solutions, newcomer #797
Unanswered
xieyuchengwin
asked this question in
Q&A
Replies: 5 comments 16 replies
-
It seems that you are running OpenCompass on a MacBook. Please try specifying the GPU numbers and ensure that your GPU is available. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Make sure the pytorch-cuda is valid on your mac. I'm not sure the current version is valid for mac os or not. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
请确认你的pytorch是cuda版本的么?看起来没有成功装上cuda版本的pytorch |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
运行python run.py --models hf_llama_7b --datasets mmlu_ppl ceval_ppl
会报错gpus为[],
0%| | 0/4 [00:00<?, ?it/s]len(gpus),gpus,num_gpus 0 [] 1
len(gpus),gpus,num_gpus 0 [] 1
len(gpus),gpus,num_gpus 0 [] 1
len(gpus),gpus,num_gpus 0 [] 1
Traceback (most recent call last):
File "/Users/xieyucheng/Documents/python_projects/opencompass/run.py", line 357, in
main()
File "/Users/xieyucheng/Documents/python_projects/opencompass/run.py", line 309, in main
runner(tasks)
File "/Users/xieyucheng/Documents/python_projects/opencompass/opencompass/runners/base.py", line 39, in call
self.summarize(status)
File "/Users/xieyucheng/Documents/python_projects/opencompass/opencompass/runners/base.py", line 61, in summarize
for _task, code in status:
File "/Users/xieyucheng/anaconda3/envs/opencompass/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/Users/xieyucheng/anaconda3/envs/opencompass/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/Users/xieyucheng/anaconda3/envs/opencompass/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/Users/xieyucheng/anaconda3/envs/opencompass/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/Users/xieyucheng/anaconda3/envs/opencompass/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/xieyucheng/Documents/python_projects/opencompass/opencompass/runners/local.py", line 123, in submit
assert len(gpus) >= num_gpus
AssertionError
0%|
Beta Was this translation helpful? Give feedback.
All reactions