Skip to content

Commit

Permalink
restoring this back
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jul 9, 2024
1 parent e19b731 commit f7b4fa8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data_gpu/driver/comp_and_load_drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ RET_DIR=$PWD
echo "Using RET_DIR: $RET_DIR"

# Remove existing Nvidia modules (if any)
/usr/sbin/rmmod datagpu 2>&1
/usr/sbin/rmmod nvidia-drm 2>&1
/usr/sbin/rmmod nvidia-uvm 2>&1
/usr/sbin/rmmod nvidia-modeset 2>&1
/usr/sbin/rmmod nvidia 2>&1
/usr/sbin/rmmod datagpu 2>/dev/null
/usr/sbin/rmmod nvidia-drm 2>/dev/null
/usr/sbin/rmmod nvidia-uvm 2>/dev/null
/usr/sbin/rmmod nvidia-modeset 2>/dev/null
/usr/sbin/rmmod nvidia 2>/dev/null

# Go to nvidia path and build Nvidia driver
cd "$NVIDIA_PATH" || { echo "Error: Failed to change directory to $NVIDIA_PATH"; exit 1; }
Expand Down

0 comments on commit f7b4fa8

Please sign in to comment.