p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] experiments/tokenizer_dummy_distributed_checkpointing_test.sh (shellscript)
#!/usr/bin/env bash
module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv/bin/activate


data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/dummy'

XLA_FLAGS=--xla_gpu_autotune_level=0 srun python train_tokenizer.py \
    --batch_size 48 \
    --tmp_ckpt_dir /mnt/odfs/$SLURM_JOB_ID/stripe_default/tokenizer_dummy_distributed_checkpointing_test_tmp \
    --ckpt_dir $PWD/checkpoints/tokenizer_dummy_distributed_checkpointing_test \
    --log_checkpoint_interval 5 \
    --num_steps 300000 \
    --warmup_steps 10000 \
    --seed 0 \
    --min_lr=0.0000866 \
    --max_lr=0.0000866 \
    --data_dir $data_dir
[content] train_tokenizer.py (python)
        shutil.move(
                             os.path.join(args.tmp_ckpt_dir, f"tokenizer_{ts}_{step}"),
                             os.path.join(args.ckpt_dir, f"tokenizer_{ts}_{step}"),
                         )