p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model_single_gpu.sh (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=05:00:00
#SBATCH --partition=accelerated-h100
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:1
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --job-name=train_dyn_single_gpu

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv/bin/activate

array_records_dir_train=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/train
array_records_dir_val=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/val

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

CHECKPOINT_DIR=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/dyn/$job_name/$slurm_job_id
mkdir -p $CHECKPOINT_DIR

tokenizer_checkpoint=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/tokenizer/interactive/3583033

env | grep SLURM

export JAX_COMPILER_ENABLE_REMAT_PASS=False

srun python jasmine/train_dynamics.py \
    --save_ckpt \
    --image_height=64 \
    --image_width=64 \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=8 \
    --dyna_dim=2048 \
    --dyna_num_blocks=16 \
    --dyna_num_heads=32 \
    --dyna_ffn_dim=8192 \
    --num_steps=5000 \
    --wsd_decay_steps=0 \
    --warmup_steps=0 \
    --patch_size=2 \
    --log \
    --name=coinrun-dyn-big-model-single-gpu-bs-8-$slurm_job_id \
    --tags dyn coinrun big-model single-gpu \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint
[tab] slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model_no_flash_attn_single_gpu.sh (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=05:00:00
#SBATCH --partition=accelerated-h100
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:1
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --job-name=train_dyn_no_flash_attn_single_gpu

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv/bin/activate

array_records_dir_train=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/train
array_records_dir_val=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/val

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

CHECKPOINT_DIR=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/dyn/$job_name/$slurm_job_id
mkdir -p $CHECKPOINT_DIR

tokenizer_checkpoint=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/tokenizer/interactive/3583033

env | grep SLURM

export JAX_COMPILER_ENABLE_REMAT_PASS=False

srun python jasmine/train_dynamics.py \
    --save_ckpt \
    --image_height=64 \
    --image_width=64 \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=8 \
    --num_steps=500 \
    --wsd_decay_steps=0 \
    --warmup_steps=0 \
    --dyna_dim=2048 \
    --dyna_num_blocks=16 \
    --dyna_num_heads=32 \
    --dyna_ffn_dim=8192 \
    --patch_size=2 \
    --no-use-flash-attention \
    --log \
    --name=coinrun-dyn-big-model-no-flash-attn-single-gpu-bs-8-$slurm_job_id \
    --tags dyn coinrun big-model no-flash-attn single-gpu \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint
[tab] slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model_no_flash_attn.sh (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=05:00:00
#SBATCH --partition=accelerated-h100
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --job-name=train_dyn_no_flash_attn_single_node

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv/bin/activate

array_records_dir_train=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/train
array_records_dir_val=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/val

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

CHECKPOINT_DIR=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/dyn/$job_name/$slurm_job_id
mkdir -p $CHECKPOINT_DIR

tokenizer_checkpoint=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/tokenizer/interactive/3583033

env | grep SLURM

export CUDA_VISIBLE_DEVICES=0
export JAX_COMPILER_ENABLE_REMAT_PASS=False

srun python jasmine/train_dynamics.py \
    --save_ckpt \
    --image_height=64 \
    --image_width=64 \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=1 \
    --num_steps=5000 \
    --wsd_decay_steps=0 \
    --warmup_steps=0 \
    --dyna_dim=2048 \
    --dyna_num_blocks=16 \
    --dyna_num_heads=32 \
    --dyna_ffn_dim=8192 \
    --patch_size=2 \
    --no-use-flash-attention \
    --log \
    --name=coinrun-dyn-big-model-no-flash-attn-single-node-$slurm_job_id \
    --tags dyn coinrun big-model no-flash-attn single-node \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint
[tab] slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model.sh (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --time=05:00:00
#SBATCH --partition=accelerated-h100
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/coinrun/dynamics/%x_%j.log
#SBATCH --job-name=train_dyn_single_node

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv/bin/activate

array_records_dir_train=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/train
array_records_dir_val=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_coinrun/coinrun_episodes_500m_gt_actions_split/val

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

CHECKPOINT_DIR=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/dyn/$job_name/$slurm_job_id
mkdir -p $CHECKPOINT_DIR

tokenizer_checkpoint=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/big-runs/tokenizer/interactive/3583033

env | grep SLURM

export CUDA_VISIBLE_DEVICES=0
export JAX_COMPILER_ENABLE_REMAT_PASS=False

srun python jasmine/train_dynamics.py \
    --save_ckpt \
    --image_height=64 \
    --image_width=64 \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=1 \
    --dyna_dim=2048 \
    --dyna_num_blocks=16 \
    --dyna_num_heads=32 \
    --dyna_ffn_dim=8192 \
    --num_steps=5000 \
    --wsd_decay_steps=0 \
    --warmup_steps=0 \
    --patch_size=2 \
    --log \
    --name=coinrun-dyn-big-model-single-node-$slurm_job_id \
    --tags dyn coinrun big-model single-node \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint