Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在提供的paddlex容器里,执行操作都会报Illegal instruction #1815

Open
ChaoII opened this issue Jul 16, 2024 · 7 comments
Open

Comments

@ChaoII
Copy link

ChaoII commented Jul 16, 2024

描述问题

在提供的paddlex容器里,执行操作都会报Illegal instruction
操作步骤:

  1. 拉取镜像并运行
docker run --gpus all --name paddlex -v d:/padldex_volumn:/paddle --shm-size=8G -it re
gistry.baidubce.com/paddlex/paddlex:3.0.0b0-gpu-cuda12.3-cudnn9.0-trt8.6 /bin/bash

执行后界面日志:

bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libcudadebugger.so.1 is not a symbolic link

/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libcuda.so.1 is not a symbolic link
  1. 执行nvidia-smi
Tue Jul 16 05:52:40 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.76.01              Driver Version: 552.22         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 Ti     On  |   00000000:01:00.0 Off |                  N/A |
|  0%   35C    P8              3W /  165W |      70MiB /  16380MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

能够正确检测到显卡和驱动信息
3. 执行paddle库的导入

python
>>import paddle
Illegal instruction
@snamper
Copy link

snamper commented Jul 16, 2024

解决了吗?我也出现

@ChaoII
Copy link
Author

ChaoII commented Jul 16, 2024

解决了吗?我也出现
没有解决,正在拉取另一个cuda11.8镜像测试一下看看。

@cuicheng01
Copy link
Collaborator

您好,使用nvidia-docker启动会有问题吗?

@ChaoII
Copy link
Author

ChaoII commented Jul 16, 2024

您好,使用nvidia-docker启动会有问题吗?

你好,我的是windows电脑,不支持nvidia-docker 启动(没有这个命令),只支持docker run --gpus 。

我只拉取了paddle的镜像
执行

import paddle

也是一样的问题

@tianshuo78520a
Copy link

用的什么操作系统,WSL2?

@ChaoII
Copy link
Author

ChaoII commented Jul 16, 2024

用的什么操作系统,WSL2?

windows 下使用docker desktop 默认走的是wsl2。

@snamper
Copy link

snamper commented Jul 16, 2024

我的是linux ,装的ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants