forked from mindspore-Ecosystem/mindspore
upgrade Ascend software package Nov 5
This commit is contained in:
parent
c24fdec51a
commit
a8f9b81311
|
@ -1 +1 @@
|
||||||
Subproject commit 9bce7edf7fdfc377b426a42c4da69572dc1f1285
|
Subproject commit b4368cd0361c25a79e24579356bcbda47e738161
|
|
@ -324,7 +324,7 @@ void DataDumper::OpDebugRegister() {
|
||||||
return;
|
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) {
|
if (rt_ret != RT_ERROR_NONE) {
|
||||||
MS_LOG(EXCEPTION) << "[DataDump] Call rtMalloc failed, ret = " << rt_ret;
|
MS_LOG(EXCEPTION) << "[DataDump] Call rtMalloc failed, ret = " << rt_ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
#include "utils/convert_utils_base.h"
|
#include "utils/convert_utils_base.h"
|
||||||
#include "utils/ms_context.h"
|
#include "utils/ms_context.h"
|
||||||
#include "runtime/device/kernel_runtime_manager.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 "pipeline/jit/static_analysis/static_analysis.h"
|
||||||
#include "runtime/device/ascend/executor/tiling/op_tiling_adapter.h"
|
#include "runtime/device/ascend/executor/tiling/op_tiling_adapter.h"
|
||||||
#include "common/trans.h"
|
#include "common/trans.h"
|
||||||
|
|
|
@ -19,8 +19,8 @@ import time
|
||||||
import subprocess
|
import subprocess
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from abc import abstractmethod, ABCMeta
|
from abc import abstractmethod, ABCMeta
|
||||||
import numpy as np
|
|
||||||
from packaging import version
|
from packaging import version
|
||||||
|
import numpy as np
|
||||||
from mindspore import log as logger
|
from mindspore import log as logger
|
||||||
from ..version import __version__
|
from ..version import __version__
|
||||||
from ..default_config import __package_name__
|
from ..default_config import __package_name__
|
||||||
|
@ -207,7 +207,7 @@ class AscendEnvChecker(EnvChecker):
|
||||||
"""ascend environment check"""
|
"""ascend environment check"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.version = ["1.79"]
|
self.version = ["1.80"]
|
||||||
atlas_nnae_version = "/usr/local/Ascend/nnae/latest/fwkacllib/version.info"
|
atlas_nnae_version = "/usr/local/Ascend/nnae/latest/fwkacllib/version.info"
|
||||||
atlas_toolkit_version = "/usr/local/Ascend/ascend-toolkit/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"
|
hisi_fwk_version = "/usr/local/Ascend/fwkacllib/version.info"
|
||||||
|
@ -304,7 +304,7 @@ class AscendEnvChecker(EnvChecker):
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import te # pylint: disable=unused-import
|
import te # pylint: disable=unused-import
|
||||||
# pylint: disable=broad-except
|
# pylint: disable=broad-except
|
||||||
except Exception:
|
except Exception:
|
||||||
if Path(self.tbe_path).is_dir():
|
if Path(self.tbe_path).is_dir():
|
||||||
|
@ -410,7 +410,7 @@ def check_version_and_env_config():
|
||||||
try:
|
try:
|
||||||
# check version of ascend site or cuda
|
# check version of ascend site or cuda
|
||||||
env_checker.check_version()
|
env_checker.check_version()
|
||||||
from .. import _c_expression # pylint: disable=unused-import
|
from .. import _c_expression # pylint: disable=unused-import
|
||||||
env_checker.set_env()
|
env_checker.set_env()
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
env_checker.check_env(e)
|
env_checker.check_env(e)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.5.0
|
1.6.0
|
Loading…
Reference in New Issue