Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuT committed Mar 25, 2024
1 parent d7e9700 commit 951751c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/llm/src/ipex_llm/transformers/speculative.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def generate(
'auto_th_stop_draft', 'auto_parameters', 'min_step_draft',
'th_batch_num']:
value = kwargs.pop(var, None)
del self.draft_model
return original_generate(self,
inputs=inputs,
generation_config=generation_config,
Expand Down

0 comments on commit 951751c

Please sign in to comment.