Skip to content

Commit

Permalink
fix typos, update overview img (#166)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang, Weiwei1 <[email protected]>
  • Loading branch information
WeiweiZhang1 authored Jul 1, 2024
1 parent f9e7d79 commit 8d5765a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_round/autoround.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ def set_layerwise_config(self, weight_config):
Returns:
None
"""
layers_inblocks = get_layer_names_in_block(self.model, self.supported_types)
layers_in_blocks = get_layer_names_in_block(self.model, self.supported_types)
for n, m in self.model.named_modules():
if not isinstance(m, tuple(self.supported_types)):
continue
if n not in weight_config.keys() and n in layers_inblocks:
if n not in weight_config.keys() and n in layers_in_blocks:
weight_config[n] = {}
weight_config[n]["data_type"] = self.data_type
weight_config[n]["bits"] = self.bits
Expand Down
Binary file modified docs/imgs/autoround_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d5765a

Please sign in to comment.