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 ModuleNotFoundError #599

Merged
merged 2 commits into from
Jul 30, 2023
Merged

fix ModuleNotFoundError #599

merged 2 commits into from
Jul 30, 2023

Conversation

mklf
Copy link
Contributor

@mklf mklf commented Jul 27, 2023

this pr is related to issue #572

as stated in this issue, the error originates from the capture of self object, but only 3 config is needed.

Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the fix! Should be able to be merged after a small fix.

@@ -14,6 +14,7 @@
from vllm.transformers_utils.tokenizer import (detokenize_incrementally,
get_tokenizer)
from vllm.utils import Counter
import copy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: maybe move this copy to the beginning of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I updated the code

move import copy to file start
@zhuohan123 zhuohan123 merged commit 953f28c into vllm-project:main Jul 30, 2023
2 checks passed
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
Co-authored-by: fangli <fangli@tencent.com>
sjchoi1 pushed a commit to casys-kaist-internal/vllm that referenced this pull request May 7, 2024
Co-authored-by: fangli <fangli@tencent.com>
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

2 participants