Skip to content

Commit

Permalink
lint pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Nov 7, 2024
1 parent c3ef72e commit fc5b5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/llm/utils/lmdeploy_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _prepare_inputs(request: Dict[str, Any]) -> Dict[str, Any]:
concurrent.futures.wait(futures)
inputs_list = [future.result() for future in futures]
prog_bar.close()

new_inputs = []
for i, (inputs, request) in enumerate(zip(inputs_list, request_list)):
truncation_strategy = kwargs.pop('truncation_strategy', 'delete')
Expand Down

0 comments on commit fc5b5cc

Please sign in to comment.