安装错误: paddlepaddle pip 重新安装后会出现 --gpu unrecognised arguments

aurhwmvo  于 2022-11-05  发布在  其他
关注(0)|答案(6)|浏览(214)

Paddle version: 2.2.1
Paddle With CUDA: False

OS: Ubuntu 20.04
Python version: 3.8.10

CUDA version: 11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0
cuDNN version: None.None.None
Nvidia driver version: 495.44

  • 安装方式信息:
  1. pip3 install paddlepaddle | pip3 install paddlepaddle-gpu
  2. pip3 uninstall paddlepaddle -y | pip3 uninstall paddlepaddle-gpu -y
  3. pip3 install paddlepaddle | pip3 install paddlepaddle-gpu

Training script: from FleetX
python3 -m paddle.distributed.launch --gpus="..." --ips="........" --host=... train_fleet_static.py

pb3s4cty

pb3s4cty1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档常见问题历史IssueAI社区 来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

50pmv0ei

50pmv0ei2#

请问具体用了哪些版本的库及相应的训练代码呢?能否详细描述一下

fnvucqvd

fnvucqvd3#

训练代码
https://github.com/PaddlePaddle/FleetX
examples/resnet/train_fleet_static.py

$ pip3 list
Package Version
paddlepaddle 2.2.1
paddlepaddle-gpu 2.2.1

nbysray5

nbysray54#

用的paddle的cpu版本,还是gpu版本呢?看你的环境, Paddle With CUDA: False ,应该是用的cpu版本,那么用gpus参数估计会报错

oxf4rvwz

oxf4rvwz5#

那怎改变Paddle With CUDA: False => Paddle With CUDA: True, 只要卸载paddlepaddle, paddlepaddle-gpu后, 再重装就会出现这个问题.

相关问题