Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How can I use NVCaffe container with IB? #590

@liuchintao

Description

@liuchintao

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions