upgrade Ascend software package Nov 5

This commit is contained in:
tronzhang 2021-11-05 14:25:00 +08:00
parent c24fdec51a
commit a8f9b81311
5 changed files with 9 additions and 7 deletions

@ -1 +1 @@
Subproject commit 9bce7edf7fdfc377b426a42c4da69572dc1f1285
Subproject commit b4368cd0361c25a79e24579356bcbda47e738161

View File

@ -324,7 +324,7 @@ void DataDumper::OpDebugRegister() {
return;
}
rtError_t rt_ret = rtMalloc(&op_debug_buffer_addr_, kOpDebugHostMemSize, RT_MEMORY_DDR);
rtError_t rt_ret = rtMalloc(&op_debug_buffer_addr_, kOpDebugHostMemSize, RT_MEMORY_TS);
if (rt_ret != RT_ERROR_NONE) {
MS_LOG(EXCEPTION) << "[DataDump] Call rtMalloc failed, ret = " << rt_ret;
}

View File

@ -22,6 +22,8 @@
#include "utils/convert_utils_base.h"
#include "utils/ms_context.h"
#include "runtime/device/kernel_runtime_manager.h"
#include "runtime/kernel.h"
#include "runtime/mem.h"
#include "pipeline/jit/static_analysis/static_analysis.h"
#include "runtime/device/ascend/executor/tiling/op_tiling_adapter.h"
#include "common/trans.h"

View File

@ -19,8 +19,8 @@ import time
import subprocess
from pathlib import Path
from abc import abstractmethod, ABCMeta
import numpy as np
from packaging import version
import numpy as np
from mindspore import log as logger
from ..version import __version__
from ..default_config import __package_name__
@ -207,7 +207,7 @@ class AscendEnvChecker(EnvChecker):
"""ascend environment check"""
def __init__(self):
self.version = ["1.79"]
self.version = ["1.80"]
atlas_nnae_version = "/usr/local/Ascend/nnae/latest/fwkacllib/version.info"
atlas_toolkit_version = "/usr/local/Ascend/ascend-toolkit/latest/fwkacllib/version.info"
hisi_fwk_version = "/usr/local/Ascend/fwkacllib/version.info"
@ -304,7 +304,7 @@ class AscendEnvChecker(EnvChecker):
return
try:
import te # pylint: disable=unused-import
import te # pylint: disable=unused-import
# pylint: disable=broad-except
except Exception:
if Path(self.tbe_path).is_dir():
@ -410,7 +410,7 @@ def check_version_and_env_config():
try:
# check version of ascend site or cuda
env_checker.check_version()
from .. import _c_expression # pylint: disable=unused-import
from .. import _c_expression # pylint: disable=unused-import
env_checker.set_env()
except ImportError as e:
env_checker.check_env(e)

View File

@ -1 +1 @@
1.5.0
1.6.0