Commit Graph
41 Commits
Author SHA1 Message Date
尤安升 c0bcc5cb92 update scripts/codegen/templates/torch_funcs.py. 2022-09-24 07:07:11 +00:00
李超 36b8547fc8 roll back torch.device.index fixing 2022-07-07 19:00:46 +08:00
李超 ecbfb8761e fix torch.device('npu').index=None 2022-07-06 16:38:22 +08:00
李超 5e99b4ec49 bugfix: support creating npu tensor using torch.as_tensor 2022-07-05 16:44:10 +08:00
李超 9f3d065e94 fix torch.device.type & parse torch.device 2022-06-28 14:14:12 +08:00
i-robot 0b1e6e5c0a !888 增加是否to CPU开关 & 打印当前to CPU算子名称信息 & 部分NPU可实现算子to cpu错误处理
Merge pull request !888 from 汪瑞哲/master
2022-06-15 08:31:21 +00:00
wang-ruizhe7 087a4a68fb 添加to cpu功能开关&打印to cpu算子信息&恢复部分npu自定义算子to cpu错误 2022-06-14 19:27:12 +08:00
i-robot 980d270267 !850 减少pt profiler功能中npu算子打点
Merge pull request !850 from 施博/profiler_simple
2022-06-10 08:00:33 +00:00
shibo19 8617c4ffff 对pt profiler功能,提供use_npu_simple=True来解决NPU算子适配层内部导致打点次数过多的问题 2022-06-10 09:55:43 +08:00
i-robot c197f61d70 !844 NPU不支持算子使用CPU Kernel计算
Merge pull request !844 from 汪瑞哲/master
2022-06-06 09:03:38 +00:00
i-robot 4ec8821cc1 !883 修复torch.device API 问题
Merge pull request !883 from 施博/fix_device_init
2022-06-06 06:43:12 +00:00
i-robot 87419d955e !880 修复device参数解析导致的out接口错误
Merge pull request !880 from 施博/fix_device_out
2022-06-06 04:03:15 +00:00
shibo19 d0184a573a fix device init 2022-06-06 12:01:16 +08:00
shibo19 978896426e 修复device参数解析导致的out接口错误 2022-06-04 16:47:44 +08:00
wang-ruizhe7 5f3501e334 remove math & compositeexplicitautograd backend 2022-06-02 16:47:39 +08:00
李超 83ca923143 Disable extension of torch.jit.script 2022-06-02 10:42:47 +08:00
shibo19 f5e9a9f4be remove torch.device api 2022-06-01 11:16:30 +08:00
shibo19 3b7a1886a1 修复**_like类型算子在指定format时device解析错误 2022-05-31 11:41:35 +08:00
shibo19 c3c98bd539 处理有device参数的NPU算子&&torch.tensor && torch.device api 2022-05-27 15:35:16 +08:00
shibo19 0f3e3fcabe 更新device参数替换方式 2022-05-25 11:16:35 +08:00
wang-ruizhe7 d411ea6076 OP can not run on NPU -> to CPU 2022-05-25 10:18:49 +08:00
shibo19 2bfabedc7b 有device参数的API使用模板生成 2022-05-24 22:00:01 +08:00
李超 f91d711676 device type change from NPU to XLA 2022-05-23 16:36:32 +08:00
李超 eda53af6c2 roll back device key to NPU 2022-05-17 21:14:53 +08:00
i-robot 8b329eea4d !789 1.8.1 div 新增接口适配
Merge pull request !789 from 王晓/div_mode
2022-05-17 03:30:48 +00:00
i-robot 87fca573f1 !792 解耦- torch_npu NPU设备替换为XLA
Merge pull request !792 from 李超/dev-git1
2022-05-16 12:50:46 +00:00
李超 755fd3de51 device change of torch_npu 2022-05-16 20:02:05 +08:00
wangxiao 9e481e91cc div_mode adapter 2022-05-13 09:58:13 +08:00
尤安升 4229fbd90a Change c10::string_view to std::string. 2022-05-12 09:16:30 +08:00
尤安升 7835188368 Support more backend. 2022-05-09 12:00:09 +08:00
i-robot df034c9a27 !710 迁移npu_lazy_init逻辑至插件
Merge pull request !710 from 施博/master
2022-05-05 04:19:52 +00:00
shibo19 5e93ed8d85 对自定义算子添加record func 2022-04-28 19:18:02 +08:00
shibo19 a01557e7cb 删除npu_lazy_init逻辑 2022-04-21 17:15:22 +08:00
尤安升 d5e5911a79 Fix NormKernel ops. 2022-03-29 18:27:08 +08:00
尤安升 3ff0bd3a84 Fix codecheck for yaml & open. 2022-03-29 16:02:09 +08:00
尤安升 ee96aab888 Fix huge depth & huge method. 2022-03-28 19:09:08 +08:00
尤安升 630686cecd Fix codecheck for codegen & testing & ci. 2022-03-26 11:03:46 +08:00
尤安升 a506480a36 Fix codecheck for codegen api. 2022-03-24 17:30:10 +08:00
尤安升 6cc578e225 Add unsupported ops list & fix Wstrict-prototypes. 2022-01-25 11:28:54 +08:00
尤安升 e43f2fa4f1 fix native func header. 2022-01-24 15:21:42 +08:00
尤安升 3fcd8b8e1b First commit. 2022-01-21 09:27:11 +08:00