Skip to main content
Question

Use of PyMC in a Streamlit App in CDF?

  • March 2, 2026
  • 1 reply
  • 13 views

Forum|alt.badge.img+1

Hi! We are building a Bayesian model using PyMC with a JAX backend, and want to run this model continuously on new incoming data inside a Streamlit App hosted in Cognite Data Fusion. As the library depends heavily on compiled extensions, there are no pure Python wheel for this. Is there an alternative approach for running PyMC models?

Thanks!

1 reply

Anders Hafreager
Practitioner

Hi!

You could be able to run PyMC in a Cognite Function (where more advanced Python packages are supported), and call them from the Streamlit app. Would that be useful at all? See https://docs.cognite.com/cdf/functions for docs.