Commit Graph

66 Commits

Author SHA1 Message Date
Wei Luning a05c38bb63 make python Parameter inherit from Tensor 2020-08-03 09:12:24 +08:00
liubuyu a499d4e47c decoupling core and debug 2020-07-31 10:39:31 +08:00
mindspore-ci-bot 4834a6b347 !3574 Rename AnfNode::user_data related functions to follow naming rule
Merge pull request !3574 from hewei/rename_user_data_func
2020-07-29 14:26:21 +08:00
He Wei 4eb81d7934 Rename AnfNode::user_data related functions to follow naming rule 2020-07-28 15:35:48 +08:00
John Tzanakakis 3d06b503d6 debugger compile fix 2020-07-27 21:36:09 -04:00
mindspore-ci-bot a9f482f3a1 !3484 Add json config checking
Merge pull request !3484 from caifubi/data-dump
2020-07-27 19:37:30 +08:00
liubuyu f4bc0bc9fe move the dependency of utils to core 2020-07-27 10:28:46 +08:00
caifubi 77a5425e2e Add json checking 2020-07-27 09:23:49 +08:00
mindspore-ci-bot 9fb6576d8c !3338 Op debug feature
Merge pull request !3338 from zhoufeng/debug-op-overflow
2020-07-23 14:11:38 +08:00
zhoufeng 000a6c73a5 op debug
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
2020-07-23 11:12:02 +08:00
John Tzanakakis b3c0eb61d5 GPU debugger - milestone 1 and GPU dump
Additonal Authors: Adel Shafiei, Harshvardhan Gupta
2020-07-22 15:58:36 -04:00
mindspore-ci-bot 6b9a61ea82 !3238 Clean codex
Merge pull request !3238 from caifubi/clean-codex
2020-07-22 09:16:33 +08:00
panyifeng 4d4e23fd9e Add bprop for sparse_tensor 2020-07-21 19:40:35 +08:00
caifubi e870c3a717 clean codex 2020-07-21 16:01:01 +08:00
He Wei 32379f3e7a Decouple ir from frontend 2020-07-21 08:57:07 +08:00
liubuyu 76dc80e7b7 Unified code style 2020-07-20 10:51:55 +08:00
mindspore-ci-bot eb630f2501 !3155 Fix data dump security bug
Merge pull request !3155 from caifubi/data-dump-new
2020-07-18 14:24:44 +08:00
caifubi 4ad4d583ad Fix Security Bug 2020-07-18 09:47:42 +08:00
panyifeng 5a10383cc3 add coo_tensor 2020-07-17 18:53:03 +08:00
caifubi cb8b5dbd76 Remove build option -S 2020-07-16 14:51:48 +08:00
lichen_101010 6bb2182134 Add partial memory reuse support to debugger
move pre-execution of debugger from rungraph to build/compile graph

support partial mem reuse for a scope of nodes

set default mem reuse to be true for debugger

remove some redundant lines

remove redundant code and fix a bug for supporting partial no mem reuse a scope of nodes

resolve CI errors

Solve CI errors

solve cpplint errors

solve CI build error

manually fix the CI compile UT error

Optimize code for mem reuse support

Debug optimization of debugger memory reuse

debug code for debugger memory reuse part2

address clang-format errors

Switch memory reuse on and off based on environment variable

Fix typo

Fix typo

Load watchpoint value only

fix bugs

Addressed comments from lupengcheng

fix typo

Fix typo

fix CI errors

refactor some code

fix typo

addressed comments from canadian teamates

remove locking from TensorLoader

fix CI errors

add lock to tensor_loader

fix rebase-to-master conflict

fix rebase conflicts

fix rebase conflicts part 2

fix rebase conflicts part 3
2020-07-14 14:47:25 -04:00
He Wei ee1510da41 Eliminate circular dependency between 'ir' and 'device/kernel' 2020-07-14 19:56:22 +08:00
liubuyu 43c79eb853 mindspore path adjust 2020-07-14 18:07:28 +08:00
mindspore-ci-bot c6847992e0 !2867 Add full_name for anf_ir.proto
Merge pull request !2867 from huanghui/vm-anf-ir-graph-pb-dump
2020-07-14 15:04:37 +08:00
Zhang Qinghua 87715ed127 Refactoring for base and abstract types: Moving Base into base folder; Splitting the abstract type and infer&specialize routines; 2020-07-14 09:38:00 +08:00
caifubi c577952c9a Async Data Dump 2020-07-13 09:42:37 +08:00
mindspore-ci-bot c1f881e6f3 !2592 Keep parameters of previous step in TensorLoader
Merge pull request !2592 from ShidaHe/debugger_dev
2020-07-10 11:04:25 +08:00
huanghui 4e3c532c86 add full_name for anf_ir.proto 2020-07-09 16:23:56 +08:00
He Wei f337c6bc14 Decouple ParamValue from python 2020-07-09 16:16:22 +08:00
Shida He cb4c74c7c0 Keep parameters of the previous step in TensorLoader
Add name truncating to support mindinsight loading parameter

Refactoring and address review comments
2020-07-07 17:16:36 -04:00
panyifeng d6635bbbe2 Add IndexedSlices 2020-06-30 17:38:24 +08:00
buxue 699dc99bc8 add typeid to type conversion scene 2020-06-29 10:33:55 +08:00
He Wei 43e0967024 Decouple ir::Tensor class from python 2020-06-24 10:28:59 +08:00
Shida He 4c056855e0 Implementation for mindspore debugger 2020-06-22 17:15:30 -04:00
gong chen a6dfa281ea Init GraphKernel.
- It provides a unified style to express graph and kernel for user.
- It provides a unified IR to represent graph and kernel for developer.
- It breaks the boundary between graph and kernel.
- It provides more opportunities to do compile optimization.
2020-06-20 22:31:54 +08:00
mindspore-ci-bot 02e0288a97 !2017 Fix codedex
Merge pull request !2017 from leopz/fix_codedex
2020-06-15 09:09:09 +08:00
leopz c45f4d225d dump binary ir 2020-06-12 13:19:41 +08:00
leopz 6d155e5f4a fix codedex 2020-06-12 09:36:59 +08:00
panyifeng acaa66a738 sparse grad for gatherv2 2020-06-11 12:00:53 +08:00
huangdongrun beacc26077 * add isconstant primitive
* add infer_value for common math ops
* convert constant bool tensor to bool value

* do not infer value when encounter 0 as division

for while condition, do not unrool if condition is a tensor
2020-06-04 21:51:44 +08:00
fary86 abfaf15951 Fix codex, split big functions 2020-06-03 17:02:49 +08:00
fary86 dad1f809c1 Enhence dump ir with type info when infer failed 2020-06-02 16:05:15 +08:00
fary86 a2b882bcb4 Fix codex 2020-06-01 21:23:13 +08:00
mindspore-ci-bot ad21780a54 !1371 separate py from debug and utils
Merge pull request !1371 from leopz/tensor_utils
2020-05-30 09:07:14 +08:00
seatea 706054eb46 Fix reviewbot warning for `debug`, `ir`, `optimizer`, `pipeline`, `utils` and `vm` modules. 2020-05-28 20:06:00 +08:00
leopz a9e30a96db separate py from debug and utils 2020-05-28 17:45:47 +08:00
leopz 4508134ceb add tensor_minnie and separate py from ir 2020-05-28 14:26:26 +08:00
huangdongrun 1159f2b11e add prim infer attr cache
modify infer to get abstract value and attr value map together

support get attr in specialize

clone primitive when specialize if attribute is not the same with
infered attribute
2020-05-26 16:19:58 +08:00
leopz 40e15996b0 move default_param out of parameter and remove pybind11 in anf define 2020-05-19 19:11:12 +08:00
mindspore-ci-bot 0040764dec !1100 delete some context param(enable_loop_sink,enable_mem_reuse,enable_auto_mixed_precision)
Merge pull request !1100 from jinyaohui/context_opt_2
2020-05-16 15:38:40 +08:00