Added InsertAndReduce strategy to PropagateCastOps transformation in addition to FloodFill strategy #7454
satyajandhyala
changed the title [WIP] Added InsertAndReduce strategy to PropagateCastOps transformation in addition to FloodFill strategy Added InsertAndReduce strategy to PropagateCastOps transformation in addition to FloodFill strategy 4 years ago
satyajandhyala
marked this pull request as ready for review 4 years ago
Formatted the python script.
69888e1c
Streamlined the testmodel generating python script.
0f80960f
Added new testcases.
80514c66
Added more level 2 tests.
3fbd5218
Moved GraphTransformerConfiguration to a separate file and added stra…
dfaf6766
Added support functions required to support InsertAndReduce strategy …
5574d174
Added testing both FloodFill and InsertAndReduce stratigies for cast …
dfa3403e
Fixed RemoveCastNodeChain to update the graph when inserting an Ident…
86690822
RemoveBackToBack function should handle the case that the child cast …
11cc9cb2
FuseNodes function should update the graph after transformation.
148131cf
Added code to fuse subgraph if the inputs of the root cast nodes are …
d93e99b0
Added PropagateCastOps code documentation
1105a9b8
Fixed the expected number of casts after the transformation.
485931da
Fixed pybind definitions and removed debug line printing the testcase…
1d86396f
Added more code documentation in propagate_cast_ops.cc and fixed the …
e7f83469
typo
7b7da7fb
Added level 2 support for PropagateForward function.
24f48be4
Modified PropagateFP16CastsFromOutputsToInputs/PropagateFP32CastsFrom…
65325fbb
Updated the expected number of casts after the transformation.
d0a59102
Fixed windows build and removed logging.
5971aad6
Fixed windows build.
060202b3
Fixed windows build by commenting out the output line causing issue
d7346610
Fix pybind_state.
2f81a603
Re-ordered the transformations for FloodFill strategy and fixed the f…
fea987c4
Changed cast_count to a map from strategy and level to the expected c…
17a6f4db
Added IsRelevantInput and IsRelevantOutput
d3fbe157
Added more comments and function descriptions.
4793de9e
Added GraphTransformationConfiguration class hierarchy information
6abee435
Typo
40a849fe
Changed onnxruntime::make_unique to std::make_unique
db517d82
Changed enum values to match naming convention, to uppercase and exps…
c5439315
Formatting
2b3ae94b
Removed dependence on ortmodule.
162861aa
Check for nullptr
6891c06a
Fixed LayerNormalization opcode_to_input_map.
322b71c4
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
ytaous
commented
on 2021-05-06
Fixed typos.
4947c381
Removed unnecessary comments.
12ece2ac
Clarified the description of _propagate_cast_ops_level.
9d2fac47
Typo
dd1f70d1
Fixed the description.
98ff152a
Moved the logging after the corresponding function calls.
246fad18
Removed min/max for PropagateCastOpsStrategy.
9e13adb9
Refactored graph_transformer_config initialization code.
06500491
Added ortmodule_loglevel_to_onnxruntime_c_loglevel
fd7be8da
Typo
a4211fd4
Revert "Typo"
ff06cbf1
Added RemoveInputOutputUpDownCasts
c0849af0
Added RemoveInputOutputUpDownCasts to enum and added AND, OR, EQ and …
c73e39e2
Changed variable name to follow naming convention.
a70975ed
Added a testcase for RemoveInputOutputUpDownCasts.
44637779
Added comment to RemoveInputOutputUpDownCasts function.
9ba1e36f
Changed the default PropagateCastOptimizationStrategy to None.
2a96be4b
satyajandhyala
deleted the ortmodule/propagate_cast_ops_four branch 4 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub