Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU Performance Issues #214

Open
JasonHSchwartz opened this issue Jun 6, 2023 · 2 comments
Open

GPU Performance Issues #214

JasonHSchwartz opened this issue Jun 6, 2023 · 2 comments

Comments

@JasonHSchwartz
Copy link

Hello

We are running lightweightMMM in a Databricks environment using a GPU runtime and we’ve noticed that GPU performance is much slower (10x) than running using CPUs. We are trying to track down the source of the performance degradation and are wondering if others can share their experiences with LMMM on CPU vs. GPU (vs. TPU).

Some background:
We are using 3 - 4 years of weekly data (156 / 208 rows) and between 8 and 10 channels and 2-4 extra variables. On CPU we can run the BI-MCMC process with 20,000 warm-up, 20,000 samples on 8 chains in about 20-30 minutes. On GPUs we it takes about 30 minutes to run 1000/1000 on 2 chains.

I’m not sure if the performance we are experiencing is expected or caused by a hardware/software configuration issue.

What are others experiencing? Any help would be much appreciated.

@8-u8
Copy link

8-u8 commented Jun 13, 2023

I have same issue when using Lightweight-MMM on Google Colab.
I'm trying to compare Lightweight-MMM and Robyn, using same data: dt_simulated_weekly by Robyn library. dt_simulated_weekly has 208 records.

@RafaelOO
Copy link

You might want to check this other issue: #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants