From 54606dd727871618456316a48f56adee6a9061d2 Mon Sep 17 00:00:00 2001 From: weili10 Date: Fri, 16 Jul 2021 18:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5c59af4f05ca3150b272cfc2bfa956?= =?UTF-8?q?cf37b7f6291?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patch/npu.patch | 218 +++++++++--------- .../src/ATen/native/npu/ArgminKernelNpu.cpp | 0 .../native/npu/ReplicationPad2dKernelNpu.cpp | 0 .../native/npu/common/FormatCastHelper.cpp | 1 - .../ATen/native/npu/frame/FormatHelper.cpp | 30 --- .../src/ATen/native/npu/frame/FormatHelper.h | 2 - test/test_npu/test_network_ops/test_abs.py | 0 test/test_npu/test_network_ops/test_add.py | 0 test/test_npu/test_network_ops/test_addmm.py | 0 test/test_npu/test_network_ops/test_all.py | 0 test/test_npu/test_network_ops/test_any.py | 0 test/test_npu/test_network_ops/test_arange.py | 0 test/test_npu/test_network_ops/test_argmax.py | 0 .../test_avg_pool2d_backward.py | 0 ...nary_cross_entropy_with_logits_backward.py | 0 test/test_npu/test_network_ops/test_bmm.py | 0 .../test_network_ops/test_broadcastToD.py | 0 test/test_npu/test_network_ops/test_cat.py | 0 test/test_npu/test_network_ops/test_clamp.py | 0 test/test_npu/test_network_ops/test_conv2d.py | 0 .../test_conv_depthwise2d_backward.py | 0 test/test_npu/test_network_ops/test_div.py | 0 .../test_npu/test_network_ops/test_dropout.py | 0 .../test_embedding_backward.py | 0 test/test_npu/test_network_ops/test_exp.py | 0 test/test_npu/test_network_ops/test_fill_.py | 0 test/test_npu/test_network_ops/test_floor.py | 0 test/test_npu/test_network_ops/test_fmod.py | 0 test/test_npu/test_network_ops/test_full.py | 0 test/test_npu/test_network_ops/test_ge.py | 0 test/test_npu/test_network_ops/test_gt.py | 0 .../test_network_ops/test_hardtanh.py | 0 .../test_network_ops/test_index_put.py | 0 test/test_npu/test_network_ops/test_le.py | 0 .../test_leaky_relu_backward.py | 0 test/test_npu/test_network_ops/test_log.py | 0 test/test_npu/test_network_ops/test_log2.py | 0 .../test_network_ops/test_log_softmax.py | 0 .../test_log_softmax_backward.py | 0 test/test_npu/test_network_ops/test_lt.py | 0 test/test_npu/test_network_ops/test_matmul.py | 0 test/test_npu/test_network_ops/test_max.py | 0 test/test_npu/test_network_ops/test_min.py | 0 test/test_npu/test_network_ops/test_mm.py | 0 test/test_npu/test_network_ops/test_muls.py | 0 test/test_npu/test_network_ops/test_neg.py | 0 .../test_npu/test_network_ops/test_nllloss.py | 0 .../test_network_ops/test_not_equal.py | 0 test/test_npu/test_network_ops/test_pow.py | 0 test/test_npu/test_network_ops/test_prod.py | 0 .../test_network_ops/test_reciprocal.py | 0 test/test_npu/test_network_ops/test_relu.py | 0 .../test_network_ops/test_remainder.py | 0 test/test_npu/test_network_ops/test_rsqrt.py | 0 test/test_npu/test_network_ops/test_rsub.py | 0 test/test_npu/test_network_ops/test_sign.py | 0 .../test_npu/test_network_ops/test_softmax.py | 0 test/test_npu/test_network_ops/test_split.py | 0 test/test_npu/test_network_ops/test_sqrt.py | 0 test/test_npu/test_network_ops/test_stack.py | 0 test/test_npu/test_network_ops/test_sub.py | 0 test/test_npu/test_network_ops/test_sum.py | 0 .../test_upsample_bilinear_backward.py | 0 test/test_npu/test_network_ops/test_where.py | 0 test/test_npu/test_network_ops/test_zero.py | 0 test/test_npu/test_network_ops/test_zeros.py | 0 .../test_network_ops/test_zeroslike.py | 0 test/test_npu/test_network_ops/util_test.py | 0 .../torch.onnx/eval/onnx/cp_onnx_eval.py | 0 .../torch.onnx/eval/onnxrt/onnxrt_eval.py | 0 .../test_onnx/torch.onnx/export/cp_parser.py | 0 .../torch.onnx/export/export_onnx.py | 0 .../torch.onnx/export/model_export-cpu.py | 0 .../torch.onnx/export/model_export-gpu.py | 0 .../torch.onnx/export/model_export-npu.py | 0 .../torch.onnx/export/model_export.py | 0 .../torch.onnx/export/onnx_parser.py | 0 test/test_npu/test_onnx/torch.onnx/main.py | 0 78 files changed, 109 insertions(+), 142 deletions(-) mode change 100644 => 100755 src/aten/src/ATen/native/npu/ArgminKernelNpu.cpp mode change 100644 => 100755 src/aten/src/ATen/native/npu/ReplicationPad2dKernelNpu.cpp mode change 100644 => 100755 test/test_npu/test_network_ops/test_abs.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_add.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_addmm.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_all.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_any.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_arange.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_argmax.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_avg_pool2d_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_bmm.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_broadcastToD.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_cat.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_clamp.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_conv2d.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_conv_depthwise2d_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_div.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_dropout.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_embedding_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_exp.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_fill_.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_floor.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_fmod.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_full.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_ge.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_gt.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_hardtanh.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_index_put.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_le.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_leaky_relu_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_log.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_log2.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_log_softmax.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_log_softmax_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_lt.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_matmul.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_max.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_min.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_mm.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_muls.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_neg.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_nllloss.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_not_equal.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_pow.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_prod.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_reciprocal.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_relu.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_remainder.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_rsqrt.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_rsub.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_sign.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_softmax.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_split.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_sqrt.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_stack.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_sub.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_sum.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_upsample_bilinear_backward.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_where.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_zero.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_zeros.py mode change 100644 => 100755 test/test_npu/test_network_ops/test_zeroslike.py mode change 100644 => 100755 test/test_npu/test_network_ops/util_test.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/eval/onnx/cp_onnx_eval.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/eval/onnxrt/onnxrt_eval.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/cp_parser.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/export_onnx.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/model_export-cpu.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/model_export-gpu.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/model_export-npu.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/model_export.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/export/onnx_parser.py mode change 100644 => 100755 test/test_npu/test_onnx/torch.onnx/main.py diff --git a/patch/npu.patch b/patch/npu.patch index 196a0cf179..9052e5ad70 100644 --- a/patch/npu.patch +++ b/patch/npu.patch @@ -1,6 +1,6 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/CMakeLists.txt pytorch-develop/aten/CMakeLists.txt --- pytorch-v1.5.0/aten/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/CMakeLists.txt 2021-07-14 13:58:21.164836645 +0800 ++++ pytorch-develop/aten/CMakeLists.txt 2021-07-16 18:43:29.741827242 +0800 @@ -22,8 +22,10 @@ set(ATen_CPU_INCLUDE) set(ATen_THIRD_PARTY_INCLUDE) @@ -51,7 +51,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= set(ATen_CPU_DEPENDENCY_LIBS ${ATen_CPU_DEPENDENCY_LIBS} PARENT_SCOPE) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/CMakeLists.txt pytorch-develop/aten/src/ATen/CMakeLists.txt --- pytorch-v1.5.0/aten/src/ATen/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/CMakeLists.txt 2021-07-14 13:58:21.164836645 +0800 ++++ pytorch-develop/aten/src/ATen/CMakeLists.txt 2021-07-16 18:43:29.741827242 +0800 @@ -67,6 +67,9 @@ FILE(GLOB native_quantized_h "native/quantized/*.h" "native/quantized/cpu/*.h") FILE(GLOB native_cpu_h "native/cpu/*.h") @@ -129,7 +129,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= set(ATen_QUANTIZED_SRCS ${ATen_QUANTIZED_SRCS} PARENT_SCOPE) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/core/dispatch/DispatchTable.h pytorch-develop/aten/src/ATen/core/dispatch/DispatchTable.h --- pytorch-v1.5.0/aten/src/ATen/core/dispatch/DispatchTable.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/core/dispatch/DispatchTable.h 2021-07-14 13:58:21.172836932 +0800 ++++ pytorch-develop/aten/src/ATen/core/dispatch/DispatchTable.h 2021-07-16 18:43:29.749827529 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -170,7 +170,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/function_wrapper.py pytorch-develop/aten/src/ATen/function_wrapper.py --- pytorch-v1.5.0/aten/src/ATen/function_wrapper.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/function_wrapper.py 2021-07-14 13:58:21.176837075 +0800 ++++ pytorch-develop/aten/src/ATen/function_wrapper.py 2021-07-16 18:43:29.757827816 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -354,7 +354,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= for option in declaration['options']: diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/gen.py pytorch-develop/aten/src/ATen/gen.py --- pytorch-v1.5.0/aten/src/ATen/gen.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/gen.py 2021-07-14 13:58:21.176837075 +0800 ++++ pytorch-develop/aten/src/ATen/gen.py 2021-07-16 18:43:29.757827816 +0800 @@ -1,3 +1,18 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -512,7 +512,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= generate_outputs() diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/cpu/Activation.cpp pytorch-develop/aten/src/ATen/native/cpu/Activation.cpp --- pytorch-v1.5.0/aten/src/ATen/native/cpu/Activation.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/cpu/Activation.cpp 2021-07-14 13:58:21.188837505 +0800 ++++ pytorch-develop/aten/src/ATen/native/cpu/Activation.cpp 2021-07-16 18:43:29.769828246 +0800 @@ -339,20 +339,20 @@ void hardsigmoid_backward_kernel(TensorIterator& iter) { @@ -540,7 +540,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= }); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/Memory.cpp pytorch-develop/aten/src/ATen/native/Memory.cpp --- pytorch-v1.5.0/aten/src/ATen/native/Memory.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/Memory.cpp 2021-07-14 13:58:21.184837362 +0800 ++++ pytorch-develop/aten/src/ATen/native/Memory.cpp 2021-07-16 18:43:29.761827959 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -595,7 +595,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= detail::computeStorageSize(self.sizes(), self.strides()), diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/native_functions.yaml pytorch-develop/aten/src/ATen/native/native_functions.yaml --- pytorch-v1.5.0/aten/src/ATen/native/native_functions.yaml 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/native_functions.yaml 2021-07-14 14:00:22.785197227 +0800 ++++ pytorch-develop/aten/src/ATen/native/native_functions.yaml 2021-07-16 18:43:31.733898666 +0800 @@ -1,6 +1,5 @@ # See README.md in this directory for more guidance @@ -6735,7 +6735,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S pytorch-develop/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S --- pytorch-v1.5.0/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S 2021-07-14 13:58:21.244839513 +0800 ++++ pytorch-develop/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S 2021-07-16 18:43:29.821830110 +0800 @@ -659,14 +659,14 @@ SUB x1, x1, 4 @@ -6761,7 +6761,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= CMP x1, 2 diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/TensorCompare.cpp pytorch-develop/aten/src/ATen/native/TensorCompare.cpp --- pytorch-v1.5.0/aten/src/ATen/native/TensorCompare.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/TensorCompare.cpp 2021-07-14 13:58:21.188837505 +0800 ++++ pytorch-develop/aten/src/ATen/native/TensorCompare.cpp 2021-07-16 18:43:29.765828103 +0800 @@ -64,7 +64,7 @@ Tensor isinf(const Tensor &self) { @@ -6773,7 +6773,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return AT_DISPATCH_FLOATING_TYPES_AND_HALF(self.scalar_type(), "isinf", [&]() { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/TensorFactories.cpp pytorch-develop/aten/src/ATen/native/TensorFactories.cpp --- pytorch-v1.5.0/aten/src/ATen/native/TensorFactories.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/TensorFactories.cpp 2021-07-14 13:58:21.188837505 +0800 ++++ pytorch-develop/aten/src/ATen/native/TensorFactories.cpp 2021-07-16 18:43:29.769828246 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -6818,7 +6818,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/TensorProperties.cpp pytorch-develop/aten/src/ATen/native/TensorProperties.cpp --- pytorch-v1.5.0/aten/src/ATen/native/TensorProperties.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/TensorProperties.cpp 2021-07-14 13:58:21.188837505 +0800 ++++ pytorch-develop/aten/src/ATen/native/TensorProperties.cpp 2021-07-16 18:43:29.769828246 +0800 @@ -87,6 +87,7 @@ if (self.is_contiguous(memory_format)) { return self; @@ -6829,7 +6829,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= "preserve memory format is unsupported by the contiguous operator"); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native/UpSampleBicubic2d.cpp pytorch-develop/aten/src/ATen/native/UpSampleBicubic2d.cpp --- pytorch-v1.5.0/aten/src/ATen/native/UpSampleBicubic2d.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native/UpSampleBicubic2d.cpp 2021-07-14 13:58:21.188837505 +0800 ++++ pytorch-develop/aten/src/ATen/native/UpSampleBicubic2d.cpp 2021-07-16 18:43:29.769828246 +0800 @@ -26,7 +26,7 @@ const scalar_t* in = &idata[output_y * input_width + output_x]; scalar_t* out = &odata[output_y * output_width + output_x]; @@ -6841,7 +6841,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= out += output_width * output_height; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/native_parse.py pytorch-develop/aten/src/ATen/native_parse.py --- pytorch-v1.5.0/aten/src/ATen/native_parse.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/native_parse.py 2021-07-14 13:58:21.256839943 +0800 ++++ pytorch-develop/aten/src/ATen/native_parse.py 2021-07-16 18:43:29.837830684 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -6879,7 +6879,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= msg = '''Exception raised in processing function: diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/preprocess_declarations.py pytorch-develop/aten/src/ATen/preprocess_declarations.py --- pytorch-v1.5.0/aten/src/ATen/preprocess_declarations.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/preprocess_declarations.py 2021-07-14 13:58:21.256839943 +0800 ++++ pytorch-develop/aten/src/ATen/preprocess_declarations.py 2021-07-16 18:43:29.837830684 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -6911,7 +6911,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/templates/TensorBody.h pytorch-develop/aten/src/ATen/templates/TensorBody.h --- pytorch-v1.5.0/aten/src/ATen/templates/TensorBody.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/templates/TensorBody.h 2021-07-14 13:58:21.260840087 +0800 ++++ pytorch-develop/aten/src/ATen/templates/TensorBody.h 2021-07-16 18:43:29.837830684 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -6944,7 +6944,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/ATen/templates/TensorMethods.h pytorch-develop/aten/src/ATen/templates/TensorMethods.h --- pytorch-v1.5.0/aten/src/ATen/templates/TensorMethods.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/ATen/templates/TensorMethods.h 2021-07-14 13:58:21.260840087 +0800 ++++ pytorch-develop/aten/src/ATen/templates/TensorMethods.h 2021-07-16 18:43:29.837830684 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -6978,7 +6978,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/TH/CMakeLists.txt pytorch-develop/aten/src/TH/CMakeLists.txt --- pytorch-v1.5.0/aten/src/TH/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/TH/CMakeLists.txt 2021-07-14 13:58:21.260840087 +0800 ++++ pytorch-develop/aten/src/TH/CMakeLists.txt 2021-07-16 18:43:29.841830828 +0800 @@ -48,6 +48,11 @@ ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE) @@ -6993,7 +6993,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/TH/generic/THStorage.cpp pytorch-develop/aten/src/TH/generic/THStorage.cpp --- pytorch-v1.5.0/aten/src/TH/generic/THStorage.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/TH/generic/THStorage.cpp 2021-07-14 13:58:21.264840230 +0800 ++++ pytorch-develop/aten/src/TH/generic/THStorage.cpp 2021-07-16 18:43:29.845830971 +0800 @@ -1,9 +1,32 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7102,7 +7102,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/aten/src/TH/generic/THStorage.h pytorch-develop/aten/src/TH/generic/THStorage.h --- pytorch-v1.5.0/aten/src/TH/generic/THStorage.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/aten/src/TH/generic/THStorage.h 2021-07-14 13:58:21.264840230 +0800 ++++ pytorch-develop/aten/src/TH/generic/THStorage.h 2021-07-16 18:43:29.845830971 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7141,7 +7141,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/CMakeLists.txt pytorch-develop/c10/CMakeLists.txt --- pytorch-v1.5.0/c10/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/CMakeLists.txt 2021-07-14 13:58:21.276840661 +0800 ++++ pytorch-develop/c10/CMakeLists.txt 2021-07-16 18:43:29.857831401 +0800 @@ -63,6 +63,14 @@ message(STATUS "don't use NUMA") endif() @@ -7170,7 +7170,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= # not checked in diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/Backend.h pytorch-develop/c10/core/Backend.h --- pytorch-v1.5.0/c10/core/Backend.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/Backend.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/Backend.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7265,7 +7265,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/Device.cpp pytorch-develop/c10/core/Device.cpp --- pytorch-v1.5.0/c10/core/Device.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/Device.cpp 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/Device.cpp 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7305,7 +7305,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= types.begin(), diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/Device.h pytorch-develop/c10/core/Device.h --- pytorch-v1.5.0/c10/core/Device.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/Device.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/Device.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7340,7 +7340,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return type_ == DeviceType::CPU; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/DeviceType.cpp pytorch-develop/c10/core/DeviceType.cpp --- pytorch-v1.5.0/c10/core/DeviceType.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/DeviceType.cpp 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/DeviceType.cpp 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7380,7 +7380,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return false; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/DeviceType.h pytorch-develop/c10/core/DeviceType.h --- pytorch-v1.5.0/c10/core/DeviceType.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/DeviceType.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/DeviceType.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7423,7 +7423,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= constexpr DeviceType kXLA = DeviceType::XLA; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/DispatchKey.cpp pytorch-develop/c10/core/DispatchKey.cpp --- pytorch-v1.5.0/c10/core/DispatchKey.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/DispatchKey.cpp 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/DispatchKey.cpp 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7455,7 +7455,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= case DispatchKey::TESTING_ONLY_GenericModeTensorId: diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/DispatchKey.h pytorch-develop/c10/core/DispatchKey.h --- pytorch-v1.5.0/c10/core/DispatchKey.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/DispatchKey.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/DispatchKey.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7487,7 +7487,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/Storage.h pytorch-develop/c10/core/Storage.h --- pytorch-v1.5.0/c10/core/Storage.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/Storage.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/Storage.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7521,7 +7521,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= }; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/StorageImpl.h pytorch-develop/c10/core/StorageImpl.h --- pytorch-v1.5.0/c10/core/StorageImpl.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/StorageImpl.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/StorageImpl.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,12 +1,39 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7578,7 +7578,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/TensorImpl.h pytorch-develop/c10/core/TensorImpl.h --- pytorch-v1.5.0/c10/core/TensorImpl.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/TensorImpl.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/TensorImpl.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7648,7 +7648,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/core/TensorOptions.h pytorch-develop/c10/core/TensorOptions.h --- pytorch-v1.5.0/c10/core/TensorOptions.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/core/TensorOptions.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/core/TensorOptions.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7689,7 +7689,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/c10/macros/Export.h pytorch-develop/c10/macros/Export.h --- pytorch-v1.5.0/c10/macros/Export.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/c10/macros/Export.h 2021-07-14 13:58:21.280840804 +0800 ++++ pytorch-develop/c10/macros/Export.h 2021-07-16 18:43:29.861831544 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -7816,7 +7816,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/caffe2/CMakeLists.txt pytorch-develop/caffe2/CMakeLists.txt --- pytorch-v1.5.0/caffe2/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/caffe2/CMakeLists.txt 2021-07-14 13:58:21.288841091 +0800 ++++ pytorch-develop/caffe2/CMakeLists.txt 2021-07-16 18:43:29.869831832 +0800 @@ -32,6 +32,7 @@ # Add source, includes, and libs to lists list(APPEND Caffe2_CPU_SRCS ${ATen_CPU_SRCS}) @@ -7963,7 +7963,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= # Call again since Caffe2_HIP_INCLUDE is extended with ATen include dirs. diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/.clang-format pytorch-develop/.clang-format --- pytorch-v1.5.0/.clang-format 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/.clang-format 2021-07-14 13:58:21.156836357 +0800 ++++ pytorch-develop/.clang-format 2021-07-16 18:43:29.737827099 +0800 @@ -84,5 +84,4 @@ SpacesInSquareBrackets: false Standard: Cpp11 @@ -7974,7 +7974,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/cmake/BuildVariables.cmake pytorch-develop/cmake/BuildVariables.cmake --- pytorch-v1.5.0/cmake/BuildVariables.cmake 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/cmake/BuildVariables.cmake 2021-07-14 13:58:21.400845107 +0800 ++++ pytorch-develop/cmake/BuildVariables.cmake 2021-07-16 18:43:29.981835847 +0800 @@ -11,6 +11,7 @@ # CMakeLists.txt files under each folder respectively. set(Caffe2_CPU_SRCS) @@ -8001,7 +8001,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= # symbols. However, if the lib is whole linked in caffe2 lib, we don't want diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/cmake/Codegen.cmake pytorch-develop/cmake/Codegen.cmake --- pytorch-v1.5.0/cmake/Codegen.cmake 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/cmake/Codegen.cmake 2021-07-14 13:58:21.400845107 +0800 ++++ pytorch-develop/cmake/Codegen.cmake 2021-07-16 18:43:29.981835847 +0800 @@ -191,13 +191,14 @@ file(READ ${CMAKE_BINARY_DIR}/aten/src/ATen/generated_cpp.txt generated_cpp) file(READ ${CMAKE_BINARY_DIR}/aten/src/ATen/generated_cpp.txt-cuda cuda_generated_cpp) @@ -8032,7 +8032,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= endif() diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/cmake/Dependencies.cmake pytorch-develop/cmake/Dependencies.cmake --- pytorch-v1.5.0/cmake/Dependencies.cmake 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/cmake/Dependencies.cmake 2021-07-14 13:58:21.400845107 +0800 ++++ pytorch-develop/cmake/Dependencies.cmake 2021-07-16 18:43:29.981835847 +0800 @@ -1509,6 +1509,13 @@ ENDIF(NOT C_HAS_THREAD) endif() @@ -8049,7 +8049,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= # diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/cmake/Summary.cmake pytorch-develop/cmake/Summary.cmake --- pytorch-v1.5.0/cmake/Summary.cmake 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/cmake/Summary.cmake 2021-07-14 13:58:21.400845107 +0800 ++++ pytorch-develop/cmake/Summary.cmake 2021-07-16 18:43:29.985835991 +0800 @@ -134,6 +134,7 @@ if(NOT "${SELECTED_OP_LIST}" STREQUAL "") message(STATUS " SELECTED_OP_LIST : ${SELECTED_OP_LIST}") @@ -8060,7 +8060,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= endfunction() diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/cmake/TorchConfig.cmake.in pytorch-develop/cmake/TorchConfig.cmake.in --- pytorch-v1.5.0/cmake/TorchConfig.cmake.in 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/cmake/TorchConfig.cmake.in 2021-07-14 13:58:21.400845107 +0800 ++++ pytorch-develop/cmake/TorchConfig.cmake.in 2021-07-16 18:43:29.985835991 +0800 @@ -112,6 +112,11 @@ list(APPEND TORCH_LIBRARIES ${TORCH_CUDA_LIBRARIES}) endif() @@ -8075,7 +8075,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= set(TORCH_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=@GLIBCXX_USE_CXX11_ABI@") diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/CMakeLists.txt pytorch-develop/CMakeLists.txt --- pytorch-v1.5.0/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/CMakeLists.txt 2021-07-14 13:58:21.156836357 +0800 ++++ pytorch-develop/CMakeLists.txt 2021-07-16 18:43:29.737827099 +0800 @@ -205,6 +205,10 @@ option(USE_TBB "Use TBB" OFF) option(ONNX_ML "Enable traditional ONNX ML API." ON) @@ -8142,7 +8142,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-braces") diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/.dockerignore pytorch-develop/.dockerignore --- pytorch-v1.5.0/.dockerignore 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/.dockerignore 2021-07-14 13:58:21.156836357 +0800 ++++ pytorch-develop/.dockerignore 2021-07-16 18:43:29.737827099 +0800 @@ -1,257 +1 @@ -# READ THIS BEFORE YOU REFACTOR ME -# @@ -8405,7 +8405,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/docs/make.bat pytorch-develop/docs/make.bat --- pytorch-v1.5.0/docs/make.bat 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/docs/make.bat 2021-07-14 13:58:21.408845393 +0800 ++++ pytorch-develop/docs/make.bat 2021-07-16 18:43:29.989836134 +0800 @@ -1,36 +1,36 @@ -@ECHO OFF - @@ -8494,7 +8494,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/requirements.txt pytorch-develop/requirements.txt --- pytorch-v1.5.0/requirements.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/requirements.txt 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/requirements.txt 2021-07-16 18:43:30.001836564 +0800 @@ -4,4 +4,12 @@ requests setuptools @@ -8513,7 +8513,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/scripts/appveyor/install.bat pytorch-develop/scripts/appveyor/install.bat --- pytorch-v1.5.0/scripts/appveyor/install.bat 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/scripts/appveyor/install.bat 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/scripts/appveyor/install.bat 2021-07-16 18:43:30.001836564 +0800 @@ -1,10 +1,10 @@ -:: Installation scripts for appveyor. - @@ -8537,7 +8537,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +conda install -y numpy diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/scripts/appveyor/install_cuda.bat pytorch-develop/scripts/appveyor/install_cuda.bat --- pytorch-v1.5.0/scripts/appveyor/install_cuda.bat 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/scripts/appveyor/install_cuda.bat 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/scripts/appveyor/install_cuda.bat 2021-07-16 18:43:30.001836564 +0800 @@ -1,22 +1,22 @@ -@echo on - @@ -8585,7 +8585,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +nvcc -V || exit /b diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/scripts/build_windows.bat pytorch-develop/scripts/build_windows.bat --- pytorch-v1.5.0/scripts/build_windows.bat 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/scripts/build_windows.bat 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/scripts/build_windows.bat 2021-07-16 18:43:30.001836564 +0800 @@ -1,84 +1,84 @@ -:: ############################################################################# -:: Example command to build on Windows. @@ -8757,7 +8757,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +exit /b 1 diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/scripts/proto.ps1 pytorch-develop/scripts/proto.ps1 --- pytorch-v1.5.0/scripts/proto.ps1 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/scripts/proto.ps1 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/scripts/proto.ps1 2021-07-16 18:43:30.001836564 +0800 @@ -1,17 +1,17 @@ -param( - [string]$protoc, @@ -8795,7 +8795,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +Invoke-Expression $cmd diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/setup.py pytorch-develop/setup.py --- pytorch-v1.5.0/setup.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/setup.py 2021-07-14 13:58:21.420845824 +0800 ++++ pytorch-develop/setup.py 2021-07-16 18:43:30.001836564 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -8894,7 +8894,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= 'python/serialized_test/data/operator_test/*.zip', diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/derivatives.yaml pytorch-develop/tools/autograd/derivatives.yaml --- pytorch-v1.5.0/tools/autograd/derivatives.yaml 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/derivatives.yaml 2021-07-14 13:58:22.556886555 +0800 ++++ pytorch-develop/tools/autograd/derivatives.yaml 2021-07-16 18:43:31.737898809 +0800 @@ -107,6 +107,10 @@ # # NB: The parameter names here MUST be consistent with the parameter names @@ -9007,7 +9007,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/dump_utils.py pytorch-develop/tools/autograd/dump_utils.py --- pytorch-v1.5.0/tools/autograd/dump_utils.py 1970-01-01 08:00:00.000000000 +0800 -+++ pytorch-develop/tools/autograd/dump_utils.py 2021-07-14 14:00:22.785197227 +0800 ++++ pytorch-develop/tools/autograd/dump_utils.py 2021-07-16 18:43:31.737898809 +0800 @@ -0,0 +1,114 @@ +# Copyright (c) 2021 Huawei Technologies Co., Ltd +# All rights reserved. @@ -9125,7 +9125,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +] diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/gen_autograd_functions.py pytorch-develop/tools/autograd/gen_autograd_functions.py --- pytorch-v1.5.0/tools/autograd/gen_autograd_functions.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/gen_autograd_functions.py 2021-07-14 13:58:22.556886555 +0800 ++++ pytorch-develop/tools/autograd/gen_autograd_functions.py 2021-07-16 18:43:31.145877583 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2021 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -9311,7 +9311,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= + diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/gen_python_functions.py pytorch-develop/tools/autograd/gen_python_functions.py --- pytorch-v1.5.0/tools/autograd/gen_python_functions.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/gen_python_functions.py 2021-07-14 13:58:22.556886555 +0800 ++++ pytorch-develop/tools/autograd/gen_python_functions.py 2021-07-16 18:43:31.145877583 +0800 @@ -1,3 +1,20 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -9353,7 +9353,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= 'value': argname, diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/gen_variable_type.py pytorch-develop/tools/autograd/gen_variable_type.py --- pytorch-v1.5.0/tools/autograd/gen_variable_type.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/gen_variable_type.py 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/gen_variable_type.py 2021-07-16 18:43:31.145877583 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2021 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -9526,7 +9526,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/templates/Functions.cpp pytorch-develop/tools/autograd/templates/Functions.cpp --- pytorch-v1.5.0/tools/autograd/templates/Functions.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/templates/Functions.cpp 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/templates/Functions.cpp 2021-07-16 18:43:31.145877583 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2021 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -9606,7 +9606,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= auto sparse = sparse_.coalesce(); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/templates/python_torch_functions.cpp pytorch-develop/tools/autograd/templates/python_torch_functions.cpp --- pytorch-v1.5.0/tools/autograd/templates/python_torch_functions.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/templates/python_torch_functions.cpp 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/templates/python_torch_functions.cpp 2021-07-16 18:43:31.145877583 +0800 @@ -22,7 +22,7 @@ #include "torch/csrc/autograd/generated/variable_factories.h" #include "torch/csrc/utils/structseq.h" @@ -9690,7 +9690,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/templates/python_variable_methods.cpp pytorch-develop/tools/autograd/templates/python_variable_methods.cpp --- pytorch-v1.5.0/tools/autograd/templates/python_variable_methods.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/templates/python_variable_methods.cpp 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/templates/python_variable_methods.cpp 2021-07-16 18:43:31.145877583 +0800 @@ -15,7 +15,13 @@ #include "torch/csrc/cuda/Stream.h" #include "torch/csrc/cuda/Event.h" @@ -9777,7 +9777,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= {"has_names", (PyCFunction)THPVariable_has_names, METH_NOARGS, NULL}, diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/templates/VariableType.cpp pytorch-develop/tools/autograd/templates/VariableType.cpp --- pytorch-v1.5.0/tools/autograd/templates/VariableType.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/templates/VariableType.cpp 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/templates/VariableType.cpp 2021-07-16 18:43:31.145877583 +0800 @@ -1,7 +1,27 @@ +// Copyright (c) 2021 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -9808,7 +9808,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/autograd/templates/VariableType.h pytorch-develop/tools/autograd/templates/VariableType.h --- pytorch-v1.5.0/tools/autograd/templates/VariableType.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/autograd/templates/VariableType.h 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/autograd/templates/VariableType.h 2021-07-16 18:43:31.145877583 +0800 @@ -1,3 +1,20 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -9840,7 +9840,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= const at::Tensor & unpack(const Tensor & t, const char * name, int pos); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/tools/build_variables.bzl pytorch-develop/tools/build_variables.bzl --- pytorch-v1.5.0/tools/build_variables.bzl 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/tools/build_variables.bzl 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/tools/build_variables.bzl 2021-07-16 18:43:31.145877583 +0800 @@ -46,6 +46,7 @@ "torch/csrc/autograd/functions/utils.cpp", "torch/csrc/autograd/input_buffer.cpp", @@ -9926,7 +9926,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -def grad(outputs: _TensorOrTensors, inputs: _TensorOrTensors, grad_outputs: Optional[_TensorOrTensors]=..., retain_graph: Optional[bool]=..., create_graph: bool=..., only_inputs: bool=..., allow_unused: bool=...) -> Tuple[Tensor, ...]: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/autograd/profiler.py pytorch-develop/torch/autograd/profiler.py --- pytorch-v1.5.0/torch/autograd/profiler.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/autograd/profiler.py 2021-07-14 13:58:22.564886842 +0800 ++++ pytorch-develop/torch/autograd/profiler.py 2021-07-16 18:43:31.153877870 +0800 @@ -1,8 +1,25 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -10399,7 +10399,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return ''.join(result) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/CMakeLists.txt pytorch-develop/torch/CMakeLists.txt --- pytorch-v1.5.0/torch/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/CMakeLists.txt 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/torch/CMakeLists.txt 2021-07-16 18:43:31.149877726 +0800 @@ -97,6 +97,7 @@ ${TORCH_SRC_DIR}/csrc/tensor/python_tensor.cpp ${TORCH_SRC_DIR}/csrc/utils.cpp @@ -10431,7 +10431,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= endif() diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/engine.cpp pytorch-develop/torch/csrc/autograd/engine.cpp --- pytorch-v1.5.0/torch/csrc/autograd/engine.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/engine.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/engine.cpp 2021-07-16 18:43:31.161878156 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -10554,7 +10554,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= auto event = c10::Event{c10::DeviceType::CUDA}; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/functions/tensor.cpp pytorch-develop/torch/csrc/autograd/functions/tensor.cpp --- pytorch-v1.5.0/torch/csrc/autograd/functions/tensor.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/functions/tensor.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/functions/tensor.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -10586,7 +10586,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= /*non_blocking=*/false, diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/init.cpp pytorch-develop/torch/csrc/autograd/init.cpp --- pytorch-v1.5.0/torch/csrc/autograd/init.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/init.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/init.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -10629,7 +10629,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= m.def("_enable_profiler", enableProfiler); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/input_buffer.cpp pytorch-develop/torch/csrc/autograd/input_buffer.cpp --- pytorch-v1.5.0/torch/csrc/autograd/input_buffer.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/input_buffer.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/input_buffer.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -10681,7 +10681,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= auto& old_var = buffer[pos]; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/profiler.cpp pytorch-develop/torch/csrc/autograd/profiler.cpp --- pytorch-v1.5.0/torch/csrc/autograd/profiler.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/profiler.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/profiler.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -10877,7 +10877,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= CUDAStubs::~CUDAStubs() = default; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/profiler.h pytorch-develop/torch/csrc/autograd/profiler.h --- pytorch-v1.5.0/torch/csrc/autograd/profiler.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/profiler.h 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/profiler.h 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11002,7 +11002,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/python_variable.cpp pytorch-develop/torch/csrc/autograd/python_variable.cpp --- pytorch-v1.5.0/torch/csrc/autograd/python_variable.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/python_variable.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/python_variable.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11056,7 +11056,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= {"is_complex", (getter)THPVariable_is_complex, nullptr, nullptr, nullptr}, diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/python_variable_indexing.cpp pytorch-develop/torch/csrc/autograd/python_variable_indexing.cpp --- pytorch-v1.5.0/torch/csrc/autograd/python_variable_indexing.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/python_variable_indexing.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/python_variable_indexing.cpp 2021-07-16 18:43:31.165878300 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11097,7 +11097,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/utils/wrap_outputs.h pytorch-develop/torch/csrc/autograd/utils/wrap_outputs.h --- pytorch-v1.5.0/torch/csrc/autograd/utils/wrap_outputs.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/utils/wrap_outputs.h 2021-07-14 13:58:22.580887416 +0800 ++++ pytorch-develop/torch/csrc/autograd/utils/wrap_outputs.h 2021-07-16 18:43:31.165878300 +0800 @@ -168,6 +168,45 @@ return r.release(); } @@ -11146,7 +11146,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= if (!r) throw python_error(); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/autograd/VariableTypeManual.cpp pytorch-develop/torch/csrc/autograd/VariableTypeManual.cpp --- pytorch-v1.5.0/torch/csrc/autograd/VariableTypeManual.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/autograd/VariableTypeManual.cpp 2021-07-14 13:58:22.576887273 +0800 ++++ pytorch-develop/torch/csrc/autograd/VariableTypeManual.cpp 2021-07-16 18:43:31.161878156 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11180,7 +11180,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= if (!t.defined()) { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/distributed/c10d/comm.cpp pytorch-develop/torch/csrc/distributed/c10d/comm.cpp --- pytorch-v1.5.0/torch/csrc/distributed/c10d/comm.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/distributed/c10d/comm.cpp 2021-07-14 13:58:22.580887416 +0800 ++++ pytorch-develop/torch/csrc/distributed/c10d/comm.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11286,7 +11286,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= while (!in_flight.empty()) { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/distributed/c10d/init.cpp pytorch-develop/torch/csrc/distributed/c10d/init.cpp --- pytorch-v1.5.0/torch/csrc/distributed/c10d/init.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/distributed/c10d/init.cpp 2021-07-14 13:58:22.580887416 +0800 ++++ pytorch-develop/torch/csrc/distributed/c10d/init.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11343,7 +11343,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= .def("is_success", &::c10d::ProcessGroup::Work::isSuccess) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/distributed/c10d/reducer.cpp pytorch-develop/torch/csrc/distributed/c10d/reducer.cpp --- pytorch-v1.5.0/torch/csrc/distributed/c10d/reducer.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/distributed/c10d/reducer.cpp 2021-07-14 13:58:22.580887416 +0800 ++++ pytorch-develop/torch/csrc/distributed/c10d/reducer.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11468,7 +11468,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/DynamicTypes.cpp pytorch-develop/torch/csrc/DynamicTypes.cpp --- pytorch-v1.5.0/torch/csrc/DynamicTypes.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/DynamicTypes.cpp 2021-07-14 13:58:22.568886986 +0800 ++++ pytorch-develop/torch/csrc/DynamicTypes.cpp 2021-07-16 18:43:31.153877870 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11517,7 +11517,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return it->second; diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/Generator.cpp pytorch-develop/torch/csrc/Generator.cpp --- pytorch-v1.5.0/torch/csrc/Generator.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/Generator.cpp 2021-07-14 13:58:22.568886986 +0800 ++++ pytorch-develop/torch/csrc/Generator.cpp 2021-07-16 18:43:31.153877870 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11585,7 +11585,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= #endif diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/generic/serialization.cpp pytorch-develop/torch/csrc/generic/serialization.cpp --- pytorch-v1.5.0/torch/csrc/generic/serialization.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/generic/serialization.cpp 2021-07-14 13:58:22.584887559 +0800 ++++ pytorch-develop/torch/csrc/generic/serialization.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11685,7 +11685,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/generic/Storage.cpp pytorch-develop/torch/csrc/generic/Storage.cpp --- pytorch-v1.5.0/torch/csrc/generic/Storage.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/generic/Storage.cpp 2021-07-14 13:58:22.584887559 +0800 ++++ pytorch-develop/torch/csrc/generic/Storage.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,7 +1,25 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11764,7 +11764,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= for (Py_ssize_t i = 0; i < length; i++) { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/generic/StorageMethods.cpp pytorch-develop/torch/csrc/generic/StorageMethods.cpp --- pytorch-v1.5.0/torch/csrc/generic/StorageMethods.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/generic/StorageMethods.cpp 2021-07-14 13:58:22.584887559 +0800 ++++ pytorch-develop/torch/csrc/generic/StorageMethods.cpp 2021-07-16 18:43:31.169878444 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11812,7 +11812,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= {"_write_file", (PyCFunction)THPStorage_(writeFile), METH_VARARGS, nullptr}, diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/Module.cpp pytorch-develop/torch/csrc/Module.cpp --- pytorch-v1.5.0/torch/csrc/Module.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/Module.cpp 2021-07-14 13:58:22.568886986 +0800 ++++ pytorch-develop/torch/csrc/Module.cpp 2021-07-16 18:43:31.153877870 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -11956,7 +11956,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= auto set_module_attr = [&](const char* name, PyObject* v, bool incref = true) { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/tensor/python_tensor.cpp pytorch-develop/torch/csrc/tensor/python_tensor.cpp --- pytorch-v1.5.0/torch/csrc/tensor/python_tensor.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/tensor/python_tensor.cpp 2021-07-14 13:58:22.604888277 +0800 ++++ pytorch-develop/torch/csrc/tensor/python_tensor.cpp 2021-07-16 18:43:31.193879304 +0800 @@ -1,18 +1,35 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -12333,7 +12333,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= +} // namespace torch diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/init.cpp pytorch-develop/torch/csrc/utils/init.cpp --- pytorch-v1.5.0/torch/csrc/utils/init.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/init.cpp 2021-07-14 13:58:22.604888277 +0800 ++++ pytorch-develop/torch/csrc/utils/init.cpp 2021-07-16 18:43:31.193879304 +0800 @@ -1,6 +1,10 @@ #include #include @@ -12421,7 +12421,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } // namespace torch diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/init.h pytorch-develop/torch/csrc/utils/init.h --- pytorch-v1.5.0/torch/csrc/utils/init.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/init.h 2021-07-14 13:58:22.604888277 +0800 ++++ pytorch-develop/torch/csrc/utils/init.h 2021-07-16 18:43:31.193879304 +0800 @@ -8,4 +8,7 @@ void initThroughputBenchmarkBindings(PyObject* module); @@ -12432,7 +12432,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } // namespace torch diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/python_arg_parser.h pytorch-develop/torch/csrc/utils/python_arg_parser.h --- pytorch-v1.5.0/torch/csrc/utils/python_arg_parser.h 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/python_arg_parser.h 2021-07-14 13:58:22.608888419 +0800 ++++ pytorch-develop/torch/csrc/utils/python_arg_parser.h 2021-07-16 18:43:31.193879304 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -12467,7 +12467,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return at::Device(device_str); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/tensor_layouts.cpp pytorch-develop/torch/csrc/utils/tensor_layouts.cpp --- pytorch-v1.5.0/torch/csrc/utils/tensor_layouts.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/tensor_layouts.cpp 2021-07-14 13:58:22.608888419 +0800 ++++ pytorch-develop/torch/csrc/utils/tensor_layouts.cpp 2021-07-16 18:43:31.193879304 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -12498,7 +12498,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= registerLayoutObject((THPLayout*)strided_layout, at::Backend::QuantizedCPU); diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/tensor_new.cpp pytorch-develop/torch/csrc/utils/tensor_new.cpp --- pytorch-v1.5.0/torch/csrc/utils/tensor_new.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/tensor_new.cpp 2021-07-14 13:58:22.608888419 +0800 ++++ pytorch-develop/torch/csrc/utils/tensor_new.cpp 2021-07-16 18:43:31.193879304 +0800 @@ -1,3 +1,19 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -12634,7 +12634,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= } else if(expected_layout == c10::kSparse) { diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/csrc/utils/tensor_types.cpp pytorch-develop/torch/csrc/utils/tensor_types.cpp --- pytorch-v1.5.0/torch/csrc/utils/tensor_types.cpp 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/csrc/utils/tensor_types.cpp 2021-07-14 13:58:22.608888419 +0800 ++++ pytorch-develop/torch/csrc/utils/tensor_types.cpp 2021-07-16 18:43:31.193879304 +0800 @@ -1,58 +1,91 @@ +// Copyright (c) 2020 Huawei Technologies Co., Ltd +// Copyright (c) 2019, Facebook CORPORATION. @@ -12847,7 +12847,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -def get_rng_state(): ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/distributed/distributed_c10d.py pytorch-develop/torch/distributed/distributed_c10d.py --- pytorch-v1.5.0/torch/distributed/distributed_c10d.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/distributed/distributed_c10d.py 2021-07-14 13:58:22.608888419 +0800 ++++ pytorch-develop/torch/distributed/distributed_c10d.py 2021-07-16 18:43:31.197879447 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -12928,7 +12928,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/distributions/von_mises.py pytorch-develop/torch/distributions/von_mises.py --- pytorch-v1.5.0/torch/distributions/von_mises.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/distributions/von_mises.py 2021-07-14 13:58:22.612888564 +0800 ++++ pytorch-develop/torch/distributions/von_mises.py 2021-07-16 18:43:31.197879447 +0800 @@ -1,140 +1,140 @@ -from __future__ import absolute_import, division, print_function - @@ -13212,7 +13212,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= + _log_modified_bessel_fn(self.concentration, order=0)).exp() diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/__init__.py pytorch-develop/torch/__init__.py --- pytorch-v1.5.0/torch/__init__.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/__init__.py 2021-07-14 13:58:22.560886698 +0800 ++++ pytorch-develop/torch/__init__.py 2021-07-16 18:43:31.149877726 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -13255,7 +13255,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= \ No newline at end of file diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/lib/c10d/CMakeLists.txt pytorch-develop/torch/lib/c10d/CMakeLists.txt --- pytorch-v1.5.0/torch/lib/c10d/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/lib/c10d/CMakeLists.txt 2021-07-14 13:58:22.612888564 +0800 ++++ pytorch-develop/torch/lib/c10d/CMakeLists.txt 2021-07-16 18:43:31.201879590 +0800 @@ -28,6 +28,10 @@ option(USE_C10D_NCCL "USE C10D NCCL" ON) endif() @@ -13308,7 +13308,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= copy_header(ProcessGroupMPI.hpp) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/lib/libshm/CMakeLists.txt pytorch-develop/torch/lib/libshm/CMakeLists.txt --- pytorch-v1.5.0/torch/lib/libshm/CMakeLists.txt 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/lib/libshm/CMakeLists.txt 2021-07-14 13:58:22.616888707 +0800 ++++ pytorch-develop/torch/lib/libshm/CMakeLists.txt 2021-07-16 18:43:31.201879590 +0800 @@ -37,8 +37,11 @@ SET_TARGET_PROPERTIES(shm PROPERTIES PREFIX "lib" @@ -13365,7 +13365,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -_maybe_indices_t = _scalar_or_tuple_2_t[Tensor] diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/functional.py pytorch-develop/torch/nn/functional.py --- pytorch-v1.5.0/torch/nn/functional.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/functional.py 2021-07-14 13:58:22.616888707 +0800 ++++ pytorch-develop/torch/nn/functional.py 2021-07-16 18:43:31.205879734 +0800 @@ -1611,7 +1611,7 @@ else: output = input.matmul(weight.t()) @@ -13388,7 +13388,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -from . import parallel as parallel diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/modules/batchnorm.py pytorch-develop/torch/nn/modules/batchnorm.py --- pytorch-v1.5.0/torch/nn/modules/batchnorm.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/modules/batchnorm.py 2021-07-14 13:58:22.616888707 +0800 ++++ pytorch-develop/torch/nn/modules/batchnorm.py 2021-07-16 18:43:31.205879734 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -13420,7 +13420,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= self.register_parameter('running_var', None) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/modules/module.py pytorch-develop/torch/nn/modules/module.py --- pytorch-v1.5.0/torch/nn/modules/module.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/modules/module.py 2021-07-14 13:58:22.620888850 +0800 ++++ pytorch-develop/torch/nn/modules/module.py 2021-07-16 18:43:31.205879734 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -13563,7 +13563,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return t.to(device, dtype if t.is_floating_point() else None, non_blocking, memory_format=convert_to_format) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/modules/normalization.py pytorch-develop/torch/nn/modules/normalization.py --- pytorch-v1.5.0/torch/nn/modules/normalization.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/modules/normalization.py 2021-07-14 13:58:22.620888850 +0800 ++++ pytorch-develop/torch/nn/modules/normalization.py 2021-07-16 18:43:31.205879734 +0800 @@ -128,13 +128,14 @@ """ __constants__ = ['normalized_shape', 'eps', 'elementwise_affine'] @@ -13596,7 +13596,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= return '{normalized_shape}, eps={eps}, ' \ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/modules/transformer.pyi.in pytorch-develop/torch/nn/modules/transformer.pyi.in --- pytorch-v1.5.0/torch/nn/modules/transformer.pyi.in 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/modules/transformer.pyi.in 2021-07-14 13:58:22.620888850 +0800 ++++ pytorch-develop/torch/nn/modules/transformer.pyi.in 2021-07-16 18:43:31.205879734 +0800 @@ -1,60 +1,60 @@ -from ..init import xavier_uniform_ -from .activation import MultiheadAttention @@ -13756,7 +13756,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= - module_kwargs: Optional[Any] = ...) -> Tensor: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/nn/parallel/distributed.py pytorch-develop/torch/nn/parallel/distributed.py --- pytorch-v1.5.0/torch/nn/parallel/distributed.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/nn/parallel/distributed.py 2021-07-14 13:58:22.620888850 +0800 ++++ pytorch-develop/torch/nn/parallel/distributed.py 2021-07-16 18:43:31.205879734 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14107,7 +14107,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= -def remove_weight_norm(module: T_module, name: str = ...) -> T_module: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/onnx/symbolic_opset9.py pytorch-develop/torch/onnx/symbolic_opset9.py --- pytorch-v1.5.0/torch/onnx/symbolic_opset9.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/onnx/symbolic_opset9.py 2021-07-14 13:58:22.624888994 +0800 ++++ pytorch-develop/torch/onnx/symbolic_opset9.py 2021-07-16 18:43:31.209879878 +0800 @@ -1621,14 +1621,23 @@ slices = [sym_help._slice_helper(g, w, axes=[0], starts=[x * n], ends=[y * n]) for x, y in intervals] return g.op('Concat', *slices, axis_i=0) @@ -14185,7 +14185,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= - def __init__(self, params: _params_t, lr: float=..., lr_decay: float=..., weight_decay: float=..., initial_accumulator_value: float=..., eps: float=...) -> None: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/optim/adamax.py pytorch-develop/torch/optim/adamax.py --- pytorch-v1.5.0/torch/optim/adamax.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/optim/adamax.py 2021-07-14 13:58:22.624888994 +0800 ++++ pytorch-develop/torch/optim/adamax.py 2021-07-16 18:43:31.209879878 +0800 @@ -80,8 +80,8 @@ exp_inf.mul_(beta2).unsqueeze(0), grad.abs().add_(eps).unsqueeze_(0) @@ -14362,7 +14362,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= - def __init__(self, params: _params_t, lr: float=..., betas: Tuple[float, float]=..., eps: float=...) -> None: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/serialization.py pytorch-develop/torch/serialization.py --- pytorch-v1.5.0/torch/serialization.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/serialization.py 2021-07-14 13:58:22.624888994 +0800 ++++ pytorch-develop/torch/serialization.py 2021-07-16 18:43:31.213880021 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14446,7 +14446,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= def location_tag(storage): diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/storage.py pytorch-develop/torch/storage.py --- pytorch-v1.5.0/torch/storage.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/storage.py 2021-07-14 13:58:22.624888994 +0800 ++++ pytorch-develop/torch/storage.py 2021-07-16 18:43:31.213880021 +0800 @@ -7,6 +7,7 @@ class _StorageBase(object): @@ -14466,7 +14466,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= else: diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/tensor.py pytorch-develop/torch/tensor.py --- pytorch-v1.5.0/torch/tensor.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/tensor.py 2021-07-14 13:58:22.624888994 +0800 ++++ pytorch-develop/torch/tensor.py 2021-07-16 18:43:31.213880021 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14528,7 +14528,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= def __reversed__(self): diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/_tensor_str.py pytorch-develop/torch/_tensor_str.py --- pytorch-v1.5.0/torch/_tensor_str.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/_tensor_str.py 2021-07-14 13:58:22.564886842 +0800 ++++ pytorch-develop/torch/_tensor_str.py 2021-07-16 18:43:31.149877726 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14582,7 +14582,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= has_default_dtype = self.dtype in (torch.get_default_dtype(), torch.int64, torch.bool) diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/utils/data/dataloader.py pytorch-develop/torch/utils/data/dataloader.py --- pytorch-v1.5.0/torch/utils/data/dataloader.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/utils/data/dataloader.py 2021-07-14 13:58:22.628889137 +0800 ++++ pytorch-develop/torch/utils/data/dataloader.py 2021-07-16 18:43:31.217880165 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14791,7 +14791,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= - def __init__(self, sampler: Sampler[int], batch_size: int, drop_last: bool) -> None: ... diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/utils/data/_utils/pin_memory.py pytorch-develop/torch/utils/data/_utils/pin_memory.py --- pytorch-v1.5.0/torch/utils/data/_utils/pin_memory.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/utils/data/_utils/pin_memory.py 2021-07-14 13:58:22.628889137 +0800 ++++ pytorch-develop/torch/utils/data/_utils/pin_memory.py 2021-07-16 18:43:31.217880165 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. @@ -14852,7 +14852,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= - diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/utils/__init__.py pytorch-develop/torch/utils/__init__.py --- pytorch-v1.5.0/torch/utils/__init__.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/utils/__init__.py 2021-07-14 13:58:22.628889137 +0800 ++++ pytorch-develop/torch/utils/__init__.py 2021-07-16 18:43:31.213880021 +0800 @@ -1,6 +1,7 @@ from __future__ import absolute_import, division, print_function, unicode_literals @@ -14863,7 +14863,7 @@ diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude= def set_module(obj, mod): diff -Nur '--exclude=.git*' '--exclude=.jenkins' '--exclude=android' '--exclude=OWNERS' '--exclude=third_party' '--exclude=README*' -Nur pytorch-v1.5.0/torch/_utils.py pytorch-develop/torch/_utils.py --- pytorch-v1.5.0/torch/_utils.py 2021-04-10 18:39:32.000000000 +0800 -+++ pytorch-develop/torch/_utils.py 2021-07-14 13:58:22.564886842 +0800 ++++ pytorch-develop/torch/_utils.py 2021-07-16 18:43:31.153877870 +0800 @@ -1,3 +1,19 @@ +# Copyright (c) 2020 Huawei Technologies Co., Ltd +# Copyright (c) 2019, Facebook CORPORATION. diff --git a/src/aten/src/ATen/native/npu/ArgminKernelNpu.cpp b/src/aten/src/ATen/native/npu/ArgminKernelNpu.cpp old mode 100644 new mode 100755 diff --git a/src/aten/src/ATen/native/npu/ReplicationPad2dKernelNpu.cpp b/src/aten/src/ATen/native/npu/ReplicationPad2dKernelNpu.cpp old mode 100644 new mode 100755 diff --git a/src/aten/src/ATen/native/npu/common/FormatCastHelper.cpp b/src/aten/src/ATen/native/npu/common/FormatCastHelper.cpp index 2890926250..3186a4410e 100644 --- a/src/aten/src/ATen/native/npu/common/FormatCastHelper.cpp +++ b/src/aten/src/ATen/native/npu/common/FormatCastHelper.cpp @@ -36,7 +36,6 @@ void FormatCastHelper::format_cast_as_base_format(const Tensor& src, aclFormat f AT_ASSERT(FormatHelper::IsBaseFormatType(src), "src format must be base format"); auto& src_desc = src.storage().unsafeGetStorageImpl()->npu_desc_; - src_desc.storage_sizes_ = FormatHelper::GetSizeOfBaseFormat(src, format); src_desc.origin_format_ = format; src_desc.npu_format_ = format; return; diff --git a/src/aten/src/ATen/native/npu/frame/FormatHelper.cpp b/src/aten/src/ATen/native/npu/frame/FormatHelper.cpp index 018f6e2707..d13bccb4c0 100644 --- a/src/aten/src/ATen/native/npu/frame/FormatHelper.cpp +++ b/src/aten/src/ATen/native/npu/frame/FormatHelper.cpp @@ -59,22 +59,6 @@ std::unordered_map FormatHelper::info = { {ACL_FRACTAL_Z_3D, (FormatInfo){ACL_FRACTAL_Z_3D, ACL_FORMAT_NCDHW, InferShapeOfFZ3D, "FRACTAL_Z_3D", true}}, }; -std::unordered_map> FormatHelper::base_format_convert_info = { - {ACL_FORMAT_ND, { - {ACL_FORMAT_NCHW, InferShapeNDToNCHW}, - {ACL_FORMAT_NCDHW, InferShapeNDToNCDHW}, - } - }, - {ACL_FORMAT_NCHW, { - {ACL_FORMAT_ND, InferShapeNCHWToND}, - } - }, - {ACL_FORMAT_NCDHW, { - {ACL_FORMAT_ND, InferShapeNCDHWToND}, - } - }, -}; - bool FormatHelper::IsPadded(const Tensor* tensor) { auto format = tensor->storage().unsafeGetStorageImpl()->npu_desc_.npu_format_; return IsPadded(format); @@ -136,20 +120,6 @@ FormatShape FormatHelper::GetStorageSizes(NPUStorageDesc desc) { return GetStorageSizes(format, ori_size); } -FormatShape FormatHelper::GetSizeOfBaseFormat(const Tensor& src, aclFormat dst_format) { - auto src_format = GetBaseFormat(src); - auto itr = base_format_convert_info.find(src_format); - if (itr != base_format_convert_info.end()) { - auto next_itr = itr->second.find(dst_format); - if (next_itr != itr->second.end()) { - auto src_desc = src.storage().unsafeGetStorageImpl()->npu_desc_; - return next_itr->second(src_desc.storage_sizes_, src_desc.base_sizes_); - } - } - AT_ERROR("unsupport InferShape from ", GetFormatName(src_format), " to ", GetFormatName(dst_format)); - return {}; -} - // namespace { FormatShape InferShapeLessTo4(IntArrayRef dims) { diff --git a/src/aten/src/ATen/native/npu/frame/FormatHelper.h b/src/aten/src/ATen/native/npu/frame/FormatHelper.h index 862ff1b7d3..9f0d1f0242 100644 --- a/src/aten/src/ATen/native/npu/frame/FormatHelper.h +++ b/src/aten/src/ATen/native/npu/frame/FormatHelper.h @@ -48,7 +48,6 @@ public: static FormatShape GetStorageSizes(aclFormat format, sizeType ori_size); // GetStorageSizes used to calculate the storage sizes of op at npu device at different format. static FormatShape GetStorageSizes(NPUStorageDesc desc); - static FormatShape GetSizeOfBaseFormat(const Tensor& src, aclFormat dst_format); private: static bool IsPadded(aclFormat format); @@ -64,7 +63,6 @@ private: bool isPadded = false; } FormatInfo; static std::unordered_map info; - static std::unordered_map> base_format_convert_info; }; // class FormatHelper // template impl diff --git a/test/test_npu/test_network_ops/test_abs.py b/test/test_npu/test_network_ops/test_abs.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_add.py b/test/test_npu/test_network_ops/test_add.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_addmm.py b/test/test_npu/test_network_ops/test_addmm.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_all.py b/test/test_npu/test_network_ops/test_all.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_any.py b/test/test_npu/test_network_ops/test_any.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_arange.py b/test/test_npu/test_network_ops/test_arange.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_argmax.py b/test/test_npu/test_network_ops/test_argmax.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_avg_pool2d_backward.py b/test/test_npu/test_network_ops/test_avg_pool2d_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits_backward.py b/test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_bmm.py b/test/test_npu/test_network_ops/test_bmm.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_broadcastToD.py b/test/test_npu/test_network_ops/test_broadcastToD.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_cat.py b/test/test_npu/test_network_ops/test_cat.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_clamp.py b/test/test_npu/test_network_ops/test_clamp.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_conv2d.py b/test/test_npu/test_network_ops/test_conv2d.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_conv_depthwise2d_backward.py b/test/test_npu/test_network_ops/test_conv_depthwise2d_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_div.py b/test/test_npu/test_network_ops/test_div.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_dropout.py b/test/test_npu/test_network_ops/test_dropout.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_embedding_backward.py b/test/test_npu/test_network_ops/test_embedding_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_exp.py b/test/test_npu/test_network_ops/test_exp.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_fill_.py b/test/test_npu/test_network_ops/test_fill_.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_floor.py b/test/test_npu/test_network_ops/test_floor.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_fmod.py b/test/test_npu/test_network_ops/test_fmod.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_full.py b/test/test_npu/test_network_ops/test_full.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_ge.py b/test/test_npu/test_network_ops/test_ge.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_gt.py b/test/test_npu/test_network_ops/test_gt.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_hardtanh.py b/test/test_npu/test_network_ops/test_hardtanh.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_index_put.py b/test/test_npu/test_network_ops/test_index_put.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_le.py b/test/test_npu/test_network_ops/test_le.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_leaky_relu_backward.py b/test/test_npu/test_network_ops/test_leaky_relu_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_log.py b/test/test_npu/test_network_ops/test_log.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_log2.py b/test/test_npu/test_network_ops/test_log2.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_log_softmax.py b/test/test_npu/test_network_ops/test_log_softmax.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_log_softmax_backward.py b/test/test_npu/test_network_ops/test_log_softmax_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_lt.py b/test/test_npu/test_network_ops/test_lt.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_matmul.py b/test/test_npu/test_network_ops/test_matmul.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_max.py b/test/test_npu/test_network_ops/test_max.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_min.py b/test/test_npu/test_network_ops/test_min.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_mm.py b/test/test_npu/test_network_ops/test_mm.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_muls.py b/test/test_npu/test_network_ops/test_muls.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_neg.py b/test/test_npu/test_network_ops/test_neg.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_nllloss.py b/test/test_npu/test_network_ops/test_nllloss.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_not_equal.py b/test/test_npu/test_network_ops/test_not_equal.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_pow.py b/test/test_npu/test_network_ops/test_pow.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_prod.py b/test/test_npu/test_network_ops/test_prod.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_reciprocal.py b/test/test_npu/test_network_ops/test_reciprocal.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_relu.py b/test/test_npu/test_network_ops/test_relu.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_remainder.py b/test/test_npu/test_network_ops/test_remainder.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_rsqrt.py b/test/test_npu/test_network_ops/test_rsqrt.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_rsub.py b/test/test_npu/test_network_ops/test_rsub.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_sign.py b/test/test_npu/test_network_ops/test_sign.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_softmax.py b/test/test_npu/test_network_ops/test_softmax.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_split.py b/test/test_npu/test_network_ops/test_split.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_sqrt.py b/test/test_npu/test_network_ops/test_sqrt.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_stack.py b/test/test_npu/test_network_ops/test_stack.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_sub.py b/test/test_npu/test_network_ops/test_sub.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_sum.py b/test/test_npu/test_network_ops/test_sum.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_upsample_bilinear_backward.py b/test/test_npu/test_network_ops/test_upsample_bilinear_backward.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_where.py b/test/test_npu/test_network_ops/test_where.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_zero.py b/test/test_npu/test_network_ops/test_zero.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_zeros.py b/test/test_npu/test_network_ops/test_zeros.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/test_zeroslike.py b/test/test_npu/test_network_ops/test_zeroslike.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_network_ops/util_test.py b/test/test_npu/test_network_ops/util_test.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/eval/onnx/cp_onnx_eval.py b/test/test_npu/test_onnx/torch.onnx/eval/onnx/cp_onnx_eval.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/eval/onnxrt/onnxrt_eval.py b/test/test_npu/test_onnx/torch.onnx/eval/onnxrt/onnxrt_eval.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/cp_parser.py b/test/test_npu/test_onnx/torch.onnx/export/cp_parser.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/export_onnx.py b/test/test_npu/test_onnx/torch.onnx/export/export_onnx.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/model_export-cpu.py b/test/test_npu/test_onnx/torch.onnx/export/model_export-cpu.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/model_export-gpu.py b/test/test_npu/test_onnx/torch.onnx/export/model_export-gpu.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/model_export-npu.py b/test/test_npu/test_onnx/torch.onnx/export/model_export-npu.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/model_export.py b/test/test_npu/test_onnx/torch.onnx/export/model_export.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/export/onnx_parser.py b/test/test_npu/test_onnx/torch.onnx/export/onnx_parser.py old mode 100644 new mode 100755 diff --git a/test/test_npu/test_onnx/torch.onnx/main.py b/test/test_npu/test_onnx/torch.onnx/main.py old mode 100644 new mode 100755 -- Gitee