Deleting a branch is permanent. It CANNOT be undone. Continue?
ziqi/MSAdapter:master
into master
8 months 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》
CI用例失败:test_tensor.py执行出现core dumped
如果只用k=0的场景会进这一句处理,就放到else分支里去,减少k!=0场景下的性能开销
这里不能依赖pytorch
pylint应该会检查,python3.x之后不需要加object
已修改
剩余3个可以实现吗?
剩下的接口也未涉及torch源生接口调用,可以实现,但需调查常用场景并测试之后提上去
这个文件和pytorch的源码重复度比较高,建议在开头注明源码链接说明
已注明 代码来源
这些注释根据实际含义确定是否保留
已删除
同上
属于对入参的解释,建议保留
统一修改
已修改
hub新增接口要看是否增加基本用例。至少能够看护接口的正确性
已新增 test_hub.py 用例
建议移到最顶上
已修改
CI报错:pylint检查失败
************* Module msadapter.pytorch.cuda.amp.init
msadapter/pytorch/cuda/amp/init.py0: R0401: Cyclic import (msadapter.pytorch -> msadapter.pytorch.hub) (cyclic-import)
************* Module msadapter.pytorch.cuda.amp.init
msadapter/pytorch/cuda/amp/init.py0: R0401: Cyclic import (msadapter.pytorch -> msadapter.pytorch.hub) (cyclic-import)
用例超时了
testing/ut/pytorch/tensor/test_type.py ........ [ 98%]
testing/ut/pytorch/torch/test_assert.py ...... [ 99%]
我换个小点的模型试试
7a0b5196b1
.