Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

How can I use GPU with Azure function?

Open sunildarji811 opened this issue 4 years ago • 6 comments

Can I use GPU powered app with Azure functions?

Like I want to host external .exe with some GPU requirement on Azure function but it fails with runtime error.

Any solution or workaround?

sunildarji811 avatar May 08 '20 11:05 sunildarji811

@sunildarji811 - the only way to do this right now is to use Azure Functions with Kubernetes, For example AKS supports GPU's

anirudhgarg avatar May 15 '20 03:05 anirudhgarg

Any update?

Did the Azure function container support GPU instead of CPU such as the use case mentioned in the following article: https://towardsdatascience.com/searching-the-clouds-for-serverless-gpu-597b34c59d55

I copied the relevant description here for ease of reference:- A simple app that provides a user interface to Neural Style Transfer. Unfamiliar with this technique? In short, Neural Style Transfer (NST) is a Deep Learning technique that can be used to stylize images. The algorithm takes a content image and a style image as input, and uses these to generate a new image that shows the content of the content image, and the style of the style image.

Please advise. Thank you.

limcheekin avatar Mar 20 '21 05:03 limcheekin

Any update here @anirudhgarg?

How do I setup a ML inference pipeline with Azure functions that can connect to a GPU and handle auto-scaling?

Thank you,

BoPengGit avatar Jul 11 '21 06:07 BoPengGit

Tagging @pragnagopa , for further inputs

v-anvari avatar Aug 19 '21 17:08 v-anvari

This repo may be useful: https://github.com/puthurr/python-azure-function-gpu

ziyuang avatar Oct 26 '21 20:10 ziyuang

@BoPengGit hey. Could you please tell whether you were able to achieve your goal with what @ziyuang shared?

Also since 2021 have you found any better solution than to mess with Kuber?

kopyl avatar Feb 18 '24 10:02 kopyl