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

[fix] Device and format and implementation optimization #1055

Merged
merged 8 commits into from
Sep 8, 2023

Conversation

KexinFeng
Copy link
Contributor

@KexinFeng KexinFeng commented Sep 6, 2023

  1. Add the space char to the output
  2. Add the test script of "huggyllama/llama-7b" for rolling_batch scheduler
  3. Device setting is fixed. The following way will involve model copying, and cause OOM on huggyllama/llama-7b on 5.12xlarge.
        if self.device:
            self.model.to(self.device)
  1. Efficiency optimization by avoiding list.pop(idx)

@KexinFeng KexinFeng changed the title [fix] Device and format [fix] Device and format and implementation optimization Sep 6, 2023
.gitignore Show resolved Hide resolved
.gitignore Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
KexinFeng and others added 2 commits September 6, 2023 14:04
…g_batch.py

Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
@KexinFeng KexinFeng merged commit ed03dac into deepjavalibrary:master Sep 8, 2023
8 checks passed
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.

3 participants