apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.78k stars 6.79k forks source link

Tring to install mxnet 1.7 for NVIDIA AGX Xavier. Bug appears when pip installing for python. What should I do. #20845

Open YuanZhichao opened 2 years ago

YuanZhichao commented 2 years ago

Description

Tring to install mxnet 1.7 for NVIDIA AGX Xavier. This bug appears when pip installing for python.

Error Message

xavier@xavier-device:~/mxnet/python$ sudo pip3 install -e .
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
WARNING: The directory '/home/xavier/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Obtaining file:///home/xavier/mxnet/python
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status -4:
   command: /usr/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/xavier/mxnet/python/setup.py'"'"'; __file__='"'"'/home/xavier/mxnet/python/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-k7vrpvaa
       cwd: /home/xavier/mxnet/python/
  Complete output (0 lines):
  ----------------------------------------
WARNING: Discarding file:///home/xavier/mxnet/python. Command errored out with exit status -4: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status -4: python setup.py egg_info Check the logs for full command output.

Besides, the building procedure ends like this and I am not sure if it's running in the right way.

...
a - build/src/operator/nn/deconvolution_gpu.o
a - build/src/operator/nn/activation_gpu.o
a - build/src/operator/nn/log_softmax_gpu.o
a - build/src/operator/nn/moments_gpu.o
a - build/src/operator/nn/group_norm_gpu.o
a - build/src/operator/nn/softmax_activation_gpu.o
a - build/src/operator/nn/upsampling_gpu.o
a - build/src/operator/nn/layer_norm_gpu.o
a - build/src/operator/nn/im2col_gpu.o
a - build/src/operator/nn/convolution_gpu.o
a - build/src/operator/quantization/requantize_gpu.o
a - build/src/operator/quantization/quantize_gpu.o
a - build/src/operator/quantization/dequantize_gpu.o
a - build/src/operator/quantization/quantized_conv_gpu.o
a - build/src/operator/quantization/quantized_fully_connected_gpu.o
a - build/src/operator/quantization/quantized_flatten_gpu.o
a - build/src/operator/quantization/quantized_pooling_gpu.o
a - build/src/operator/quantization/quantize_v2_gpu.o
a - build/src/operator/fusion/fused_op_gpu.o
a - build/src/common/utils_gpu.o
a - build/src/common/random_generator_gpu.o
a - build/src/ndarray/ndarray_function_gpu.o
a - build/src/operator/slice_channel_gpu.o
a - build/src/operator/optimizer_op_gpu.o
a - build/src/operator/convolution_v1_gpu.o
a - build/src/operator/sequence_mask_gpu.o
a - build/src/operator/correlation_gpu.o
a - build/src/operator/instance_norm_gpu.o
a - build/src/operator/pad_gpu.o
a - build/src/operator/svm_output_gpu.o
a - build/src/operator/sequence_last_gpu.o
a - build/src/operator/leaky_relu_gpu.o
a - build/src/operator/grid_generator_gpu.o
a - build/src/operator/rnn_gpu.o
a - build/src/operator/crop_gpu.o
a - build/src/operator/sequence_reverse_gpu.o
a - build/src/operator/identity_attach_KL_sparse_reg_gpu.o
a - build/src/operator/swapaxis_gpu.o
a - build/src/operator/make_loss_gpu.o
a - build/src/operator/softmax_output_gpu.o
a - build/src/operator/bilinear_sampler_gpu.o
a - build/src/operator/spatial_transformer_gpu.o
a - build/src/operator/pooling_v1_gpu.o
a - build/src/operator/roi_pooling_gpu.o
a - build/src/operator/batch_norm_v1_gpu.o
a - build/src/operator/loss_binary_op_gpu.o
a - build/src/operator/l2_normalization_gpu.o
a - build/src/operator/regression_output_gpu.o
a - build/src/kvstore/gradient_compression_gpu.o
a - build/src/kvstore/kvstore_utils_gpu.o
g++ -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_LOG_FATAL_THROW=1 -O3 -DNDEBUG=1 -I/home/xavier/mxnet/3rdparty/mshadow/ -I/home/xavier/mxnet/3rdparty/dmlc-core/include -fPIC -I/home/xavier/mxnet/3rdparty/tvm/nnvm/include -I/home/xavier/mxnet/3rdparty/dlpack/include -I/home/xavier/mxnet/3rdparty/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -DMSHADOW_USE_SSE=0 -DMSHADOW_USE_F16C=0 -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_SIGNAL_HANDLER=1 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv4/opencv -I/usr/include/opencv4 -fopenmp -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_INT64_TENSOR_SIZE=0 -DMSHADOW_USE_CUDNN=1 -DMXNET_USE_BLAS_OPEN=1 -I/include -I/usr/include/aarch64-linux-gnu/ -I/home/xavier/mxnet/3rdparty/nvidia_cub -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -std=c++11  -o bin/im2rec tools/im2rec.cc build/src/api/operator/numpy/np_tensordot_op.o build/src/api/operator/numpy/np_init_op.o build/src/operator/contrib/tvmop/dot.o build/src/operator/contrib/tvmop/ufunc.o build/src/operator/numpy/random/np_multinomial_op.o build/src/operator/numpy/random/np_bernoulli_op.o build/src/operator/numpy/random/np_gamma_op.o build/src/operator/numpy/random/np_location_scale_op.o build/src/operator/numpy/random/np_choice_op.o build/src/operator/numpy/random/np_normal_op.o build/src/operator/numpy/random/dist_common.o build/src/operator/numpy/random/np_pareto_op.o build/src/operator/numpy/random/np_rayleigh_op.o build/src/operator/numpy/random/np_uniform_op.o build/src/operator/numpy/random/np_power_op.o build/src/operator/numpy/random/np_exponential_op.o build/src/operator/numpy/random/np_weibull_op.o build/src/operator/numpy/linalg/np_tensorsolve.o build/src/operator/numpy/linalg/np_potrf.o build/src/operator/numpy/linalg/np_norm_backward.o build/src/operator/numpy/linalg/np_pinv.o build/src/operator/numpy/linalg/np_tensorinv.o build/src/operator/numpy/linalg/np_eigvals.o build/src/operator/numpy/linalg/np_eig.o build/src/operator/numpy/linalg/np_norm_forward.o build/src/operator/numpy/linalg/np_norm.o build/src/operator/numpy/linalg/np_solve.o build/src/operator/numpy/linalg/np_gesvd.o build/src/operator/nn/mkldnn/mkldnn_convolution.o build/src/operator/nn/mkldnn/mkldnn_concat.o build/src/operator/nn/mkldnn/mkldnn_base.o build/src/operator/nn/mkldnn/mkldnn_slice.o build/src/operator/nn/mkldnn/mkldnn_reshape.o build/src/operator/nn/mkldnn/mkldnn_transpose.o build/src/operator/nn/mkldnn/mkldnn_rnn.o build/src/operator/nn/mkldnn/mkldnn_act.o build/src/operator/nn/mkldnn/mkldnn_softmax.o build/src/operator/nn/mkldnn/mkldnn_deconvolution.o build/src/operator/nn/mkldnn/mkldnn_copy.o build/src/operator/nn/mkldnn/mkldnn_softmax_output.o build/src/operator/nn/mkldnn/mkldnn_fully_connected.o build/src/operator/nn/mkldnn/mkldnn_pooling.o build/src/operator/nn/mkldnn/mkldnn_sum.o build/src/operator/nn/cudnn/cudnn_algoreg.o build/src/operator/nn/cudnn/cudnn_batch_norm.o build/src/operator/quantization/mkldnn/mkldnn_quantized_elemwise_add.o build/src/operator/quantization/mkldnn/mkldnn_quantized_conv.o build/src/operator/quantization/mkldnn/mkldnn_quantized_act.o build/src/operator/quantization/mkldnn/mkldnn_quantized_flatten.o build/src/operator/quantization/mkldnn/mkldnn_quantized_fully_connected.o build/src/operator/quantization/mkldnn/mkldnn_quantized_pooling.o build/src/operator/quantization/mkldnn/mkldnn_quantized_concat.o build/src/operator/quantization/mkldnn/mkldnn_quantized_batch_norm.o build/src/operator/subgraph/mkldnn/mkldnn_subgraph_property.o build/src/operator/subgraph/mkldnn/mkldnn_conv.o build/src/operator/subgraph/mkldnn/mkldnn_fc.o build/src/operator/subgraph/tensorrt/tensorrt.o build/src/operator/subgraph/tensorrt/onnx_to_tensorrt.o build/src/operator/subgraph/tensorrt/nnvm_to_onnx.o build/src/api/_api_internal/_api_internal.o build/src/api/operator/utils.o build/src/operator/nnpack/nnpack_util.o build/src/operator/contrib/multibox_target.o build/src/operator/contrib/bilinear_resize.o build/src/operator/contrib/proposal.o build/src/operator/contrib/krprod.o build/src/operator/contrib/rroi_align.o build/src/operator/contrib/nnz.o build/src/operator/contrib/gradient_multiplier_op.o build/src/operator/contrib/adamw.o build/src/operator/contrib/stes_op.o build/src/operator/contrib/quadratic_op.o build/src/operator/contrib/optimizer_op.o build/src/operator/contrib/modulated_deformable_convolution.o build/src/operator/contrib/multibox_detection.o build/src/operator/contrib/multi_lamb.o build/src/operator/contrib/deformable_psroi_pooling.o build/src/operator/contrib/dgl_graph.o build/src/operator/contrib/fft.o build/src/operator/contrib/preloaded_multi_sgd.o build/src/operator/contrib/bounding_box.o build/src/operator/contrib/hawkes_ll.o build/src/operator/contrib/transformer.o build/src/operator/contrib/all_finite.o build/src/operator/contrib/index_array.o build/src/operator/contrib/multi_lars.o build/src/operator/contrib/multi_proposal.o build/src/operator/contrib/adaptive_avg_pooling.o build/src/operator/contrib/roi_align.o build/src/operator/contrib/reset_arrays.o build/src/operator/contrib/multibox_prior.o build/src/operator/contrib/amp_graph_pass.o build/src/operator/contrib/boolean_mask.o build/src/operator/contrib/psroi_pooling.o build/src/operator/contrib/allclose_op.o build/src/operator/contrib/index_copy.o build/src/operator/contrib/deformable_convolution.o build/src/operator/contrib/ifft.o build/src/operator/contrib/sync_batch_norm.o build/src/operator/contrib/count_sketch.o build/src/operator/contrib/multi_sum_sq.o build/src/operator/random/sample_multinomial_op.o build/src/operator/random/pdf_op.o build/src/operator/random/multisample_op.o build/src/operator/random/unique_sample_op.o build/src/operator/random/sample_op.o build/src/operator/random/shuffle_op.o build/src/operator/numpy/np_insert_op_scalar.o build/src/operator/numpy/np_tril_op.o build/src/operator/numpy/np_polynomial_op.o build/src/operator/numpy/np_einsum_op.o build/src/operator/numpy/np_tensordot_op.o build/src/operator/numpy/np_dot.o build/src/operator/numpy/np_elemwise_broadcast_op_extended.o build/src/operator/numpy/np_elemwise_broadcast_logic_op.o build/src/operator/numpy/np_insert_op_slice.o build/src/operator/numpy/np_cumsum.o build/src/operator/numpy/np_insert_op_tensor.o build/src/operator/numpy/np_true_divide.o build/src/operator/numpy/np_delete_op.o build/src/operator/numpy/np_elemwise_broadcast_op.o build/src/operator/numpy/np_boolean_mask_assign.o build/src/operator/numpy/np_percentile_op.o build/src/operator/numpy/np_trace_op.o build/src/operator/numpy/np_matmul_op.o build/src/operator/numpy/np_broadcast_reduce_op_index.o build/src/operator/numpy/np_constraint_check.o build/src/operator/numpy/np_ediff1d_op.o build/src/operator/numpy/np_unique_op.o build/src/operator/numpy/np_broadcast_reduce_op_value.o build/src/operator/numpy/np_where_op.o build/src/operator/numpy/np_bincount_op.o build/src/operator/numpy/np_window_op.o build/src/operator/numpy/np_memory_op.o build/src/operator/numpy/np_moments_op.o build/src/operator/numpy/np_elemwise_unary_op_basic.o build/src/operator/numpy/np_nonzero_op.o build/src/operator/numpy/np_pad_op.o build/src/operator/numpy/np_broadcast_reduce_op_boolean.o build/src/operator/numpy/np_init_op.o build/src/operator/numpy/np_diff.o build/src/operator/numpy/np_matrix_op.o build/src/operator/custom/native_op.o build/src/operator/custom/ndarray_op.o build/src/operator/custom/custom.o build/src/operator/tvmop/op_module.o build/src/operator/tensor/elemwise_binary_broadcast_op_extended.o build/src/operator/tensor/elemwise_binary_op_extended.o build/src/operator/tensor/sparse_retain.o build/src/operator/tensor/square_sum.o build/src/operator/tensor/elemwise_binary_op_basic.o build/src/operator/tensor/dot.o build/src/operator/tensor/elemwise_sum.o build/src/operator/tensor/init_op.o build/src/operator/tensor/elemwise_binary_broadcast_op_basic.o build/src/operator/tensor/elemwise_binary_scalar_op_logic.o build/src/operator/tensor/histogram.o build/src/operator/tensor/broadcast_reduce_op_index.o build/src/operator/tensor/broadcast_reduce_minmax_value.o build/src/operator/tensor/elemwise_scatter_op.o build/src/operator/tensor/elemwise_unary_op_basic.o build/src/operator/tensor/ravel.o build/src/operator/tensor/broadcast_reduce_op_value.o build/src/operator/tensor/elemwise_binary_op.o build/src/operator/tensor/control_flow_op.o build/src/operator/tensor/indexing_op.o build/src/operator/tensor/broadcast_reduce_sum_value.o build/src/operator/tensor/elemwise_binary_broadcast_op_logic.o build/src/operator/tensor/la_op.o build/src/operator/tensor/elemwise_binary_scalar_op_basic.o build/src/operator/tensor/broadcast_reduce_prod_value.o build/src/operator/tensor/elemwise_unary_op_trig.o build/src/operator/tensor/elemwise_binary_op_logic.o build/src/operator/tensor/amp_cast.o build/src/operator/tensor/elemwise_unary_op_pow.o build/src/operator/tensor/elemwise_binary_scalar_op_extended.o build/src/operator/tensor/broadcast_reduce_norm_value.o build/src/operator/tensor/elemwise_unary_op_logexp.o build/src/operator/tensor/ordering_op.o build/src/operator/tensor/matrix_op.o build/src/operator/tensor/cast_storage.o build/src/operator/tensor/diag_op.o build/src/operator/image/crop.o build/src/operator/image/image_random.o build/src/operator/image/resize.o build/src/operator/nn/moments.o build/src/operator/nn/group_norm.o build/src/operator/nn/pooling.o build/src/operator/nn/softmax.o build/src/operator/nn/deconvolution.o build/src/operator/nn/log_softmax.o build/src/operator/nn/batch_norm.o build/src/operator/nn/activation.o build/src/operator/nn/ctc_loss.o build/src/operator/nn/fully_connected.o build/src/operator/nn/convolution.o build/src/operator/nn/dropout.o build/src/operator/nn/upsampling.o build/src/operator/nn/concat.o build/src/operator/nn/im2col.o build/src/operator/nn/layer_norm.o build/src/operator/nn/lrn.o build/src/operator/nn/softmax_activation.o build/src/operator/nn/softmin.o build/src/operator/quantization/quantized_elemwise_add.o build/src/operator/quantization/dequantize.o build/src/operator/quantization/quantize_graph_pass.o build/src/operator/quantization/calibrate.o build/src/operator/quantization/quantized_flatten.o build/src/operator/quantization/quantized_conv.o build/src/operator/quantization/quantized_fully_connected.o build/src/operator/quantization/quantized_pooling.o build/src/operator/quantization/quantized_indexing_op.o build/src/operator/quantization/quantize_v2.o build/src/operator/quantization/quantized_concat.o build/src/operator/quantization/requantize.o build/src/operator/quantization/quantized_activation.o build/src/operator/quantization/quantize.o build/src/operator/quantization/quantized_batch_norm.o build/src/operator/quantization/quantized_elemwise_mul.o build/src/operator/subgraph/build_subgraph.o build/src/operator/subgraph/default_subgraph_property_v2.o build/src/operator/subgraph/default_subgraph_property.o build/src/operator/fusion/fused_op.o build/src/executor/pointwise_fusion_pass.o build/src/executor/inplace_addto_detect_pass.o build/src/executor/infer_graph_attr_pass.o build/src/executor/eliminate_common_expr_pass.o build/src/executor/graph_executor.o build/src/executor/attach_op_execs_pass.o build/src/executor/attach_op_resource_pass.o build/src/io/io.o build/src/io/iter_csv.o build/src/io/iter_image_det_recordio.o build/src/io/image_aug_default.o build/src/io/image_io.o build/src/io/image_det_aug_default.o build/src/io/iter_image_recordio.o build/src/io/iter_mnist.o build/src/io/iter_image_recordio_2.o build/src/io/iter_libsvm.o build/src/common/cuda_utils.o build/src/common/utils.o build/src/common/rtc.o build/src/common/exec_utils.o build/src/nnvm/gradient.o build/src/nnvm/legacy_op_util.o build/src/nnvm/tvm_bridge.o build/src/nnvm/graph_editor.o build/src/nnvm/legacy_json_util.o build/src/nnvm/plan_memory.o build/src/nnvm/low_precision_pass.o build/src/nnvm/amp_infer_unknown.o build/src/imperative/cached_op.o build/src/imperative/imperative_utils.o build/src/imperative/imperative.o build/src/imperative/cached_op_threadsafe.o build/src/ndarray/ndarray_function.o build/src/ndarray/ndarray.o build/src/operator/instance_norm.o build/src/operator/grid_generator.o build/src/operator/operator_tune.o build/src/operator/rnn.o build/src/operator/subgraph_op_common.o build/src/operator/crop.o build/src/operator/identity_attach_KL_sparse_reg.o build/src/operator/convolution_v1.o build/src/operator/pad.o build/src/operator/leaky_relu.o build/src/operator/sequence_reverse.o build/src/operator/slice_channel.o build/src/operator/loss_binary_op.o build/src/operator/c_lapack_api.o build/src/operator/optimizer_op.o build/src/operator/regression_output.o build/src/operator/make_loss.o build/src/operator/control_flow.o build/src/operator/swapaxis.o build/src/operator/roi_pooling.o build/src/operator/l2_normalization.o build/src/operator/svm_output.o build/src/operator/operator.o build/src/operator/sequence_last.o build/src/operator/cross_device_copy.o build/src/operator/pooling_v1.o build/src/operator/operator_util.o build/src/operator/spatial_transformer.o build/src/operator/softmax_output.o build/src/operator/batch_norm_v1.o build/src/operator/bilinear_sampler.o build/src/operator/sequence_mask.o build/src/operator/correlation.o build/src/lang/expr.o build/src/lang/ir.o build/src/engine/naive_engine.o build/src/engine/openmp.o build/src/engine/threaded_engine_pooled.o build/src/engine/engine.o build/src/engine/threaded_engine.o build/src/engine/threaded_engine_perdevice.o build/src/ir/expr.o build/src/storage/storage.o build/src/runtime/registry.o build/src/runtime/c_runtime_api.o build/src/runtime/object.o build/src/c_api/c_api_executor.o build/src/c_api/c_api_symbolic.o build/src/c_api/c_api_profile.o build/src/c_api/c_api_ndarray.o build/src/c_api/c_api_test.o build/src/c_api/c_predict_api.o build/src/c_api/c_api_function.o build/src/c_api/c_api.o build/src/c_api/c_api_error.o build/src/profiler/profiler.o build/src/profiler/aggregate_stats.o build/src/profiler/nvtx.o build/src/profiler/vtune.o build/src/kvstore/gradient_compression.o build/src/kvstore/kvstore_utils.o build/src/kvstore/kvstore.o build/src/resource.o build/src/base.o build/src/libinfo.o build/src/initialize.o /home/xavier/mxnet/3rdparty/dmlc-core/libdmlc.a /home/xavier/mxnet/3rdparty/tvm/nnvm/lib/libnnvm.a build/src/operator/numpy/random/np_uniform_op_gpu.o build/src/operator/numpy/random/np_pareto_op_gpu.o build/src/operator/numpy/random/np_power_op_gpu.o build/src/operator/numpy/random/np_weibull_op_gpu.o build/src/operator/numpy/random/np_multinomial_op_gpu.o build/src/operator/numpy/random/np_bernoulli_op_gpu.o build/src/operator/numpy/random/np_gamma_op_gpu.o build/src/operator/numpy/random/np_exponential_op_gpu.o build/src/operator/numpy/random/np_location_scale_op_gpu.o build/src/operator/numpy/random/np_choice_op_gpu.o build/src/operator/numpy/random/np_normal_op_gpu.o build/src/operator/numpy/random/dist_common_gpu.o build/src/operator/numpy/random/np_rayleigh_op_gpu.o build/src/operator/numpy/linalg/np_norm_forward_gpu.o build/src/operator/numpy/linalg/np_solve_gpu.o build/src/operator/numpy/linalg/np_gesvd_gpu.o build/src/operator/numpy/linalg/np_potrf_gpu.o build/src/operator/numpy/linalg/np_tensorinv_gpu.o build/src/operator/numpy/linalg/np_norm_backward_gpu.o build/src/operator/numpy/linalg/np_tensorsolve_gpu.o build/src/operator/numpy/linalg/np_eigvals_gpu.o build/src/operator/numpy/linalg/np_eig_gpu.o build/src/operator/numpy/linalg/np_pinv_gpu.o build/src/operator/subgraph/tensorrt/tensorrt_gpu.o build/src/operator/contrib/modulated_deformable_convolution_gpu.o build/src/operator/contrib/all_finite_gpu.o build/src/operator/contrib/mrcnn_mask_target_gpu.o build/src/operator/contrib/optimizer_op_gpu.o build/src/operator/contrib/psroi_pooling_gpu.o build/src/operator/contrib/fft_gpu.o build/src/operator/contrib/allclose_op_gpu.o build/src/operator/contrib/sync_batch_norm_gpu.o build/src/operator/contrib/multi_sum_sq_gpu.o build/src/operator/contrib/deformable_psroi_pooling_gpu.o build/src/operator/contrib/multibox_detection_gpu.o build/src/operator/contrib/multibox_target_gpu.o build/src/operator/contrib/proposal_gpu.o build/src/operator/contrib/bilinear_resize_gpu.o build/src/operator/contrib/index_copy_gpu.o build/src/operator/contrib/count_sketch_gpu.o build/src/operator/contrib/gradient_multiplier_op_gpu.o build/src/operator/contrib/bounding_box_gpu.o build/src/operator/contrib/stes_op_gpu.o build/src/operator/contrib/preloaded_multi_sgd_gpu.o build/src/operator/contrib/dgl_graph_gpu.o build/src/operator/contrib/multi_lamb_gpu.o build/src/operator/contrib/reset_arrays_gpu.o build/src/operator/contrib/hawkes_ll_gpu.o build/src/operator/contrib/multibox_prior_gpu.o build/src/operator/contrib/boolean_mask_gpu.o build/src/operator/contrib/ifft_gpu.o build/src/operator/contrib/roi_align_gpu.o build/src/operator/contrib/adamw_gpu.o build/src/operator/contrib/quadratic_op_gpu.o build/src/operator/contrib/transformer_gpu.o build/src/operator/contrib/index_array_gpu.o build/src/operator/contrib/multi_proposal_gpu.o build/src/operator/contrib/deformable_convolution_gpu.o build/src/operator/contrib/multi_lars_gpu.o build/src/operator/contrib/adaptive_avg_pooling_gpu.o build/src/operator/random/shuffle_op_gpu.o build/src/operator/random/pdf_op_gpu.o build/src/operator/random/sample_multinomial_op_gpu.o build/src/operator/random/multisample_op_gpu.o build/src/operator/random/sample_op_gpu.o build/src/operator/numpy/np_constraint_check_gpu.o build/src/operator/numpy/np_elemwise_unary_op_basic_gpu.o build/src/operator/numpy/np_nonzero_op_gpu.o build/src/operator/numpy/np_ediff1d_op_gpu.o build/src/operator/numpy/np_pad_op_gpu.o build/src/operator/numpy/np_diff_gpu.o build/src/operator/numpy/np_delete_op_gpu.o build/src/operator/numpy/np_trace_op_gpu.o build/src/operator/numpy/np_matrix_op_gpu.o build/src/operator/numpy/np_insert_op_scalar_gpu.o build/src/operator/numpy/np_cumsum_gpu.o build/src/operator/numpy/np_where_op_gpu.o build/src/operator/numpy/np_einsum_op_gpu.o build/src/operator/numpy/np_bincount_op_gpu.o build/src/operator/numpy/np_elemwise_broadcast_op_extended_gpu.o build/src/operator/numpy/np_insert_op_slice_gpu.o build/src/operator/numpy/np_unique_op_gpu.o build/src/operator/numpy/np_insert_op_tensor_gpu.o build/src/operator/numpy/np_elemwise_broadcast_logic_op_gpu.o build/src/operator/numpy/np_elemwise_broadcast_op_gpu.o build/src/operator/numpy/np_boolean_mask_assign_gpu.o build/src/operator/numpy/np_window_op_gpu.o build/src/operator/numpy/np_init_op_gpu.o build/src/operator/numpy/np_matmul_op_gpu.o build/src/operator/numpy/np_memory_op_gpu.o build/src/operator/numpy/np_broadcast_reduce_op_index_gpu.o build/src/operator/numpy/np_percentile_op_gpu.o build/src/operator/numpy/np_polynomial_op_gpu.o build/src/operator/numpy/np_true_divide_gpu.o build/src/operator/numpy/np_dot_gpu.o build/src/operator/numpy/np_broadcast_reduce_op_value_gpu.o build/src/operator/numpy/np_tril_op_gpu.o build/src/operator/numpy/np_broadcast_reduce_op_boolean_gpu.o build/src/operator/numpy/np_tensordot_op_gpu.o build/src/operator/custom/native_op_gpu.o build/src/operator/tensor/indexing_op_gpu.o build/src/operator/tensor/elemwise_binary_op_extended_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_basic_gpu.o build/src/operator/tensor/broadcast_reduce_norm_value_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_extended_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_logic_gpu.o build/src/operator/tensor/matrix_op_gpu.o build/src/operator/tensor/elemwise_scatter_op_gpu.o build/src/operator/tensor/elemwise_unary_op_trig_gpu.o build/src/operator/tensor/broadcast_reduce_op_index_gpu.o build/src/operator/tensor/ordering_op_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_extended_gpu.o build/src/operator/tensor/broadcast_reduce_prod_value_gpu.o build/src/operator/tensor/elemwise_sum_gpu.o build/src/operator/tensor/init_op_gpu.o build/src/operator/tensor/elemwise_binary_scalar_op_logic_gpu.o build/src/operator/tensor/histogram_gpu.o build/src/operator/tensor/elemwise_unary_op_pow_gpu.o build/src/operator/tensor/dot_gpu.o build/src/operator/tensor/elemwise_unary_op_basic_gpu.o build/src/operator/tensor/ravel_gpu.o build/src/operator/tensor/amp_cast_gpu.o build/src/operator/tensor/control_flow_op_gpu.o build/src/operator/tensor/elemwise_binary_broadcast_op_basic_gpu.o build/src/operator/tensor/elemwise_binary_op_basic_gpu.o build/src/operator/tensor/cast_storage_gpu.o build/src/operator/tensor/square_sum_gpu.o build/src/operator/tensor/broadcast_reduce_minmax_value_gpu.o build/src/operator/tensor/broadcast_reduce_sum_value_gpu.o build/src/operator/tensor/la_op_gpu.o build/src/operator/tensor/elemwise_unary_op_logexp_gpu.o build/src/operator/tensor/sparse_retain_gpu.o build/src/operator/tensor/diag_op_gpu.o build/src/operator/tensor/broadcast_reduce_op_value_gpu.o build/src/operator/tensor/elemwise_binary_op_logic_gpu.o build/src/operator/image/resize_gpu.o build/src/operator/image/crop_gpu.o build/src/operator/image/image_random_gpu.o build/src/operator/nn/ctc_loss_gpu.o build/src/operator/nn/batch_norm_gpu.o build/src/operator/nn/dropout_gpu.o build/src/operator/nn/fully_connected_gpu.o build/src/operator/nn/softmin_gpu.o build/src/operator/nn/lrn_gpu.o build/src/operator/nn/concat_gpu.o build/src/operator/nn/pooling_gpu.o build/src/operator/nn/softmax_gpu.o build/src/operator/nn/deconvolution_gpu.o build/src/operator/nn/activation_gpu.o build/src/operator/nn/log_softmax_gpu.o build/src/operator/nn/moments_gpu.o build/src/operator/nn/group_norm_gpu.o build/src/operator/nn/softmax_activation_gpu.o build/src/operator/nn/upsampling_gpu.o build/src/operator/nn/layer_norm_gpu.o build/src/operator/nn/im2col_gpu.o build/src/operator/nn/convolution_gpu.o build/src/operator/quantization/requantize_gpu.o build/src/operator/quantization/quantize_gpu.o build/src/operator/quantization/dequantize_gpu.o build/src/operator/quantization/quantized_conv_gpu.o build/src/operator/quantization/quantized_fully_connected_gpu.o build/src/operator/quantization/quantized_flatten_gpu.o build/src/operator/quantization/quantized_pooling_gpu.o build/src/operator/quantization/quantize_v2_gpu.o build/src/operator/fusion/fused_op_gpu.o build/src/common/utils_gpu.o build/src/common/random_generator_gpu.o build/src/ndarray/ndarray_function_gpu.o build/src/operator/slice_channel_gpu.o build/src/operator/optimizer_op_gpu.o build/src/operator/convolution_v1_gpu.o build/src/operator/sequence_mask_gpu.o build/src/operator/correlation_gpu.o build/src/operator/instance_norm_gpu.o build/src/operator/pad_gpu.o build/src/operator/svm_output_gpu.o build/src/operator/sequence_last_gpu.o build/src/operator/leaky_relu_gpu.o build/src/operator/grid_generator_gpu.o build/src/operator/rnn_gpu.o build/src/operator/crop_gpu.o build/src/operator/sequence_reverse_gpu.o build/src/operator/identity_attach_KL_sparse_reg_gpu.o build/src/operator/swapaxis_gpu.o build/src/operator/make_loss_gpu.o build/src/operator/softmax_output_gpu.o build/src/operator/bilinear_sampler_gpu.o build/src/operator/spatial_transformer_gpu.o build/src/operator/pooling_v1_gpu.o build/src/operator/roi_pooling_gpu.o build/src/operator/batch_norm_v1_gpu.o build/src/operator/loss_binary_op_gpu.o build/src/operator/l2_normalization_gpu.o build/src/operator/regression_output_gpu.o build/src/kvstore/gradient_compression_gpu.o build/src/kvstore/kvstore_utils_gpu.o -pthread -ldl -lm -lcudart -lcublas -lcurand -lcusolver -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -lopenblas -fopenmp -lrt  -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_core -lcudnn -L/lib -L/usr/lib/aarch64-linux-gnu/ -lcufft -L/usr/local/cuda/lib64/stubs

To Reproduce

https://mxnet.incubator.apache.org/versions/1.9.0/get_started/jetson_setup.html

Steps to reproduce

  1. git clone --recursive -b v1.7.x https://github.com/apache/incubator-mxnet.git mxnet
  2. edit ~/.profile and source ~/.profile
  3. cd mxnet
  4. cp make/config_jetson.mk make/config.mk
  5. edit config.mk and keep -gencode arch=compute_72,code=sm_72
  6. sudo make -j12
  7. cd python
  8. sudo pip3 instal -e .

What have you tried to solve it?

  1. make clean and remake.

Environment

We recommend using our script for collecting the diagnostic information with the following command

----------Python Info----------
Version      : 3.6.9
Compiler     : GCC 8.4.0
Build        : ('default', 'Jan 26 2021 15:33:00')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 21.3.1
Directory    : /usr/local/lib/python3.6/dist-packages/pip
----------MXNet Info-----------
Version      : 1.7.0
Directory    : /home/xavier/mxnet/python/mxnet
Commit hash file "/home/xavier/mxnet/python/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source.
Library      : ['/home/xavier/mxnet/python/mxnet/../../lib/libmxnet.so']
Build features:
✔ CUDA
✔ CUDNN
✖ NCCL
✖ CUDA_RTC
✖ TENSORRT
✖ CPU_SSE
✖ CPU_SSE2
✖ CPU_SSE3
✖ CPU_SSE4_1
✖ CPU_SSE4_2
✖ CPU_SSE4A
✖ CPU_AVX
✖ CPU_AVX2
✔ OPENMP
✖ SSE
✖ F16C
✖ JEMALLOC
✔ BLAS_OPEN
✖ BLAS_ATLAS
✖ BLAS_MKL
✖ BLAS_APPLE
✖ LAPACK
✖ MKLDNN
✔ OPENCV
✖ CAFFE
✖ PROFILER
✖ DIST_KVSTORE
✖ CXX14
✖ INT64_TENSOR_SIZE
✔ SIGNAL_HANDLER
✖ DEBUG
✖ TVM_OP
----------System Info----------
Platform     : Linux-4.9.201-tegra-aarch64-with-Ubuntu-18.04-bionic
system       : Linux
node         : xavier-device
release      : 4.9.201-tegra
version      : #1 SMP PREEMPT Wed May 5 09:32:25 PDT 2021
----------Hardware Info----------
machine      : aarch64
processor    : aarch64
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           4
Vendor ID:           Nvidia
Model:               0
Model name:          ARMv8 Processor rev 0 (v8l)
Stepping:            0x0
CPU max MHz:         2265.6001
CPU min MHz:         115.2000
BogoMIPS:            62.50
L1d cache:           64K
L1i cache:           128K
L2 cache:            2048K
L3 cache:            4096K
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
----------Network Test----------
Setting timeout: 10
Error open MXNet: https://github.com/apache/incubator-mxnet, <urlopen error timed out>, DNS finished in 0.004873514175415039 sec.
Error open Gluon Tutorial(en): http://gluon.mxnet.io, HTTP Error 404: Not Found, DNS finished in 1.919769287109375 sec.
Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error timed out>, DNS finished in 0.013449430465698242 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.2848 sec, LOAD: 2.1852 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0094 sec, LOAD: 11.1627 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.007372379302978516 sec.
----------Environment----------
MXNET_HOME="/home/xavier/mxnet/"
github-actions[bot] commented 2 years ago

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.