-
Notifications
You must be signed in to change notification settings - Fork 611
Refactor dp tp #4004
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
base: main
Are you sure you want to change the base?
Refactor dp tp #4004
Conversation
# Prefill | ||
prefill_request_dict = copy.deepcopy(request_dict) | ||
prefill_request_dict['max_tokens'] = 1 | ||
prefill_request_dict['max_completion_tokens'] = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's max_completion_tokens
used for? What's the difference between prefill_request_dict['max_completion_tokens']
and prefill_request_dict['max_tokens']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requirements
enable different TP for Attention/MLP/MoE