File size: 1,052 Bytes
90cd92a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 llava

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

# --model-path /fsx/ivan.laptev/Deepfake/deepfakehtml/llava-v1.5-13b-task-lora20epoch-dffd6/checkpoint-3120 \
python /fsx/ivan.laptev/Deepfake/deepfakehtml/LLaVA/llava/eval/model_vqa.py \
    --model-path /fsx/ivan.laptev/Deepfake/deepfakehtml/llava-v1.5-13b-task-lora10epoch-dffd7/checkpoint-60 \
    --question-file /fsx/ivan.laptev/Deepfake/deepfakehtml/my_code/json/llavatestquestionsdffd5.jsonl \
    --image-folder /fsx/ivan.laptev/Deepfake/ \
    --answers-file /fsx/ivan.laptev/Deepfake/deepfakehtml/my_code/json/llavatestanswersdffd13.jsonl \