fix: aclFinalize repeat

This commit is contained in:
jonyguo 2023-02-16 15:03:24 +08:00
parent 9ad01103ad
commit cea5c17a93
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
#### DataSet #### DataSet
- The TFRecordDataset API can directly read TFRecord files compressed by GZIP or ZLIB. - The TFRecordDataset API can directly read TFRecord files compressed by GZIP or ZLIB.
- The NumpySliceDataset API can process data of different dimensions at the same time. - The NumpySlicesDataset API can process data of different dimensions at the same time.
- Optimize the structure of error log to display more clear call stack information for debugging. - Optimize the structure of error log to display more clear call stack information for debugging.
- Fixed `mindspore.dataset.config.set_seed` does not take effect for random seeds in distributed training scenarios. - Fixed `mindspore.dataset.config.set_seed` does not take effect for random seeds in distributed training scenarios.

View File

@ -14,7 +14,7 @@
#### DataSet #### DataSet
- TFRecordDataset API支持直接读取通过GZIP或ZLIB压缩后的TFRecord文件。 - TFRecordDataset API支持直接读取通过GZIP或ZLIB压缩后的TFRecord文件。
- NumpySliceDataset API支持同时处理不同维度的数据。 - NumpySlicesDataset API支持同时处理不同维度的数据。
- 优化错误日志信息的结构,展示更清晰的调用栈信息便于调试、定位问题。 - 优化错误日志信息的结构,展示更清晰的调用栈信息便于调试、定位问题。
- 修复分布式训练场景下 `mindspore.dataset.config.set_seed` 对随机种子设置不生效的问题。 - 修复分布式训练场景下 `mindspore.dataset.config.set_seed` 对随机种子设置不生效的问题。

View File

@ -66,7 +66,7 @@ void ResourceManager::Release() {
} }
// finalize the acl when the process exit // finalize the acl when the process exit
ret = mindspore::AclInitAdapter::GetInstance().ForceFinalize(); ret = mindspore::AclInitAdapter::GetInstance().AclFinalize();
if (ret != APP_ERR_OK) { if (ret != APP_ERR_OK) {
MS_LOG(DEBUG) << "Failed to finalize acl, ret = " << ret << "."; MS_LOG(DEBUG) << "Failed to finalize acl, ret = " << ret << ".";
} }