Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Oct 2, 2023
1 parent ed25c41 commit 0ca4b5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastchat/serve/huggingface_api_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def __init__(
f"Connecting with huggingface api {self.model_path} as {self.model_names} on worker {worker_id} ..."
)

if not no_register:
self.init_heart_beat()

def count_token(self, params):
# No tokenizer here
ret = {
Expand Down

0 comments on commit 0ca4b5f

Please sign in to comment.