Hydrospheredata / hydro-serving

MLOps Platform
http://docs.hydrosphere.io
Apache License 2.0
271 stars 42 forks source link

HS upload fails on - one cluster - but works on another cluster! Same versions of Helm charts and HS!! #266

Closed ravimadhusudhan8 closed 5 years ago

ravimadhusudhan8 commented 5 years ago

HS upload fails on - one K8 cluster - but works on another K8 cluster! Both installs have same versions of Helm charts and HS !

Trying to work with a stable release - so using the versions that work at least on one cluster - these versions work on one cluster.

$Helm list - my-release 1 Mon Apr 1 19:58:51 2019 DEPLOYED serving-0.1.15 default

$hs --version hs version 2.0.0rc3

And serving.yaml and src/func_main.py are identical on both clusters

serving.yaml -

kind: Model name: "add-service" runtime: "hydrosphere/serving-runtime-python:3.6-latest" model-type: "python:3.6" payload:

src/func_main.py

import math import hydro_serving_grpc as hs

Function to add two numbers

def add(x, y): input_x = x.double_val input_y = y.double_val print(input_x[0], input_y[0]) result = input_x[0] + input_y[0] tensor_result_output = hs.TensorProto( dtype=hs.DT_DOUBLE, double_val=[result] ) return hs.PredictResponse( outputs={ "result": tensor_result_output } )

hs_upload_fails

KineticCookie commented 5 years ago

Hi! Seems like you got different versions of serving cluster. We already released a stable version. Feel free to check docs for the new updates!

ravimadhusudhan8 commented 5 years ago

Thanks @KineticCookie .

Have started using Version 2.0.

Everything that we need worked fine!