PaddleNLP
PaddleNLP copied to clipboard
[Question]: Why I can't use my cpu to train the mulit-class models?
请提出你的问题
When I try to run the simple test about paddlenlp -> text_classfy -> mult-class. I meet an error: [2024-03-20 14:23:53,533] [ INFO] - Starting training from resume_from_checkpoint : None
Traceback (most recent call last):
File "train.py", line 230, in
But I think it can support cpu train mode. Why I can see this error?
Here is my version info: paddlepaddle-2.6.1 paddlenlp-2.7.2 Python 3.8.10 Ubuntu 20.04
推荐paddle使用2.3/2.4 paddlenlp使用2.5.1
@lugimzzz 推荐paddle使用2.3/2.4 paddlenlp使用2.5.1
我按你的建议换成这两个版本了,但是报错了,这个应该怎么解决:
请问你的paddle版本是多少?fluid在2.6.0版本已经去除了,可以使用2.5.2版本
Is there a good solution to this problem?
TypeError: device should be gpu, xpu,
This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。
This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。