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.

[Quantum-Cloud] Helm Chart for easy deployment of API-Server to "Deploy and Serve" Hybrid Models

See original GitHub issue

Feature details

Benefits of Deploying and Serving Hybrid Model using REST API:

  • End User would be able to get model results on any device, even inside Android/IOS applications if required.
  • Hybrid models will be easy to use and test inside other applications/Models without much hassle.
  • An ecosystem for hybrid models.
  • Each model’s results could be easily tested for different goals and improved.

Query the Model using REST API

curl -d '{"input-data": [image-1.png, image-2.png, image-3.png, image-4.png]}' \
    -X POST http://localhost:8080/v1/models/hybrid-model-torch:predict

OUTPUT: ["bee","ant","bee","deer"]

Other Projects are doing it.

Tensorflow: https://www.tensorflow.org/tfx/serving/docker PyTorch: https://github.com/pytorch/serve/

Why using Helm: https://helm.sh/

  • To create packaging of configurations for different flavours of Pennylane(Different Interfaces or Plugins)
  • Easy to Deploy on Kubernetes Cluster and Use like Quantum-Cloud.
  • Easy to create and manage different Quantum-Nodes and communication between Quantum Nodes if required.

Implementation

By using Flask-Restful to create communication between Client and Hybrid-model running on Cloud. https://flask-restful.readthedocs.io/en/latest/

Creating volume Node for models which needs to be served. https://kubernetes.io/docs/concepts/storage/volumes/

Flask+Kubernetes: https://kubernetes.io/blog/2019/07/23/get-started-with-kubernetes-using-python/

And Finally Helm for one command Deployment and Maintenance.

How important would you say this feature is?

2: Somewhat important. Needed this quarter.

Additional information

AWSlabs: https://github.com/awslabs/multi-model-server

ForesFlow: https://github.com/ForestFlow/ForestFlow

Triton Inference server: https://github.com/triton-inference-server/server

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
co9olguycommented, Aug 27, 2021

Thanks @arshpreetsingh for the clarification (and the initial request 🙂). Admittedly this is not something we have much experience with internally on the PennyLane team, so we have not thought much about it before. We might have to discuss internally if/how we can support

1reaction
CatalinaAlbornozcommented, Sep 14, 2021

@arshpreetsingh The community calls are on the Unitary Fund Discord server. You can join here https://discord.com/invite/JqVGmpkP96

There on the left you will community-call within the voice channels. That’s where we meet on Thursdays at 11am ET!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploying a Natural Language Processing Service on a ...
This post uses the Triton Inference Server helm chart and its Docker image from NGC to deploy a BERT QA model for inference...
Read more >
Fast hybrid programming with Quantum Cloud Services | Rigetti
Quantum Cloud Services is the fastest quantum computing platform available today, providing more than an order of magnitude speedup over web ...
Read more >
Simplifying Managed Multi-Cloud and Edge Kubernetes with ...
Multi-cluster support across a flexible Composable Edge Cloud; Intelligent workload placement and traffic routing; Kubernetes-native tooling. helm chart edge ...
Read more >
Deploying 100+ node MicroK8s Kubernetes Cluster ...
Using MAAS to deploy 121 physical nodes with ubuntu installing MicroK8s from the cloud-init and connecting the cluster to Azure using Azure ...
Read more >
Installing CloudBees CI on modern cloud platforms on EKS
To deploy CloudBees CI from your ECR registry, you must update the Helm chart so that it pulls CloudBees CI images from ECR...
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