Spaces:
Paused
Paused
:wrench: include unhealthy models in model cache as we expect this state to be transient.
Browse files- 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 |
)
|