28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
#!/bin/bash
|
|
#SBATCH --job-name="verify"
|
|
#SBATCH --output="verify_output.out"
|
|
#SBATCH --error="verify_errors.err"
|
|
#SBATCH --partition=gpuA40x4
|
|
#SBATCH --mem=12G
|
|
#SBATCH --nodes=1
|
|
#SBATCH --ntasks-per-node=1
|
|
#SBATCH --cpus-per-task=1
|
|
#SBATCH --constraint="projects,perf,nvperf"
|
|
#SBATCH --gpus-per-node=1
|
|
#SBATCH --gpu-bind=closest
|
|
#SBATCH --account=bche-delta-gpu
|
|
#SBATCH -t 00:15:00
|
|
#SBATCH --exclude=gpub029,gpub034,gpub038,gpub043,gpub074,gpub054,gpub012
|
|
#SBATCH --mail-user=asing271@illinois.edu
|
|
#SBATCH --mail-type=BEGIN,END,FAIL
|
|
|
|
module reset
|
|
module load cuda
|
|
|
|
echo -e "job $SLURM_JOBID is starting on `hostname`\n\n"
|
|
|
|
# ── nsys system-level profile ─────────────────────────────────────
|
|
srun nsys profile --stats=true ./test_gpt2 > test_gpt2_nsys_prof_req_0.out
|
|
|
|
# ── ncu kernel-level profile ──────────────────────────────────────
|
|
# ncu --set full -f -o analysis_file ./test_gpt2 > test_gpt2_ncu.out |