Skip to content

Conversation

@sayantan-nervana
Copy link
Contributor

@sayantan-nervana sayantan-nervana commented Oct 1, 2019

Add check so that each ng node (other than parameter an dresult) have exactly 1 provenance tag

Make ngraph_conversion.cpp functions (like BatchToNGraph) accept a prov tag and only tag if a new node is created

Adds PerformNgBroadcast to call ng::builder::numpy_broadcast and add provenance tags appropriately. All other builders used will return a new ng node, so this special care does not need to be taken

Without these changes, certain graphs (as shown in the pytest) will have nodes that have 2 provenance tags
Tests: 1 pytest that has a broadcast that does not create new ng nodes, and another with a broadcast that does create new ng nodes

Also updates r0.19's version and ngcore version

Also add full path to header in ngraph_conversions.cc
#include "ngraph_conversions.h" -->
#include "ngraph_bridge/ngraph_conversions.h"

Add SetTracingInfo to do provenance tagging, friendly name setting and printing

@sayantan-nervana sayantan-nervana added the wip Work in progress label Oct 1, 2019
@sayantan-nervana sayantan-nervana removed the wip Work in progress label Oct 1, 2019
@sayantan-nervana sayantan-nervana merged commit 6ed0723 into r0.19 Oct 3, 2019
@ashahba ashahba deleted the sarkars/debug_2_provenance_tags_for_single_node branch April 24, 2020 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants