[tab] /fast/project/HFMI_SynergyUnit/jafar_ws/logs/franz/coinrun/lam/lam_coinrun_nan_investigation_100k_to_107k_20625.log (log)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --time=24:00:00
#SBATCH --cpus-per-task=5
#SBATCH --gres=gpu:4
#SBATCH --output=/fast/project/HFMI_SynergyUnit/jafar_ws/logs/franz/coinrun/lam/%x_%j.log
#SBATCH --error=/fast/project/HFMI_SynergyUnit/jafar_ws/logs/franz/coinrun/lam/%x_%j.log
#SBATCH --job-name=lam_coinrun_nan_investigation_100k_to_107k


# 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=/fast/project/HFMI_SynergyUnit/jafar_ws/data/coinrun/array_records

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID

tags="lam coinrun 38M nan_investigation"

CHECKPOINT_PATH="/fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt"
mkdir -p $CHECKPOINT_PATH

env | grep SLURM

srun python train_lam.py \
    --save_ckpt \
    --restore_ckpt \
    --wandb_id $SLURM_JOB_ID \
    --ckpt_dir $CHECKPOINT_PATH \
    --batch_size=48 \
    --image_height=64 \
    --image_width=64 \
    --max_lr=1e-4 \
    --log_image_interval=1000 \
    --log_checkpoint_interval=1000 \
    --num_steps=107885 \
    --log \
    --name="${job_name}_${slurm_job_id}" \
    --tags $tags \
    --entity instant-uv \
    --project jafar \
    --data_dir $array_records_dir

Note: the module "mpi/openmpi/5.0" cannot be unloaded because it was not
loaded.


Note: the module "devel/cuda/12.4" cannot be unloaded because it was not
loaded.

/var/spool/slurm/job20625/slurm_script: line 18: .venv/bin/activate: No such file or directory
SLURM_JOB_USER=franz.srambical
SLURM_TASKS_PER_NODE=4
SLURM_JOB_UID=961800067
SLURM_TASK_PID=2211645
SLURM_JOB_GPUS=0,1,2,3
SLURM_LOCALID=0
SLURM_SUBMIT_DIR=/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k
SLURMD_NODENAME=hai006
SLURM_JOB_START_TIME=1755587887
SLURM_CLUSTER_NAME=haicore
SLURM_JOB_END_TIME=1755674287
SLURM_CPUS_ON_NODE=20
SLURM_JOB_CPUS_PER_NODE=20
SLURM_GPUS_ON_NODE=4
SLURM_GTIDS=0
SLURM_JOB_PARTITION=standard
SLURM_TRES_PER_TASK=cpu=5
SLURM_OOM_KILL_STEP=0
SLURM_JOB_NUM_NODES=1
SLURM_JOBID=20625
SLURM_JOB_QOS=normal
SLURM_PROCID=0
SLURM_CPUS_PER_TASK=5
SLURM_NTASKS=4
SLURM_TOPOLOGY_ADDR=hai006
SLURM_TOPOLOGY_ADDR_PATTERN=node
SLURM_MEM_PER_CPU=4096
SLURM_NODELIST=hai006
SLURM_JOB_ACCOUNT=hfmi_synergyunit
SLURM_PRIO_PROCESS=0
SLURM_NPROCS=4
SLURM_NNODES=1
SLURM_SUBMIT_HOST=hai-login1.haicore.berlin
SLURM_JOB_ID=20625
SLURM_NODEID=0
SLURM_CONF=/etc/slurm/slurm.conf
SLURM_JOB_NAME=lam_coinrun_nan_investigation_100k_to_107k
SLURM_NTASKS_PER_NODE=4
SLURM_JOB_GID=961800067
SLURM_JOB_NODELIST=hai006
wandb: Currently logged in as: emergenz (p-doom) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
wandb: Tracking run with wandb version 0.21.0
wandb: Run data is saved locally in /fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/wandb/run-20250819_091828-20625
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run lam_coinrun_nan_investigation_100k_to_107k_20625
wandb: ⭐️ View project at https://wandb.ai/instant-uv/jafar
wandb: 🚀 View run at https://wandb.ai/instant-uv/jafar/runs/20625
Running on 4 devices.
Counting all components: ['action_in', 'action_up', 'decoder', 'encoder', 'patch_up', 'vq']
Parameter counts:
{'action_in': 768, 'action_up': 16896, 'decoder': 17474816, 'encoder': 17228832, 'patch_up': 393728, 'vq': 192, 'total': 35115232}
Running on 4 devices.
Counting all components: ['action_in', 'action_up', 'decoder', 'encoder', 'patch_up', 'vq']
Parameter counts:
{'action_in': 768, 'action_up': 16896, 'decoder': 17474816, 'encoder': 17228832, 'patch_up': 393728, 'vq': 192, 'total': 35115232}
Traceback (most recent call last):
  File "/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/train_lam.py", line 312, in <module>
    restored = checkpoint_manager.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1647, in restore
    restored = self._checkpointer.restore(restore_directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 562, in restore
    return super().restore(directory, *args, **kwargs)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 304, in restore
    restored = self._restore(directory, args=ckpt_args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 323, in _restore
    return self._handler.restore(directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/handlers/composite_checkpoint_handler.py", line 859, in restore
    restored[item_name] = handler.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/grain/_src/python/checkpoint_handlers.py", line 62, in restore
    raise ValueError(f"File {filename} does not exist.")
ValueError: File /fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt/100000/dataloader_state/process_1-of-4.json does not exist.
Traceback (most recent call last):
  File "/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/train_lam.py", line 312, in <module>
    restored = checkpoint_manager.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1647, in restore
    restored = self._checkpointer.restore(restore_directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 562, in restore
    return super().restore(directory, *args, **kwargs)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 304, in restore
    restored = self._restore(directory, args=ckpt_args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 323, in _restore
    return self._handler.restore(directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/handlers/composite_checkpoint_handler.py", line 859, in restore
    restored[item_name] = handler.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/grain/_src/python/checkpoint_handlers.py", line 62, in restore
    raise ValueError(f"File {filename} does not exist.")
ValueError: File /fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt/100000/dataloader_state/process_3-of-4.json does not exist.
Running on 4 devices.
Counting all components: ['action_in', 'action_up', 'decoder', 'encoder', 'patch_up', 'vq']
Parameter counts:
{'action_in': 768, 'action_up': 16896, 'decoder': 17474816, 'encoder': 17228832, 'patch_up': 393728, 'vq': 192, 'total': 35115232}
Traceback (most recent call last):
  File "/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/train_lam.py", line 312, in <module>
    restored = checkpoint_manager.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1647, in restore
    restored = self._checkpointer.restore(restore_directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 562, in restore
    return super().restore(directory, *args, **kwargs)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 304, in restore
    restored = self._restore(directory, args=ckpt_args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 323, in _restore
    return self._handler.restore(directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/handlers/composite_checkpoint_handler.py", line 859, in restore
    restored[item_name] = handler.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/grain/_src/python/checkpoint_handlers.py", line 62, in restore
    raise ValueError(f"File {filename} does not exist.")
ValueError: File /fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt/100000/dataloader_state/process_2-of-4.json does not exist.
Running on 4 devices.
Counting all components: ['action_in', 'action_up', 'decoder', 'encoder', 'patch_up', 'vq']
Parameter counts:
{'action_in': 768, 'action_up': 16896, 'decoder': 17474816, 'encoder': 17228832, 'patch_up': 393728, 'vq': 192, 'total': 35115232}
Traceback (most recent call last):
  File "/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/train_lam.py", line 312, in <module>
    restored = checkpoint_manager.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1647, in restore
    restored = self._checkpointer.restore(restore_directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 562, in restore
    return super().restore(directory, *args, **kwargs)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 304, in restore
    restored = self._restore(directory, args=ckpt_args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 323, in _restore
    return self._handler.restore(directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/handlers/composite_checkpoint_handler.py", line 859, in restore
    restored[item_name] = handler.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/grain/_src/python/checkpoint_handlers.py", line 62, in restore
    raise ValueError(f"File {filename} does not exist.")
ValueError: File /fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt/100000/dataloader_state/process_0-of-4.json does not exist.
Traceback (most recent call last):
  File "/fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/train_lam.py", line 312, in <module>
    restored = checkpoint_manager.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/checkpoint_manager.py", line 1647, in restore
    restored = self._checkpointer.restore(restore_directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/async_checkpointer.py", line 562, in restore
    return super().restore(directory, *args, **kwargs)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 304, in restore
    restored = self._restore(directory, args=ckpt_args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/checkpointers/checkpointer.py", line 323, in _restore
    return self._handler.restore(directory, args=args)
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/orbax/checkpoint/_src/handlers/composite_checkpoint_handler.py", line 859, in restore
    restored[item_name] = handler.restore(
  File "/fast/home/franz.srambical/jafar/.venv/lib/python3.10/site-packages/grain/_src/python/checkpoint_handlers.py", line 62, in restore
    raise ValueError(f"File {filename} does not exist.")
ValueError: File /fast/project/HFMI_SynergyUnit/jafar_ws/checkpoints/coinrun/lam/train_lam_coinrun_reproduction_20067/100000_ckpt/100000/dataloader_state/process_0-of-4.json does not exist.
wandb: 
wandb: 🚀 View run lam_coinrun_nan_investigation_100k_to_107k_20625 at: https://wandb.ai/instant-uv/jafar/runs/20625
wandb: Find logs at: ../../../../fast/home/franz.srambical/sbatch-runner/coinrun-lam-nan-investigation-to-107k/wandb/run-20250819_091828-20625/logs
srun: error: hai006: task 2: Exited with exit code 1
srun: error: hai006: tasks 0,3: Exited with exit code 1
srun: error: hai006: task 1: Exited with exit code 1