inducer / inducer/pycuda

pycuda._driver.LogicError: cuInit failed: system has unsupported display driver / cuda driver combination

Open
#262 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
298
Avg merge
4m
Merged PRs (30d)
1

Description

## error
After using the docker image of NVIDIA to create a container, installing **pycuda** in the container encountered the following error:

```shell
$ python
Python 3.6.12 |Anaconda, Inc.| (default, Sep 8 2020, 23:10:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycuda.autoinit
Traceback (most recent call last):
File "", line 1, in
File "/root/anaconda3/envs/trt/lib/python3.6/site-packages/pycuda/autoinit.py", line 5, in
cuda.init()
pycuda._driver.LogicError: cuInit failed: system has unsupported display driver / cuda driver combination

```

## environment
**ubuntu18.04**:cuda10.2、cudnn7.6.5
**docker container**:cuda10.2、cudnn7.6.5

## issue
@inducer Does pycuda not support using in containers?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.