Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sagemaker-entrypoint-cuda-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ get_compute_cap() {
# Check if the GPU name contains "H100"
elif [[ "$gpu_name" == *"H100"* ]]; then
echo "90"
# Cover Nvidia T4
elif [[ "$gpu_name" == *"T4"* ]]; then
echo "75"
# Cover Nvidia L4
elif [[ "$gpu_name" == *"L4"* ]]; then
echo "89"
else
echo "80" # Default compute capability
fi
Expand Down