Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some API changes #125

Merged
merged 10 commits into from
Sep 18, 2023
Merged

Conversation

yunfeng-scale
Copy link
Contributor

@yunfeng-scale yunfeng-scale commented Sep 11, 2023

Some quality of life changes to API server. return number of tokens, token logprob and whether it finishes the request (in streaming). update dockerfile for better caching. formatting done with black.

@hiworldwzj hiworldwzj requested a review from llehtahw September 13, 2023 08:20
@hiworldwzj hiworldwzj merged commit 82cb0a4 into ModelTC:main Sep 18, 2023
@@ -271,7 +271,7 @@ async def abort_request() -> None:

def main():
parser = argparse.ArgumentParser()
parser.add_argument("--host", type=str, default=None)
parser.add_argument("--host", type=str, default="127.0.0.1")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

127.0.0.1 won't work in ipv6, can you change it back? if you don't like None i think 0.0.0.0 may work as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants