-
Notifications
You must be signed in to change notification settings - Fork 13
greta is not working #18
Comments
thanks for the report, I'll take a look. |
hmm... we can solve the errors such as Not exactly clear to me how to cherrypick ptxas 9.2.88 though. Bumping all of cuda to 9.2.88 seems to break tensorflow, as it looks like the binaries installed by pip (for 0.12.0) are build only for cuda 9.0. A second error I encounter, e.g. via either the virtualenv install route or in building on
still digging... |
I think that last error just means you have the CRAN release of greta, but need the current GitHub version. Something changed in the most recent Tensorflow Probability release, and the greta-side patch hasn't yet made its way to CRAN. |
@goldingn thanks Nick, that's the ticket! @ignacio82 Once Thanks again for the bug report, hadn't gotten around to testing greta, it's still somewhat early days for these ML images. |
Thanks! A couple of question:
Is this a problem that the greta developers need to fix? |
@ignacio82 Right, I moved Re the |
Not sure this ought to be a different error or not, but I get a strange error when trying greta with the remotes::install_github("greta-dev/greta")
rm(list=ls())
library(reticulate)
py_discover_config()
use_python("/opt/virtualenvs/r-tensorflow/bin/python")
use_virtualenv("/opt/virtualenvs/r-tensorflow/", required=T)
library(greta)
library(DiagrammeR)
library(bayesplot)
library(tidyverse)
length_of_data <- 100
sd_eps <- pi^exp(1)
intercept <- -5.0
slope <- pi
x <- seq(-10*pi, 10*pi, length.out = length_of_data)
y <- intercept + slope*x + rnorm(n = length_of_data, mean = 0, sd = sd_eps)
data <- data_frame(y = y, x = x)
intercept_p <- uniform(-10, 10)
sd_eps_p <- uniform(0, 50)
slope_p <- uniform(0, 10)
mean_y <- intercept_p+slope_p*x
distribution(y) <- normal(mean_y, sd_eps_p)
our_model <- model(intercept_p, slope_p, sd_eps_p)
num_samples <- 1000
param_draws <- mcmc(our_model, n_samples = num_samples, warmup = num_samples / 10) that gives the error
|
So We're still exploring the best way to help users triangulate these versions. (The current Can you try testing on |
I was trying to play with greta using this container but I'm getting an error. This is what I am doing:
The text was updated successfully, but these errors were encountered: