cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to install cmdstanpy in dbx cluster

MadrasSenpai
New Contributor II

I have built an HMC model using cmdstand. In my local machine, I have install cmdstan for the following approach.

import cmdstanpy
cmdstanpy.install_cmdstan()

But in Databricks I need to reinstall it every time when I train a new model, from the notebook. I have installed the cmdstanpy in the library section of the cluster, but couldn't figure out how to install cmdstan in the cluster directly such that when I restart my cluster again it has the cmdstan ready.

Approaches tried

  1. Installing cmdstan from notebook before training the model
  2. Launch web terminal and install cmdstan inside it(but this approach doesn't work if I'm using notebooks to run code)
2 REPLIES 2

Anonymous
Not applicable

Hi @Rajamannar Aanjaram Krishnamoorthy​ 

Great to meet you, and thanks for your question!

Let's see if your peers in the community have an answer to your question. Thanks.

Hi @Anonymous there is no progress for this question, may I know what are the next steps for it?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group