wxgeorge commited on
Commit
8f28494
1 Parent(s): ae4c273

:wrench: include unhealthy models in model cache as we expect this state to be transient.

Browse files
Files changed (1) hide show
  1. cache-working-models.sh +1 -1
cache-working-models.sh CHANGED
@@ -1,7 +1,7 @@
1
  #!/bin/bash
2
 
3
  my_jq_query=$(cat << JQ
4
- [.data[] | select(.status | test("idle|live"))]
5
  | [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
6
  JQ
7
  )
 
1
  #!/bin/bash
2
 
3
  my_jq_query=$(cat << JQ
4
+ [.data[] | select(.status | test("idle|live|unhealthy"))]
5
  | [group_by(.model_class)[] | { key: .[0].model_class, value: ([.[].id] | sort) }] | from_entries
6
  JQ
7
  )