Skip to content

Commit

Permalink
Fix nvidia-smi
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Dec 3, 2024
1 parent 4b3d306 commit 00bd9af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zsh/custom/utils.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ replacerec() {
fi
}

function nvidia-smi {
# https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and-swap/295639/3
valgrind nvidia-smi "$@" 2> /dev/null
}

# Chats
start-chats() {
# Start chat clients
Expand Down

0 comments on commit 00bd9af

Please sign in to comment.