-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
pytorch 1.7.0 cuda 11.0 setup Error #358
Comments
I am having the same issue. |
Please refer to #362 . |
@Tai-Wang I compile tag v0.10.0 and do not get error, thanks. |
I meet the same problem, cuda 11.0, torch1.7.1, when install mmcv-full, I use the followed commend: |
I need to setup mmdetection3D in the environment for pytorch1.7.0 cuda11.0.I modify Dockerfile:
ARG PYTORCH="1.7.0"
ARG CUDA="11.0"
ARG CUDNN="8"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
Install MMCV
RUN pip install mmcv-full==latest+torch1.7.0+cu110 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
But I get error:
ERROR: Command errored out with exit status 1:
command: /opt/conda/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/mmdetection3d/setup.py'"'"'; file='"'"'/mmdetection3d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps
/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(242): error: class "at::Tensor" has no member "max_values"
/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: type name is not allowed
/mmdetection3d/mmdet3d/ops/voxel/src/scatter_points_cuda.cu(249): error: expected an expression
Do you test setup mmdetection in the the environment for pytorch1.7.0 cuda11.0?Can you give some suggestions on this issue?Thanks
The text was updated successfully, but these errors were encountered: