Skip to content

Commit 056b171

Browse files
committed
Disable deprecated Nvidia fix
1 parent e9c179a commit 056b171

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

zsh/custom/utils.zsh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,11 @@ replacerec() {
8787
fi
8888
}
8989

90-
function nvidia-smi {
91-
# https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and-swap/295639/3
92-
valgrind nvidia-smi "$@" 2> /dev/null
93-
}
90+
# function nvidia-smi {
91+
# # This fix is no longer needed and won't work with the latest Nvidia drivers (570->).
92+
# # https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and-swap/295639/3
93+
# valgrind nvidia-smi "$@" 2> /dev/null
94+
# }
9495

9596
# Chats
9697
start-chats() {

0 commit comments

Comments
 (0)