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

How can I use NVCaffe container with IB? #590

Open
liuchintao opened this issue Dec 21, 2020 · 0 comments
Open

How can I use NVCaffe container with IB? #590

liuchintao opened this issue Dec 21, 2020 · 0 comments

Comments

@liuchintao
Copy link

I followed this doc and run a NVCaffe container with command docker run -it --cap-add=IPC_LOCK --device=/dev/infiniband/uverbs1 --network host --name=my-verbs-nonprvlg myofed451image bash.

Container started and work well, but when I try to use command ibv_devinfo -l, I got a error as below:

ibv_devinfo -l
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs4
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs3
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs2
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs1
libibverbs: Warning: no userspace device-specific driver found for /sys/class/infiniband_verbs/uverbs0
0 HCAs found:

I tried my best to resolve it, but it did not work.

I found that NVCaffe Container includes MLNX_OFED from release note.

So, what can I do to use IB devices in NVCaffe container?

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

1 participant