-
Notifications
You must be signed in to change notification settings - Fork 14.2k
server : implement extra_args support for /models/load endpoint #18232
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
Conversation
| - build: 's390x' | ||
| os: ubuntu-24.04-s390x | ||
| - build: 'ppc64le' | ||
| os: ubuntu-24.04-ppc64le | ||
| # Disabled - requires special GitHub runners not available on forks | ||
| # - build: 's390x' | ||
| # os: ubuntu-24.04-s390x | ||
| # - build: 'ppc64le' | ||
| # os: ubuntu-24.04-ppc64le |
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.
Restore please.
| - build: 's390x' | ||
| os: ubuntu-24.04-s390x | ||
| # Disabled - requires special GitHub runners not available on forks | ||
| # - build: 's390x' | ||
| # os: ubuntu-24.04-s390x |
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.
Restore please.
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.
here created a new PR #18261
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.
Not necessary, but ok...
|
Closing to recreate from a clean branch without unrelated CI changes. |
Implements the
extra_argsfeature for/models/loadthat is already documented in the server README but was not yet implemented.From the docs:
Changes
common/common.h: Addmodels_allow_extra_argsparamcommon/arg.cpp: Add--models-allow-extra-args/--no-models-allow-extra-argsflagtools/server/server-models.h: Updateload()signature to acceptextra_argstools/server/server-models.cpp: Parseextra_argsfrom JSON body and append to child process argsSee server README for usage documentation.