[tab] /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/big-runs/dynamics-cotraining-batchsize-scaling/train_tokenizer_batch_size_scaling_1_node_3335610.log (log)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --time=48:00:00
#SBATCH --partition=accelerated
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/big-runs/dynamics-cotraining-batchsize-scaling/%x_%j.log
#SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/big-runs/dynamics-cotraining-batchsize-scaling/%x_%j.log
#SBATCH --job-name=train_tokenizer_batch_size_scaling_1_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=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_new/open_ai_minecraft_arrayrecords_chunked

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/dynamics-cotraining-batchsize-scaling/$job_name
mkdir -p $CHECKPOINT_DIR

tokenizer_ckpt_dir=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/train_tokenizer_batch_size_scaling_16_node/3321526/tokenizer_22000/

env | grep SLURM

srun python train_dynamics.py \
    --save_ckpt \
    --ckpt_dir $CHECKPOINT_DIR \
    --batch_size=48 \
    --min_lr=0 \
    --max_lr=1e-5 \
    --log_image_interval=1000 \
    --log \
    --log_checkpoint_interval=1000 \
    --name=dynamics-batch-size-scaling-1-node-$slurm_job_id \
    --tags dynamics batch-size-scaling 1-node \
    --entity instant-uv \
    --project jafar \
    --tokenizer_checkpoint=$tokenizer_ckpt_dir \
    --data_dir $array_records_dir
/var/spool/slurmd/job3335610/slurm_script: line 18: .venv/bin/activate: No such file or directory
SLURM_STEP_NUM_TASKS=1
SLURM_JOB_USER=tum_cte0515
SLURM_TASKS_PER_NODE=4
SLURM_JOB_UID=999226
SLURM_TASK_PID=2977871
SLURM_JOB_GPUS=0,1,2,3
SLURM_LOCALID=0
SLURM_SUBMIT_DIR=/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs
SLURMD_NODENAME=hkn0536
SLURM_JOB_START_TIME=1752171516
SLURM_STEP_NODELIST=hkn0425
SLURM_CLUSTER_NAME=hk
SLURM_JOB_END_TIME=1752344316
SLURM_PMI2_SRUN_PORT=33587
SLURM_CPUS_ON_NODE=24
SLURM_JOB_CPUS_PER_NODE=24
SLURM_GPUS_ON_NODE=4
SLURM_GTIDS=0
SLURM_JOB_PARTITION=accelerated
SLURM_TRES_PER_TASK=cpu=5
SLURM_OOM_KILL_STEP=0
SLURM_JOB_NUM_NODES=1
SLURM_STEPID=4294967290
SLURM_JOBID=3335610
SLURM_PTY_PORT=45071
SLURM_JOB_QOS=normal
SLURM_LAUNCH_NODE_IPADDR=10.0.7.201
SLURM_PTY_WIN_ROW=48
SLURM_PMI2_PROC_MAPPING=(vector,(0,1,1))
SLURMD_DEBUG=2
SLURM_PROCID=0
SLURM_CPUS_PER_TASK=5
SLURM_NTASKS=4
SLURM_TOPOLOGY_ADDR=hkibb.hkibbi1.hkibbi1e11.hkn0536
SLURM_TOPOLOGY_ADDR_PATTERN=switch.switch.switch.node
SLURM_SRUN_COMM_HOST=10.0.7.201
SLURM_SCRIPT_CONTEXT=prolog_task
SLURM_PTY_WIN_COL=228
SLURM_NODELIST=hkn0536
SLURM_SRUN_COMM_PORT=37803
SLURM_STEP_ID=4294967290
SLURM_JOB_ACCOUNT=hk-project-p0023960
SLURM_PRIO_PROCESS=0
SLURM_NPROCS=4
SLURM_NNODES=1
SLURM_SUBMIT_HOST=hkn0425.localdomain
SLURM_JOB_ID=3335610
SLURM_NODEID=0
SLURM_STEP_NUM_NODES=1
SLURM_STEP_TASKS_PER_NODE=1
SLURM_MPI_TYPE=pmi2
SLURM_PMI2_STEP_NODES=hkn0425
SLURM_CONF=/etc/slurm/slurm.conf
SLURM_JOB_NAME=train_tokenizer_batch_size_scaling_1_node
SLURM_NTASKS_PER_NODE=4
SLURM_STEP_LAUNCHER_PORT=37803
SLURM_JOB_GID=502226
SLURM_JOB_NODELIST=hkn0536
GpuFreq=control_disabled
2025-07-10 20:19:56.421280: W external/xla/xla/service/gpu/autotuning/dot_search_space.cc:200] All configs were filtered out because none of them sufficiently match the hints. Maybe the hints set does not contain a good representative set of valid configs?Working around this by using the full hints set instead.
2025-07-10 20:19:57.648387: W external/xla/xla/service/gpu/autotuning/dot_search_space.cc:200] All configs were filtered out because none of them sufficiently match the hints. Maybe the hints set does not contain a good representative set of valid configs?Working around this by using the full hints set instead.
2025-07-10 20:20:01.780532: W external/xla/xla/service/gpu/autotuning/dot_search_space.cc:200] All configs were filtered out because none of them sufficiently match the hints. Maybe the hints set does not contain a good representative set of valid configs?Working around this by using the full hints set instead.
2025-07-10 20:20:02.975326: W external/xla/xla/service/gpu/autotuning/dot_search_space.cc:200] All configs were filtered out because none of them sufficiently match the hints. Maybe the hints set does not contain a good representative set of valid configs?Working around this by using the full hints set instead.
wandb: Currently logged in as: mihir-mahajan2002 (instant-uv) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
wandb: Tracking run with wandb version 0.19.11
wandb: Run data is saved locally in /hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/wandb/run-20250710_202011-xzgexf3t
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run dynamics-batch-size-scaling-1-node-3335610
wandb: ⭐️ View project at https://wandb.ai/instant-uv/jafar
wandb: 🚀 View run at https://wandb.ai/instant-uv/jafar/runs/xzgexf3t
WARNING:absl:Dropping 2 examples of 89394 examples (shard 4).
WARNING:absl:Dropping 2 examples of 89394 examples (shard 4).
WARNING:absl:Dropping 2 examples of 89394 examples (shard 4).
WARNING:absl:Dropping 2 examples of 89394 examples (shard 4).
Running on 4 devices.
Counting all components: ['tokenizer', 'lam', 'dynamics']
Parameter counts:
{'tokenizer': 37989616, 'lam': 19349472, 'dynamics': 29735424, 'total': 87074512}
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/train_dynamics.py", line 265, in <module>
    train_state = restore_genie_components(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/genie.py", line 296, in restore_genie_components
    restored_tokenizer = tokenizer_checkpoint_manager.restore(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1563, in restore
Running on 4 devices.
Counting all components: ['tokenizer', 'lam', 'dynamics']
Parameter counts:
{'tokenizer': 37989616, 'lam': 19349472, 'dynamics': 29735424, 'total': 87074512}
Traceback (most recent call last):
    raise FileNotFoundError(f'No steps found in {self.directory}.')
FileNotFoundError: No steps found in /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/train_tokenizer_batch_size_scaling_16_node/3321526/tokenizer_22000.
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/train_dynamics.py", line 265, in <module>
    train_state = restore_genie_components(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/genie.py", line 296, in restore_genie_components
    restored_tokenizer = tokenizer_checkpoint_manager.restore(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1563, in restore
    raise FileNotFoundError(f'No steps found in {self.directory}.')
FileNotFoundError: No steps found in /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/train_tokenizer_batch_size_scaling_16_node/3321526/tokenizer_22000.
Running on 4 devices.
Counting all components: ['tokenizer', 'lam', 'dynamics']
Parameter counts:
{'tokenizer': 37989616, 'lam': 19349472, 'dynamics': 29735424, 'total': 87074512}
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/train_dynamics.py", line 265, in <module>
    train_state = restore_genie_components(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/genie.py", line 296, in restore_genie_components
    restored_tokenizer = tokenizer_checkpoint_manager.restore(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1563, in restore
    raise FileNotFoundError(f'No steps found in {self.directory}.')
FileNotFoundError: No steps found in /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/train_tokenizer_batch_size_scaling_16_node/3321526/tokenizer_22000.
Running on 4 devices.
Counting all components: ['tokenizer', 'lam', 'dynamics']
Parameter counts:
{'tokenizer': 37989616, 'lam': 19349472, 'dynamics': 29735424, 'total': 87074512}
Traceback (most recent call last):
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/train_dynamics.py", line 265, in <module>
    train_state = restore_genie_components(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/genie.py", line 296, in restore_genie_components
    restored_tokenizer = tokenizer_checkpoint_manager.restore(
  File "/hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1563, in restore
    raise FileNotFoundError(f'No steps found in {self.directory}.')
FileNotFoundError: No steps found in /hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/train_tokenizer_batch_size_scaling_16_node/3321526/tokenizer_22000.
wandb: 
wandb: 🚀 View run dynamics-batch-size-scaling-1-node-3335610 at: https://wandb.ai/instant-uv/jafar/runs/xzgexf3t
wandb: Find logs at: ../../../../../hkfs/home/project/hk-project-p0023960/tum_cte0515/Projects/jafar_jobs/wandb/run-20250710_202011-xzgexf3t/logs
srun: error: hkn0536: tasks 1-3: Exited with exit code 1
srun: error: hkn0536: task 0: Exited with exit code 1

============================= JOB FEEDBACK =============================

Job ID: 3335610
Cluster: hk
User/Group: tum_cte0515/hk-project-p0023960
Account: hk-project-p0023960
State: FAILED (exit code 1)
Partition: accelerated
Nodes: 1
Cores per node: 24
Nodelist: hkn0536
CPU Utilized: 00:09:52
CPU Efficiency: 12.03% of 01:22:00 core-walltime
Job Wall-clock time: 00:03:25
Starttime: Thu Jul 10 20:18:36 2025
Endtime: Thu Jul 10 20:22:01 2025
Memory Utilized: 10.08 GB (estimated maximum)
Memory Efficiency: 0.00% of 0.00 MB (0.00 MB/node)
Energy Consumed: 115607 Joule / 32.1130555555556 Watthours
Average node power draw: 563.936585365854 Watt