Skip to content
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

Update with instructions to install on mac m1 #4704

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions doc/source/python/python_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,19 @@ Seldon Core has a python package `seldon-core` available on PyPI. The package ma

Install from PyPI with:

PS: If you are on mac with the M1 chip, please use this command to install grpcio before:

```
LDFLAGS="-L$(/$(which brew) --prefix openssl)/lib -L$(/$(which brew) --prefix re2)/lib" CPPFLAGS="-I$(/$(which brew) --prefix openssl)/include -I$(/$(which brew) --prefix re2)/include" GRPC_BUILD_WITH_BORING_SSL_ASM="" GRPC_PYTHON_BUILD_SYSTEM_RE2=true GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true pip install grpcio
```

Then install:

```bash
$ pip install seldon-core
```


### Tensorflow support

Seldon Core adds optional support to send a `TFTensor` as your prediction input.
Expand Down