Skip to content

Commit

Permalink
update track and revert FBC changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kshpv committed Sep 20, 2023
1 parent 52adfd4 commit 4135289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nncf/common/logging/track_progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ def __init__(
TimeRemainingColumn(),
)
)

disable = disable or (hasattr(sequence, "__len__") and len(sequence) == 0)

self.progress = Progress(
*self.columns,
auto_refresh=auto_refresh,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def apply(
for node in graph.get_all_nodes()
if self._backend_entity.is_node_with_bias(node, graph)
]
if not node_and_bias_value:
return model

# Fill `node_and_new_bias_value` list. It is a correspondence between nodes
# for which we should update bias and new bias values.
node_and_new_bias_value = []
Expand Down

0 comments on commit 4135289

Please sign in to comment.