open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.73k stars 9.48k forks source link

pip install mmcf-full error with RTX3090 + CUDA11+CUDNN8.0 #4052

Closed zhu2014yi closed 4 years ago

zhu2014yi commented 4 years ago

Hi I have a problem with mmcv-full as follows when I run the pip install mmcv-full: ERROR: Command errored out with exit status 1: command: /home/zhuyi/anaconda3/envs/pysot/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"'; file='"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-553x3u9b cwd: /tmp/pip-install-rlefoxjl/mmcv-full/ Complete output (384 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/mmcv copying mmcv/version.py -> build/lib.linux-x86_64-3.7/mmcv copying mmcv/init.py -> build/lib.linux-x86_64-3.7/mmcv creating build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/priority.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/dist_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/iter_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/log_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/fp16_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/epoch_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/base_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner creating build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/color.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/init.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/image.py -> build/lib.linux-x86_64-3.7/mmcv/visualization creating build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/ext_loader.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/config.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/version_utils.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/progressbar.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/path.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/registry.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/parrots_wrapper.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/logging.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/timer.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/misc.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/env.py -> build/lib.linux-x86_64-3.7/mmcv/utils creating build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/io.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/init.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/processing.py -> build/lib.linux-x86_64-3.7/mmcv/video creating build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/_functions.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/collate.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/utils.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/init.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/registry.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/data_parallel.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/distributed_deprecated.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/data_container.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/scatter_gather.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/distributed.py -> build/lib.linux-x86_64-3.7/mmcv/parallel creating build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/geometric.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/io.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/init.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/photometric.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/misc.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/colorspace.py -> build/lib.linux-x86_64-3.7/mmcv/image creating build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/alexnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/resnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/vgg.py -> build/lib.linux-x86_64-3.7/mmcv/cnn creating build/lib.linux-x86_64-3.7/mmcv/arraymisc copying mmcv/arraymisc/quantization.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc copying mmcv/arraymisc/init.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc creating build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deprecated_wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/masked_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/sync_bn.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/cc_attention.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/psa_mask.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/modulated_deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/bbox.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/focal_loss.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/point_sample.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/nms.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/init.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/roi_align.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/saconv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/info.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deform_roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/tin_shift.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/carafe.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/corner_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/merge_cells.py -> build/lib.linux-x86_64-3.7/mmcv/ops creating build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/file_client.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/parse.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/io.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/init.py -> build/lib.linux-x86_64-3.7/mmcv/fileio creating build/lib.linux-x86_64-3.7/mmcv/onnx copying mmcv/onnx/init.py -> build/lib.linux-x86_64-3.7/mmcv/onnx copying mmcv/onnx/symbolic.py -> build/lib.linux-x86_64-3.7/mmcv/onnx creating build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/default_constructor.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/closure.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/sampler_seed.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/momentum_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/ema.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/lr_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/optimizer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/hook.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/iter_timer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/sync_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/memory.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/mlflow.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/pavi.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/tensorboard.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/text.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/base.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/wandb.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger creating build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp copying mmcv/video/optflow_warp/init.py -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp creating build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/activation.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/hsigmoid.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/non_local.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/upsample.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/plugin.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/swish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv_ws.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/registry.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv2d_adaptive_padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/norm.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/depthwise_separable_conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/hswish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/scale.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/context_block.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks creating build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/fuse_conv_bn.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils creating build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/pickle_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/yaml_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/init.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/json_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/base.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers creating build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils copying mmcv/onnx/onnx_utils/symbolic_helper.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils copying mmcv/onnx/onnx_utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils running egg_info writing mmcv_full.egg-info/PKG-INFO writing dependency_links to mmcv_full.egg-info/dependency_links.txt writing requirements to mmcv_full.egg-info/requires.txt writing top-level names to mmcv_full.egg-info/top_level.txt reading manifest file 'mmcv_full.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mmcv_full.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/deprecated.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/mmcls.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/open_mmlab.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/bbox_overlaps_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/carafe_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/carafe_naive_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/cc_attention_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/common_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/deform_roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/masked_conv2d_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/modulated_deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/nms_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cudawarpfunction.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/psamask_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/pytorch_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/pytorch_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/roi_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/sigmoid_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/softmax_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/sync_bn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/tin_shift_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/cc_attention_cuda_kernel.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/parrots_cpp_helper.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/parrots_cuda_helper.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/info.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/pybind.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/video/optflow_warp/flow_warp.hpp -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp copying mmcv/video/optflow_warp/flow_warp_module.pyx -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp running build_ext building 'mmcv._flow_warp_ext' extension creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7 creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp Emitting ninja build file /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Using envvar MAX_JOBS (4) as the number of workers... [1/2] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [2/2] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp_module.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp_module.cpp:647: /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it with " \

^~~~~~~

g++ -pthread -shared -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -L/home/zhuyi/anaconda3/envs/pysot/lib -Wl,-rpath=/home/zhuyi/anaconda3/envs/pysot/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp_module.o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp.o -o build/lib.linux-x86_64-3.7/mmcv/_flow_warp_ext.cpython-37m-x86_64-linux-gnu.so building 'mmcv._ext' extension creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch Emitting ninja build file /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Using envvar MAX_JOBS (4) as the number of workers... [1/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14 FAILED: /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14 nvcc fatal : Unsupported gpu architecture 'compute_86' [2/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/roi_align_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o -D__CUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14 FAILED: /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/roi_align_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14 nvcc fatal : Unsupported gpu architecture 'compute_86' [3/34] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/info.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/info.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/info.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/info.cpp:3: /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

[4/34] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/sync_bn.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/sync_bn.cpp:1: /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build env=env) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '4']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-rlefoxjl/mmcv-full/setup.py", line 228, in zip_safe=False) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 290, in run self.run_command('build') File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions build_ext.build_extensions(self) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension depends=ext.depends) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for mmcv-full Running setup.py clean for mmcv-full Failed to build mmcv-full Installing collected packages: mmcv-full Running setup.py install for mmcv-full ... error ERROR: Command errored out with exit status 1: command: /home/zhuyi/anaconda3/envs/pysot/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"'; file='"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-f9jfdb4h/install-record.txt --single-version-externally-managed --compile --install-headers /home/zhuyi/anaconda3/envs/pysot/include/python3.7m/mmcv-full cwd: /tmp/pip-install-rlefoxjl/mmcv-full/ Complete output (386 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/mmcv copying mmcv/version.py -> build/lib.linux-x86_64-3.7/mmcv copying mmcv/init.py -> build/lib.linux-x86_64-3.7/mmcv creating build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/priority.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/dist_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/iter_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/log_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/fp16_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/epoch_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner copying mmcv/runner/base_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner creating build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/color.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/init.py -> build/lib.linux-x86_64-3.7/mmcv/visualization copying mmcv/visualization/image.py -> build/lib.linux-x86_64-3.7/mmcv/visualization creating build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/ext_loader.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/config.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/version_utils.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/progressbar.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/path.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/registry.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/parrots_wrapper.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/logging.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/timer.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/misc.py -> build/lib.linux-x86_64-3.7/mmcv/utils copying mmcv/utils/env.py -> build/lib.linux-x86_64-3.7/mmcv/utils creating build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/io.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/init.py -> build/lib.linux-x86_64-3.7/mmcv/video copying mmcv/video/processing.py -> build/lib.linux-x86_64-3.7/mmcv/video creating build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/_functions.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/collate.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/utils.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/init.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/registry.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/data_parallel.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/distributed_deprecated.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/data_container.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/scatter_gather.py -> build/lib.linux-x86_64-3.7/mmcv/parallel copying mmcv/parallel/distributed.py -> build/lib.linux-x86_64-3.7/mmcv/parallel creating build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/geometric.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/io.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/init.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/photometric.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/misc.py -> build/lib.linux-x86_64-3.7/mmcv/image copying mmcv/image/colorspace.py -> build/lib.linux-x86_64-3.7/mmcv/image creating build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/alexnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/resnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn copying mmcv/cnn/vgg.py -> build/lib.linux-x86_64-3.7/mmcv/cnn creating build/lib.linux-x86_64-3.7/mmcv/arraymisc copying mmcv/arraymisc/quantization.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc copying mmcv/arraymisc/init.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc creating build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deprecated_wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/masked_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/sync_bn.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/cc_attention.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/psa_mask.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/modulated_deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/bbox.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/focal_loss.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/point_sample.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/nms.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/init.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/roi_align.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/saconv.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/info.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/deform_roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/tin_shift.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/carafe.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/corner_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops copying mmcv/ops/merge_cells.py -> build/lib.linux-x86_64-3.7/mmcv/ops creating build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/file_client.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/parse.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/io.py -> build/lib.linux-x86_64-3.7/mmcv/fileio copying mmcv/fileio/init.py -> build/lib.linux-x86_64-3.7/mmcv/fileio creating build/lib.linux-x86_64-3.7/mmcv/onnx copying mmcv/onnx/init.py -> build/lib.linux-x86_64-3.7/mmcv/onnx copying mmcv/onnx/symbolic.py -> build/lib.linux-x86_64-3.7/mmcv/onnx creating build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/default_constructor.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer copying mmcv/runner/optimizer/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/closure.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/sampler_seed.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/momentum_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/ema.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/lr_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/optimizer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/hook.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/iter_timer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/sync_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks copying mmcv/runner/hooks/memory.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/mlflow.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/pavi.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/tensorboard.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/init.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/text.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/base.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger copying mmcv/runner/hooks/logger/wandb.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger creating build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp copying mmcv/video/optflow_warp/init.py -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp creating build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/activation.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/hsigmoid.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/non_local.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/upsample.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/plugin.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/swish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv_ws.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/registry.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv2d_adaptive_padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/conv.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/norm.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/depthwise_separable_conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/hswish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/scale.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks copying mmcv/cnn/bricks/context_block.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks creating build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/fuse_conv_bn.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils copying mmcv/cnn/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils creating build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/pickle_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/yaml_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/init.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/json_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers copying mmcv/fileio/handlers/base.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers creating build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils copying mmcv/onnx/onnx_utils/symbolic_helper.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils copying mmcv/onnx/onnx_utils/init.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils running egg_info writing mmcv_full.egg-info/PKG-INFO writing dependency_links to mmcv_full.egg-info/dependency_links.txt writing requirements to mmcv_full.egg-info/requires.txt writing top-level names to mmcv_full.egg-info/top_level.txt reading manifest file 'mmcv_full.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mmcv_full.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/deprecated.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/mmcls.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo copying mmcv/model_zoo/open_mmlab.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/bbox_overlaps_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/carafe_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/carafe_naive_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/cc_attention_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/common_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/deform_roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/masked_conv2d_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/modulated_deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/nms_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/parrots_cudawarpfunction.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/psamask_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/pytorch_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/pytorch_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/roi_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/sigmoid_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/softmax_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/sync_bn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc copying mmcv/ops/csrc/tin_shift_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/cc_attention_cuda_kernel.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/parrots_cpp_helper.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/parrots_cuda_helper.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots copying mmcv/ops/csrc/parrots/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/info.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/pybind.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/ops/csrc/pytorch/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch copying mmcv/video/optflow_warp/flow_warp.hpp -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp copying mmcv/video/optflow_warp/flow_warp_module.pyx -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp running build_ext building 'mmcv._flow_warp_ext' extension creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7 creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp Emitting ninja build file /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Using envvar MAX_JOBS (4) as the number of workers... [1/2] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [2/2] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp_module.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/video/optflow_warp/flow_warp_module.cpp:647: /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it with " \

  ^~~~~~~
g++ -pthread -shared -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -L/home/zhuyi/anaconda3/envs/pysot/lib -Wl,-rpath=/home/zhuyi/anaconda3/envs/pysot/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp_module.o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp.o -o build/lib.linux-x86_64-3.7/mmcv/_flow_warp_ext.cpython-37m-x86_64-linux-gnu.so
building 'mmcv._ext' extension
creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops
creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc
creating /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
Emitting ninja build file /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/build.ninja...
Compiling objects...
Using envvar MAX_JOBS (4) as the number of workers...
[1/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/deform_conv_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal   : Unsupported gpu architecture 'compute_86'
[2/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/roi_align_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/roi_align_cuda.cu -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal   : Unsupported gpu architecture 'compute_86'
[3/34] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/info.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/info.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/info.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                 from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/info.cpp:3:
/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

[4/34] c++ -MMD -MF /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o.d -pthread -B /home/zhuyi/anaconda3/envs/pysot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/TH -I/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zhuyi/anaconda3/envs/pysot/include/python3.7m -c -c /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/sync_bn.cpp -o /tmp/pip-install-rlefoxjl/mmcv-full/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                 from /home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                 from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                 from /tmp/pip-install-rlefoxjl/mmcv-full/mmcv/ops/csrc/pytorch/sync_bn.cpp:1:
/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
 #pragma omp parallel for if ((end - begin) >= grain_size)

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build
    env=env)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '4']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-rlefoxjl/mmcv-full/setup.py", line 228, in <module>
    zip_safe=False)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
    build_ext.build_extensions(self)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/zhuyi/anaconda3/envs/pysot/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: /home/zhuyi/anaconda3/envs/pysot/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"'; file='"'"'/tmp/pip-install-rlefoxjl/mmcv-full/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-f9jfdb4h/install-record.txt --single-version-externally-managed --compile --install-headers /home/zhuyi/anaconda3/envs/pysot/include/python3.7m/mmcv-full Check the logs for full command output. (pysot) zhuyi@ubuntu:~$

ZwwWayne commented 4 years ago
  1. Please use the Error template to report the details of your environment.
  2. Pytorch only supports CUDA11 since Pytorch 1.7, so you can check your Pytorch version.
  3. Please use the newest MMCV-full, which is compatible with Pytorch 1.7 so as to CUDA 11.
caiduoduo12138 commented 4 years ago

/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-q0071ef8/mmcv-full/mmcv/ops/csrc -I/home/cai/anaconda3/envs/mmd2/lib/python3.7/site-packages/torch/include -I/home/cai/anaconda3/envs/mmd2/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/cai/anaconda3/envs/mmd2/lib/python3.7/site-packages/torch/include/TH -I/home/cai/anaconda3/envs/mmd2/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/cai/anaconda3/envs/mmd2/include/python3.7m -c ./mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -o build/temp.linux-x86_64-3.7/./mmcv/ops/csrc/pytorch/deform_conv_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 -std=c++14 nvcc fatal : Unsupported gpu architecture 'compute_86' error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

ZwwWayne commented 4 years ago

This issue is closed because it duplicates #4047. If you have any other different issues, please create a new one.

RyanXLi commented 4 years ago

nvcc fatal : Unsupported gpu architecture 'compute_86' is the problem. This nvcc argument means that the compiler should optimize for sm_86 i.e. nvidia 30 series card. And such optimizations have not been supported by cuda toolkit 11.0. One hack around it is to do MMCV_WITH_OPS=1 MMCV_CUDA_ARGS='-gencode=arch=compute_80,code=sm_80' pip install -e ., which tells nvcc to optimize for sm_80 i.e. Nvidia A100, which is, although different from 30 series card, still under the ampere architecture. This may hurt the performance but it runs according to my tests. A future version of cuda toolkit may resolve this problem, but I have not tested it as pytorch is not compatible with it at this point.

ppwwyyxx commented 4 years ago

The default incorrect compiler flags should be fixed by https://github.com/pytorch/pytorch/pull/47585

LiUzHiAn commented 3 years ago

nvcc fatal : Unsupported gpu architecture 'compute_86' is the problem. This nvcc argument means that the compiler should optimize for sm_86 i.e. nvidia 30 series card. And such optimizations have not been supported by cuda toolkit 11.0. One hack around it is to do MMCV_WITH_OPS=1 MMCV_CUDA_ARGS='-gencode=arch=compute_80,code=sm_80' pip install -e ., which tells nvcc to optimize for sm_80 i.e. Nvidia A100, which is, although different from 30 series card, still under the ampere architecture. This may hurt the performance but it runs according to my tests. A future version of cuda toolkit may resolve this problem, but I have not tested it as pytorch is not compatible with it at this point.

The solution works well for RTX 3090 + Pytorch 1.7.1 + CUDA 11.0, thank you so much!