| #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 |