-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
TypeError: data type "float128" not understood using Raspberry Pi4 #4443
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
Comments
Wow! This is a first for me to see an Armv7 user of PyMC3. I have a few Pi 4s, happy to try reproducing the error on them. I’ll loop back on the weekend if nobody else does first. |
Also, I am very interested in hearing about (helping with?) embedded projects, if it isn't too secret! I've seen some ML on RPi, but never MCMC. |
Oh, I didn't expect so much interest 😅 I bought a Pi4 with comes with a larger RAM to exploit and try to create a cluster (I saw the "OctaPi" Raspberry project) with "dask" and do ML for university purposes. Unfortunately I had some problems with SSH connections, I think due to my Ubuntu firewall and had to give up (I'm not such an expert). Then another project came (the one linked below), where I had to use Bayesian inference and run MCMC to estimate the reproduction rate for Italy. I'm running another MChain now on my laptop (4 cores, 4chains×(1'000tune+9'000 draws)×21 regions) and it's been working the whole night. I'm only halfway, this is why I would prefer to use Raspberry, at least I can use my laptop freely in the meanwhile... However, you can take a look to my project, of course! (If you spot some errors for example due to poor inizialization of hyperparameter setting, please let me know, it would be appreciated since I'm new to this library). My notebook, specially on this topic: And it was inspired by a work made by: Which in turn was inspired by another American guy, that instead used R language. Really glad and surprised of your interest! |
@andrybicio super cool that you're trying to run PyMC3 on a Raspberry! |
Nope, I wasn't aware I was looking at a outdated version... Thank you for letting me know! I'm experiencing some problems indeed with some regions due to instability/convergence errors, as you can see from my (trial) notebook above. I will try to implement the new version, as soon as it finishes the aforementioned run (hopefully in 7-8hs) which has been running for already 12hs. Unfortunately I am new to this library and MCMC methods for Python (I did exploit it in R, JAGS library and so on and so forth), but due to the lack of time (deadline is in 2 weeks) I'm groping around and cannot go deep too much into it. Therefore I'm trying to use things as more out-of-the box as possible, despite I'm aware it's not the best way to proceed... |
Should we close given: #4514 ? |
Importing pym3 results in error and cannot find any type "float128". I installed everything needed onto my RaspBerry 4 using pip3.
Description of your problem
Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback.
Please provide any additional information below.
I tried also
and the output is
I'm pretty sure I cannot do anything and this is something hardware related, since the OS is 32 bit, but still I'm giving it a try.
Versions and main components
in addition
returns output
The text was updated successfully, but these errors were encountered: