| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 210565027
|
|
|
|
|
|
|
| |
Unfortunately this has to be one big patch, because e.g. absl::StrCat
doesn't accept a TF StringPiece, but as soon as we switch to
absl::string_view, we have to switch away from all of the TF functions.
PiperOrigin-RevId: 209957896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't display ops with 0 optimal seconds and 0 actual cycles. These
are ops that were expected to be free and were actually free.
- Fix HloCostAnalysis to mark parameters, constants, and
get-tuple-element as expected-to-be-free per the definition above.
- Allow optimal-seconds < 0 to indicate "I don't know". Use this for
custom calls, and then hide such ops from the "seconds above the
optimum" table.
- Don't display "<none>" and "<unknown>" -- instead, just display the
empty string. Less visual noise.
- Instead of showing ~5 ops per category in the categories tables, show
everything. This isn't so noisy now that we're hiding "free" ops, and
it makes finding optimization opportunities much easier.
PiperOrigin-RevId: 196564177
|
|
|
|
|
|
|
|
|
|
| |
conversions.
That is, instances of sp.ToString() are replaced with std::string(sp).
This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view.
PiperOrigin-RevId: 195689392
|
|
|
|
|
|
|
| |
- Today they're not printed in the Hlo profile at all, report them as "TROP"s.
- Consider Sin, Cos and Tanh as transcendental operations instead of as flops.
PiperOrigin-RevId: 164081170
|
|
|
|
|
|
| |
the HLO profile. Add a summary table for what categories have the most opportunity for optimization left in them.
PiperOrigin-RevId: 163780413
|
|
it into execution_profile_builder.cc.
PiperOrigin-RevId: 162541782
|