Skip to content

Dag llapi #556

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

Merged
merged 16 commits into from
Jan 21, 2021
Merged

Dag llapi #556

merged 16 commits into from
Jan 21, 2021

Conversation

alonre24
Copy link
Collaborator

#456
Add the LLAPI for running a DAG.

…orGet op.

Return an error for DAGRUN command with no ops.
test LLAPI (with/without errors) via test module (passed valgrind). Persist not checked (require enablement).
@alonre24 alonre24 self-assigned this Jan 11, 2021
@codecov
Copy link

codecov bot commented Jan 11, 2021

Codecov Report

Merging #556 (1a92b9c) into master (16652f3) will increase coverage by 1.84%.
The diff coverage is 86.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #556      +/-   ##
==========================================
+ Coverage   72.31%   74.16%   +1.84%     
==========================================
  Files          37       39       +2     
  Lines        5917     6081     +164     
==========================================
+ Hits         4279     4510     +231     
+ Misses       1638     1571      -67     
Impacted Files Coverage Δ
src/modelRun_ctx.c 86.11% <ø> (+39.84%) ⬆️
src/redisai.h 0.00% <0.00%> (ø)
tests/unit/unit_tests_err.cpp 100.00% <ø> (ø)
src/tensor.c 76.02% <57.14%> (+1.64%) ⬆️
src/script.c 82.50% <66.66%> (+18.44%) ⬆️
src/DAG/dag.c 82.52% <71.95%> (+0.31%) ⬆️
src/model.c 77.14% <75.00%> (-0.51%) ⬇️
src/command_parser.c 83.33% <84.37%> (-0.62%) ⬇️
src/DAG/dag_execute.c 92.67% <92.67%> (ø)
src/DAG/dag_parser.c 96.36% <94.33%> (+4.86%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16652f3...1a92b9c. Read the comment docs.

…Context dict is not thread safe for reading operations)
in parsing modelrun/script run command (currently assume that the access is only from redis main thread)
…ith an error. this is the one that is returned in LLAPI.

- Add macro to redisai.h to resolve double includes issues.
- Update arr.h, support creating dynamic arrays on stack (in addition).
- PR fixes, test module refactor
- Added tests for errors in dag parsing.
- Bug fix in parse timeout
@alonre24 alonre24 merged commit cc0ff36 into master Jan 21, 2021
@alonre24 alonre24 deleted the DAG_LLAPI branch January 21, 2021 22:36
DvirDukhan pushed a commit that referenced this pull request Feb 3, 2021
@chayim chayim mentioned this pull request Jul 22, 2021
@chayim chayim mentioned this pull request Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants