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

Commit

Permalink
fix parameter mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
MaruyamaAya committed May 10, 2022
1 parent ecee98e commit 81baea8
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 @@ -242,7 +242,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 81baea8

Please sign in to comment.