upgrade ascend 200240321 r2.3.q1

This commit is contained in:
yanghaoran 2024-03-21 23:45:07 +08:00
parent 91c6b7a30d
commit 2ca3ad3e7b
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
20240315
20240321

@ -1 +1 @@
Subproject commit 0a59403e0acd408805391dcaeb942c91289d70ea
Subproject commit d22e270cc6eb19d62c01fb7658024c4f0ba86c44

View File

@ -106,8 +106,8 @@ def test_ascend_profiling():
add = Net()
add(Tensor(x), Tensor(y))
profiler.analyse()
assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/device_*/summary/op_summary*")) == 1
assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/device_*/summary/op_statistic*")) == 1
assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_summary*")) == 1
assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/mindstudio_profiler_output/op_statistic*")) == 1
assert len(glob.glob(f"{tmpdir}/profiler*/*PROF*/device_*/data/l2_cache.data*")) >= 2