From dc801c07cf38b0c495686463e6ca6f871a64440e Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Tue, 27 Jan 2026 09:57:37 -0600 Subject: Add collaborativeagents module and update gitignore - Add collaborativeagents subproject with adapters, agents, and evaluation modules - Update .gitignore to exclude large binary files (.whl, .tar), wandb logs, and results Co-Authored-By: Claude Opus 4.5 --- collaborativeagents/slurm/run_all_memory_v2.sh | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 collaborativeagents/slurm/run_all_memory_v2.sh (limited to 'collaborativeagents/slurm/run_all_memory_v2.sh') diff --git a/collaborativeagents/slurm/run_all_memory_v2.sh b/collaborativeagents/slurm/run_all_memory_v2.sh new file mode 100755 index 0000000..4caa29a --- /dev/null +++ b/collaborativeagents/slurm/run_all_memory_v2.sh @@ -0,0 +1,34 @@ +#!/bin/bash +#SBATCH --job-name=all_mem_v2 +#SBATCH --account=bfqt-delta-gpu +#SBATCH --partition=gpuA100x4 +#SBATCH --nodes=1 +#SBATCH --ntasks=1 +#SBATCH --cpus-per-task=16 +#SBATCH --gres=gpu:nvidia_a100:4 +#SBATCH --mem=200G +#SBATCH --time=48:00:00 +#SBATCH --output=logs/all_memory_v2_%j.out +#SBATCH --error=logs/all_memory_v2_%j.err + +set -e +cd /projects/bfqt/users/yurenh2/ml-projects/personalization-user-model +mkdir -p collaborativeagents/slurm/logs collaborativeagents/results + +source /u/yurenh2/miniforge3/etc/profile.d/conda.sh +conda activate eval + +export HF_HOME=/projects/bfqt/users/yurenh2/hf_cache/huggingface +export PYTHONPATH="${PWD}/src:${PWD}/collaborativeagents:${PYTHONPATH}" +export NCCL_P2P_DISABLE=1 + +cd collaborativeagents/scripts + +# all_memory with FIXED memory paths +python run_experiments.py \ + --methods all_memory \ + --datasets mmlu,aime,math-hard,humaneval \ + --n-profiles 30 \ + --n-sessions 20 \ + --profile-path ../data/complex_profiles_v2/profiles_100.jsonl \ + --output-dir ../results/all_memory_v2_$(date +%Y%m%d_%H%M%S) -- cgit v1.2.3