Comments (13)
hey @blattnem ! Thanks for reporting this one.
I might need a bit more info on your enviroment.
- What OS and version are you running?
- What version of
lightweight_mmm
are you using? - Are you running the example as is? or with your own data?
Thanks!
from lightweight_mmm.
- Mac OS Big Sur 11.5.2
- lightweight_mmm 0.1.3
- Run example as is
from lightweight_mmm.
The JAX support for Mac systems is not very extended, it actually depends on the underlying hardware to my understanding. For some ARM based CPU's might be good but I am not sure about sillicon based ones. Also this would be for CPU's but might be more tricky if you are trying GPU.
Any chance you have used JAX on that system for something else? Has that worked fine?
I think you might need to try to install and get working JAX separately and then go into lightweight_mmm
.
My 2cents: Generally Linux would be a much less painful setup so if you have access to one I would recommend trying it there. Otherwise you can always use Colaboratory which is free and should give all you need.
from lightweight_mmm.
Hi Pablo
Sorry, same issue with linux (Manjaro linux).
I had to install python 3.8 to install everything
I get the same error as documented yesterday.
Best,
Marcel
from lightweight_mmm.
I install lightweight_mmm with pip
from lightweight_mmm.
Let me try to reproduce and get back to you.
When you said you had to install python 3.8, what version were you using before?
I have a couple setups with 3.7 and 3.9 where things seem to be running fine, but we definitely want to support 3.8 as well so I will look into it.
from lightweight_mmm.
I have python 3.10 on my linux box. Installed 3.8 because the dependency on tensorflow 2.7.2.
from lightweight_mmm.
This are my libs when running your example notebooks
jax 0.3.13
jaxlib 0.3.10
lightweight_mmm 0.1.3
numpyro 0.9.2
session_info 1.0.0
Click to view modules imported as dependencies
IPython 8.4.0
jupyter_client 7.3.4
jupyter_core 4.10.0
notebook 6.4.12
Python 3.8.13 (default, Jun 24 2022, 11:47:12) [GCC 11.2.0]
Linux-5.10.109-1-MANJARO-x86_64-with-glibc2.34
Session information updated at 2022-06-28 09:07
I got exactly the same error. I am not sure that it relates to python 3.8 version
from lightweight_mmm.
...and the same with python 3.9. I guess its a jax issue. What jax version are you using?
from lightweight_mmm.
Okay, thank you for that. Let me dig deeper into this one and get back to you.
from lightweight_mmm.
Looks like this is fixed by jax-0.3.14 & jaxlib-0.3.14 (I was having the same issue yesterday with the versions above)
from lightweight_mmm.
@usul83 good to know that upgrade worked! Thanks for pointing it out!
Im running our test with such versions again to confirm that is solved across the board.
@blattnem can you confirm it also solves your case?
from lightweight_mmm.
Hi there. Great news! Jax 0.3.14 does the job! Thanks.
from lightweight_mmm.
Related Issues (20)
- How can I run kind of gridsearch to find the best custom priors for a hill_adstock or carryover model ?
- How can I input future media_data_test for optimization in upcoming periods? HOT 1
- How can channel-wise optimized conversions be obtained?
- Extra features
- Addressing Heteroscedasticity
- Geo level attribution and response curves
- Budget Allocation Percentage breakdown by channel HOT 10
- Question on tensorflow requirement
- Dtype object is not a valid JAX array type. Only arrays of numeric types are supported by JAX. HOT 5
- Same pre-optimization and post-optimization channel budget allocation ratios , but suggesting much higher budget instead of aligning the budget to the one i requested. HOT 10
- Paid Search bias - Nested model
- Divergences and n_eff
- Outliers and influential points
- budget allocator: How to set up lower bound and upper bound per channel?
- add got incompatible shapes for broadcasting: (95,), (90,). HOT 5
- TypeError: add got incompatible shapes for broadcasting: (58,), (54,). HOT 8
- Rendering of several plots not working! HOT 1
- Negative Values in Pre optimization predicted Target vs Post optimization predicted Target
- Budget Optimization
- RuntimeError: Cannot find valid initial parameters. Please check your model again.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightweight_mmm.