-
Notifications
You must be signed in to change notification settings - Fork 450
add a sanity check for tensor-parallel-size #2927
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 a sanity check for tensor-parallel-size #2927
Conversation
154563c to
5be764c
Compare
5be764c to
1f38055
Compare
1f38055 to
44944b8
Compare
44944b8 to
fde2073
Compare
fde2073 to
c3a683d
Compare
c3a683d to
d163f47
Compare
d163f47 to
efd02e2
Compare
bbrowning
left a comment
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.
While I'm not that familiar with this particular section of the code to comment too much on the overall flow and checking of valid values here, I did spot what looks like one logic error in check_gpu_count that I'm requesting changes on as I believe it will flag some valid gpu values as invalid if the user specifies to use all GPUs in their machine.
efd02e2 to
6794510
Compare
|
hi @danmcp, any suggestions for the update? |
No suggestions for changes but I think it's best to land this change after the upcoming release so it will get some usage and have time for any needed adjustments. |
|
Added to the 0.24.0 milestone |
|
hi team, can i get approve for this? thanks |
ab43517 to
9154e7e
Compare
booxter
left a comment
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.
Logic is correct and the patch is great, but I think we need to keep click logic elsewhere. @alinaryan please confirm that's the plan.
9154e7e to
a901104
Compare
RobotSail
left a comment
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.
I think this PR is in a pretty good spot, we should just adjust how we're presenting the logic to reduce cognitive load when reading the code.
f21144d to
3a36793
Compare
booxter
left a comment
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.
I think this is progress (we removed a tuple-return value), but there's a way to make it more clear.
2cba376 to
c4aacd1
Compare
c4aacd1 to
4dd5d85
Compare
Signed-off-by: reid_liu <[email protected]>
4dd5d85 to
1408cdd
Compare
Issue resolved by this Pull Request:
Resolves #2286
Checklist:
conventional commits.