Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Dec 24, 2024
1 parent 9d46266 commit ea29e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift/llm/infer/infer_engine/pt_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def __init__(
for adapter in self.adapters:
self._add_adapter(safe_snapshot_download(adapter, use_hf=use_hf, hub_token=hub_token))
self._post_init()
self.task_type = 'causal_lm'

def _post_init(self):
super()._post_init()
Expand Down

0 comments on commit ea29e31

Please sign in to comment.