microsoft / onnxruntime-genai

Generative AI extensions for onnxruntime
MIT License
500 stars 126 forks source link

Loading Image from bytes #565

Closed msciancalepore98 closed 4 months ago

msciancalepore98 commented 5 months ago

Hey, I am trying to integrate your phi-3-vision script into LitServe.

How can I use the already loaded image (bytes) and pass it to the processor? (I don't want to save it as local/tmp file)

Thanks

baijumeswani commented 4 months ago

Hi sorry for the late response. We do not have support for loading an image from bytes at this point.

We can enhance the usage for the next release 0.4.0.