File size: 699 Bytes
90cd92a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

#SBATCH --nodes=1                            # Number of nodes
#SBATCH --exclusive                          # Exclusive access to the node
#SBATCH --time=72:00:00                      # Time limit hrs:min:sec
#SBATCH --partition=ml.p5.48xlarge           # Partition name

# Activate your conda environment (if applicable)
export PATH=$PATH:$HOME/miniconda3/bin
source activate clip

# Log GPU model information
echo "GPU Model Information:"
nvidia-smi --query-gpu=gpu_name --format=csv

# Optionally, you can save the output to a file
# nvidia-smi --query-gpu=gpu_name --format=csv > ~/gpu_logs/gpu_model_info_$(date +%Y%m%d%H%M%S).csv

python /fsx/ivan.laptev/Deepfake/CLIP/cliptest.py