cli icon indicating copy to clipboard operation
cli copied to clipboard

Filter deployments by model name

Open jlewi opened this issue 1 year ago • 1 comments

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

jlewi avatar Jun 20 '24 17:06 jlewi

@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")'

mattt avatar Jun 20 '24 18:06 mattt