-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore(github): add templates #264
Conversation
Copied almost verbatim from `transformers`, just modified the text and remove the extraneous options. - Need to create the CLI afterwards to enable outputting the env. (Probably 1 for docker, 1 for binary) - I left model addition on purpose. We might want to update the text just to clarify that it's different than adding it in transformers
launcher/build.rs
Outdated
@@ -0,0 +1,24 @@ | |||
use std::fs::File; |
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.
Can you use vergen like in the router?
https://github.com/huggingface/text-generation-inference/blob/main/router/build.rs
and then
https://github.com/huggingface/text-generation-inference/blob/main/router/src/server.rs#L636
It is also possible to ask the user to add values returned by GET /info
.
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.
haha I still prefer no dependencies for that kind of things, but since you're already using it.
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.
very nice
What does this PR do?
Copied almost verbatim from
transformers
, just modified the text andremove the extraneous options.
(Probably 1 for docker, 1 for binary)
just to clarify that it's different than adding it in transformers
Added the CLI here, it's more convenient (it just runs the command listed in
bug-report
.Fixes # (issue)
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.