Skip to content

Commit 29f7c92

Browse files
author
DvirDukhan
authored
Merge branch 'master' into backends_upgrade
2 parents 1b1f0c4 + a8695b9 commit 29f7c92

34 files changed

+2014
-854
lines changed

.circleci/config.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,17 @@ on-master: &on-master
336336
filters:
337337
branches:
338338
only: master
339+
tags:
340+
ignore: /.*/
341+
342+
on-integ-branch: &on-integ-branch
343+
filters:
344+
branches:
345+
only:
346+
- master
347+
- /^\d+\.\d+.*$/
348+
tags:
349+
ignore: /.*/
339350

340351
on-version-tags: &on-version-tags
341352
filters:
@@ -344,18 +355,20 @@ on-version-tags: &on-version-tags
344355
tags:
345356
only: /^v[0-9].*/
346357

347-
on-master-and-version-tags: &on-master-and-version-tags
358+
on-integ-and-version-tags: &on-integ-and-version-tags
348359
filters:
349360
branches:
350361
only:
351362
- master
363+
- /^\d+\.\d+.*$/
352364
tags:
353365
only: /^v[0-9].*/
354366

367+
355368
platform-build-defs: &platform-build-defs
356369
requires:
357370
- build-debian
358-
<<: *on-master-and-version-tags
371+
<<: *on-integ-and-version-tags
359372
# <<: *on-any-branch # debugging
360373

361374
after-platform-builds: &after-platform-builds
@@ -372,7 +385,8 @@ workflows:
372385
version: 2
373386
build_and_package:
374387
jobs:
375-
- lint
388+
- lint:
389+
<<: *on-any-branch
376390
- build-debian:
377391
<<: *on-any-branch
378392
<<: *after-linter
@@ -405,7 +419,7 @@ workflows:
405419
# <<: *on-version-tags
406420
- deploy-snapshot:
407421
<<: *after-platform-builds
408-
<<: *on-master
422+
<<: *on-integ-branch
409423
- deploy-release:
410424
<<: *after-platform-builds
411425
<<: *on-version-tags
@@ -414,7 +428,9 @@ workflows:
414428
triggers:
415429
- schedule:
416430
cron: "20 17 * * *"
417-
<<: *on-master
431+
filters:
432+
branches:
433+
only: master
418434
jobs:
419435
- build-macos:
420436
<<: *never # temporarily disabled

docs/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This introduction is intended to present the core concepts it uses and the funct
88
!!! important "Prerequisites"
99
Before diving into RedisAI please make sure that you are familiar with the basic concepts of machine learning and Redis.
1010

11+
This video will introduce you to RedisAI at a high level. Give it a watch, then keep reading for more details.
12+
13+
<iframe width="560" height="315" src="https://www.youtube.com/embed/gbiqF-eyTW4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
14+
1115
In broad strokes, RedisAI's looks as follows:
1216

1317
```

opt/getver

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ $NUMERIC != 1 ]]; then
1111
#include "src/version.h"
1212
1313
int main(int argc, char *argv[]) {
14-
printf("%d.%d.%d\n", RAI_ENC_VER / 10000, (RAI_ENC_VER / 100) % 100, RAI_ENC_VER % 100);
14+
printf("%d.%d.%d\n", REDISAI_VERSION_MAJOR, REDISAI_VERSION_MINOR, REDISAI_VERSION_PATCH);
1515
return 0;
1616
}
1717
EOF
@@ -22,7 +22,7 @@ else
2222
#include "src/version.h"
2323
2424
int main(int argc, char *argv[]) {
25-
printf("%d\n", RAI_ENC_VER);
25+
printf("%d%d%d\n", REDISAI_VERSION_MAJOR, REDISAI_VERSION_MINOR, REDISAI_VERSION_PATCH);
2626
return 0;
2727
}
2828
EOF

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ ADD_LIBRARY(redisai_obj OBJECT
2929
config.c
3030
DAG/dag.c
3131
DAG/dag_parser.c
32+
DAG/dag_builder.c
33+
DAG/dag_execute.c
3234
modelRun_ctx.c
3335
backends.c
3436
backends/util.c

0 commit comments

Comments
 (0)