升级pytorch v1.11.0

This commit is contained in:
xiaxia3
2022-08-11 21:52:29 +08:00
parent eeb8ca89cc
commit df1a2e030f
655 changed files with 12958 additions and 51397 deletions
@@ -37,7 +37,7 @@
#include <stdexcept>
#include <utility>
#include "torch_npu/csrc/aten/NPUNativeFunctions.h"
#include "torch_npu/csrc/aten/XLANativeFunctions.h"
#include "torch_npu/csrc/utils/LazyInit.h"
using at::Tensor;
@@ -67,7 +67,6 @@ static PyObject* THPVariableFunctionsModule = NULL;
${py_forwards}
${py_device_forwards}
// Wrapper converts a raised TypeError into returning NotImplemented
// Used to implement binary arithmetic operators
@@ -452,7 +451,6 @@ static PyMethodDef torch_functions[] = {
{"randint", castPyCFunctionWithKeywords(THPVariable_randint), METH_VARARGS | METH_KEYWORDS | METH_STATIC, NULL},
{"range", castPyCFunctionWithKeywords(THPVariable_range), METH_VARARGS | METH_KEYWORDS | METH_STATIC, NULL},
${py_method_defs}
${py_device_method_defs}
{NULL}
};
@@ -520,6 +518,4 @@ void initTorchFunctions(PyObject* module) {
${py_methods}
${py_device_methods}
}} // namespace torch_npu::autograd