p-doom/crowd-code-dataset-0.2 huggingface dataset:
[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_gpu
#SBATCH --requeue
#SBATCH --signal=b:usr1@300 # 5 min before timeout

# 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 PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model \
    --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_single_gpu
#SBATCH --requeue
#SBATCH --signal=b:usr1@300 # 5 min before timeout

# 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 PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model no-flash-attn \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint
[terminal_command] TERMINAL ()
                                                                                                                                                          3                                                                                                                                                               [tum_cte0515@hkn1993 jasmine]$ idling[tum_cte0515@hkn1993 jasmine]$ queue[tum_cte0515@hkn1993 jasmine]$ pythonPython 3.9.18 (main, Sep  4 2025, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> 34368126976 // 1_000_00034368>>> [tum_cte0515@hkn1993 jasmine]$ queue[tum_cte0515@hkn1993 jasmine]$ pythonPython 3.9.18 (main, Sep  4 2025, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> 287.63 // 1617.0>>> 287.63 // 471.0>>> [tum_cte0515@hkn1993 jasmine]$ queue[tum_cte0515@hkn1993 jasmine]$ idling[tum_cte0515@hkn1993 jasmine]$ queue[tum_cte0515@hkn1993 jasmine]$ pythonPython 3.9.18 (main, Sep  4 2025, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] on linuxType "help", "copyright", "credits" or "license" for more information.>>> 5*5_00025000>>> 25000/36006.944444444444445>>> [tum_cte0515@hkn1993 jasmine]$ source .venv/bin/activate(jasmine) [tum_cte0515@hkn1993 jasmine]$ sbatch slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model.shSubmitted batch job 3583085(jasmine) [tum_cte0515@hkn1993 jasmine]$ sbatch slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model_no_flash_attn.shSubmitted batch job 3583088(jasmine) [tum_cte0515@hkn1993 jasmine]$ queue(jasmine) [tum_cte0515@hkn1993 jasmine]$ scancel 3583085(jasmine) [tum_cte0515@hkn1993 jasmine]$ scancel 3583088(jasmine) [tum_cte0515@hkn1993 jasmine]$ idling(jasmine) [tum_cte0515@hkn1993 jasmine]$ queue(jasmine) [tum_cte0515@hkn1993 jasmine]$ idling
[tab] slurm/jobs/mihir/horeka/coinrun/big-model/train_dyn_big_model_no_flash_attn copy.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_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 CUDA_VISIBLE_DEVICES=0
export PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model no-flash-attn \
    --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: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_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 CUDA_VISIBLE_DEVICES=0
export PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model no-flash-attn \
    --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 copy.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_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 CUDA_VISIBLE_DEVICES=0
export PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model \
    --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_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: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_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 CUDA_VISIBLE_DEVICES=0
export PYTHONUNBUFFERED=1
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-$slurm_job_id \
    --tags dyn coinrun big-model \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir_train \
    --tokenizer_checkpoint $tokenizer_checkpoint