For Developers

This section is dedicated to the developers, who want to improve ML Lambda.

For the development you’ll probably need a working example, so first clone serving examples.

$ git clone https://github.com/Hydrospheredata/hydro-serving-example 

To set up a development environment clone ML Lambda repository.

$ git clone https://github.com/Hydrospheredata/hydro-serving

Run PostgreSQL, Sidecar and UI containers.

$ cd hydro-serving
$ sbt manager/devRun

Removing containers is done via:

$ sbt manager/cleanDockerEnv

To upload serving examples to ML Lambda, you’ll need hs cli-tool.

$ pip install hs

Add new local cluster.

$ hs cluster add --name local --server http://localhost/

Now, go to the claims model example and upload it.

$ cd ../hydro-serving-example/model/claims
$ hs upload

You can see the uploaded model from http://localhost/.