Closed jangorecki closed 5 years ago
add gpu info and vram on the report environment details
Rscript -e 'd<-data.table::fread("nvidia--d MEMORY | grep -A 1 \"FB Memory Usage\" | grep \"Total\"", sep=" "); stopifnot(d$V4=="MiB"); cat(sprintf("%.2f GB VRAM\n", sum(d$V3)/1024))' #21.83 GB VRAM
add gpu info and vram on the report environment details