woohaaha

woohaaha

Let me preface this question by saying that I’m not an ML expert so this question may or may not make sense.

Machine learning models can be generated through various languages and frameworks. These languages and frameworks are most likely to then use these ML models in production. Some model types are SavedModel (from Tensorflow) Pytorch can export Torchscript, ONNX, etc… (I’m probably not even scratching the surface of model export/serialization options).

My question is, assuming the heavy lifting of ML is in the model generation, are there Elixir libraries that can interface with a generated model?

I’m hoping I can generate a model in Pytorch/Tensorflow, export it, and import it to my Phoenix app to make predictions/recommendations/etc…

Can this be done?

Thank you

First Post! Switch mode

mindok

mindok

It doesn’t quite answer your question, but this article by @alvises shows one way to run ML models from Elixir with the actual prediction managed by Python:

@sym_num has done a lot of work in this area too - building a library to harness the GPU - see GitHub - sasagawa888/deeppipe2: Deep Learning library using GPU(CUDA/cuBLAS) · GitHub - I’m not sure what would be involved to port or run models.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
silverdr
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated! To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead. Sta...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New

We're in Beta

About us Mission Statement