Skip to content

Commit 88f4dbf

Browse files
committed
ARM support #24
1 parent 3e71a99 commit 88f4dbf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# BUILD redisai-cpu-${ARCH}-${OSNICK}:M.m.b
22

3-
# stretch|bionic|buster
4-
ARG OSNICK=buster
3+
# OSNICK=bionic|stretch|buster
4+
ARG OSNICK=stretch
55

66
#----------------------------------------------------------------------------------------------
77
# FROM redisfab/redis-x64-${OSNICK}:5.0.5 AS builder
88
FROM redis:latest AS builder
99

10-
ENV X_NPROC "cat /proc/cpuinfo|grep processor|wc -l"
11-
1210
ADD ./ /build
1311
WORKDIR /build
1412

Dockerfile.arm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ FROM redisfab/redis-${OSNICK}-xbuild:5.0.5
2323

2424
RUN [ "cross-build-start" ]
2525

26+
RUN set -e; apt-get -qq update; apt-get -q install -y libgomp1
27+
2628
ENV LD_LIBRARY_PATH /usr/lib/redis/modules/
2729

2830
RUN mkdir -p "$LD_LIBRARY_PATH"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docker run -p 6379:6379 -it --rm redisai/redisai
2727

2828
On the client, load the model
2929
```sh
30-
redis-cli -x AI.MODELSET foo TF CPU INPUTS a b OUTPUTS c < examples/models/graph.pb
30+
redis-cli -x AI.MODELSET foo TF CPU INPUTS a b OUTPUTS c < test/test_data/graph.pb
3131
```
3232

3333
Then create the input tensors, run the computation graph and get the output tensor (see `load_model.sh`). Note the signatures:

0 commit comments

Comments
 (0)