Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dag llapi#556

Merged
alonre24 merged 16 commits into
masterfrom
DAG_LLAPI
Jan 21, 2021
Merged

Dag llapi#556
alonre24 merged 16 commits into
masterfrom
DAG_LLAPI

Conversation

@alonre24

Copy link
Copy Markdown
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

codecov Bot commented Jan 11, 2021

Copy link
Copy Markdown

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)
Comment thread tests/flow/tests_llapi.py Outdated
Comment thread tests/module/LLAPI.c Outdated
Comment thread tests/module/LLAPI_DAG.c Outdated
Comment thread tests/module/LLAPI_DAG.c Outdated
Comment thread tests/module/LLAPI_DAG.c Outdated
Comment thread src/command_parser.c Outdated
Comment thread src/command_parser.c Outdated
Comment thread src/DAG/dag_execute.h Outdated
Comment thread src/DAG/dag_builder.c Outdated
Comment thread src/DAG/dag_builder.c Outdated
…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
Comment thread src/DAG/dag.c Outdated
Comment thread src/DAG/dag_execute.c
Comment thread src/DAG/dag_parser.c Outdated
Comment thread src/redisai.c Outdated
Comment thread tests/module/LLAPI.c Outdated
@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