Skip to content

Commit

Permalink
fix: 'model_configs' AttributeError (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhuofu authored Apr 6, 2024
1 parent e0a6e4f commit 1210256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/flexflow/serve/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,9 @@ def compile(
model_configs = self.config_class(self.hf_config)

self.rm.set_max_spec_tree_token_num(
self.model_configs.max_spec_tree_token_num
model_configs.max_spec_tree_token_num
if "max_spec_tree_token_num"
in self.model_configs.__dict__
in model_configs.__dict__
else 20
)

Expand Down

0 comments on commit 1210256

Please sign in to comment.