Skip to content

Commit

Permalink
[IE CLDNN] Fix performance degradation on yolo models (openvinotoolki…
Browse files Browse the repository at this point in the history
  • Loading branch information
amolotko authored and rnugmanx committed Aug 26, 2021
1 parent 7b8d9c4 commit b58a902
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions inference-engine/thirdparty/clDNN/src/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1260,12 +1260,7 @@ void program_impl::set_layout_optimizer_attributes(layout_optimizer& lo) {
is_quantized_int8_model = true;
}

// WA to keep fsv16 layout disabled for some topologies where it leads to regressions.
// For reshape bfy*x is preferred, as fsv16 introduces extra reorders
if (prim.type() == cldnn::crop::type_id()) {
if (prim.get_dependencies()[0]->is_type<reshape>() || prim.get_dependencies()[0]->is_type<concatenation>()) {
can_use_fsv16 = false;
}
total_crop_layers++;
}

Expand Down

0 comments on commit b58a902

Please sign in to comment.