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

Filter deployments by model name #94

Open
jlewi opened this issue Jun 20, 2024 · 1 comment
Open

Filter deployments by model name #94

jlewi opened this issue Jun 20, 2024 · 1 comment

Comments

@jlewi
Copy link

jlewi commented Jun 20, 2024

Follow up to #93

It would be nice to filter deployments by model name as a way to look up the deployment for a specific model.
gcloud's filter argument and kubectl jsonpath argument provide some examples of what the semantics of the filtering might be

@mattt
Copy link
Contributor

mattt commented Jun 20, 2024

@jlewi Support for listing deployments landed in v0.8.0. Adding a --filter option seems like a nice touch. In the meantime, you can filter with jq:

replicate deployments list | jq '.results[] | select(.current_release.model == "meta/meta-llama-3-8b")'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants