Deleting a branch is permanent. It CANNOT be undone. Continue?
frelam/MSAdapter:master0319
into master
2 weeks ago
Deleting a branch is permanent. It CANNOT be undone. Continue?
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》
原来使用这个接口会报错提示用mindspore对应接口,现在不会提示但会在brop入参的地方报错,用户应该是看不懂的,所有在用户资料里要更新一下自定义算子章节,另外FAQ加个样例说明。
用动态生成函数的方式, 在__init__阶段自动生成了bprop, 当前用法可以与pytorch相同了。
cell的这个功能后面会优化
什么场景下会用到这两个类型转换接口?
Ascend上, 用户输入tensor的dtype, 在mindspore通信算子侧不支持时, 会用到该类型转换。
这里什么场景需要做类型转换?看起来对性能有影响
在Ascend上, 如果输入的dtype, 不在通信算子支持的 (int8, int32, float16, float32, bfloat16) 类型里面, 会触发类型转换, 其余情况相当于透传。
入参现在是必选参数,要同步改可选这个判断才有意义吧?
是的 。 这个在#890 统一修改就行, 那边是正确的。
这个获取grad的处理,能否提前做?
无法提前做 。 因为grad每次都是新的tensor对象, 需要每次都重新获取。
要增加测试用例
已添加。 已知两点限制:
复用stream , 可节省用例显存消耗。 验证用例可通过。
当前bprop不支持不定长输入。
已规划优化
[WIP]update some apito update some api 3 weeks agoupdate some apito update autograd.Function and distribute api 3 weeks ago这些功能实际不生效?
是的。 根据影响添加了warning或者报错。
64f60e8971
.