Spaces:
Sleeping
Sleeping
Commit
·
beb025c
1
Parent(s):
d1d1581
Update r_shiny_app/global.R
Browse files- r_shiny_app/global.R +1 -1
r_shiny_app/global.R
CHANGED
@@ -35,7 +35,7 @@ if(torch$cuda$is_available()){
|
|
35 |
# print(paste0("current", torch$current_device()))
|
36 |
# fflush.console()
|
37 |
device=as.integer(0)
|
38 |
-
|
39 |
# fflush.console();
|
40 |
torch$cuda$set_device(device)
|
41 |
print(paste0("Device setted up"))
|
|
|
35 |
# print(paste0("current", torch$current_device()))
|
36 |
# fflush.console()
|
37 |
device=as.integer(0)
|
38 |
+
# print(paste0("Set up device ordinal "), device)
|
39 |
# fflush.console();
|
40 |
torch$cuda$set_device(device)
|
41 |
print(paste0("Device setted up"))
|