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

Add lmdeploy integration #3176

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AllentDan
Copy link

LMDeploy is a toolkit for compressing, deploying, and serving LLMs.

An alternative to inference tool integration, LMDeploy obtains 14.42 qps performance on A100 for the llama 7b model according to this.

@AllentDan AllentDan marked this pull request as draft March 22, 2024 02:45
@AllentDan AllentDan marked this pull request as ready for review March 22, 2024 06:12
@@ -44,6 +45,7 @@ def build_logger(logger_name, logger_filename):
logging.basicConfig(level=logging.INFO)
logging.getLogger().handlers[0].setFormatter(formatter)

original_stdout, original_stderr = sys.stdout, sys.stderr
Copy link
Author

Choose a reason for hiding this comment

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

For other Python packages that use sys.stdout, sys.stderr.

@AllentDan
Copy link
Author

Hi, @merrymercy would you please kindly help review this PR?

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.

None yet

1 participant