question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API document for mleap-serving 1.13.0

See original GitHub issue

It seems from release 1.13.0, the mleap-serving API was changed without official document. I found a document here but not success when testing

Here is my steps:

git clone https://github.com/combust/mleap.git
cd mleap && git checkout --detach 6a722e455df7cbcc6da07cf77d6522e38ec1556a
git submodule init
git submodule update
sbt compile
sbt mleap-serving/universal:packageZipTarball
tar -zxvf mleap-serving/target/universal/mleap-serving-0.13.0.tgz 
mkdir /tmp/ml
mv mleap-serving-0.13.0/ /tmp/ml/
/tmp/ml/mleap-serving-0.13.0/bin/mleap-serving

# load model (ok)
curl -X POST \
  http://localhost:8080/models \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: 97c74630-8b22-d9d9-019d-0f9dd13b8d03' \
  -d '{
  "modelName": "airbnb",
  "uri": "<dir>/airbnb.model.lr.zip",
  "config": {
    "memoryTimeout": 1000,
    "diskTimeout": 1000
  },
  "force": false
}'

# find model (not found)
curl -X GET \
  http://localhost:8080/models/airbnb \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'postman-token: a1ea0066-16a3-4040-cb52-6d138017957b'

# other API like transform or get-meta also don't work

Anything else that I can test?

screen shot 2019-01-08 at 10 40 51 am

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ancasarbcommented, Jan 8, 2019

@Khiem-Tran I am working on updating the docs here http://mleap-docs.combust.ml/mleap-serving/ but in the meantime, could you please to update the uri on the load model request from /Users/... to file:/Users/.... and see if that solves your issue?

0reactions
ancasarbcommented, Oct 17, 2019

@femibyte I replied to your question on the other issue raised #578

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lightstreamer .Net Standard Adapter v.1.13.0 API Reference
Net Standard Adapter v.1.13.0 API Reference. This project includes the source code of the Lightstreamer .Net Remote Adapter. See: General Introduction.
Read more >
Module ngx_http_api_module
The ngx_http_api_module module (1.13.3) provides REST API for accessing various status information, configuring upstream server groups on-the-fly, ...
Read more >
PyTorch 1.13 documentation
PyTorch is an optimized tensor library for deep learning using GPUs and CPUs. Features described in this documentation are classified by release status:...
Read more >
API Reference
API OVERVIEW. Welcome to the Kubernetes API. You can use the Kubernetes API to read and write Kubernetes resource objects via a Kubernetes ......
Read more >
ISM API
ISM API. Use the index state management operations to programmatically work with policies and managed indexes. Table of contents. Create policy; Add policy ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found