# Stable Diffusion in OCaml

**URL:** <https://discuss.ocaml.org/t/stable-diffusion-in-ocaml/10932>\
**Category:** Ecosystem\
**Tags:** machine-learning, announce\
**Created:** [December 8, 2022, 6:08pm UTC](https://discuss.ocaml.org/t/stable-diffusion-in-ocaml/10932 "2022-12-08T18:08:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arul](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/arul/32/1604_2.png) [@Arul](https://discuss.ocaml.org/u/Arul)\
**Post date:** [December 8, 2022, 6:08pm UTC](https://discuss.ocaml.org/t/stable-diffusion-in-ocaml/10932/1 "2022-12-08T18:08:46Z")

</div>

I ported over Stable Diffusion in OCaml as I tried to learn the internals of stable diffusion. So far, it has been a smooth process to run deep learning models in OCaml.

`ocaml-torch` library is pretty neat!

> **[GitHub - ArulselvanMadhavan/diffusers-ocaml: Diffusers API in OCaml](https://github.com/ArulselvanMadhavan/diffusers-ocaml)**
>
> Diffusers API in OCaml. Contribute to ArulselvanMadhavan/diffusers-ocaml development by creating an account on GitHub.

Comments/Feedbacks/Issues - welcome!

---

_[View the full topic](https://discuss.ocaml.org/t/stable-diffusion-in-ocaml/10932)._
