DeepLink-org / DIOPI

BSD 3-Clause "New" or "Revised" License
68 stars 34 forks source link

[ascend] fix memory leak: only datatype, const char* does not release #1344

Closed hellozmz closed 3 months ago

hellozmz commented 3 months ago

Motivation and Context

修复在华为设备上的内存泄漏问题。

Description

修改之前,模型训练过程有内存泄漏: 企业微信截图_1723166040505 修复之后,无内存泄漏问题: image

换到 #1346 提交pr

Use cases (Optional)

BC-breaking (Optional)

Checklist

Before PR:

After PR: