Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #52 from hpcaitech/lzm_develop_2
Browse files Browse the repository at this point in the history
fix parameter mistake
  • Loading branch information
dujiangsu authored May 10, 2022
2 parents 2dac783 + 81baea8 commit bdaa4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion energon/server/batch_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def processing_batch(self):
else:
input_ids = input_text
output = self.engine.run(input_ids)
self.pool.submit(self.publish_result, output, target_batch, start_time)
self.pool.submit(self.publish_result, output, target_batch)
# self.publish_result(output, target_batch, start_time)
# pub_thread = threading.Thread(target=self.publish_result, args=(output, target_batch, start_time))
# pub_thread.start()
Expand Down

0 comments on commit bdaa4d6

Please sign in to comment.