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

ENH: support int and str compare for model size #1277

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

mikeshi80
Copy link
Contributor

Currently, if LLM Spec's model_size_in_billions is int, but client send the string, or vice versa, the launch model command will fail.

For example, model_size_in_billions in LLM Spec is 32, but the parameter in launch model command is "32", it fails.

This PR makes this judgment smarter, so 32 will equal to "32", or "1.8" will equal to "1_8".

@XprobeBot XprobeBot added this to the v0.10.1 milestone Apr 10, 2024
@qinxuye qinxuye changed the title Enhance: support int and str compare for model size ENH: support int and str compare for model size Apr 10, 2024
@XprobeBot XprobeBot added the enhancement New feature or request label Apr 10, 2024
@XprobeBot XprobeBot modified the milestones: v0.10.1, v0.10.2 Apr 12, 2024
mikeshi80 and others added 3 commits April 12, 2024 14:48
The origin version only support underscore as float point, like 1_8. Now the more intuitive form like 1.8 is supported too.
@ChengjieLi28 ChengjieLi28 merged commit fdef389 into xorbitsai:main Apr 16, 2024
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants