You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Tracing] Skip non-ancestors of sequential targets (#1389)
## Purpose ##
* Reduce model support burden by skipping any modules which are not call
graph ancestors of the sequential targets
* Rather than requiring the user to specify a list of ignored modules,
only trace what is necessary to disjointly execute sequential targets
* In the future, the ignore field will be used to skip untraceable
function/method names
* This change does not change functionality because all ignored modules
are already non-ancestors of sequential targets
## Changes ##
* Remove `ignore` modules requirement (all ignored modules are already
non-ancestors of sequential targets)
* Implement `get_sequential_ancestors` which returns all ancestors of
the sequential targets
* Modify tracer to skip anything that is not a sequential ancestor or
has offloaded modules
* The two sets rarely overlap, and when they do, the module is skipped
for safety and the user is warned
## Testing ##
* Added tests for `get_sequential_ancestors`
* #1335
## Follow ups ##
* #1390
---------
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
0 commit comments