Upgrade Ascend packages 28 Jul 21, with testcases removed

This commit is contained in:
yanghaoran 2021-07-31 16:11:38 +08:00
parent 32e4d2971b
commit 0364650eae
13 changed files with 11 additions and 14 deletions

@ -1 +1 @@
Subproject commit acc2472c4119d70b579d7ac2f7a6bbf2c344af29
Subproject commit cc8b648004605b8b01449de85a58a08cd6257226

View File

@ -18,10 +18,10 @@
#define MINDSPORE_CCSRC_RUNTIME_DEVICE_ASCEND_PROFILING_PROFILING_CALLBACK_REGISTER_H_
#include "toolchain/prof_callback.h"
#include "toolchain/prof_acl_api.h"
#define MAX_DEV_NUM (64)
using Status = uint32_t;
enum ProfCommandHandleType {
kProfCommandhandleInit = 0,
kProfCommandhandleStart,

View File

@ -24,7 +24,6 @@
#include "utils/ms_utils.h"
#include "utils/convert_utils.h"
#include "runtime/base.h"
#include "toolchain/prof_acl_api.h"
#include "runtime/device/ascend/profiling/profiling_callback_register.h"
#include <nlohmann/json.hpp>

View File

@ -24,11 +24,11 @@
#include "utils/contract.h"
#include "utils/ms_context.h"
#include "toolchain/prof_callback.h"
#include "toolchain/prof_acl_api.h"
#include "runtime/device/ascend/profiling/profiling_callback_register.h"
using std::map;
using std::string;
using Status = uint32_t;
namespace mindspore {
namespace device {
namespace ascend {

View File

@ -207,7 +207,7 @@ class AscendEnvChecker(EnvChecker):
"""ascend environment check"""
def __init__(self):
self.version = ["1.78.23.3.230"]
self.version = ["1.79.T10.0.B100"]
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"

View File

@ -16,7 +16,7 @@ import os
import pytest
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_single

View File

@ -16,7 +16,7 @@ import os
import pytest
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_single

View File

@ -58,7 +58,7 @@ def test_unique_ascend():
assert (output[1].asnumpy() == expect2).all()
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -36,7 +36,7 @@ class NetWithEmbeddingLookUp(nn.Cell):
return out
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.platform_x86_gpu_training

View File

@ -56,7 +56,7 @@ def test_ftrl_net():
[[0.6821311, 0.6821311]],
[[0.6821311, 0.6821311]]]))
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -69,7 +69,7 @@ class Net(nn.Cell):
x5 = self.relu(x5)
return x1, x2, x3, x4, x5
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -145,7 +145,7 @@ class TimeMonitor(Callback):
self.per_step_mseconds_list.append(epoch_mseconds / self.data_size)
@pytest.mark.level0
@pytest.mark.level1
@pytest.mark.platform_arm_ascend_training
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard

View File

@ -53,10 +53,8 @@ Status Graph::SaveToFile(const string& file_name) const { return ge::GRAPH_SUCCE
} // namespace ge
namespace gelc {
extern "C" {
uint32_t GetOptInfo(uint32_t mode, const std::string &soc_ver, std::map<std::string, std::string> &opt_info_map) {
return 0;
}
} // extern C
} // namespace gelc
#endif