Skip to content

Commit

Permalink
Fix Tensorflow installation
Browse files Browse the repository at this point in the history
  • Loading branch information
FBerding committed Apr 10, 2024
1 parent fb33c61 commit dad5777
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ jobs:
conda_install(
packages = c(
"tensorflow<=2.15",
"tensorflow<=2.14"
),
envname = envname,
conda = "auto",
pip = TRUE
)
conda_install(
packages = c(
"torch",
"torcheval",
"safetensors",
Expand Down
1 change: 0 additions & 1 deletion R/install_and_config.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ install_py_modules<-function(envname="aifeducation",
pip = TRUE)
}


reticulate::conda_install(
packages = c(
"cudatoolkit",
Expand Down

0 comments on commit dad5777

Please sign in to comment.