Ubuntu21.04编译mmcv-full失败的问题

CUDA: 11.1
NVIDIA Driver: 460.91.03
OS: Ubuntu21.04

笔者前段时间使用sudo do-release-upgrade命令从Ubuntu20.04升级到了21.04,原来的cuda和nvidia驱动程序没有损坏,但是python默认版本已经变成了3.9,所以需要重新安装python包。在安装mmcv-full的时候,编译出错(详细日志信息见文末),看提示信息应该是gcc/g++版本作怪,遂安装了gcc-9.3版本,按照https://www.jianshu.com/p/876934a6401f 的方法切换Ubuntu默认gcc/g++版本即可。究其原因是CUDA11.1与gcc10尚不兼容。

日志信息:

Building wheels for collected packages: mmcv-full
  Building wheel for mmcv-full (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd 98c740637ff017340/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/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-10cg5sog
       cwd: /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/
  Complete output (555 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/mmcv
  copying mmcv/__init__.py -> build/lib.linux-x86_64-3.9/mmcv
  copying mmcv/version.py -> build/lib.linux-x86_64-3.9/mmcv
  creating build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/modulated_deform_conv.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/psa_mask.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/roi_align.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/deform_conv.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/roi_align_rotated.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/cc_attention.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/roi_pool.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/carafe.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/info.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/bbox.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/masked_conv.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/corner_pool.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/point_sample.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/deprecated_wrappers.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/fused_bias_leakyrelu.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/multi_scale_deform_attn.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/deform_roi_pool.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/contour_expand.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/upfirdn2d.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/nms.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/merge_cells.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/border_align.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/tin_shift.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/focal_loss.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/saconv.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/box_iou_rotated.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/pixel_group.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  copying mmcv/ops/sync_bn.py -> build/lib.linux-x86_64-3.9/mmcv/ops
  creating build/lib.linux-x86_64-3.9/mmcv/cnn
  copying mmcv/cnn/vgg.py -> build/lib.linux-x86_64-3.9/mmcv/cnn
  copying mmcv/cnn/alexnet.py -> build/lib.linux-x86_64-3.9/mmcv/cnn
  copying mmcv/cnn/resnet.py -> build/lib.linux-x86_64-3.9/mmcv/cnn
  copying mmcv/cnn/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/cnn
  copying mmcv/cnn/builder.py -> build/lib.linux-x86_64-3.9/mmcv/cnn
  creating build/lib.linux-x86_64-3.9/mmcv/fileio
  copying mmcv/fileio/io.py -> build/lib.linux-x86_64-3.9/mmcv/fileio
  copying mmcv/fileio/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/fileio
  copying mmcv/fileio/file_client.py -> build/lib.linux-x86_64-3.9/mmcv/fileio
  copying mmcv/fileio/parse.py -> build/lib.linux-x86_64-3.9/mmcv/fileio
  creating build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/io.py -> build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/misc.py -> build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/colorspace.py -> build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/photometric.py -> build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/image
  copying mmcv/image/geometric.py -> build/lib.linux-x86_64-3.9/mmcv/image
  creating build/lib.linux-x86_64-3.9/mmcv/engine
  copying mmcv/engine/test.py -> build/lib.linux-x86_64-3.9/mmcv/engine
  copying mmcv/engine/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/engine
  creating build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/env.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/parrots_jit.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/registry.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/misc.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/logging.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/path.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/ext_loader.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/config.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/trace.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/progressbar.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/timer.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/parrots_wrapper.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/version_utils.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  copying mmcv/utils/testing.py -> build/lib.linux-x86_64-3.9/mmcv/utils
  creating build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/registry.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/data_parallel.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/distributed_deprecated.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/_functions.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/collate.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/utils.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/data_container.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/distributed.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  copying mmcv/parallel/scatter_gather.py -> build/lib.linux-x86_64-3.9/mmcv/parallel
  creating build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/log_buffer.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/checkpoint.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/utils.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/base_module.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/dist_utils.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/epoch_based_runner.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/default_constructor.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/priority.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/base_runner.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/iter_based_runner.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/fp16_utils.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  copying mmcv/runner/builder.py -> build/lib.linux-x86_64-3.9/mmcv/runner
  creating build/lib.linux-x86_64-3.9/mmcv/visualization
  copying mmcv/visualization/color.py -> build/lib.linux-x86_64-3.9/mmcv/visualization
  copying mmcv/visualization/image.py -> build/lib.linux-x86_64-3.9/mmcv/visualization
  copying mmcv/visualization/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/visualization
  copying mmcv/visualization/optflow.py -> build/lib.linux-x86_64-3.9/mmcv/visualization
  creating build/lib.linux-x86_64-3.9/mmcv/video
  copying mmcv/video/io.py -> build/lib.linux-x86_64-3.9/mmcv/video
  copying mmcv/video/processing.py -> build/lib.linux-x86_64-3.9/mmcv/video
  copying mmcv/video/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/video
  copying mmcv/video/optflow.py -> build/lib.linux-x86_64-3.9/mmcv/video
  creating build/lib.linux-x86_64-3.9/mmcv/onnx
  copying mmcv/onnx/info.py -> build/lib.linux-x86_64-3.9/mmcv/onnx
  copying mmcv/onnx/symbolic.py -> build/lib.linux-x86_64-3.9/mmcv/onnx
  copying mmcv/onnx/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/onnx
  creating build/lib.linux-x86_64-3.9/mmcv/tensorrt
  copying mmcv/tensorrt/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/tensorrt
  copying mmcv/tensorrt/tensorrt_utils.py -> build/lib.linux-x86_64-3.9/mmcv/tensorrt
  copying mmcv/tensorrt/init_plugins.py -> build/lib.linux-x86_64-3.9/mmcv/tensorrt
  copying mmcv/tensorrt/preprocess.py -> build/lib.linux-x86_64-3.9/mmcv/tensorrt
  creating build/lib.linux-x86_64-3.9/mmcv/arraymisc
  copying mmcv/arraymisc/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/arraymisc
  copying mmcv/arraymisc/quantization.py -> build/lib.linux-x86_64-3.9/mmcv/arraymisc
  creating build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/padding.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/swish.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/hswish.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/registry.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv_module.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/non_local.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/upsample.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/wrappers.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/hsigmoid.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/transformer.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/context_block.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv2d_adaptive_padding.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/generalized_attention.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/plugin.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/depthwise_separable_conv_module.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/scale.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/norm.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv_ws.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/activation.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/drop.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/bricks
  creating build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  copying mmcv/cnn/utils/fuse_conv_bn.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  copying mmcv/cnn/utils/flops_counter.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  copying mmcv/cnn/utils/weight_init.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  copying mmcv/cnn/utils/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  copying mmcv/cnn/utils/sync_bn.py -> build/lib.linux-x86_64-3.9/mmcv/cnn/utils
  creating build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/json_handler.py -> build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/base.py -> build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/pickle_handler.py -> build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/yaml_handler.py -> build/lib.linux-x86_64-3.9/mmcv/fileio/handlers
  creating build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/evaluation.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/closure.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/checkpoint.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/lr_updater.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/iter_timer.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/sampler_seed.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/momentum_updater.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/hook.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/sync_buffer.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/ema.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/optimizer.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/profiler.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  copying mmcv/runner/hooks/memory.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks
  creating build/lib.linux-x86_64-3.9/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/default_constructor.py -> build/lib.linux-x86_64-3.9/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/builder.py -> build/lib.linux-x86_64-3.9/mmcv/runner/optimizer
  creating build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/neptune.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/mlflow.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/text.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/tensorboard.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/wandb.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/__init__.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/pavi.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/base.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/dvclive.py -> build/lib.linux-x86_64-3.9/mmcv/runner/hooks/logger
  creating build/lib.linux-x86_64-3.9/mmcv/onnx/onnx_utils
  copying mmcv/onnx/onnx_utils/symbolic_helper.py -> build/lib.linux-x86_64-3.9/mmcv/onnx/onnx_utils
  copying mmcv/onnx/onnx_utils/__init__.py -> build/lib.linux-x86_64-3.9/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.9/mmcv/model_zoo
  copying mmcv/model_zoo/deprecated.json -> build/lib.linux-x86_64-3.9/mmcv/model_zoo
  copying mmcv/model_zoo/mmcls.json -> build/lib.linux-x86_64-3.9/mmcv/model_zoo
  copying mmcv/model_zoo/open_mmlab.json -> build/lib.linux-x86_64-3.9/mmcv/model_zoo
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  copying mmcv/ops/csrc/common/box_iou_rotated_utils.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  copying mmcv/ops/csrc/common/parrots_cpp_helper.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  copying mmcv/ops/csrc/common/parrots_cuda_helper.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  copying mmcv/ops/csrc/common/pytorch_cpp_helper.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  copying mmcv/ops/csrc/common/pytorch_cuda_helper.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/bbox_overlaps_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/border_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/box_iou_rotated_cuda.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/carafe_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/carafe_naive_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/common_cuda_helper.hpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/deform_roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/masked_conv2d_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/modulated_deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/ms_deform_attn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/nms_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/nms_rotated_cuda.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/parrots_cudawarpfunction.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/psamask_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/roi_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/roi_align_rotated_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/sigmoid_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/softmax_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/sync_bn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  copying mmcv/ops/csrc/common/cuda/tin_shift_cuda_kernel.cuh -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/common/cuda
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/bbox_overlaps_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/bbox_overlaps_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/border_align.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/border_align_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/border_align_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/box_iou_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/box_iou_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/box_iou_rotated_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/box_iou_rotated_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_naive.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_naive_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_naive_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/corner_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/corner_pool_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/corner_pool_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_conv.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_conv_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_conv_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_roi_pool_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_roi_pool_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/focal_loss.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/focal_loss_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/focal_loss_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/fused_bias_leakyrelu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/fused_bias_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/masked_conv2d.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/masked_conv2d_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/masked_conv2d_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/modulated_deform_conv_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/modulated_deform_conv_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/ms_deform_attn.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/ms_deform_attn_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/psamask.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/psamask_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/psamask_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_rotated_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_rotated_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_pool_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_pool_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/sync_bn.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/sync_bn_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/sync_bn_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/tin_shift.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/tin_shift_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/tin_shift_pytorch.h -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/upfirdn2d.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/upfirdn2d_parrots.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/parrots
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/border_align.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/box_iou_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe_naive.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/contour_expand.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/corner_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_conv.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_conv_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/focal_loss.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/fused_bias_leakyrelu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/info.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/masked_conv2d.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/modulated_deform_conv_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/ms_deform_attn.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/nms.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/nms_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/nms_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/pixel_group.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/psamask.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/pybind.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align_rotated.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align_rotated_cpu.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_pool.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/sync_bn.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/tin_shift.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/upfirdn2d.cpp -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  creating build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/border_align_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/box_iou_rotated_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/carafe_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/fused_bias_leakyrelu_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/ms_deform_attn_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/nms_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/nms_rotated_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/psamask_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/roi_align_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/roi_align_rotated_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  copying mmcv/ops/csrc/pytorch/cuda/upfirdn2d_kernel.cu -> build/lib.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  running build_ext
  building 'mmcv._ext' extension
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch
  creating /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda
  Emitting ninja build file /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/build.ninja...
  Compiling objects...
  Using envvar MAX_JOBS (11) as the number of workers...
  [1/53] /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/co mmon -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packa ges/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/to rch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip -install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/bbox_overlaps_cuda.cu -o /tmp/pip-install-v8y14f6b/ mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/bbox_overlaps_cuda.o -D__CUDA_NO_HALF_OPE RATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compile r-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_ BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=comp ute_75,code=sm_75 -std=c++14
  FAILED: /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/bbox_ overlaps_cuda.o
  /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/tor ch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/inc lude/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-instal l-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/bbox_overlaps_cuda.cu -o /tmp/pip-install-v8y14f6b/mmcv-fu ll_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/bbox_overlaps_cuda.o -D__CUDA_NO_HALF_OPERATORS_ _ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-optio ns ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_A BI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75, code=sm_75 -std=c++14
  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::_ _bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / s td::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd( _Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [w ith _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [2/53] /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/co mmon -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packa ges/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/to rch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip -install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/border_align_cuda.cu -o /tmp/pip-install-v8y14f6b/m mcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/border_align_cuda.o -D__CUDA_NO_HALF_OPERA TORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler- options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BU ILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=comput e_75,code=sm_75 -std=c++14
  FAILED: /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/borde r_align_cuda.o
  /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/tor ch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/inc lude/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-instal l-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/border_align_cuda.cu -o /tmp/pip-install-v8y14f6b/mmcv-ful l_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/border_align_cuda.o -D__CUDA_NO_HALF_OPERATORS__  -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options  ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI ="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,co de=sm_75 -std=c++14
  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::_ _bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / s td::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd( _Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [w ith _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [3/53] /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/co mmon -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packa ges/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/to rch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip -install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/box_iou_rotated_cuda.cu -o /tmp/pip-install-v8y14f6 b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/box_iou_rotated_cuda.o -D__CUDA_NO_HALF _OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --com piler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIN D11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch= compute_75,code=sm_75 -std=c++14
  FAILED: /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/box_i ou_rotated_cuda.o
  /usr/local/cuda/bin/nvcc  -DMMCV_WITH_CUDA -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/tor ch/include -I/usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/inc lude/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-instal l-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/cuda/box_iou_rotated_cuda.cu -o /tmp/pip-install-v8y14f6b/mmcv- full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorch/cuda/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERAT ORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-o ptions ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUI LD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute _75,code=sm_75 -std=c++14
  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::_ _bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / s td::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd( _Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [w ith _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [4/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/contour_expand.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/ python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/pyt hon3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip- install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c74 0637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torc h/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/i nclude/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mm cv/ops/csrc/pytorch/contour_expand.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/ mmcv/ops/csrc/pytorch/contour_expand.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' ' -DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/contour_expand.cpp:6:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/contour_expand.cpp: In function ‘std::vector<s td::vector<int, std::allocator<int> > > contour_expand(at::Tensor, at::Tensor, int, int)’:
  /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/contour_expand.cpp:105:15: warning: variable ‘ label_map_shape’ set but not used [-Wunused-but-set-variable]
    105 |   IntArrayRef label_map_shape = internal_kernel_label.sizes();
        |               ^~~~~~~~~~~~~~~
  [5/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/carafe_naive.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/py thon3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/pytho n3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-in stall-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c7406 37ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/ include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/inc lude/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv /ops/csrc/pytorch/carafe_naive.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv /ops/csrc/pytorch/carafe_naive.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBI ND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/carafe_naive.cpp:2:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [6/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/box_iou_rotated.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT /python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/py thon3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip -install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c7 40637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/tor ch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/ include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/m mcv/ops/csrc/pytorch/box_iou_rotated.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3. 9/mmcv/ops/csrc/pytorch/box_iou_rotated.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp" ' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/box_iou_rotated.cpp:4:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [7/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/border_align.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/py thon3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/pytho n3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-in stall-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c7406 37ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/ include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/inc lude/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv /ops/csrc/pytorch/border_align.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv /ops/csrc/pytorch/border_align.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBI ND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/border_align.cpp:2:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [8/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/bbox_overlaps.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/p ython3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/pyth on3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-i nstall-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740 637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torch /include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/in clude/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmc v/ops/csrc/pytorch/bbox_overlaps.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mm cv/ops/csrc/pytorch/bbox_overlaps.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DP YBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/bbox_overlaps.cpp:2:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [9/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytorc h/corner_pool.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/pyt hon3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/python 3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-ins tall-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c74063 7ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/i nclude/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/incl ude/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ ops/csrc/pytorch/corner_pool.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/o ps/csrc/pytorch/corner_pool.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND1 1_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/corner_pool.cpp:4:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [10/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytor ch/carafe.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3 .9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6GrT/python3.9- 3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install -v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff0 17340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-packages/torch/inclu de/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/torch/include/ THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/ csrc/pytorch/carafe.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/p ytorch/carafe.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_ cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/carafe.cpp:2:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  [11/53] c++ -MMD -MF /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux-x86_64-3.9/mmcv/ops/csrc/pytor ch/box_iou_rotated_cpu.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-1 n6GrT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-1n6G rT/python3.9-3.9.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMMCV_WITH_CUDA -I/tm p/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common -I/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4b d98c740637ff017340/mmcv/ops/csrc/common/cuda -I/usr/local/lib/python3.9/dist-packages/torch/include -I/usr/local/lib/python3.9/dist-package s/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.9/dist-packages/torch/include/TH -I/usr/local/lib/python3.9/dist-packages/t orch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.9 -c -c /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017 340/mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.cpp -o /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/build/temp.linux- x86_64-3.9/mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB ="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  In file included from /usr/local/lib/python3.9/dist-packages/torch/include/ATen/Parallel.h:140,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:13,
                   from /usr/local/lib/python3.9/dist-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/common/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.cpp: 5:
  /usr/local/lib/python3.9/dist-packages/torch/include/ATen/ParallelOpenMP.h:87: warning: ignoring ‘#pragma omp parallel’ [-Wunknown-pragma s]
     87 | #pragma omp parallel for if ((end - begin) >= grain_size)
        |
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/dist-packages/torch/utils/cpp_extension.py", line 1666, in _run_ninja_build
      subprocess.run(
    File "/usr/lib/python3.9/subprocess.py", line 528, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '11']' 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 <module>
    File "/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/setup.py", line 323, in <module>
      setup(
    File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/usr/lib/python3/dist-packages/Cython/Distutils/old_build_ext.py", line 186, in run
      _build_ext.build_ext.run(self)
    File "/usr/lib/python3.9/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/usr/local/lib/python3.9/dist-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
      build_ext.build_extensions(self)
    File "/usr/lib/python3/dist-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
      _build_ext.build_ext.build_extensions(self)
    File "/usr/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/usr/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 196, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
      objects = self.compiler.compile(sources,
    File "/usr/local/lib/python3.9/dist-packages/torch/utils/cpp_extension.py", line 530, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/usr/local/lib/python3.9/dist-packages/torch/utils/cpp_extension.py", line 1355, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/usr/local/lib/python3.9/dist-packages/torch/utils/cpp_extension.py", line 1682, 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: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4 bd98c740637ff017340/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v8y14f6b/mmcv-full_3db000a6dd1b4bd98c740637ff017340/setup.py'"'"';f=getat tr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"' "'exec'"'"'))' install --record /tmp/pip-record-6czq3dza/install-record.txt --single-version-externally-managed --compile --install-headers  /usr/local/include/python3.9/mmcv-full

你可能感兴趣的:(深度学习,python,linux,ubuntu,mmcv-full)