Skip to content

Commit 657d3a3

Browse files
committed
default gpu=FALSE on macOS_tensorflow
1 parent 1fb96c3 commit 657d3a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/install.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ use_backend <- function(backend, gpu = NA) {
164164
macOS_tensorflow = {
165165

166166
if (is.na(gpu))
167-
gpu <- TRUE
167+
gpu <- FALSE
168168

169169
if (gpu) {
170-
py_require("tensorflow", action = "remove")
171-
py_require(c("tensorflow-macos", "tensorflow-metal"), python_version = "<3.12")
170+
# py_require("tensorflow", action = "remove")
171+
py_require(c("tensorflow", "tensorflow-metal"))
172172
} else {
173173
py_require(action = "remove", c("tensorflow-macos", "tensorflow-metal"))
174174
py_require("tensorflow")

0 commit comments

Comments
 (0)