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
WIP - AI.DAGRUN, commands code refactoring and improvement (#322)
* [wip] refactored TENSORGET, TENSORSET, and MODELRUN to be re-used by AI.DAGRUN
* [add] first version of dagrun with modelrun and persist working
* [wip] refactored non-command methods within redisai.c into dag, run_info, background_workers, and model_script_run_session
* [fix] fixed wrong includes
* [add] adding init methods to RAI_DagOp and RedisAI_RunInfo
* [wip] ai.tensorset, PERSIST and LOAD working as expected
* [add] dagrun's tensorset and tensorget working as expected
* [add] extended test for tensorset and tensorget
* [wip] wip on modelrun within dagrun
* [wip] fist version of tensorget |> modelrun |> tensorget working
* [add] refactor RunInfo, so that instead of a single mctx and sctx pointer, it holds an array of (mctx | sctx) pointers (within RAI_DagOp). To be gradually adopted on modelrun and scriptrun ( for now only on dagrun )
* [add] added redisai-py as a requirement for tests ( it helps testing for more complex patterns )
* [add] added test for semantics of values we reply from the local context (ensuring that write after read does not alter the tensorget read value)
* [wip] discover the DAGRUN device queue from the arguments of MODELRUN. If no MODELRUN default to CPU
* [fix] fxied wrong reference passing on RedisAI_Parse_ModelRun_RedisCommand
* [fix] fixed wrong reference passing on RedisAI_Parse_ModelRun_RedisCommand from RedisAI_DagRunSession
* [wip] wip on minor optimizations
* [add] exteded dag.h to have proper documentation
* [add] extended model_script_run_session header file with documentation to better describe the context in which RedisAI blocking commands MODELRUN and SCRIPTRUN operate
* [add] moved configuration properties and parsing out of redisai.c to config.h/c
* [add] backends_intra_op_parallelism and backends_inter_op_parallelism working as expected for TF
* [add] intra_op and inter_op parallelism working as expected for TF backend
* [add] exclude perf profile reports from git
* [add] wip on mem sanitizer
* [add] working on RAI_FreeRunInfo and RAI_FreeDagOp
* [add] using RAI_InitRunInfo on RedisAI_ScriptRun_RedisCommand
* [add] using array data type on RedisAI_RunInfo rinfo->outkeys
* [add] small leaks fix for dag
* [add] partial refactor of RedisAI_ScriptRun_RedisCommand to make usage of RedisAI_RunInfo helper methods ( consistent constructors and destructors among modelrun,scriptrun and dagrun)
* [add] kickoff negative testing of AI.DAGRUN
* [add] extended negative testing on dag and removed complexity of tensor datatype (removed possibility to retain RString)
* [add] extended AI.DAGRUN negative testing. fixed negative testing leaks
* [add] more extensive tests and severall touches on same keys on AI.DAGRUN ci
* Fixes for macOS and in general (#327)
* Prevent a DAG run info to be considered batchable
* Ensure sync on failing ONNX test
Co-authored-by: Luca Antiga <[email protected]>
0 commit comments