Skip to content

Commit

Permalink
flag nvidia driver v565
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-g committed Dec 4, 2024
1 parent 831fafa commit f4e5976
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions diagnostics/dg_validate_nvidia_setup.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ fi

# Check if NVIDIA driver version is compatible with most recent Deepgram self-hosted release
MINIMUM_DRIVER_VERSION="530.30.02"
MAXIMUM_DRIVER_VERSION="561.00.00"
nvidia_driver_version=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader)
if [[ "$(printf '%s\n' "$nvidia_driver_version" "$MINIMUM_DRIVER_VERSION" | sort -V | head -n1)" != "$MINIMUM_DRIVER_VERSION" ]]; then
if [[ "$(printf '%s\n' "$nvidia_driver_version" "$MINIMUM_DRIVER_VERSION" | sort -V | head -n1)" != "$MINIMUM_DRIVER_VERSION" ]] || [[ "$(printf '%s\n' "$nvidia_driver_version" "$MAXIMUM_DRIVER_VERSION" | sort -V | tail -n1)" != "$MAXIMUM_DRIVER_VERSION" ]]; then
error "Issue: The installed NVIDIA driver version is not compatible with the most recent Deepgram self-hosted release."
error "Please install a driver on version $MINIMUM_DRIVER_VERSION+."
error "Please install a driver with version >=$MINIMUM_DRIVER_VERSION and <$MAXIMUM_DRIVER_VERSION."
direct_to_documentation "https://developers.deepgram.com/docs/drivers-and-containerization-platforms#download-and-install-the-official-drivers"
exit 1
else
Expand Down

0 comments on commit f4e5976

Please sign in to comment.