lorapop / code /slurm /pheno_trained.sh
bryan7264's picture
Add files using upload-large-folder tool
a8b5668 verified
Raw History Blame Contribute Delete
932 Bytes
#!/bin/bash
#SBATCH -p gpu_rtx6000,gpu_h100,gpu_h200
#SBATCH --gpus=1
#SBATCH -c 6
#SBATCH --mem=64G
#SBATCH -t 06:00:00
#SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out
# MIT License, Bryan Cheng, 2026. Full-battery phenotypes of trained adapter sets, base measured in the same run.
# SETS="siblings opposite targeted" [BASE=...] [TAG=_tinyllama] sbatch -J ph_tr slurm/pheno_trained.sh
cd /home/bjc75/other/finetuning
export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home
PY=/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python; BASE=${BASE:-Qwen/Qwen2.5-0.5B-Instruct}
nvidia-smi --query-gpu=name --format=csv,noheader
for S in $SETS; do
$PY src/run/phenotype.py --base $BASE --adapters data/raw/trained/$S$TAG --out results/phenotypes/$S$TAG --include_base \
--sizes full --group 8 --bs 128 --gbs 256 2>&1 | grep -v -i warn | tail -40
done