You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce kill switch mechanism for terminating long onnxruntime sessions
* Refactor background workers
* Refactor backends loading
* Add load time config for MODEL_EXECUTION_TIMEOUT. Parallel tests seems not to work.
* Refactor load time config
* More PR fixes, add the option to get the global run sessions array from backend len (supported only for onnx now) in INFO MODULES command.
* Return error if onnx is executed in a non async manner (via gears for instance).
test info command with AI fields
Copy file name to clipboardExpand all lines: docs/commands.md
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -934,14 +934,14 @@ Because `AI.DAGRUN` provides the `PERSIST` option it is flagged as a 'write' com
934
934
Refer to the Redis [`READONLY` command](https://redis.io/commands/readonly) for further information about read-only cluster replicas.
935
935
936
936
## AI.INFO
937
-
The **`AI.INFO`** command returns general module information or information about the execution a model or a script.
937
+
The **`AI.INFO`** command returns information about the execution of a model or a script.
938
938
939
-
Runtime information is collected each time that [`AI.MODELRUN`](#aimodelrun) or [`AI.SCRIPTRUN`](#aiscriptrun) is called. The information is stored locally by the executing RedisAI engine, so when deployed in a cluster each shard stores its own runtime information.
939
+
Runtime information is collected each time that [`AI.MODELEXECUTE`](#aimodelrun) or [`AI.SCRIPTEXECUTE`](#aiscriptrun) is called. The information is stored locally by the executing RedisAI engine, so when deployed in a cluster each shard stores its own runtime information.
940
940
941
941
**Redis API**
942
942
943
943
```
944
-
AI.INFO [<key>] [RESETSTAT]
944
+
AI.INFO <key> [RESETSTAT]
945
945
```
946
946
947
947
_Arguments_
@@ -951,15 +951,7 @@ _Arguments_
951
951
952
952
_Return_
953
953
954
-
For a module genernal information: An array with alternating entries that represent the following key-value pairs:
955
-
956
-
***Version**: a string showing the current module version.
957
-
***Low level API Version**: a string showing the current module's low level api version.
958
-
***RDB Encoding version**: a string showing the current module's RDB encoding version.
959
-
***TensorFlow version**: a string showing the current loaded TesnorFlow backend version.
960
-
***ONNX version**: a string showing the current loaded ONNX Runtime backend version.
961
-
962
-
For model or script runtime information: An array with alternating entries that represent the following key-value pairs:
954
+
An array with alternating entries that represent the following key-value pairs:
963
955
964
956
***KEY**: a String of the name of the key storing the model or script value
965
957
***TYPE**: a String of the type of value (i.e. 'MODEL' or 'SCRIPT')
0 commit comments