-
Notifications
You must be signed in to change notification settings - Fork 106
Introduce AI.DAGEXECUTE command, AI.DAGRUN is now deprecated. #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #723 +/- ##
==========================================
+ Coverage 78.93% 79.30% +0.36%
==========================================
Files 48 48
Lines 7343 7474 +131
==========================================
+ Hits 5796 5927 +131
Misses 1547 1547
Continue to review full report at Codecov.
|
…sing + add tests. Fix "validateKeysInShard" to work on a single shard in enterprise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
mainly cosmetics changes
please split tests_dag.py
into several test files so it will be easier to track the logic
…sing + add tests. Fix "validateKeysInShard" to work on a single shard in enterprise.
tests/flow/tests_dag_basic.py
Outdated
env.assertEqual(ret, b'OK') | ||
|
||
command = "AI.DAGEXECUTE LOAD 2 persisted_tensor_1{1} persisted_tensor_2:{1}" \ | ||
" PERSIST 1 volatile_tensor_persisted |> " \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should/might fail on cluster
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch! found a bug - fixing
- Rename test_auxiliaries to tests_setup - Changes in documentation.
Add the new command according to the new design, no actual change in semantics.
The main difference between AI.DAGRUN and AI.DAGEXECUTE is: