Open njtierney opened 1 month ago
Note that these should prioritise tensorflow probability
Notes from Golding
# very specific installation instructions, that work on AWS. It may well be possible to relax these.
install.packages("remotes")
# most likely tf2 branch?
remotes::install_github("greta-dev/greta@2a3e073")
reticulate::conda_create(envname = "greta-env-tf2",
python_version = "3.8.15")
reticulate::py_install(packages = "tensorflow==2.11.0",
pip = TRUE,
envname = "greta-env-tf2",
method = "conda")
reticulate::py_install(packages = "tensorflow-probability==0.19.0",
pip = TRUE,
envname = "greta-env-tf2",
method = "conda")
# RESTART!
# load greta
library(greta)
# check things are installed
greta_sitrep()
x <- normal(0, 1)
calculate(x, nsim = 1)
Some information is at: https://www.tensorflow.org/install/source
Create a set of known TF/TFP/keras/numpy versions that work with each other for each OS
From https://github.com/tensorflow/probability/releases
Add a checker as part of #664
For example, currently: