Release Notes

View Source On AtomGit

MindSpore 2.8.0 Release Notes

Major Features and Improvements

Dataset

  • [STABLE] The mindspore.dataset.dataloader.DataLoader API is added, aligning with industry-standard API design patterns and functions to enhance user experience. In addition, various commonly used methods for datasets, samplers, collate functions, and tools are added.

  • [STABLE] The .send(...) and .recv(...) APIs are added for communication between nodes of the dataset object. These APIs enable the dataset data processing results to be transmitted between different nodes.

  • [STABLE] When .map(...) is used for data augmentation and a custom PyFunc augmentation function is used in multi-process mode, if the PyFunc function execution is slow or hangs, a warning will be printed to notify the user: ** worker subprocess stack:....

Executor

  • [STABLE] MindSpore now supports custom backends, allowing users to adapt to third-party backends.

Compiler

  • [STABLE] In graph mode, augmented assignment statements are parsed into corresponding in-place operators, improving graph mode performance and unifying programming experience for pynative and graph mode. Currently only the Ascend backend is supported.

PyNative

  • [STABLE] The recompute interface supports setting use_reentrant=False to enable gradient computation for complex type inputs. It also supports setting output_recompute to determine whether outputs should be re-computed.

  • [STABLE] Added support for CPU Tensor conversion with DLPack.

  • [STABLE] Storage supports shared memory between processes.

API Change

Backwards Incompatible Change

Dataset

  • [STABLE] The following obsolete import methods are completely removed: import mindspore.dataset.vision.c_transforms as c_vision, import mindspore.dataset.vision.py_transforms as py_vision, import mindspore.dataset.transforms.c_transforms as c_transforms, import mindspore.dataset.transforms.py_transforms as py_transforms.

  • [STABLE] The column_order parameter in the .map(...) operation is completely removed. You can use .project(...) to adjust the column order.

Bug Fixes

Dataset

  • ID6JRL: Fixed an issue where an incorrect data dimension was caused when GeneratorDataset (when the custom dataset __getitem__ returns the self member variable of the dict type) and .batch(batch_size=1) was used.

Contributors

anyrenwei,Bellatan,caifubi,Carey,chaijinwei,changzherui,chengbin,chenshan2623,chujinjin,DavidFFFan,DeshiChen,dingjinshan,fangwenyi,fary86,fengyixing,fuchao,Gaoxiong,gaoyong10,guangpengz,guozhijian,haozhang,hedongdong,hhz886,HighCloud,huangbingjian,huangfuxin,huda,jiangna,jiangshanfeng,jiaorui,jijiarong,laoyu,leida,liangchenghui,LiangZhibo,lichen,lijiajie1234,limingqi107,LiNuohang,litingyu,liubuyu,liuchao,liuchuting,liuluobin,liuyanwei,lizhitong,looop5,luochao60,machangwei,maoyuanpeng1,Margaret_wangrui,mengxian,mwt,NaCN,panzhihui,Qiao_Fu,qiuleilei,qqqhhhbbb,r1chardf1d0,rainyhorse,rogeryu11,shaoshengqi,shen_haochen,shenwei41,shuqian0,tanghuikang,Tianci Xiao,tianxiaodong,wang_ziqi,wangjialin,wangyin,wujueying,wusuqin4,wuyanernuo,XianglongZeng,xiaopeng,xiaotianci,xuzhen,yanghaoran,yangting,yao_yf,yide12,yiguangzheng,yuanqi,yuchaojie,Yuheng Wang,YuJianfeng,Yule100,yuliangbin,YzLi,zhangbuxue,Zhanghanbo,zhanghanLeo,zhangyihui,zhangyinxia,zhangzhen,zhaochenjie,zhengzuohe,zhongmin,ZPaC,zyb,zyli2020,阿琛,曹彤,胡彬,宦晓玲,黄勇,李良灿,李林杰,刘飞扬,刘力力,宋佳琪,王振邦,熊攀,徐子康,严珞珈,杨晓春,张峻源,张栩浩