Skip to content

Instantly share code, notes, and snippets.

@singularitti
Last active April 20, 2026 03:08
Show Gist options
  • Select an option

  • Save singularitti/11c57cb3d0b791da8d951a45e32acd3f to your computer and use it in GitHub Desktop.

Select an option

Save singularitti/11c57cb3d0b791da8d951a45e32acd3f to your computer and use it in GitHub Desktop.
Use `idev` to run H100 GPU nodes on Stampede3 #SSH #remote #interactive
idev_h100() {
local N=${1:-1}
local M=${2:-30}
local TPN=${3:-4}
local CPUS=${4:-24}
local NTASKS=$((N * TPN))
idev -p h100 -N "$N" -n "$NTASKS" -tpn "$TPN" -m "$M" \
-- --cpus-per-task="$CPUS"
}
# idev_h100 # 1 node, 30 min
# idev_h100 2 # 2 nodes, 30 min
# idev_h100 2 60 # 2 nodes, 60 min
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment