Sequence int64 1 25.2k | Time int64 1 858M | File stringclasses 830 values | RangeOffset int64 0 2.21M | RangeLength int64 0 168k | Text stringlengths 1 4.7M ⌀ | Language stringclasses 20 values | Type stringclasses 9 values |
|---|---|---|---|---|---|---|---|
1 | 4 | sbatch_scripts/coinrun/train_tokenizer_coinrun.sh | 0 | 0 | module unload mpi/openmpi/5.0\nmodule unload devel/cuda/12.4\nsource .venv/bin/activate\n\n\n\nexport SLURM_NTASKS=1\n\n# ws_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared'\n# job_name=$SLURM_JOB_NAME\n# slurm_job_id=$SLURM_JOB_ID\n# data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/knoms_tfrecords_tmp'\n\n# CHECKPOINT_DIR=$ws_dir/checkpoints/$job_name_$slurm_job_id\n# mkdir -p $CHECKPOINT_DIR\n\n# # echo 'starting training'\n# # srun echo 'hello'\n\n# python train_tokenizer.py \\n# --ckpt_dir $CHECKPOINT_DIR \\n# --batch_size=1 \\n# --num_steps=300000\\n# --warmup_steps=10000 \\n# --log_checkpoint_interval=10000 \\n# --log \\n# --entity instant-uv \\n# --project jafar \\n# --data_dir $data_dir \n\n\nmodule unload mpi/openmpi/5.0\nmodule unload devel/cuda/12.4\nsource .venv/bin/activate\n\njob_name=$SLURM_JOB_NAME\nslurm_job_id=$SLURM_JOB_ID\n\nws_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared'\n\nCHECKPOINT_DIR=$ws_dir/data/checkpoints/$job_name_$slurm_job_id\nLOG_DIR=$ws_dir/logs/$job_name_$slurm_job_id\nmkdir -p $CHECKPOINT_DIR\nmkdir -p $LOG_DIR\n\ndata_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/coinrun_tfrecords'\n\nsrun python train_tokenizer.py \\n --ckpt_dir $CHECKPOINT_DIR \\n --log_checkpoint_interval=1000 \\n --image_height 64 \\n --image_width 64 \\n --log \\n --entity instant-uv \\n --data_dir $data_dir \\n --project jafar\n\n | shellscript | tab |
2 | 1,218 | extension-output-pdoom-org.crowd-code-#1-crowd-code | 0 | 0 | 11:35:33 PM [info] Activating crowd-code\n11:35:33 PM [info] Welcome back tum_ind3695. Your user-id is '507ab0ec0dfe0c18ad7778dd15e072f92367194c94623114de802c8ed9c52e20'. Happy coding!\n11:35:33 PM [info] Recording started\n | Log | tab |
3 | 3,296 | TERMINAL | 0 | 0 | /bin/python3 /hkfs/home/project/hk-project-pai00039/tum_ind3695/.cursor-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/printEnvVariablesToFile.py /hkfs/home/project/hk-project-pai00039/tum_ind3695/.cursor-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/deactivate/bash/envVars.txt | null | terminal_command |
4 | 3,349 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:35:36 /bin/python3 /hkfs/home/project/hk-project-pai00039/tum_ind3695/.cursor-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/printEnvVariablesToFile.py /hkfs/home/project/hk-project-pai00039/tum_ind3695/.cursor-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/deactivate/bash/envVars.txt;e85feef2-bbcf-448a-92fe-c2a0164336c0]633;C | null | terminal_output |
5 | 3,356 | TERMINAL | 0 | 0 | ]0;tum_ind3695@hkn1993:/hkfs/home/project/hk-project-pai00039/tum_ind3695/.cursor-server/extensions/ms-python.python-2025.6.1-linux-x64/python_files/deactivate/bash]633;D;0 | null | terminal_output |
6 | 76,883 | TERMINAL | 0 | 0 | null | null | terminal_focus |
7 | 78,950 | TERMINAL | 0 | 0 | bash | null | terminal_focus |
8 | 79,264 | TERMINAL | 0 | 0 | bash | null | terminal_focus |
9 | 80,655 | TERMINAL | 0 | 0 | ls | null | terminal_command |
10 | 80,675 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:36:53 ls;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;Cgenerate_dataset.py [0m[01;34m__pycache__[0m [01;34msample_results[0m train_dynamics.py train_tokenizer.py\r\ngenie.py README.md [01;34msandbox[0m train_dynamics_single_batch.py train_tokenizer_single_batch.py\r\nLICENSE requirements_franz.txt [01;34msbatch_scripts[0m train_lam.py [01;34mutils[0m\r\n[01;34mlogs[0m requirements.txt [01;34mshell_scripts[0m train_lam_single_batch.py [01;34mwandb[0m\r\n[01;34mmodels[0m sample.py single_batch.npy train_lam_tf_seeding.py\r\nnotes.md sample_resolution_batches.py [01;34mslurm[0m train_tokenizer_logging.py\r\n]0;tum_ind3695@hkn1993:~/projects/jafar]633;D;0 | null | terminal_output |
11 | 81,662 | TERMINAL | 0 | 0 | ls | null | terminal_command |
12 | 81,669 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:36:54 ls;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;Cgenerate_dataset.py [0m[01;34m__pycache__[0m [01;34msample_results[0m train_dynamics.py train_tokenizer.py\r\ngenie.py README.md [01;34msandbox[0m train_dynamics_single_batch.py train_tokenizer_single_batch.py\r\nLICENSE requirements_franz.txt [01;34msbatch_scripts[0m train_lam.py [01;34mutils[0m\r\n[01;34mlogs[0m requirements.txt [01;34mshell_scripts[0m train_lam_single_batch.py [01;34mwandb[0m\r\n[01;34mmodels[0m sample.py single_batch.npy train_lam_tf_seeding.py\r\nnotes.md sample_resolution_batches.py [01;34mslurm[0m train_tokenizer_logging.py\r\n]0;tum_ind3695@hkn1993:~/projects/jafar]633;D;0 | null | terminal_output |
13 | 85,480 | TERMINAL | 0 | 0 | git clone git@github.com:p-doom/slurm.git | null | terminal_command |
14 | 85,501 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:36:58 git clone git@github.com:p-doom/slurm.git;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;Cfatal: destination path 'slurm' already exists and is not an empty directory.\r\n]0;tum_ind3695@hkn1993:~/projects/jafar]633;D;128 | null | terminal_output |
15 | 89,822 | TERMINAL | 0 | 0 | cd slurm/ | null | terminal_command |
16 | 89,835 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:03 cd slurm/;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm]633;D;0 | null | terminal_output |
17 | 90,268 | TERMINAL | 0 | 0 | ls | null | terminal_command |
18 | 90,276 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:03 ls;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C[0m[01;34mdev[0m [01;34mjobs[0m [01;34mtemplates[0m\r\n]0;tum_ind3695@hkn1993:~/projects/jafar/slurm]633;D;0 | null | terminal_output |
19 | 93,023 | TERMINAL | 0 | 0 | cd .. | null | terminal_command |
20 | 96,726 | TERMINAL | 0 | 0 | mv slurm/ slurm_tmp | null | terminal_command |
21 | 96,752 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:09 mv slurm/ slurm_tmp;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar]633;D;0]633;P;Cwd=/home/hk-project-pai00039/tum_ind3695/projects/jafar | null | terminal_output |
22 | 100,198 | TERMINAL | 0 | 0 | git clone git@github.com:p-doom/slurm.git | null | terminal_command |
23 | 100,259 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:13 git clone git@github.com:p-doom/slurm.git;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;CCloning into 'slurm'...\r\n | null | terminal_output |
24 | 101,592 | TERMINAL | 0 | 0 | warning: You appear to have cloned an empty repository.\r\n | null | terminal_output |
25 | 101,653 | TERMINAL | 0 | 0 | ]0;tum_ind3695@hkn1993:~/projects/jafar]633;D;0]633;P;Cwd=/home/hk-project-pai00039/tum_ind3695/projects/jafar | null | terminal_output |
26 | 123,706 | TERMINAL | 0 | 0 | cd slurm | null | terminal_command |
27 | 123,710 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:36 cd slurm;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm]633;D;0 | null | terminal_output |
28 | 134,443 | TERMINAL | 0 | 0 | touch README.md | null | terminal_command |
29 | 134,457 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:37:47 touch README.md;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm]633;D;0]633;P;Cwd=/home/hk-project-pai00039/tum_ind3695/projects/jafar/slurm | null | terminal_output |
30 | 140,526 | slurm/README.md | 0 | 0 | null | markdown | tab |
31 | 141,038 | slurm/README.md | 0 | 0 | # slurm-launchpad\n\nThis repository contains Slurm job scripts and tooling for ML development on the HPC cluster. Shared by Franz, Mihir, and Alfred.\n\n## Structure\n\n- `jobs/` — Stable job scripts ready for production\n- `dev/` — Individual folders for testing & dev scripts\n- `common/` — Shared setup scripts (e.g., module loads)\n- `templates/` — (Optional) Templates for sbatch generation\n- `utils/` — Helpers for launching jobs or analyzing logs\n\n## Conventions\n\n- Logs: `%x_%j.out` format\n- Promote dev → jobs/ once stable\n- Use `common/` for shared SBATCH headers and setup\n | markdown | content |
32 | 141,052 | slurm/README.md | 0 | 0 | null | markdown | selection_command |
33 | 143,784 | slurm/README.md | 17 | 0 | null | markdown | selection_command |
34 | 144,128 | slurm/README.md | 16 | 1 | null | markdown | content |
35 | 144,290 | slurm/README.md | 15 | 1 | null | markdown | content |
36 | 144,449 | slurm/README.md | 14 | 1 | null | markdown | content |
37 | 144,594 | slurm/README.md | 13 | 1 | null | markdown | content |
38 | 144,744 | slurm/README.md | 12 | 1 | null | markdown | content |
39 | 144,883 | slurm/README.md | 11 | 1 | null | markdown | content |
40 | 145,032 | slurm/README.md | 10 | 1 | null | markdown | content |
41 | 146,253 | slurm/README.md | 9 | 1 | null | markdown | content |
42 | 146,384 | slurm/README.md | 8 | 1 | null | markdown | content |
43 | 146,540 | slurm/README.md | 7 | 1 | null | markdown | content |
44 | 147,072 | slurm/README.md | 7 | 0 | markdown | content | |
45 | 147,074 | slurm/README.md | 8 | 0 | null | markdown | selection_keyboard |
46 | 147,800 | slurm/README.md | 7 | 0 | null | markdown | selection_command |
47 | 147,980 | slurm/README.md | 9 | 0 | null | markdown | selection_command |
48 | 148,751 | slurm/README.md | 7 | 0 | null | markdown | selection_command |
49 | 151,881 | slurm/README.md | 9 | 0 | null | markdown | selection_command |
50 | 152,275 | slurm/README.md | 17 | 0 | null | markdown | selection_command |
51 | 152,523 | slurm/README.md | 140 | 0 | null | markdown | selection_command |
52 | 152,761 | slurm/README.md | 148 | 0 | null | markdown | selection_command |
53 | 200,642 | slurm/README.md | 567 | 0 | null | markdown | selection_mouse |
54 | 205,092 | TERMINAL | 0 | 0 | mkdir utils | null | terminal_command |
55 | 205,110 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:38:58 mkdir utils;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm]633;D;0 | null | terminal_output |
56 | 209,411 | TERMINAL | 0 | 0 | cd utils/ | null | terminal_command |
57 | 209,418 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:39:02 cd utils/;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm/utils]633;D;0]633;P;Cwd=/home/hk-project-pai00039/tum_ind3695/projects/jafar/slurm/utils | null | terminal_output |
58 | 222,068 | TERMINAL | 0 | 0 | touch init_slurm_repo.sh | null | terminal_command |
59 | 222,091 | TERMINAL | 0 | 0 | ]633;E;2025-06-25 23:39:15 touch init_slurm_repo.sh;2cc8e5b3-e23e-4b80-87ad-e16d22c022f8]633;C]0;tum_ind3695@hkn1993:~/projects/jafar/slurm/utils]633;D;0 | null | terminal_output |
60 | 224,062 | slurm/utils/init_slurm_repo.sh | 0 | 0 | null | shellscript | tab |
61 | 224,687 | slurm/utils/init_slurm_repo.sh | 0 | 0 | init_slurm_repo.sh | shellscript | content |
62 | 224,696 | slurm/utils/init_slurm_repo.sh | 17 | 0 | null | shellscript | selection_command |
63 | 228,841 | slurm/utils/init_slurm_repo.sh | 18 | 0 | \n | shellscript | content |
64 | 229,338 | slurm/utils/init_slurm_repo.sh | 19 | 0 | #!/bin/bash\n\n# Name of the repo (change if needed)\nREPO_NAME="slurm-launchpad"\n\n# Create the main structure\nmkdir -p $REPO_NAME/{jobs,common,templates,utils,logs}\nmkdir -p $REPO_NAME/dev/{franz,mihir,alfred}\n\n# Create README stubs\ncat > $REPO_NAME/README.md << 'EOF'\n# slurm-launchpad\n\nThis repository contains Slurm job scripts and tools for ML workflows on the HPC cluster.\n\n## Structure\n\n- `jobs/` — Stable, production-ready sbatch scripts\n- `dev/` — Individual folders for development or experimental jobs\n- `common/` — Shared setup code (env, sbatch headers)\n- `templates/` — Optional Jinja2 or shell templates for job generation\n- `utils/` — Helper scripts (e.g., run wrapper)\n- `logs/` — Optional log output directory\n\nTeam: Franz, Mihir, Alfred\nEOF\n\ncat > $REPO_NAME/dev/README.md << 'EOF'\n# dev/\n\nThis folder contains personal job scripts for development or debugging.\nEach team member has a separate subfolder.\n\nPromote useful scripts to `jobs/` after validation.\nEOF\n\ncat > $REPO_NAME/common/env_setup.sh << 'EOF'\n#!/bin/bash\n# Common environment setup for all jobs\n\nmodule load python/3.10\nsource ~/envs/ml/bin/activate\nEOF\nchmod +x $REPO_NAME/common/env_setup.sh\n\ncat > $REPO_NAME/common/defaults.sbatch.sh << 'EOF'\n#!/bin/bash\n# Common SBATCH directives (source this from your sbatch scripts)\n\n#SBATCH --ntasks=1\n#SBATCH --cpus-per-task=4\n#SBATCH --mem=16G\n#SBATCH --time=01:00:00\n#SBATCH --output=logs/%x_%j.out\nEOF\n\ncat > $REPO_NAME/utils/run_job.sh << 'EOF'\n#!/bin/bash\n# Run a job with a given sbatch file\n\nif [ -z "$1" ]; then\n echo "Usage: ./run_job.sh <sbatch_file>"\n exit 1\nfi\n\necho "Launching job: $1"\nsbatch "$1"\nEOF\nchmod +x $REPO_NAME/utils/run_job.sh\n\necho "Slurm repo '$REPO_NAME' created!"\n | shellscript | content |
65 | 229,343 | slurm/utils/init_slurm_repo.sh | 19 | 0 | null | shellscript | selection_command |
66 | 229,608 | slurm/utils/init_slurm_repo.sh | 0 | 0 | null | shellscript | selection_command |
67 | 229,959 | slurm/utils/init_slurm_repo.sh | 0 | 19 | null | shellscript | content |
68 | 230,205 | slurm/utils/init_slurm_repo.sh | 12 | 0 | null | shellscript | selection_command |
69 | 230,390 | slurm/utils/init_slurm_repo.sh | 13 | 0 | null | shellscript | selection_command |
70 | 230,510 | slurm/utils/init_slurm_repo.sh | 51 | 0 | null | shellscript | selection_command |
71 | 230,801 | slurm/utils/init_slurm_repo.sh | 60 | 0 | null | shellscript | selection_command |
72 | 231,127 | slurm/utils/init_slurm_repo.sh | 61 | 0 | null | shellscript | selection_command |
73 | 231,376 | slurm/utils/init_slurm_repo.sh | 62 | 0 | null | shellscript | selection_command |
74 | 231,400 | slurm/utils/init_slurm_repo.sh | 63 | 0 | null | shellscript | selection_command |
75 | 231,432 | slurm/utils/init_slurm_repo.sh | 64 | 0 | null | shellscript | selection_command |
76 | 231,463 | slurm/utils/init_slurm_repo.sh | 65 | 0 | null | shellscript | selection_command |
77 | 231,509 | slurm/utils/init_slurm_repo.sh | 66 | 0 | null | shellscript | selection_command |
78 | 231,687 | slurm/utils/init_slurm_repo.sh | 67 | 0 | null | shellscript | selection_command |
79 | 232,040 | slurm/utils/init_slurm_repo.sh | 67 | 1 | null | shellscript | content |
80 | 232,632 | slurm/utils/init_slurm_repo.sh | 67 | 9 | null | shellscript | content |
81 | 233,176 | slurm/utils/init_slurm_repo.sh | 69 | 0 | null | shellscript | selection_command |
82 | 233,390 | slurm/utils/init_slurm_repo.sh | 86 | 0 | null | shellscript | selection_command |
83 | 233,647 | slurm/utils/init_slurm_repo.sh | 114 | 0 | null | shellscript | selection_command |
84 | 233,667 | slurm/utils/init_slurm_repo.sh | 169 | 0 | null | shellscript | selection_command |
85 | 233,697 | slurm/utils/init_slurm_repo.sh | 198 | 0 | null | shellscript | selection_command |
86 | 233,731 | slurm/utils/init_slurm_repo.sh | 215 | 0 | null | shellscript | selection_command |
87 | 233,765 | slurm/utils/init_slurm_repo.sh | 237 | 0 | null | shellscript | selection_command |
88 | 233,797 | slurm/utils/init_slurm_repo.sh | 273 | 0 | null | shellscript | selection_command |
89 | 233,847 | slurm/utils/init_slurm_repo.sh | 275 | 0 | null | shellscript | selection_command |
90 | 233,877 | slurm/utils/init_slurm_repo.sh | 292 | 0 | null | shellscript | selection_command |
91 | 242,609 | slurm/utils/init_slurm_repo.sh | 366 | 0 | null | shellscript | selection_command |
92 | 242,855 | slurm/utils/init_slurm_repo.sh | 378 | 0 | null | shellscript | selection_command |
93 | 242,883 | slurm/utils/init_slurm_repo.sh | 380 | 0 | null | shellscript | selection_command |
94 | 242,911 | slurm/utils/init_slurm_repo.sh | 397 | 0 | null | shellscript | selection_command |
95 | 242,943 | slurm/utils/init_slurm_repo.sh | 449 | 0 | null | shellscript | selection_command |
96 | 242,977 | slurm/utils/init_slurm_repo.sh | 516 | 0 | null | shellscript | selection_command |
97 | 243,081 | slurm/utils/init_slurm_repo.sh | 570 | 0 | null | shellscript | selection_command |
98 | 243,083 | slurm/utils/init_slurm_repo.sh | 641 | 0 | null | shellscript | selection_command |
99 | 243,086 | slurm/utils/init_slurm_repo.sh | 689 | 0 | null | shellscript | selection_command |
100 | 243,114 | slurm/utils/init_slurm_repo.sh | 715 | 0 | null | shellscript | selection_command |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.