jyliuAI commited on
Commit
79a20c7
·
verified ·
1 Parent(s): 18c66ef

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitignore +20 -0
  2. README.md +108 -0
  3. checkpoints/quarantine/20260802T040542Z/official/flm/lm1b/README.md +43 -0
  4. checkpoints/quarantine/20260802T040542Z/official/flm/lm1b/config.json +209 -0
  5. checkpoints/quarantine/20260802T040629Z/official/duo_dcd/owt/config.py +29 -0
  6. checkpoints/quarantine/20260802T040637Z/official/mdlm/owt/modeling_mdlm.py +450 -0
  7. checkpoints/quarantine/20260818T074500Z/official/langflow/owt/config.py +63 -0
  8. checkpoints/quarantine/20260820T072218Z/official/duo/owt/model.py +601 -0
  9. checkpoints/quarantine/20260820T072232Z/official/duo_dcd/owt/README.md +52 -0
  10. checkpoints/quarantine/20260820T072232Z/official/duo_dcd/owt/config.py +29 -0
  11. checkpoints/quarantine/20260820T072244Z/official/mdlm/owt/configuration_mdlm.py +31 -0
  12. checkpoints/quarantine/20260820T072312Z/official/mdlm_sdtt/owt/config.json +207 -0
  13. checkpoints/quarantine/20260820T073530Z/official/rdlm/lm1b/LM1B/config.yaml +75 -0
  14. checkpoints/quarantine/20260821T024719Z/official/fmlm/lm1b/README.md +45 -0
  15. checkpoints/quarantine/20260821T024719Z/official/fmlm/lm1b/config.json +221 -0
  16. checkpoints/quarantine/20260821T024800Z/official/duo/owt/README.md +53 -0
  17. checkpoints/quarantine/20260821T024800Z/official/duo/owt/model.py +601 -0
  18. checkpoints/quarantine/20260821T024817Z/official/mdlm/owt/README.md +67 -0
  19. checkpoints/quarantine/20260825T100201Z/official/langflow/owt/config.json +29 -0
  20. checkpoints/quarantine/20260825T100259Z/official/duo_dcd/owt/README.md +52 -0
  21. create_duo_mdlm.log +762 -0
  22. create_remaining_envs.log +0 -0
  23. create_sdtt_di4c_fix.log +276 -0
  24. flm_fmlm_debug_logs.txt +0 -0
  25. nohup.out +6 -0
  26. pyproject.toml +39 -0
  27. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/logs_di4c_train.txt +2 -0
  28. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/provenance.json +121 -0
  29. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/stdout.log +0 -0
  30. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/train_di4c.log +0 -0
  31. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/mdlm_di4c/lm1b/.hydra/hydra.yaml +203 -0
  32. results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/mdlm_di4c/lm1b/inputs/teacher_adapted.provenance.json +16 -0
  33. results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/inputs/teacher_adapted.provenance.json +16 -0
  34. results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/logs_di4c_train.txt +2 -0
  35. results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/stdout.log +0 -0
  36. results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/train_di4c.log +0 -0
  37. results/conditional/matrix/generation_candi_lm1b_1024_only.tsv +3 -0
  38. results/conditional/samples/owt/duo_dcd/steps_16/request.json +108 -0
  39. results/conditional/samples/owt/duo_dcd/steps_8/upstream_hydra/dlb_pinned_upstream_main.log +14 -0
  40. results/conditional/samples/owt/mdlm/steps_4/upstream_hydra/.hydra/hydra.yaml +178 -0
  41. results/conditional/samples/owt/mdlm_di4c/steps_2/request.json +141 -0
  42. results/conditional/samples/owt/mdlm_sdtt/steps_16/conversion_metadata.json +28 -0
  43. results/conditional/timing/lm1b/candi/steps_4/timing.json +1 -0
  44. results/conditional/timing/lm1b/flm/steps_2/timing.json +1 -0
  45. results/conditional/timing/lm1b/fmlm/steps_1/timing.json +1 -0
  46. results/conditional/timing/lm1b/langflow/steps_1/timing.json +1 -0
  47. results/conditional/timing/lm1b/langflow/steps_2/timing.json +1 -0
  48. results/conditional/timing/lm1b/mdlm/steps_1/timing.json +1 -0
  49. results/conditional/timing/lm1b/mdlm/steps_4/timing.json +1 -0
  50. results/conditional/timing/lm1b/mdlm_di4c/steps_16/timing.json +1 -0
.gitignore ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .DS_Store
2
+ .worktrees/
3
+ .venv/
4
+ .pytest_cache/
5
+ __pycache__/
6
+ *.py[cod]
7
+ upstreams/
8
+ data/manifests
9
+ data/raw/
10
+ data/processed/
11
+ data/training_cache/
12
+ checkpoints/
13
+ results/
14
+ work/
15
+ *.tar
16
+ *.tar.gz
17
+ *.tgz
18
+ *.zip
19
+ *.conda
20
+ *.env
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Diffusion Language Baselines
2
+
3
+ 这是一个面向 Linux GPU 服务器的可复现实验框架,用于比较连续、离散、混合扩散语言模型及其少步蒸馏版本。当前 Mac/worktree 只保存代码、锁文件、脚本和文档;数据、源码仓库快照、checkpoint、Conda 环境、训练和推理都必须在服务器执行。
4
+
5
+ ## 实验范围
6
+
7
+ - 多步生成:FLM、LangFlow、Duo、MDLM、CANDI、RDLM。
8
+ - 少步/单步蒸馏:FMLM、Duo+DCD、Duo+Di4C、MDLM+SDTT、MDLM+Di4C。
9
+ - LM1B 使用 `bert-base-uncased`、长度 128;OWT 使用 `gpt2`、长度 1024。
10
+ - 多步步数:多数 many-step 方法使用 `1 2 4 8 16 32 1024`;RDLM 只使用官方默认 `1000` 和本项目原保留的 `1024`;少步步数:`1 2 4 8 16 32`。
11
+ - 每个受支持配置生成 1,024 个样本,seed 固定为 42。
12
+ - 质量指标:GPT-2 Large Generative PPL、平均 unigram entropy、Self-BLEU;主延迟指标:独立 CUDA timing 的 seconds/sample。
13
+
14
+ 132 个受支持 generation cell 会写入 `results/matrix/generation.tsv`。RDLM/OWT 不会伪造任务,原因写入 `results/matrix/unsupported.tsv`。RDLM 的 `1/2/4/8/16/32` 不作为主 baseline:原始方法是约 1000 步 SDE 采样,低步数只是强行截断迭代次数,已在服务器诊断中表现出非规范 token 与异常低 PPL。
15
+
16
+ ## 服务器最短路径
17
+
18
+ 在 Linux GPU 服务器上执行:
19
+
20
+ ```bash
21
+ git clone <你的 GitHub 仓库地址> diffusion_baseline
22
+ cd diffusion_baseline
23
+ conda create -n dlb-bootstrap python=3.11 -y
24
+ conda activate dlb-bootstrap
25
+ export DLB_ROOT="$PWD"
26
+ export DLB_PYTHON="$CONDA_PREFIX/bin/python"
27
+ ```
28
+
29
+ 先准备一个能导入 `PyYAML`、`pydantic` 的 bootstrap Python;它只用于解析 manifest 和启动下载脚本:
30
+
31
+ ```bash
32
+ "$DLB_PYTHON" -m pip install -e ".[dev,data,checkpoints]"
33
+ ```
34
+
35
+ 同步本仓库代码到 Linux GPU 服务器后,严格按以下顺序执行:
36
+
37
+ ```bash
38
+ bash scripts/fetch_sources.sh
39
+ "$DLB_PYTHON" scripts/verify_sources.py --root "$DLB_ROOT"
40
+ "$DLB_PYTHON" scripts/fetch_data.py --root "$DLB_ROOT"
41
+ "$DLB_PYTHON" scripts/preprocess_data.py --root "$DLB_ROOT" --dataset all
42
+ "$DLB_PYTHON" scripts/verify_data.py --root "$DLB_ROOT" --dataset all
43
+ "$DLB_PYTHON" scripts/fetch_checkpoints.py --root "$DLB_ROOT" --all-public
44
+ "$DLB_PYTHON" scripts/verify_checkpoints.py --root "$DLB_ROOT"
45
+ bash envs/create_all.sh
46
+ bash envs/verify_all.sh
47
+ bash scripts/smoke_all.sh
48
+ bash scripts/run_all.sh
49
+ bash scripts/evaluate_all.sh
50
+ bash scripts/benchmark_all.sh
51
+ "$DLB_PYTHON" scripts/aggregate_results.py --root "$DLB_ROOT"
52
+ ```
53
+
54
+ 单机 4 卡服务器可使用本仓库的本地并行入口,默认绑定 GPU `0,1,2,3`:
55
+
56
+ ```bash
57
+ export DLB_GPUS=0,1,2,3
58
+ export DLB_MAX_JOBS=4
59
+ bash scripts/smoke_4gpu.sh
60
+ bash scripts/run_4gpu.sh
61
+ bash scripts/evaluate_4gpu.sh
62
+ bash scripts/benchmark_4gpu.sh
63
+ "$DLB_PYTHON" scripts/aggregate_results.py --root "$DLB_ROOT"
64
+ ```
65
+
66
+ 这条路径仍要求先补齐 `reference_reproduction` checkpoint。更多说明见
67
+ [4-GPU 本地并行运行](docs/09_four_gpu_local.md)。
68
+
69
+ `smoke_all.sh` 使用独立的 `results/smoke/`,不会被正式汇总接受。若只需先验证一个方法,可运行:
70
+
71
+ ```bash
72
+ bash scripts/run_one.sh --model flm --dataset lm1b --steps 1 \
73
+ --num-samples 1 --seed 42
74
+ ```
75
+
76
+ 严格汇总失败时,不要删除失败目录;先查看 `results/summary/failures.csv`,修复后重跑对应阶段。需要先查看当前可用结果时:
77
+
78
+ ```bash
79
+ "$DLB_PYTHON" scripts/aggregate_results.py --root "$DLB_ROOT" --partial
80
+ ```
81
+
82
+ `--partial` 只用于诊断,不是论文主结果。
83
+
84
+ ## 文档索引
85
+
86
+ - [源码与可用性](docs/01_sources_and_availability.md)
87
+ - [数据下载与预处理](docs/02_datasets.md)
88
+ - [Conda 环境](docs/03_environments.md)
89
+ - [Checkpoint 下载与校验](docs/04_checkpoints.md)
90
+ - [训练与蒸馏](docs/05_training.md)
91
+ - [生成、评测与 timing](docs/06_generation_and_evaluation.md)
92
+ - [Slurm](docs/07_slurm.md)
93
+ - [故障排查](docs/08_troubleshooting.md)
94
+ - [4-GPU 本地并行运行](docs/09_four_gpu_local.md)
95
+ - [实验矩阵](docs/EXPERIMENT_MATRIX.md)
96
+ - [ELF:OWT、前缀续写、WMT14/XSum 与服务器 timing 方案](docs/10_elf_server_runbook.md)(独立入口;先用公开权重建立基线)
97
+ - [ELF:GPU 0、1 自动核验并补齐质量实验](docs/15_elf_gpu01_queue.md)(最新执行入口;复用已完成配置)
98
+ - [ELF:32格质量结果归档与GPU 0、1正式timing](docs/16_elf_results_and_timing.md)(质量已完成;当前执行入口)
99
+ - [ELF:条件4步/8步短输出补评分](docs/19_elf_short_response_rescore.md)(只评分两格,保留全部样本,另存最多64-token结果)
100
+ - [ELF:OWT公开权重,对齐旧baseline评分与timing](docs/18_elf_owt_public_baseline.md)(当前执行入口;不训练,复用样本,条件2048条重评分)
101
+ - [ELF:OWT 64-token prompt、512-token response](docs/20_elf_owt_c64r512.md)(独立C64-R512实验;重新生成2048条样本)
102
+ - [ELF:LM1B/OWT四类任务严格对齐方案](docs/17_elf_matched_baseline_plan.md)(历史设计,已停止执行)
103
+ - [ELF:DS210029 数据就绪后的单张 H200 逐步执行清单](docs/11_elf_h200_next_steps.md)
104
+ - [ELF:正式条件实验空输入故障、数据诊断与恢复](docs/12_elf_condition_recovery.md)
105
+ - [ELF:条件输入 EOS 修复、validation/test 与 timing 恢复](docs/13_elf_eos_fix.md)
106
+ - [ELF:9 月 13 日结果总览与剩余质量实验(timing 暂缓)](docs/14_elf_quality_remaining.md)
107
+
108
+ 所有可复现输入均在 `artifacts/` 和 `configs/` 中锁定。不要把 `data/`、`checkpoints/`、`upstreams/`、`results/` 或 Conda archive 提交到 Git。
checkpoints/quarantine/20260802T040542Z/official/flm/lm1b/README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - model_hub_mixin
4
+ - pytorch_model_hub_mixin
5
+ language:
6
+ - en
7
+ license: apache-2.0
8
+ ---
9
+
10
+ ## FLM (LM1B)
11
+
12
+ For more information and implementation details, visit our github repository: [FLM](https://github.com/david3684/flm).
13
+
14
+ ## Model Details
15
+
16
+ The model has a context length of 128, trained for 1M steps on the One Billion Words (LM1B) dataset.
17
+
18
+ For more details, please see our paper:
19
+ - [arXiv:2602.16813](https://arxiv.org/abs/2602.16813)
20
+ - [Huggingface Papers](https://huggingface.co/papers/2602.16813)
21
+
22
+ ## Citation
23
+
24
+ Please cite our work using the bibtex below:
25
+
26
+ **BibTeX:**
27
+
28
+
29
+ ```bibtex
30
+ @article{lee2026flow,
31
+ title={Flow Map Language Models: One-step Language Modeling via Continuous Denoising},
32
+ author={Chanhyuk Lee and Jaehoon Yoo and Manan Agarwal
33
+ and Sheel Shah and Jerry Huang
34
+ and Aditi Raghunathan and Seunghoon Hong
35
+ and Nicholas M. Boffi and Jinwoo Kim},
36
+ journal={arXiv preprint arXiv:2602.16813},
37
+ year={2026},
38
+ }
39
+ ```
40
+
41
+ ## Model Card Contact
42
+
43
+ Chanhyuk Lee (chanhyuk-lee@kaist.ac.kr)
checkpoints/quarantine/20260802T040542Z/official/flm/lm1b/config.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "algo": {
4
+ "T": 0,
5
+ "backbone": "dit",
6
+ "causal_attention": false,
7
+ "curriculum_end": 1000000,
8
+ "curriculum_start": 0,
9
+ "double_temb": false,
10
+ "flow_loss_type": "ce",
11
+ "flow_ratio": 0.75,
12
+ "gumbel_tau_log10_end": -0.0,
13
+ "gumbel_tau_log10_start": -0.0,
14
+ "ignore_bos": false,
15
+ "jvp_api": "autograd",
16
+ "loss_scale": "none",
17
+ "n_separated_blocks": -1,
18
+ "name": "dos",
19
+ "parameterization": "mean",
20
+ "pred_log_interval": 2000,
21
+ "sigma_min": 0.0001,
22
+ "subs_masking": false,
23
+ "t_max": 1.0,
24
+ "t_min": 0.0,
25
+ "time_condition": "alpha_t",
26
+ "time_conditioning": true,
27
+ "use_curriculum": true,
28
+ "use_discrete_schedule": true
29
+ },
30
+ "callbacks": {
31
+ "checkpoint_every_n_steps": {
32
+ "_target_": "lightning.pytorch.callbacks.ModelCheckpoint",
33
+ "auto_insert_metric_name": false,
34
+ "dirpath": "/home/david3684/projects/flm/hf_upload/checkpoints",
35
+ "every_n_train_steps": 50000,
36
+ "save_last": false,
37
+ "save_top_k": -1,
38
+ "verbose": true
39
+ },
40
+ "checkpoint_monitor": {
41
+ "_target_": "lightning.pytorch.callbacks.ModelCheckpoint",
42
+ "auto_insert_metric_name": false,
43
+ "dirpath": "/home/david3684/projects/flm/hf_upload/checkpoints",
44
+ "filename": "best_nll",
45
+ "mode": "min",
46
+ "monitor": "val/nll",
47
+ "save_last": true,
48
+ "save_top_k": 1,
49
+ "verbose": true
50
+ },
51
+ "learning_rate_monitor": {
52
+ "_target_": "lightning.pytorch.callbacks.LearningRateMonitor",
53
+ "logging_interval": "step"
54
+ }
55
+ },
56
+ "checkpointing": {
57
+ "resume_ckpt_path": "/home/work/RADAR/workspace/KAIST/discrete-mean-flow/text/outputs/lm1b/2026.01.05/154016/checkpoints/47-650000.ckpt",
58
+ "resume_from_ckpt": true,
59
+ "save_dir": "/home/david3684/projects/flm/hf_upload"
60
+ },
61
+ "data": {
62
+ "cache_dir": "/home/work/RADAR/workspace/KAIST/cdBDD/datasets/lm1b",
63
+ "insert_train_eos": true,
64
+ "insert_valid_eos": true,
65
+ "streaming": false,
66
+ "tokenizer_name_or_path": "bert-base-uncased",
67
+ "train": "lm1b",
68
+ "valid": "lm1b",
69
+ "wrap": true
70
+ },
71
+ "eval": {
72
+ "checkpoint_path": "",
73
+ "compute_generative_perplexity": true,
74
+ "compute_perplexity_on_sanity": false,
75
+ "disable_ema": false,
76
+ "gen_ppl_eval_model_name_or_path": "gpt2-large",
77
+ "generate_samples": true,
78
+ "generated_samples_path": "/home/david3684/projects/flm/hf_upload/samples.json",
79
+ "perplexity_batch_size": 8
80
+ },
81
+ "is_di4c": false,
82
+ "is_di4c_deterministic": true,
83
+ "loader": {
84
+ "batch_size": 128,
85
+ "eval_batch_size": 128,
86
+ "eval_global_batch_size": 512,
87
+ "global_batch_size": 512,
88
+ "num_workers": 192,
89
+ "pin_memory": true
90
+ },
91
+ "lr_scheduler": {
92
+ "_target_": "transformers.get_constant_schedule_with_warmup",
93
+ "num_warmup_steps": 2500
94
+ },
95
+ "mode": "train",
96
+ "model": {
97
+ "cond_dim": 128,
98
+ "dropout": 0.1,
99
+ "hidden_size": 768,
100
+ "length": 128,
101
+ "n_blocks": 12,
102
+ "n_heads": 12,
103
+ "name": "small",
104
+ "scale_by_sigma": true,
105
+ "tie_word_embeddings": false,
106
+ "type": "ddit",
107
+ "vocab_lookup": true
108
+ },
109
+ "noise": {
110
+ "denoiser_latent_conditioning": -1,
111
+ "eps": 0,
112
+ "freeze_decoder": false,
113
+ "freeze_encoder": false,
114
+ "parameterization": "log-linear",
115
+ "type": "log-linear"
116
+ },
117
+ "optim": {
118
+ "beta1": 0.9,
119
+ "beta2": 0.999,
120
+ "eps": 1e-08,
121
+ "ln_tune": "none",
122
+ "lr": 0.0003,
123
+ "use_muon": false,
124
+ "weight_decay": 0
125
+ },
126
+ "prior": {
127
+ "latent_height": 0,
128
+ "latent_width": 0,
129
+ "type": "none"
130
+ },
131
+ "sampling": {
132
+ "argmax_correction": false,
133
+ "hard_start": false,
134
+ "noise_removal": "meanflow",
135
+ "noise_removal_list": [
136
+ "uniform",
137
+ "uniform_alpha"
138
+ ],
139
+ "num_reflow_samples": 50000,
140
+ "num_sample_batches": 1,
141
+ "num_sample_log": 2,
142
+ "num_strides": 1,
143
+ "p_nucleus": 1.0,
144
+ "predictor": "ancestral",
145
+ "semi_ar": false,
146
+ "solver": "euler",
147
+ "steps": [
148
+ 1024
149
+ ],
150
+ "stride_length": 1,
151
+ "tau_log10": 0.0,
152
+ "temperature": 1.0,
153
+ "use_float64": true
154
+ },
155
+ "seed": 1,
156
+ "strategy": {
157
+ "_target_": "lightning.pytorch.strategies.DDPStrategy",
158
+ "find_unused_parameters": true
159
+ },
160
+ "trainer": {
161
+ "_target_": "lightning.Trainer",
162
+ "accelerator": "cuda",
163
+ "accumulate_grad_batches": 1,
164
+ "devices": 8,
165
+ "gradient_clip_val": 1.0,
166
+ "limit_train_batches": 1.0,
167
+ "limit_val_batches": 1.0,
168
+ "log_every_n_steps": 100,
169
+ "max_steps": 1000000,
170
+ "num_nodes": 1,
171
+ "num_sanity_val_steps": 2,
172
+ "precision": "bf16",
173
+ "val_check_interval": 10000
174
+ },
175
+ "training": {
176
+ "antithetic_sampling": true,
177
+ "change_of_variables": false,
178
+ "double_ema": 0.0,
179
+ "ema": 0.9999,
180
+ "finetune_path": "",
181
+ "importance_sampling": false,
182
+ "load_ema": false,
183
+ "loss_precision": "bf16",
184
+ "loss_type": "flow",
185
+ "loss_weighting": false,
186
+ "not_sampling_t": false,
187
+ "pred_type": "x0",
188
+ "sampling_eps": 0.001,
189
+ "t_curriculum_max": 1.0,
190
+ "t_curriculum_min": 0.0,
191
+ "t_curriculum_steps": 100000,
192
+ "torch_compile_mode": "default",
193
+ "use_torch_compile": true
194
+ },
195
+ "wandb": {
196
+ "group": null,
197
+ "id": "fc867e70",
198
+ "job_type": null,
199
+ "name": "lm1b_full_flow_no_input_softmax_no_loss_scale_ce_loss_fc867e70",
200
+ "notes": "DOS",
201
+ "project": "lm1b_full",
202
+ "tags": [
203
+ "lm1b",
204
+ "dos"
205
+ ]
206
+ }
207
+ },
208
+ "vocab_size": 30522
209
+ }
checkpoints/quarantine/20260802T040629Z/official/duo_dcd/owt/config.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import transformers
2
+
3
+
4
+ class DUOConfig(transformers.PretrainedConfig):
5
+ """Hugging Face configuration class for DUO."""
6
+ model_type = 'DUO'
7
+
8
+ def __init__(
9
+ self,
10
+ vocab_size: int = 50258,
11
+ model_length: int = 1024,
12
+ causal: bool = False,
13
+ hidden_dim: int = 768,
14
+ cond_dim: int = 129,
15
+ n_blocks: int = 12,
16
+ n_heads: int = 12,
17
+ dropout: float = 0.1,
18
+ var_min: bool = True,
19
+ ** kwargs):
20
+ super().__init__(**kwargs)
21
+ self.causal = causal
22
+ self.vocab_size = vocab_size
23
+ self.model_length = model_length
24
+ self.hidden_dim = hidden_dim
25
+ self.cond_dim = cond_dim
26
+ self.n_blocks = n_blocks
27
+ self.n_heads = n_heads
28
+ self.dropout = dropout
29
+ self.var_min = var_min
checkpoints/quarantine/20260802T040637Z/official/mdlm/owt/modeling_mdlm.py ADDED
@@ -0,0 +1,450 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """MDLM model for Hugging Face.
2
+
3
+ """
4
+ import itertools
5
+ import math
6
+ import typing
7
+
8
+ import flash_attn
9
+ import flash_attn.layers.rotary
10
+ import torch
11
+ import torch.nn as nn
12
+ import torch.nn.functional as F
13
+ import transformers
14
+ from einops import rearrange
15
+ from transformers import modeling_outputs
16
+
17
+ from .configuration_mdlm import MDLMConfig
18
+
19
+ # Flags required to enable jit fusion kernels
20
+ torch._C._jit_set_profiling_mode(False)
21
+ torch._C._jit_set_profiling_executor(False)
22
+ torch._C._jit_override_can_fuse_on_cpu(True)
23
+ torch._C._jit_override_can_fuse_on_gpu(True)
24
+
25
+
26
+ def bias_dropout_add_scale(
27
+ x: torch.Tensor,
28
+ bias: typing.Optional[torch.Tensor],
29
+ scale: torch.Tensor,
30
+ residual: typing.Optional[torch.Tensor],
31
+ prob: float,
32
+ training: bool) -> torch.Tensor:
33
+ if bias is not None:
34
+ out = scale * F.dropout(x + bias, p=prob,
35
+ training=training)
36
+ else:
37
+ out = scale * F.dropout(x, p=prob, training=training)
38
+
39
+ if residual is not None:
40
+ out = residual + out
41
+ return out
42
+
43
+
44
+ def get_bias_dropout_add_scale(training):
45
+ def _bias_dropout_add(x, bias, scale, residual, prob):
46
+ return bias_dropout_add_scale(
47
+ x, bias, scale, residual, prob, training)
48
+
49
+ return _bias_dropout_add
50
+
51
+
52
+ # function overload
53
+ def modulate(x: torch.Tensor,
54
+ shift: torch.Tensor,
55
+ scale: torch.Tensor) -> torch.Tensor:
56
+ return x * (1 + scale) + shift
57
+
58
+
59
+ @torch.jit.script
60
+ def bias_dropout_add_scale_fused_train(
61
+ x: torch.Tensor,
62
+ bias: typing.Optional[torch.Tensor],
63
+ scale: torch.Tensor,
64
+ residual: typing.Optional[torch.Tensor],
65
+ prob: float) -> torch.Tensor:
66
+ return bias_dropout_add_scale(
67
+ x, bias, scale, residual, prob, True)
68
+
69
+
70
+ @torch.jit.script
71
+ def bias_dropout_add_scale_fused_inference(
72
+ x: torch.Tensor,
73
+ bias: typing.Optional[torch.Tensor],
74
+ scale: torch.Tensor,
75
+ residual: typing.Optional[torch.Tensor],
76
+ prob: float) -> torch.Tensor:
77
+ return bias_dropout_add_scale(
78
+ x, bias, scale, residual, prob, False)
79
+
80
+
81
+ @torch.jit.script
82
+ def modulate_fused(x: torch.Tensor,
83
+ shift: torch.Tensor,
84
+ scale: torch.Tensor) -> torch.Tensor:
85
+ return modulate(x, shift, scale)
86
+
87
+
88
+ class Rotary(torch.nn.Module):
89
+ def __init__(self, dim, base=10_000):
90
+ super().__init__()
91
+ inv_freq = 1.0 / (
92
+ base ** (torch.arange(0, dim, 2).float() / dim))
93
+ self.register_buffer('inv_freq', inv_freq)
94
+ self.seq_len_cached = None
95
+ self.cos_cached = None
96
+ self.sin_cached = None
97
+
98
+ def forward(self, x, seq_dim=1):
99
+ seq_len = x.shape[seq_dim]
100
+ if seq_len != self.seq_len_cached:
101
+ self.seq_len_cached = seq_len
102
+ t = torch.arange(x.shape[seq_dim],
103
+ device=x.device).type_as(
104
+ self.inv_freq)
105
+ freqs = torch.einsum("i,j->ij", t,
106
+ self.inv_freq.clone())
107
+ emb = torch.cat((freqs, freqs), dim=-1).to(x.device)
108
+ # dims are: batch, seq_len, qkv, head, dim
109
+ self.cos_cached = emb.cos()[None, :, None, None,
110
+ :].repeat(1, 1, 3, 1, 1)
111
+ self.sin_cached = emb.sin()[None, :, None, None,
112
+ :].repeat(1, 1, 3, 1, 1)
113
+ # This makes the transformation on v an identity.
114
+ self.cos_cached[:, :, 2, :, :].fill_(1.)
115
+ self.sin_cached[:, :, 2, :, :].fill_(0.)
116
+
117
+ return self.cos_cached, self.sin_cached
118
+
119
+
120
+ def rotate_half(x):
121
+ x1, x2 = x[..., : x.shape[-1] // 2], x[...,
122
+ x.shape[-1] // 2:]
123
+ return torch.cat((-x2, x1), dim=-1)
124
+
125
+
126
+ def apply_rotary_pos_emb(qkv, cos, sin):
127
+ cos = cos[0, :, 0, 0, :cos.shape[-1] // 2]
128
+ sin = sin[0, :, 0, 0, :sin.shape[-1] // 2]
129
+ return flash_attn.layers.rotary.apply_rotary_emb_qkv_(qkv,
130
+ cos,
131
+ sin)
132
+ # function overload
133
+ def modulate(x, shift, scale):
134
+ return x * (1 + scale.unsqueeze(1)) + shift.unsqueeze(1)
135
+
136
+
137
+ ############################################################
138
+ # Layers #
139
+ ############################################################
140
+ class LayerNorm(nn.Module):
141
+ def __init__(self, dim):
142
+ super().__init__()
143
+ self.weight = nn.Parameter(torch.ones([dim]))
144
+ self.dim = dim
145
+
146
+ def forward(self, x):
147
+ with torch.cuda.amp.autocast(enabled=False):
148
+ x = F.layer_norm(x.float(), [self.dim])
149
+ return x * self.weight[None, None, :]
150
+
151
+
152
+ def residual_linear(x, W, x_skip, residual_scale):
153
+ """x_skip + residual_scale * W @ x"""
154
+ dim_out, dim_in = W.shape[0], W.shape[1]
155
+ return torch.addmm(
156
+ x_skip.view(-1, dim_out),
157
+ x.view(-1, dim_in),
158
+ W.T,
159
+ alpha=residual_scale).view(*x.shape[:-1], dim_out)
160
+
161
+
162
+ ############################################################
163
+ # Embedding Layers for Timesteps and Class Labels #
164
+ ############################################################
165
+ class TimestepEmbedder(nn.Module):
166
+ """
167
+ Embeds scalar timesteps into vector representations.
168
+ """
169
+
170
+ def __init__(self, hidden_size,
171
+ frequency_embedding_size=256):
172
+ super().__init__()
173
+ self.mlp = nn.Sequential(
174
+ nn.Linear(frequency_embedding_size, hidden_size,
175
+ bias=True),
176
+ nn.SiLU(),
177
+ nn.Linear(hidden_size, hidden_size, bias=True))
178
+ self.frequency_embedding_size = frequency_embedding_size
179
+
180
+ @staticmethod
181
+ def timestep_embedding(t, dim, max_period=10000):
182
+ """
183
+ Create sinusoidal timestep embeddings.
184
+ :param t: a 1-D Tensor of N indices, one per batch
185
+ element. These may be fractional.
186
+ :param dim: the dimension of the output.
187
+ :param max_period: controls the minimum frequency of the
188
+ embeddings.
189
+ :return: an (N, D) Tensor of positional embeddings.
190
+ """
191
+ # https://github.com/openai/glide-text2im/blob/main/glide_text2im/nn.py
192
+ half = dim // 2
193
+ freqs = torch.exp(
194
+ - math.log(max_period)
195
+ * torch.arange(start=0, end=half, dtype=torch.float32)
196
+ / half).to(device=t.device)
197
+ args = t[:, None].float() * freqs[None]
198
+ embedding = torch.cat(
199
+ [torch.cos(args), torch.sin(args)], dim=-1)
200
+ if dim % 2:
201
+ embedding = torch.cat(
202
+ [embedding,
203
+ torch.zeros_like(embedding[:, :1])], dim=-1)
204
+ return embedding
205
+
206
+ def forward(self, t):
207
+ t_freq = self.timestep_embedding(t,
208
+ self.frequency_embedding_size)
209
+ t_emb = self.mlp(t_freq)
210
+ return t_emb
211
+
212
+
213
+ class LabelEmbedder(nn.Module):
214
+ """Embeds class labels into vector representations.
215
+
216
+ Also handles label dropout for classifier-free guidance.
217
+ """
218
+
219
+ def __init__(self, num_classes, cond_size):
220
+ super().__init__()
221
+ self.embedding_table = nn.Embedding(num_classes + 1,
222
+ cond_size)
223
+ self.num_classes = num_classes
224
+
225
+ # TODO think of initializing with 0.02 std deviation like in original DiT paper
226
+
227
+ def forward(self, labels):
228
+ embeddings = self.embedding_table(labels)
229
+ return embeddings
230
+
231
+
232
+ ############################################################
233
+ # Core Model #
234
+ ############################################################
235
+
236
+
237
+ class DDiTBlock(nn.Module):
238
+ def __init__(self, dim, n_heads, cond_dim, mlp_ratio=4,
239
+ dropout=0.1):
240
+ super().__init__()
241
+ self.n_heads = n_heads
242
+
243
+ self.norm1 = LayerNorm(dim)
244
+ self.attn_qkv = nn.Linear(dim, 3 * dim, bias=False)
245
+ self.attn_out = nn.Linear(dim, dim, bias=False)
246
+ self.dropout1 = nn.Dropout(dropout)
247
+
248
+ self.norm2 = LayerNorm(dim)
249
+ self.mlp = nn.Sequential(
250
+ nn.Linear(dim, mlp_ratio * dim, bias=True),
251
+ nn.GELU(approximate='tanh'),
252
+ nn.Linear(mlp_ratio * dim, dim, bias=True))
253
+ self.dropout2 = nn.Dropout(dropout)
254
+ self.dropout = dropout
255
+
256
+ self.adaLN_modulation = nn.Linear(cond_dim, 6 * dim,
257
+ bias=True)
258
+ self.adaLN_modulation.weight.data.zero_()
259
+ self.adaLN_modulation.bias.data.zero_()
260
+
261
+ def _get_bias_dropout_scale(self):
262
+ if self.training:
263
+ return bias_dropout_add_scale_fused_train
264
+ else:
265
+ return bias_dropout_add_scale_fused_inference
266
+
267
+ def forward(self, x, rotary_cos_sin, c, seqlens=None):
268
+ batch_size, seq_len = x.shape[0], x.shape[1]
269
+
270
+ bias_dropout_scale_fn = self._get_bias_dropout_scale()
271
+
272
+ (shift_msa, scale_msa, gate_msa, shift_mlp,
273
+ scale_mlp, gate_mlp) = self.adaLN_modulation(c)[:,
274
+ None].chunk(6, dim=2)
275
+
276
+ # attention operation
277
+ x_skip = x
278
+ x = modulate_fused(self.norm1(x), shift_msa, scale_msa)
279
+
280
+ qkv = self.attn_qkv(x)
281
+ qkv = rearrange(qkv,
282
+ 'b s (three h d) -> b s three h d',
283
+ three=3,
284
+ h=self.n_heads)
285
+ with torch.cuda.amp.autocast(enabled=False):
286
+ cos, sin = rotary_cos_sin
287
+ qkv = apply_rotary_pos_emb(
288
+ qkv, cos.to(qkv.dtype), sin.to(qkv.dtype))
289
+ qkv = rearrange(qkv, 'b s ... -> (b s) ...')
290
+ if seqlens is None:
291
+ cu_seqlens = torch.arange(
292
+ 0, (batch_size + 1) * seq_len, step=seq_len,
293
+ dtype=torch.int32, device=qkv.device)
294
+ else:
295
+ cu_seqlens = seqlens.cumsum(-1)
296
+ x = flash_attn.flash_attn_interface.flash_attn_varlen_qkvpacked_func(
297
+ qkv, cu_seqlens, seq_len, 0., causal=False)
298
+
299
+ x = rearrange(x, '(b s) h d -> b s (h d)', b=batch_size)
300
+
301
+ x = bias_dropout_scale_fn(self.attn_out(x),
302
+ None,
303
+ gate_msa,
304
+ x_skip,
305
+ self.dropout)
306
+
307
+ # mlp operation
308
+ x = bias_dropout_scale_fn(
309
+ self.mlp(modulate_fused(
310
+ self.norm2(x), shift_mlp, scale_mlp)),
311
+ None, gate_mlp, x, self.dropout)
312
+ return x
313
+
314
+
315
+ class EmbeddingLayer(nn.Module):
316
+ def __init__(self, dim, vocab_dim):
317
+ super().__init__()
318
+ self.embedding = nn.Parameter(
319
+ torch.empty((vocab_dim, dim)))
320
+ torch.nn.init.kaiming_uniform_(self.embedding,
321
+ a=math.sqrt(5))
322
+
323
+ def forward(self, x):
324
+ return self.embedding[x]
325
+
326
+
327
+ class DDitFinalLayer(nn.Module):
328
+ def __init__(self, hidden_size, out_channels, cond_dim):
329
+ super().__init__()
330
+ self.norm_final = LayerNorm(hidden_size)
331
+ self.linear = nn.Linear(hidden_size, out_channels)
332
+ self.linear.weight.data.zero_()
333
+ self.linear.bias.data.zero_()
334
+
335
+ self.adaLN_modulation = nn.Linear(cond_dim,
336
+ 2 * hidden_size,
337
+ bias=True)
338
+ self.adaLN_modulation.weight.data.zero_()
339
+ self.adaLN_modulation.bias.data.zero_()
340
+
341
+ def forward(self, x, c):
342
+ shift, scale = self.adaLN_modulation(c)[:, None].chunk(
343
+ 2, dim=2)
344
+ x = modulate_fused(self.norm_final(x), shift, scale)
345
+ x = self.linear(x)
346
+ return x
347
+
348
+
349
+ class DITBackbone(nn.Module):
350
+ def __init__(
351
+ self,
352
+ config: MDLMConfig):
353
+ super().__init__()
354
+
355
+ self.config = config
356
+ self.vocab_size = config.vocab_size
357
+
358
+ self.vocab_embed = EmbeddingLayer(
359
+ config.hidden_dim,
360
+ config.vocab_size)
361
+ self.sigma_map = TimestepEmbedder(
362
+ config.cond_dim)
363
+ self.rotary_emb = Rotary(
364
+ config.hidden_dim // config.n_heads)
365
+
366
+ blocks = []
367
+ for _ in range(config.n_blocks):
368
+ blocks.append(DDiTBlock(config.hidden_dim,
369
+ config.n_heads,
370
+ config.cond_dim,
371
+ dropout=config.dropout))
372
+ self.blocks = nn.ModuleList(blocks)
373
+
374
+ self.output_layer = DDitFinalLayer(
375
+ config.hidden_dim,
376
+ config.vocab_size,
377
+ config.cond_dim)
378
+
379
+ def _get_bias_dropout_scale(self):
380
+ if self.training:
381
+ return bias_dropout_add_scale_fused_train
382
+ else:
383
+ return bias_dropout_add_scale_fused_inference
384
+
385
+ def forward(self, indices, sigma,
386
+ output_hidden_states=False):
387
+ if not self.config.time_conditioning:
388
+ sigma = torch.zeros_like(sigma)
389
+ all_hidden_states = []
390
+ x = self.vocab_embed(indices)
391
+ if output_hidden_states:
392
+ all_hidden_states.append(x)
393
+ c = F.silu(self.sigma_map(sigma))
394
+
395
+ rotary_cos_sin = self.rotary_emb(x)
396
+
397
+ with torch.cuda.amp.autocast(dtype=torch.bfloat16):
398
+ for i in range(len(self.blocks)):
399
+ x = self.blocks[i](x, rotary_cos_sin, c,
400
+ seqlens=None)
401
+ if output_hidden_states:
402
+ all_hidden_states.append(x)
403
+ logits = self.output_layer(x, c)
404
+ return logits, all_hidden_states
405
+
406
+ class MDLM(transformers.PreTrainedModel):
407
+ """HF-compatible model."""
408
+ config_class = MDLMConfig
409
+ base_model_prefix = "mdlm"
410
+
411
+ def __init__(
412
+ self,
413
+ config: MDLMConfig):
414
+ super().__init__(config)
415
+ self.backbone = DITBackbone(config)
416
+
417
+ def forward(
418
+ self,
419
+ input_ids: torch.LongTensor = None,
420
+ timesteps: torch.FloatTensor = None,
421
+ output_hidden_states: typing.Optional[bool] = None,
422
+ return_dict: typing.Optional[bool] = None,
423
+ ) -> typing.Union[
424
+ torch.Tensor, typing.Tuple,
425
+ modeling_outputs.MaskedLMOutput]:
426
+ """HF-compatible forward method."""
427
+ output_hidden_states = (
428
+ output_hidden_states
429
+ if output_hidden_states is not None
430
+ else self.config.output_hidden_states
431
+ )
432
+ return_dict = return_dict \
433
+ if return_dict is not None \
434
+ else self.config.use_return_dict
435
+
436
+ logits, all_hidden_states = self.backbone(
437
+ indices=input_ids,
438
+ sigma=timesteps,
439
+ output_hidden_states=output_hidden_states
440
+ )
441
+ if return_dict:
442
+ return modeling_outputs.MaskedLMOutput(
443
+ logits=logits,
444
+ hidden_states=all_hidden_states if output_hidden_states else None,
445
+ loss=None
446
+ )
447
+ elif output_hidden_states:
448
+ return logits, all_hidden_states
449
+ else:
450
+ return logits
checkpoints/quarantine/20260818T074500Z/official/langflow/owt/config.py ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """HuggingFace configuration class for LangFlow."""
2
+
3
+ import transformers
4
+
5
+
6
+ class LangFlowConfig(transformers.PretrainedConfig):
7
+ """HuggingFace configuration class for LangFlow.
8
+
9
+ LangFlow is a continuous diffusion language model that operates in embedding space.
10
+ It uses a DiT (Diffusion Transformer) backbone with adaptive layer normalization.
11
+
12
+ Key features:
13
+ - Continuous diffusion in embedding space
14
+ - Self-conditioning: uses previous predictions as additional input
15
+ - Bias (preconditioning): skip connection for improved training
16
+ - Normalized embeddings: layernorm on embedding vectors
17
+ - Learnable Gumbel proposal for gamma (log-SNR) sampling
18
+ """
19
+ model_type = "LangFlow"
20
+
21
+ def __init__(
22
+ self,
23
+ vocab_size: int = 50257,
24
+ hidden_size: int = 768,
25
+ cond_dim: int = 128,
26
+ n_blocks: int = 12,
27
+ n_heads: int = 12,
28
+ dropout: float = 0.1,
29
+ model_length: int = 1024,
30
+ # Embedding normalization
31
+ use_normalized_embedding: bool = True,
32
+ embedding_norm_method: str = "layernorm",
33
+ # Self-conditioning
34
+ self_conditioning: bool = True,
35
+ # Bias (preconditioning) - always enabled for inference
36
+ use_bias: bool = True,
37
+ # Gumbel proposal parameters (learnable)
38
+ gumbel_loc: float = 4.723,
39
+ gumbel_scale: float = 0.852,
40
+ gumbel_cutoff: float = 1e-5,
41
+ gumbel_entropy: float = 7.02,
42
+ **kwargs
43
+ ):
44
+ super().__init__(**kwargs)
45
+ self.vocab_size = vocab_size
46
+ self.hidden_size = hidden_size
47
+ self.cond_dim = cond_dim
48
+ self.n_blocks = n_blocks
49
+ self.n_heads = n_heads
50
+ self.dropout = dropout
51
+ self.model_length = model_length
52
+ # Embedding normalization
53
+ self.use_normalized_embedding = use_normalized_embedding
54
+ self.embedding_norm_method = embedding_norm_method
55
+ # Self-conditioning
56
+ self.self_conditioning = self_conditioning
57
+ # Bias (preconditioning)
58
+ self.use_bias = use_bias
59
+ # Gumbel proposal parameters
60
+ self.gumbel_loc = gumbel_loc
61
+ self.gumbel_scale = gumbel_scale
62
+ self.gumbel_cutoff = gumbel_cutoff
63
+ self.gumbel_entropy = gumbel_entropy
checkpoints/quarantine/20260820T072218Z/official/duo/owt/model.py ADDED
@@ -0,0 +1,601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import math
2
+ import typing
3
+
4
+ import einops
5
+ import flash_attn
6
+ import flash_attn.layers.rotary
7
+ import huggingface_hub
8
+ import omegaconf
9
+ import torch
10
+ import torch.nn as nn
11
+ import torch.nn.functional as F
12
+ import transformers
13
+
14
+ from .config import DUOConfig
15
+
16
+ # Flags required to enable jit fusion kernels
17
+ torch._C._jit_set_profiling_mode(False)
18
+ torch._C._jit_set_profiling_executor(False)
19
+ torch._C._jit_override_can_fuse_on_cpu(True)
20
+ torch._C._jit_override_can_fuse_on_gpu(True)
21
+
22
+
23
+ def bias_dropout_add_scale(
24
+ x: torch.Tensor,
25
+ bias: typing.Optional[torch.Tensor],
26
+ scale: torch.Tensor,
27
+ residual: typing.Optional[torch.Tensor],
28
+ prob: float,
29
+ training: bool) -> torch.Tensor:
30
+ if bias is not None:
31
+ out = scale * F.dropout(x + bias, p=prob, training=training)
32
+ else:
33
+ out = scale * F.dropout(x, p=prob, training=training)
34
+
35
+ if residual is not None:
36
+ out = residual + out
37
+ return out
38
+
39
+
40
+ def get_bias_dropout_add_scale(training):
41
+ def _bias_dropout_add(x, bias, scale, residual, prob):
42
+ return bias_dropout_add_scale(
43
+ x, bias, scale, residual, prob, training)
44
+
45
+ return _bias_dropout_add
46
+
47
+
48
+ # function overload
49
+ def modulate(x: torch.Tensor,
50
+ shift: torch.Tensor,
51
+ scale: torch.Tensor) -> torch.Tensor:
52
+ return x * (1 + scale) + shift
53
+
54
+
55
+ @torch.jit.script
56
+ def bias_dropout_add_scale_fused_train(
57
+ x: torch.Tensor,
58
+ bias: typing.Optional[torch.Tensor],
59
+ scale: torch.Tensor,
60
+ residual: typing.Optional[torch.Tensor],
61
+ prob: float) -> torch.Tensor:
62
+ return bias_dropout_add_scale(
63
+ x, bias, scale, residual, prob, True)
64
+
65
+
66
+ @torch.jit.script
67
+ def bias_dropout_add_scale_fused_inference(
68
+ x: torch.Tensor,
69
+ bias: typing.Optional[torch.Tensor],
70
+ scale: torch.Tensor,
71
+ residual: typing.Optional[torch.Tensor],
72
+ prob: float) -> torch.Tensor:
73
+ return bias_dropout_add_scale(
74
+ x, bias, scale, residual, prob, False)
75
+
76
+
77
+ @torch.jit.script
78
+ def modulate_fused(x: torch.Tensor,
79
+ shift: torch.Tensor,
80
+ scale: torch.Tensor) -> torch.Tensor:
81
+ return modulate(x, shift, scale)
82
+
83
+
84
+ class Rotary(torch.nn.Module):
85
+ def __init__(self, dim, base=10_000):
86
+ super().__init__()
87
+ inv_freq = 1.0 / (base ** (torch.arange(0, dim, 2).float() / dim))
88
+ self.register_buffer('inv_freq', inv_freq)
89
+ self.seq_len_cached = None
90
+ self.cos_cached = None
91
+ self.sin_cached = None
92
+
93
+ def forward(self, x, seq_dim=1):
94
+ seq_len = x.shape[seq_dim]
95
+ if seq_len != self.seq_len_cached:
96
+ self.seq_len_cached = seq_len
97
+ t = torch.arange(x.shape[seq_dim], device=x.device).type_as(self.inv_freq)
98
+ freqs = torch.einsum("i,j->ij", t, self.inv_freq.clone())
99
+ emb = torch.cat((freqs, freqs), dim=-1).to(x.device)
100
+ # dims are: batch, seq_len, qkv, head, dim
101
+ self.cos_cached = emb.cos()[None, :, None, None, :].repeat(1,1,3,1,1)
102
+ self.sin_cached = emb.sin()[None, :, None, None, :].repeat(1,1,3,1,1)
103
+ # This makes the transformation on v an identity.
104
+ self.cos_cached[:,:,2,:,:].fill_(1.)
105
+ self.sin_cached[:,:,2,:,:].fill_(0.)
106
+
107
+ return self.cos_cached, self.sin_cached
108
+
109
+
110
+ def rotate_half(x):
111
+ x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2 :]
112
+ return torch.cat((-x2, x1), dim=-1)
113
+
114
+
115
+ def split_and_apply_rotary_pos_emb(qkv, rotary_cos_sin):
116
+ with torch.cuda.amp.autocast(enabled=False):
117
+ cos, sin = rotary_cos_sin
118
+ cos = cos.to(qkv.dtype)
119
+ sin = sin.to(qkv.dtype)
120
+ cos = cos[0,:,0,0,:cos.shape[-1]//2]
121
+ sin = sin[0,:,0,0,:sin.shape[-1]//2]
122
+ q, k, v = qkv.chunk(3, dim=2)
123
+ q = flash_attn.layers.rotary.apply_rotary_emb_torch(
124
+ q.squeeze(dim=2), cos, sin)
125
+ k = flash_attn.layers.rotary.apply_rotary_emb_torch(
126
+ k.squeeze(dim=2), cos, sin)
127
+ v = v.squeeze(dim=2)
128
+ return q, k, v
129
+
130
+
131
+ def apply_rotary_pos_emb(qkv, cos, sin):
132
+ cos = cos[0,:,0,0,:cos.shape[-1]//2]
133
+ sin = sin[0,:,0,0,:sin.shape[-1]//2]
134
+ return flash_attn.layers.rotary.apply_rotary_emb_qkv_(qkv, cos, sin)
135
+
136
+
137
+ def regular_attention_multi_headed(q, k, v):
138
+ # Assuming qkv is a tensor with shape [batch, seq_len, 3, num_heads, head_dim]
139
+ # where the 3 represents Q, K, V packed in that order
140
+ attention_output = F.scaled_dot_product_attention(
141
+ query=q.transpose(1, 2),
142
+ key=k.transpose(1, 2),
143
+ value=v.transpose(1, 2),
144
+ attn_mask=None,
145
+ dropout_p=0.0,
146
+ is_causal=False)
147
+ # [batch_size, seq_len, num_heads, head_dim]
148
+ attention_output = attention_output.transpose(1, 2)
149
+ return einops.rearrange(attention_output, 'b s h d -> b s (h d)')
150
+
151
+
152
+ #################################################################################
153
+ # Layers #
154
+ #################################################################################
155
+ class LayerNorm(nn.Module):
156
+ def __init__(self, dim):
157
+ super().__init__()
158
+ self.weight = nn.Parameter(torch.ones([dim]))
159
+ self.dim = dim
160
+ def forward(self, x):
161
+ with torch.cuda.amp.autocast(enabled=False):
162
+ x = F.layer_norm(x.float(), [self.dim])
163
+ return x * self.weight[None, None, :]
164
+
165
+
166
+ def residual_linear(x, W, x_skip, residual_scale):
167
+ """x_skip + residual_scale * W @ x"""
168
+ dim_out, dim_in = W.shape[0], W.shape[1]
169
+ return torch.addmm(
170
+ x_skip.view(-1, dim_out),
171
+ x.view(-1, dim_in),
172
+ W.T,
173
+ alpha=residual_scale).view(*x.shape[:-1], dim_out)
174
+
175
+
176
+ #################################################################################
177
+ # Embedding Layers for Timesteps and Class Labels #
178
+ #################################################################################
179
+ class TimestepEmbedder(nn.Module):
180
+ """
181
+ Embeds scalar timesteps into vector representations.
182
+ """
183
+ def __init__(self, hidden_size, frequency_embedding_size=256):
184
+ super().__init__()
185
+ self.mlp = nn.Sequential(
186
+ nn.Linear(frequency_embedding_size, hidden_size, bias=True),
187
+ nn.SiLU(),
188
+ nn.Linear(hidden_size, hidden_size, bias=True))
189
+ self.frequency_embedding_size = frequency_embedding_size
190
+
191
+ @staticmethod
192
+ def timestep_embedding(t, dim, max_period=10000):
193
+ """
194
+ Create sinusoidal timestep embeddings.
195
+ :param t: a 1-D Tensor of N indices, one per batch element.
196
+ These may be fractional.
197
+ :param dim: the dimension of the output.
198
+ :param max_period: controls the minimum frequency of the embeddings.
199
+ :return: an (N, D) Tensor of positional embeddings.
200
+ """
201
+ # https://github.com/openai/glide-text2im/blob/main/glide_text2im/nn.py
202
+ half = dim // 2
203
+ freqs = torch.exp(
204
+ - math.log(max_period)
205
+ * torch.arange(start=0, end=half, dtype=torch.float32, device=t.device)
206
+ / half)
207
+ args = t[:, None].float() * freqs[None]
208
+ embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
209
+ if dim % 2:
210
+ embedding = torch.cat(
211
+ [embedding,
212
+ torch.zeros_like(embedding[:, :1])], dim=-1)
213
+ return embedding
214
+
215
+ def forward(self, t):
216
+ t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
217
+ t_emb = self.mlp(t_freq)
218
+ return t_emb
219
+
220
+
221
+ class LabelEmbedder(nn.Module):
222
+ """Embeds class labels into vector representations.
223
+
224
+ Also handles label dropout for classifier-free guidance.
225
+ """
226
+ def __init__(self, num_classes, cond_size):
227
+ super().__init__()
228
+ self.embedding_table = nn.Embedding(num_classes + 1, cond_size)
229
+ self.num_classes = num_classes
230
+
231
+ # TODO think of initializing with 0.02 std deviation like in original DiT paper
232
+
233
+ def forward(self, labels):
234
+ embeddings = self.embedding_table(labels)
235
+ return embeddings
236
+
237
+
238
+ #################################################################################
239
+ # Core Model #
240
+ #################################################################################
241
+
242
+ class DDiTBlockCausal(nn.Module):
243
+ def __init__(self, dim, n_heads, mlp_ratio=4, dropout=0.1):
244
+ super().__init__()
245
+ self.n_heads = n_heads
246
+
247
+ self.norm1 = LayerNorm(dim)
248
+ self.attn_qkv = nn.Linear(dim, 3 * dim, bias=False)
249
+ self.attn_out = nn.Linear(dim, dim, bias=False)
250
+ self.dropout1 = nn.Dropout(dropout)
251
+
252
+ self.norm2 = LayerNorm(dim)
253
+ self.mlp = nn.Sequential(
254
+ nn.Linear(dim, mlp_ratio * dim, bias=True),
255
+ nn.GELU(approximate='tanh'),
256
+ nn.Linear(mlp_ratio * dim, dim, bias=True))
257
+ self.dropout2 = nn.Dropout(dropout)
258
+ self.dropout = dropout
259
+
260
+ def _get_bias_dropout_scale(self):
261
+ if self.training:
262
+ return bias_dropout_add_scale_fused_train
263
+ else:
264
+ return bias_dropout_add_scale_fused_inference
265
+
266
+ def forward(self, x, rotary_cos_sin, **kwargs):
267
+ del kwargs
268
+ batch_size, seq_len = x.shape[0], x.shape[1]
269
+
270
+ bias_dropout_scale_fn = self._get_bias_dropout_scale()
271
+
272
+ # attention operation
273
+ x_skip = x
274
+ x = self.norm1(x)
275
+
276
+ qkv = self.attn_qkv(x)
277
+ qkv = einops.rearrange(
278
+ qkv,
279
+ 'b s (three h d) -> b s three h d',
280
+ three=3,
281
+ h=self.n_heads)
282
+ with torch.cuda.amp.autocast(enabled=False):
283
+ cos, sin = rotary_cos_sin
284
+ qkv = apply_rotary_pos_emb(
285
+ qkv, cos.to(qkv.dtype), sin.to(qkv.dtype)
286
+ )
287
+ qkv = einops.rearrange(qkv, 'b s ... -> (b s) ...')
288
+ cu_seqlens = torch.arange(
289
+ 0, (batch_size + 1) * seq_len,
290
+ step=seq_len, dtype=torch.int32, device=qkv.device)
291
+ x = flash_attn.flash_attn_interface.flash_attn_varlen_qkvpacked_func(
292
+ qkv, cu_seqlens, seq_len, 0.0, causal=True)
293
+
294
+ x = einops.rearrange(x, '(b s) h d -> b s (h d)',
295
+ b=batch_size)
296
+
297
+ scale = torch.ones(1, device=x.device, dtype=x.dtype)
298
+ x = bias_dropout_scale_fn(
299
+ self.attn_out(x), None, scale, x_skip, self.dropout)
300
+
301
+ # mlp operation
302
+ x = bias_dropout_scale_fn(
303
+ self.mlp(self.norm2(x)), None, scale, x, self.dropout)
304
+ return x
305
+
306
+
307
+
308
+ class DDiTBlock(nn.Module):
309
+ def __init__(self, dim, n_heads, adaLN,
310
+ cond_dim=None, mlp_ratio=4,
311
+ dropout=0.1):
312
+ super().__init__()
313
+ self.n_heads = n_heads
314
+ self.adaLN = adaLN
315
+
316
+ self.norm1 = LayerNorm(dim)
317
+ self.attn_qkv = nn.Linear(dim, 3 * dim, bias=False)
318
+ self.attn_out = nn.Linear(dim, dim, bias=False)
319
+ self.dropout1 = nn.Dropout(dropout)
320
+
321
+ self.norm2 = LayerNorm(dim)
322
+ self.mlp = nn.Sequential(
323
+ nn.Linear(dim, mlp_ratio * dim, bias=True),
324
+ nn.GELU(approximate='tanh'),
325
+ nn.Linear(mlp_ratio * dim, dim, bias=True))
326
+ self.dropout2 = nn.Dropout(dropout)
327
+ self.dropout = dropout
328
+
329
+ if self.adaLN:
330
+ self.adaLN_modulation = nn.Linear(cond_dim, 6 * dim)
331
+ self.adaLN_modulation.weight.data.zero_()
332
+ self.adaLN_modulation.bias.data.zero_()
333
+
334
+
335
+ def _get_bias_dropout_scale(self):
336
+ if self.training:
337
+ return bias_dropout_add_scale_fused_train
338
+ else:
339
+ return bias_dropout_add_scale_fused_inference
340
+
341
+
342
+ def forward(self, x, rotary_cos_sin, c=None):
343
+
344
+ bias_dropout_scale_fn = self._get_bias_dropout_scale()
345
+
346
+ x_skip = x
347
+ x = self.norm1(x)
348
+
349
+ if self.adaLN:
350
+ # self.adaLN_modulation(c): (128, 1536)
351
+ # self.adaLN_modulation(c)[:, None]: (128, 1, 1536)
352
+ # "" .chunk(6, dim=2) returns 6 tuples of shapes (128, 1, 256)
353
+ (shift_msa, scale_msa, gate_msa, shift_mlp,
354
+ scale_mlp, gate_mlp) = self.adaLN_modulation(c)[:, None].chunk(6, dim=2)
355
+ x = modulate_fused(x, shift_msa, scale_msa)
356
+
357
+ qkv = einops.rearrange(
358
+ self.attn_qkv(x),
359
+ 'b s (three h d) -> b s three h d',
360
+ three=3,
361
+ h=self.n_heads)
362
+ q, k, v = split_and_apply_rotary_pos_emb(qkv, rotary_cos_sin)
363
+
364
+ x = regular_attention_multi_headed(q, k, v)
365
+
366
+ if self.adaLN:
367
+ x = bias_dropout_scale_fn(self.attn_out(x),
368
+ None,
369
+ gate_msa,
370
+ x_skip,
371
+ self.dropout)
372
+ x = bias_dropout_scale_fn(
373
+ self.mlp(modulate_fused(
374
+ self.norm2(x), shift_mlp, scale_mlp)),
375
+ None, gate_mlp, x, self.dropout)
376
+ else:
377
+ scale = torch.ones(1, device=x.device, dtype=x.dtype)
378
+ x = bias_dropout_scale_fn(
379
+ self.attn_out(x), None, scale, x_skip, self.dropout)
380
+ x = bias_dropout_scale_fn(
381
+ self.mlp(self.norm2(x)), None, scale, x, self.dropout)
382
+ return x
383
+
384
+
385
+ class EmbeddingLayer(nn.Module):
386
+ def __init__(self, dim, vocab_dim):
387
+ super().__init__()
388
+ self.embedding = nn.Parameter(torch.empty((vocab_dim, dim)))
389
+ torch.nn.init.kaiming_uniform_(self.embedding, a=math.sqrt(5))
390
+
391
+ def forward(self, x):
392
+ if x.ndim == 2:
393
+ return self.embedding[x]
394
+ assert x.ndim == 3
395
+ return torch.einsum(
396
+ "blv,ve->ble",
397
+ torch.nn.functional.softmax(x, dim=-1).float(),
398
+ self.embedding.float()).to(x.dtype)
399
+
400
+
401
+ class DDiTFinalLayer(nn.Module):
402
+ def __init__(self, hidden_size, out_channels, cond_dim,
403
+ adaLN):
404
+ super().__init__()
405
+ self.norm_final = LayerNorm(hidden_size)
406
+ self.linear = nn.Linear(hidden_size, out_channels)
407
+ self.linear.weight.data.zero_()
408
+ self.linear.bias.data.zero_()
409
+ self.adaLN = adaLN
410
+ if self.adaLN:
411
+ self.adaLN_modulation = nn.Linear(cond_dim,
412
+ 2 * hidden_size,
413
+ bias=True)
414
+ self.adaLN_modulation.weight.data.zero_()
415
+ self.adaLN_modulation.bias.data.zero_()
416
+
417
+
418
+ def forward(self, x, c):
419
+ x = self.norm_final(x)
420
+ if self.adaLN:
421
+ shift, scale = self.adaLN_modulation(c)[:, None].chunk(2, dim=2)
422
+ x = modulate_fused(x, shift, scale)
423
+ x = self.linear(x)
424
+ return x
425
+
426
+
427
+ class DIT(nn.Module, huggingface_hub.PyTorchModelHubMixin):
428
+ def __init__(self, config, vocab_size: int):
429
+ super().__init__()
430
+ if type(config) == dict:
431
+ config = omegaconf.OmegaConf.create(config)
432
+ self.causal = config.algo.causal_attention
433
+ self.adaLN = not self.causal
434
+ self.config = config
435
+ self.vocab_size = vocab_size
436
+ dim = config.model.hidden_size
437
+ cond_dim = config.model.cond_dim
438
+ self.vocab_embed = EmbeddingLayer(dim, vocab_size)
439
+ if not self.causal:
440
+ self.sigma_map = TimestepEmbedder(cond_dim)
441
+ self.rotary_emb = Rotary(dim // config.model.n_heads)
442
+
443
+ blocks = []
444
+ for _ in range(config.model.n_blocks):
445
+ if self.causal:
446
+ block = DDiTBlockCausal(
447
+ dim=dim,
448
+ n_heads=config.model.n_heads,
449
+ dropout=config.model.dropout)
450
+ else:
451
+ block = DDiTBlock(
452
+ dim=dim,
453
+ n_heads=config.model.n_heads,
454
+ cond_dim=cond_dim,
455
+ adaLN=self.adaLN,
456
+ dropout=config.model.dropout)
457
+ blocks.append(block)
458
+ self.blocks = nn.ModuleList(blocks)
459
+
460
+ self.output_layer = DDiTFinalLayer(
461
+ hidden_size=dim,
462
+ out_channels=vocab_size,
463
+ cond_dim=cond_dim,
464
+ adaLN=self.adaLN)
465
+ self.scale_by_sigma = config.model.scale_by_sigma
466
+
467
+ def _get_bias_dropout_scale(self):
468
+ if self.training:
469
+ return bias_dropout_add_scale_fused_train
470
+ else:
471
+ return bias_dropout_add_scale_fused_inference
472
+
473
+ def forward(self, x, sigma):
474
+ x = self.vocab_embed(x)
475
+ if self.causal:
476
+ t_cond = None
477
+ else:
478
+ t_cond = F.silu(self.sigma_map(sigma))
479
+
480
+ rotary_cos_sin = self.rotary_emb(x).to(x.device)
481
+
482
+ with torch.cuda.amp.autocast(dtype=torch.bfloat16):
483
+ for i in range(len(self.blocks)):
484
+ x = self.blocks[i](x, rotary_cos_sin, c=t_cond)
485
+ x = self.output_layer(x, c=t_cond)
486
+
487
+ return x
488
+
489
+
490
+
491
+ class HFDIT(torch.nn.Module):
492
+ def __init__(self, config):
493
+ super().__init__()
494
+ self.causal = config.causal
495
+ self.adaLN = not self.causal
496
+ self.vocab_size = config.vocab_size
497
+ dim = config.hidden_dim
498
+ cond_dim = config.cond_dim
499
+ self.vocab_embed = EmbeddingLayer(dim, self.vocab_size)
500
+ if not self.causal:
501
+ self.sigma_map = TimestepEmbedder(cond_dim)
502
+ self.rotary_emb = Rotary(dim // config.n_heads)
503
+
504
+ blocks = []
505
+ for _ in range(config.n_blocks):
506
+ if self.causal:
507
+ block = DDiTBlockCausal(
508
+ dim=dim,
509
+ n_heads=config.n_heads,
510
+ dropout=config.dropout)
511
+ else:
512
+ block = DDiTBlock(
513
+ dim=dim,
514
+ n_heads=config.n_heads,
515
+ cond_dim=cond_dim,
516
+ adaLN=self.adaLN,
517
+ dropout=config.dropout)
518
+ blocks.append(block)
519
+ self.blocks = torch.nn.ModuleList(blocks)
520
+
521
+ self.output_layer = DDiTFinalLayer(
522
+ hidden_size=dim,
523
+ out_channels=self.vocab_size,
524
+ cond_dim=cond_dim,
525
+ adaLN=self.adaLN)
526
+
527
+ def _get_bias_dropout_scale(self):
528
+ if self.training:
529
+ return bias_dropout_add_scale_fused_train
530
+ else:
531
+ return bias_dropout_add_scale_fused_inference
532
+
533
+ def forward(self, x, sigma, output_hidden_states=False):
534
+ all_hidden_states = []
535
+ x = self.vocab_embed(x)
536
+ if output_hidden_states:
537
+ all_hidden_states.append(x)
538
+ if self.causal:
539
+ t_cond = None
540
+ else:
541
+ t_cond = F.silu(self.sigma_map(sigma))
542
+
543
+ rotary_cos_sin = self.rotary_emb(x)
544
+ with torch.cuda.amp.autocast(
545
+ dtype=torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float32):
546
+ for i in range(len(self.blocks)):
547
+ x = self.blocks[i](x, rotary_cos_sin, c=t_cond)
548
+ if output_hidden_states:
549
+ all_hidden_states.append(x)
550
+ x = self.output_layer(x, c=t_cond)
551
+ return x, all_hidden_states
552
+
553
+
554
+ class DUO(transformers.PreTrainedModel):
555
+ """HF-compatible model."""
556
+ config_class = DUOConfig
557
+ base_model_prefix = 'duo'
558
+
559
+ def __init__(self, config: DUOConfig):
560
+ super().__init__(config)
561
+ self.config = config
562
+ self.backbone = HFDIT(config)
563
+
564
+ def reset_kv_cache(self):
565
+ for block in self.backbone.blocks:
566
+ block.kv_cache = None
567
+
568
+ def forward(
569
+ self,
570
+ input_ids: torch.LongTensor = None,
571
+ timesteps: torch.FloatTensor = None,
572
+ output_hidden_states: typing.Optional[bool] = None,
573
+ return_dict: typing.Optional[bool] = None,
574
+ ) -> typing.Union[
575
+ torch.Tensor, typing.Tuple,
576
+ transformers.modeling_outputs.MaskedLMOutput]:
577
+ """HF-compatible forward method."""
578
+ output_hidden_states = (
579
+ output_hidden_states
580
+ if output_hidden_states is not None
581
+ else self.config.output_hidden_states
582
+ )
583
+ return_dict = return_dict \
584
+ if return_dict is not None \
585
+ else self.config.use_return_dict
586
+
587
+ logits, all_hidden_states = self.backbone(
588
+ x=input_ids,
589
+ sigma=timesteps,
590
+ output_hidden_states=output_hidden_states,
591
+ )
592
+ if return_dict:
593
+ return transformers.modeling_outputs.MaskedLMOutput(
594
+ logits=logits,
595
+ hidden_states=all_hidden_states if output_hidden_states else None,
596
+ loss=None
597
+ )
598
+ elif output_hidden_states:
599
+ return logits, all_hidden_states
600
+ else:
601
+ return logits
checkpoints/quarantine/20260820T072232Z/official/duo_dcd/owt/README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - Skylion007/openwebtext
4
+ language:
5
+ - en
6
+ library_name: transformers
7
+ license: apache-2.0
8
+ metrics:
9
+ - perplexity
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ ## Using DUO
14
+ To use the pre-trained model for masked language modeling, use the following snippet:
15
+ ```python
16
+ from transformers import AutoModelForMaskedLM, AutoTokenizer
17
+
18
+ # See the `DUO` collection page on the hub for list of available models.
19
+ tokenizer = transformers.AutoTokenizer.from_pretrained('gpt2')
20
+ model = AutoModelForMaskedLM.from_pretrained('s-sahoo/duo-distilled')
21
+ ```
22
+ For a hands-on example, check out this [Colab notebook](https://colab.research.google.com/drive/1Sf7R-dqdR6gq-H8nyZ9E3ZkyvqMTqcwq?usp=sharing).
23
+ For more information and implementation details, visit our github repository: [DUO](https://github.com/s-sahoo/duo)
24
+
25
+ ## Model Details
26
+ The model, which has a context length of `1024` and is similar in size to GPT2-medium with approximately `130 million` non-embedding parameters,
27
+ was trained for 1M steps on the OpenWebText corpus.
28
+
29
+ For more details, please see our paper: [The Diffusion Duality](https://huggingface.co/papers/2506.10892).
30
+
31
+ Project page: https://s-sahoo.com/duo
32
+
33
+ ## Citation
34
+
35
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
36
+ Please cite our work using the bibtex below:
37
+
38
+ **BibTeX:**
39
+
40
+ ```
41
+ @inproceedings{
42
+ sahoo2025the,
43
+ title={The Diffusion Duality},
44
+ author={Subham Sekhar Sahoo and Justin Deschenaux and Aaron Gokaslan and Guanghan Wang and Justin T Chiu and Volodymyr Kuleshov},
45
+ booktitle={Forty-second International Conference on Machine Learning},
46
+ year={2025},
47
+ url={https://openreview.net/forum?id=9P9Y8FOSOk}
48
+ }
49
+ ```
50
+
51
+ ## Model Card Contact
52
+ Subham Sekhar Sahoo (ssahoo@cs.cornell.edu)
checkpoints/quarantine/20260820T072232Z/official/duo_dcd/owt/config.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import transformers
2
+
3
+
4
+ class DUOConfig(transformers.PretrainedConfig):
5
+ """Hugging Face configuration class for DUO."""
6
+ model_type = 'DUO'
7
+
8
+ def __init__(
9
+ self,
10
+ vocab_size: int = 50258,
11
+ model_length: int = 1024,
12
+ causal: bool = False,
13
+ hidden_dim: int = 768,
14
+ cond_dim: int = 129,
15
+ n_blocks: int = 12,
16
+ n_heads: int = 12,
17
+ dropout: float = 0.1,
18
+ var_min: bool = True,
19
+ ** kwargs):
20
+ super().__init__(**kwargs)
21
+ self.causal = causal
22
+ self.vocab_size = vocab_size
23
+ self.model_length = model_length
24
+ self.hidden_dim = hidden_dim
25
+ self.cond_dim = cond_dim
26
+ self.n_blocks = n_blocks
27
+ self.n_heads = n_heads
28
+ self.dropout = dropout
29
+ self.var_min = var_min
checkpoints/quarantine/20260820T072244Z/official/mdlm/owt/configuration_mdlm.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """MDLM config for Hugging Face.
2
+
3
+ """
4
+
5
+ import transformers
6
+
7
+
8
+ class MDLMConfig(transformers.PretrainedConfig):
9
+ """Hugging Face configuration class for MDLM."""
10
+ model_type = "mdlm"
11
+
12
+ def __init__(
13
+ self,
14
+ vocab_size: int = 50258,
15
+ model_length: int = 1024,
16
+ hidden_dim: int = 768,
17
+ cond_dim: int = 129,
18
+ n_blocks: int = 12,
19
+ n_heads: int = 12,
20
+ dropout: float = 0.1,
21
+ time_conditioning: bool = False,
22
+ ** kwargs):
23
+ super().__init__(**kwargs)
24
+ self.vocab_size = vocab_size
25
+ self.model_length = model_length
26
+ self.hidden_dim = hidden_dim
27
+ self.cond_dim = cond_dim
28
+ self.n_blocks = n_blocks
29
+ self.n_heads = n_heads
30
+ self.dropout = dropout
31
+ self.time_conditioning = time_conditioning
checkpoints/quarantine/20260820T072312Z/official/mdlm_sdtt/owt/config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "train",
3
+ "time_conditioning": false,
4
+ "T": 0,
5
+ "compile": false,
6
+ "eval_every": 5000,
7
+ "data_preprocess": {
8
+ "data_cache": "REDACTED",
9
+ "min_seq_len": -1,
10
+ "seq_len": "${model.length}",
11
+ "group_text": true,
12
+ "remove_text": true,
13
+ "num_seqs": -1,
14
+ "add_bos": false,
15
+ "add_eos": true,
16
+ "legacy_start_end_bos": true
17
+ },
18
+ "loader": {
19
+ "global_batch_size": 32,
20
+ "eval_global_batch_size": "${.global_batch_size}",
21
+ "batch_size": "${div_up:${.global_batch_size}, ${eval:${trainer.devices} * ${trainer.num_nodes}}}",
22
+ "eval_batch_size": "${div_up:${.eval_global_batch_size}, ${eval:${trainer.devices} * ${trainer.num_nodes}}}",
23
+ "num_workers": 32,
24
+ "pin_memory": true,
25
+ "persistent_workers": true
26
+ },
27
+ "training": {
28
+ "ema": 0.9999,
29
+ "antithetic_sampling": true,
30
+ "importance_sampling": false,
31
+ "sampling_eps": 1e-05,
32
+ "change_of_variables": false
33
+ },
34
+ "tokenizer": {
35
+ "name": "gpt2"
36
+ },
37
+ "optim": {
38
+ "name": "adamw",
39
+ "weight_decay": 0.0,
40
+ "lr": 0.0003,
41
+ "beta1": 0.9,
42
+ "beta2": 0.999,
43
+ "eps": 1e-08
44
+ },
45
+ "trainer": {
46
+ "_target_": "lightning.Trainer",
47
+ "accelerator": "cuda",
48
+ "num_nodes": 1,
49
+ "devices": 1,
50
+ "accumulate_grad_batches": "${div_up:${loader.global_batch_size}, ${eval:${trainer.devices} * ${loader.batch_size} * ${trainer.num_nodes}}}",
51
+ "gradient_clip_val": 1.0,
52
+ "precision": "bf16-mixed",
53
+ "num_sanity_val_steps": 2,
54
+ "max_steps": 1000000,
55
+ "log_every_n_steps": 10,
56
+ "limit_train_batches": 1.0,
57
+ "limit_val_batches": 1.0,
58
+ "val_check_interval": "${eval:${trainer.accumulate_grad_batches} * ${eval_every}}",
59
+ "check_val_every_n_epoch": null,
60
+ "benchmark": true
61
+ },
62
+ "wandb": {
63
+ "project": "text-diffusion",
64
+ "notes": "",
65
+ "group": null,
66
+ "job_type": null,
67
+ "name": null,
68
+ "tags": [
69
+ "${noise.type}",
70
+ "${data.train}",
71
+ "${data.valid}"
72
+ ]
73
+ },
74
+ "checkpointing": {
75
+ "save_dir": "${cwd:}",
76
+ "resume_from_ckpt": true,
77
+ "resume_ckpt_path": "/claire-rcp-scratch/home/deschena/fast-discrete-diff/dev/hf_downloads/baselines/kld/baselines/bwd_kl_double_dt_10k_lr_2x_sm/70000.ckpt"
78
+ },
79
+ "eval": {
80
+ "valid": {
81
+ "n_samples": 16,
82
+ "num_steps": 128
83
+ },
84
+ "ppl_with_ar": {
85
+ "run": true,
86
+ "model": "gpt2-large",
87
+ "batch_size": 8
88
+ },
89
+ "mauve": {
90
+ "run": false,
91
+ "num_rounds": 5,
92
+ "max_num_tokens": 100,
93
+ "batch_size": 8,
94
+ "scaling_factor": 5
95
+ },
96
+ "lambada_openai": {
97
+ "run": false,
98
+ "batch_size": 32,
99
+ "num_samples": 32,
100
+ "from_ema": true,
101
+ "add_bos": true,
102
+ "add_eos": true
103
+ }
104
+ },
105
+ "callbacks": {
106
+ "checkpoint_every_n_steps": {
107
+ "_target_": "lightning.pytorch.callbacks.ModelCheckpoint",
108
+ "save_top_k": -1,
109
+ "save_last": true,
110
+ "dirpath": "${checkpointing.save_dir}/checkpoints",
111
+ "verbose": true,
112
+ "auto_insert_metric_name": false,
113
+ "every_n_train_steps": 10000
114
+ },
115
+ "learning_rate_monitor": {
116
+ "_target_": "lightning.pytorch.callbacks.LearningRateMonitor",
117
+ "logging_interval": "step"
118
+ },
119
+ "text_throughput": {
120
+ "_target_": "callbacks.text_throughput.TextThroughputMonitor"
121
+ },
122
+ "grad_norm": {
123
+ "_target_": "callbacks.gradient_norm.GradNormCallback"
124
+ }
125
+ },
126
+ "data": {
127
+ "train": "openwebtext-train",
128
+ "valid": "openwebtext-valid",
129
+ "test": "openwebtext-test",
130
+ "tokenizer_name_or_path": "gpt2",
131
+ "wrap": true,
132
+ "streaming": false
133
+ },
134
+ "model": {
135
+ "name": "small",
136
+ "type": "ddit-orig",
137
+ "hidden_size": 768,
138
+ "cond_dim": 128,
139
+ "length": 1024,
140
+ "n_blocks": 12,
141
+ "n_heads": 12,
142
+ "scale_by_sigma": true,
143
+ "dropout": 0.1,
144
+ "tie_word_embeddings": false
145
+ },
146
+ "strategy": {
147
+ "_target_": "lightning.pytorch.strategies.DDPStrategy",
148
+ "find_unused_parameters": false,
149
+ "process_group_backend": "nccl"
150
+ },
151
+ "noise": {
152
+ "type": "loglinear",
153
+ "sigma_min": 0.0001,
154
+ "sigma_max": 20
155
+ },
156
+ "lr_scheduler": {
157
+ "_target_": "transformers.get_constant_schedule_with_warmup",
158
+ "num_warmup_steps": 2500
159
+ },
160
+ "parameterization": {
161
+ "name": "multi-round-sdtt",
162
+ "log_loss_buckets": -1,
163
+ "checkpoint_path": "kuleshov-group/mdlm-owt",
164
+ "start_from_hf": false,
165
+ "distill_mode": "kl-bwd",
166
+ "num_distill_steps": 2,
167
+ "min_num_sampling_steps": 8,
168
+ "grow_dt_every": 10000,
169
+ "orig_num_sampling_steps": 1024,
170
+ "sampling_mode": "ancestral",
171
+ "loss_precision": null,
172
+ "reset_optimizer_on_growth": false,
173
+ "use_ema_on_growth": false,
174
+ "sampling": {
175
+ "uncond": {
176
+ "run": false,
177
+ "num_samples": 1024,
178
+ "batch_size": 32,
179
+ "from_ema": true,
180
+ "num_steps": 1024,
181
+ "seq_len": 1024,
182
+ "sampler": "ancestral",
183
+ "cache_preds": false,
184
+ "add_bos": false,
185
+ "add_eos": false
186
+ },
187
+ "cond_prefix": {
188
+ "run": false,
189
+ "num_samples": 1024,
190
+ "batch_size": 32,
191
+ "from_ema": true,
192
+ "dataset": "webtext",
193
+ "seq_len": 100,
194
+ "prefix_len": 50,
195
+ "num_cont_per_prefix": 5,
196
+ "min_seq_len": 1024,
197
+ "num_steps": 1024,
198
+ "sampler": "ancestral",
199
+ "cache_preds": false,
200
+ "add_bos": false,
201
+ "add_eos": false
202
+ }
203
+ }
204
+ },
205
+ "repo": "jdeschena/sdtt",
206
+ "revision": "baselines_kld"
207
+ }
checkpoints/quarantine/20260820T073530Z/official/rdlm/lm1b/LM1B/config.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ seed: 0
2
+ ngpus: 8
3
+ use_wandb: true
4
+ run_mode: train
5
+ num_workers: 32
6
+ paths:
7
+ experiments: exps
8
+ n_jobs: 2
9
+ model:
10
+ _target_: model.dit.DiT
11
+ hidden_size: 768
12
+ n_heads: 12
13
+ cond_dim: 128
14
+ dropout: 0.0
15
+ n_blocks: 14
16
+ length: 128
17
+ input_dim: ${tokens}
18
+ output_dim: ${tokens}
19
+ name: lm1b
20
+ original_tokens: 30522
21
+ tokens: 3
22
+ training:
23
+ batch_size: 512
24
+ accum: 1
25
+ n_iters: 1000001
26
+ snapshot_freq: 50000
27
+ log_freq: 50
28
+ eval_freq: 100
29
+ snapshot_freq_for_preemption: 5000
30
+ snapshot_sampling: true
31
+ ema: 0.9999
32
+ loss_type: ce
33
+ data:
34
+ train: lm1b
35
+ valid: lm1b
36
+ cache_dir: data
37
+ sampling:
38
+ steps: 1000
39
+ predictor: grw
40
+ eval:
41
+ batch_size: ${training.batch_size}
42
+ n_iters: 200
43
+ entropy: true
44
+ gen_ppl: true
45
+ eval_model: gpt2
46
+ nll: true
47
+ simul_steps: 500
48
+ sde:
49
+ _target_: sde.LogBridge_Mixture
50
+ preprocess_steps: 10000
51
+ mix_type: step
52
+ rho_scale: 1.14
53
+ step_thr: 0.38
54
+ prior_dist:
55
+ _target_: distribution.Mixture
56
+ add_mask_token: true
57
+ scheduler:
58
+ _target_: scheduler_lib.Geometric
59
+ beta_0: 0.001
60
+ beta_f: 0.2
61
+ weight_type: step
62
+ left: 0.3
63
+ right: 0.75
64
+ lb: 0.0001
65
+ ub: 1.0
66
+ optim:
67
+ name: adamw
68
+ optimizer: AdamW
69
+ weight_decay: 0
70
+ lr: 0.0003
71
+ beta1: 0.9
72
+ beta2: 0.999
73
+ eps: 1.0e-08
74
+ warmup: 2500
75
+ grad_clip: 1.0
checkpoints/quarantine/20260821T024719Z/official/fmlm/lm1b/README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - model_hub_mixin
4
+ - pytorch_model_hub_mixin
5
+ license: apache-2.0
6
+ language:
7
+ - en
8
+ base_model:
9
+ - david3684/FLM-B-LM1B
10
+ ---
11
+
12
+ ## FMLM (LM1B)
13
+
14
+ For more information and implementation details, visit our github repository: [FLM](https://github.com/david3684/flm).
15
+
16
+ ## Model Details
17
+
18
+ The model has a context length of 128, distilled from 1M steps trained FLM checkpoint trained on the One Billion Words (LM1B) dataset.
19
+
20
+ For more details, please see our paper:
21
+ - [arXiv:2602.16813](https://arxiv.org/abs/2602.16813)
22
+ - [Huggingface Papers](https://huggingface.co/papers/2602.16813)
23
+
24
+ ## Citation
25
+
26
+ Please cite our work using the bibtex below:
27
+
28
+ **BibTeX:**
29
+
30
+
31
+ ```bibtex
32
+ @article{lee2026flow,
33
+ title={Flow Map Language Models: One-step Language Modeling via Continuous Denoising},
34
+ author={Chanhyuk Lee and Jaehoon Yoo and Manan Agarwal
35
+ and Sheel Shah and Jerry Huang
36
+ and Aditi Raghunathan and Seunghoon Hong
37
+ and Nicholas M. Boffi and Jinwoo Kim},
38
+ journal={arXiv preprint arXiv:2602.16813},
39
+ year={2026},
40
+ }
41
+ ```
42
+
43
+ ## Model Card Contact
44
+
45
+ Chanhyuk Lee (chanhyuk-lee@kaist.ac.kr)
checkpoints/quarantine/20260821T024719Z/official/fmlm/lm1b/config.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "algo": {
4
+ "T": 0,
5
+ "add_boundary": "fixed",
6
+ "backbone": "dit",
7
+ "backprop_entmax_temp_lsd": false,
8
+ "boundary_prob": 32,
9
+ "causal_attention": false,
10
+ "diagonal_fraction": 0.5,
11
+ "distillation_method": "PSD",
12
+ "double_temb": true,
13
+ "entmax_temp_lsd": 2.0,
14
+ "initialize_student_from_teacher": false,
15
+ "learnable_loss_weighting": false,
16
+ "loss_scale": "none",
17
+ "loss_type": null,
18
+ "name": "fmlm",
19
+ "offdiagonal_sampling": "uniform_diff",
20
+ "parameterization": "mean",
21
+ "pred_log_interval": 2000,
22
+ "rescale_offdiag_loss_psd": false,
23
+ "subs_masking": false,
24
+ "t_max": 1.0,
25
+ "t_min": 0.0,
26
+ "teacher_path": "/home/david3684/ours_flow_ce_1m.ckpt",
27
+ "time_condition": "alpha_t",
28
+ "time_conditioning": true,
29
+ "use_discrete_schedule": true,
30
+ "use_mse_loss_psd": false,
31
+ "use_simulated_entropy": false,
32
+ "use_teacher_for_D_t_lsd": false
33
+ },
34
+ "callbacks": {
35
+ "checkpoint_every_n_steps": {
36
+ "_target_": "lightning.pytorch.callbacks.ModelCheckpoint",
37
+ "auto_insert_metric_name": false,
38
+ "dirpath": "/home/david3684/projects/flm/hf_upload/checkpoints",
39
+ "every_n_train_steps": 25000,
40
+ "save_last": false,
41
+ "save_top_k": -1,
42
+ "verbose": true
43
+ },
44
+ "checkpoint_monitor": {
45
+ "_target_": "lightning.pytorch.callbacks.ModelCheckpoint",
46
+ "auto_insert_metric_name": false,
47
+ "dirpath": "/home/david3684/projects/flm/hf_upload/checkpoints",
48
+ "filename": "best_nll",
49
+ "mode": "min",
50
+ "monitor": "val/nll",
51
+ "save_last": true,
52
+ "save_top_k": 1,
53
+ "verbose": true
54
+ },
55
+ "learning_rate_monitor": {
56
+ "_target_": "lightning.pytorch.callbacks.LearningRateMonitor",
57
+ "logging_interval": "step"
58
+ }
59
+ },
60
+ "checkpointing": {
61
+ "resume_ckpt_path": "/home/david3684/projects/flm/hf_upload/checkpoints/last.ckpt",
62
+ "resume_from_ckpt": false,
63
+ "save_dir": "/home/david3684/projects/flm/hf_upload"
64
+ },
65
+ "data": {
66
+ "cache_dir": "/home/david3684/datasets/lm1b",
67
+ "insert_train_eos": true,
68
+ "insert_valid_eos": true,
69
+ "streaming": false,
70
+ "tokenizer_name_or_path": "bert-base-uncased",
71
+ "train": "lm1b",
72
+ "valid": "lm1b",
73
+ "wrap": true
74
+ },
75
+ "eval": {
76
+ "checkpoint_path": "",
77
+ "compute_generative_perplexity": true,
78
+ "compute_perplexity_on_sanity": false,
79
+ "disable_ema": false,
80
+ "ema_decay": null,
81
+ "gen_ppl_eval_model_name_or_path": "gpt2-large",
82
+ "generate_samples": true,
83
+ "generated_samples_path": "/home/david3684/projects/flm/hf_upload/samples.json",
84
+ "perplexity_batch_size": 8
85
+ },
86
+ "is_di4c": false,
87
+ "is_di4c_deterministic": true,
88
+ "loader": {
89
+ "batch_size": 128,
90
+ "eval_batch_size": 128,
91
+ "eval_global_batch_size": 512,
92
+ "global_batch_size": 512,
93
+ "num_workers": 0,
94
+ "pin_memory": true
95
+ },
96
+ "lr_scheduler": {
97
+ "_target_": "transformers.get_constant_schedule_with_warmup",
98
+ "num_warmup_steps": 2500
99
+ },
100
+ "mode": "train",
101
+ "model": {
102
+ "cond_dim": 128,
103
+ "dropout": 0.1,
104
+ "hidden_size": 768,
105
+ "length": 128,
106
+ "n_blocks": 12,
107
+ "n_heads": 12,
108
+ "name": "small",
109
+ "scale_by_sigma": true,
110
+ "tie_word_embeddings": false,
111
+ "type": "ddit",
112
+ "vocab_lookup": true
113
+ },
114
+ "noise": {
115
+ "denoiser_latent_conditioning": -1,
116
+ "eps": 0,
117
+ "freeze_decoder": false,
118
+ "freeze_encoder": false,
119
+ "parameterization": "log-linear",
120
+ "type": "log-linear"
121
+ },
122
+ "optim": {
123
+ "beta1": 0.9,
124
+ "beta2": 0.999,
125
+ "eps": 1e-08,
126
+ "ln_tune": "none",
127
+ "lr": 0.0003,
128
+ "muon_lr": 0.03,
129
+ "muon_momentum": 0.95,
130
+ "muon_weight_decay": 0.01,
131
+ "use_muon": false,
132
+ "weight_decay": 0
133
+ },
134
+ "prior": {
135
+ "latent_height": 0,
136
+ "latent_width": 0,
137
+ "type": "none"
138
+ },
139
+ "sampling": {
140
+ "argmax_correction": false,
141
+ "autoguidance_weight": 0.0,
142
+ "hard_start": false,
143
+ "noise_removal": "uniform_alpha",
144
+ "num_reflow_samples": 50000,
145
+ "num_sample_batches": 1,
146
+ "num_sample_log": 2,
147
+ "num_strides": 1,
148
+ "p_nucleus": 1.0,
149
+ "predictor": "ancestral",
150
+ "semi_ar": false,
151
+ "solver": "euler",
152
+ "steps": [
153
+ 1,
154
+ 2,
155
+ 4,
156
+ 8,
157
+ 16,
158
+ 32,
159
+ 64,
160
+ 128
161
+ ],
162
+ "stride_length": 1,
163
+ "tau_log10": -1.0,
164
+ "temperature": 1.0,
165
+ "use_float64": true
166
+ },
167
+ "seed": 1,
168
+ "strategy": {
169
+ "_target_": "lightning.pytorch.strategies.DDPStrategy",
170
+ "find_unused_parameters": false
171
+ },
172
+ "trainer": {
173
+ "_target_": "lightning.Trainer",
174
+ "accelerator": "cuda",
175
+ "accumulate_grad_batches": 1,
176
+ "devices": 8,
177
+ "gradient_clip_val": 1.0,
178
+ "limit_train_batches": 1.0,
179
+ "limit_val_batches": 10,
180
+ "log_every_n_steps": 100,
181
+ "max_steps": 1000000,
182
+ "num_nodes": 1,
183
+ "num_sanity_val_steps": 2,
184
+ "precision": "bf16",
185
+ "val_check_interval": 10000
186
+ },
187
+ "training": {
188
+ "antithetic_sampling": true,
189
+ "change_of_variables": false,
190
+ "double_ema": 0.0,
191
+ "ema": "0.9999, 0.999, 0.99, 0.95",
192
+ "finetune_path": "",
193
+ "importance_sampling": false,
194
+ "load_ema": false,
195
+ "loss_precision": "bf16",
196
+ "loss_type": "sd",
197
+ "loss_weighting": false,
198
+ "not_sampling_t": false,
199
+ "pred_type": "x0",
200
+ "sampling_eps": 0.001,
201
+ "t_curriculum_max": 1.0,
202
+ "t_curriculum_min": 0.0,
203
+ "t_curriculum_steps": 100000,
204
+ "torch_compile_mode": "default",
205
+ "use_torch_compile": true
206
+ },
207
+ "wandb": {
208
+ "group": null,
209
+ "id": "27d989c8",
210
+ "job_type": null,
211
+ "name": "lm1b_PSD_teacher_distill_DF_0.5_BP_32_SE_False_IT_False_EDMW_False_27d989c8",
212
+ "notes": "DOS",
213
+ "project": "dos_distill",
214
+ "tags": [
215
+ "lm1b",
216
+ "dos_denoiser"
217
+ ]
218
+ }
219
+ },
220
+ "vocab_size": 30522
221
+ }
checkpoints/quarantine/20260821T024800Z/official/duo/owt/README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - Skylion007/openwebtext
4
+ language:
5
+ - en
6
+ library_name: transformers
7
+ license: apache-2.0
8
+ metrics:
9
+ - perplexity
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ ## Using DUO
14
+ To use the pre-trained model for masked language modeling, use the following snippet:
15
+ ```python
16
+ from transformers import AutoModelForMaskedLM, AutoTokenizer
17
+
18
+ # See the `MDLM` collection page on the hub for list of available models.
19
+ tokenizer = transformers.AutoTokenizer.from_pretrained('gpt2')
20
+ model = AutoModelForMaskedLM.from_pretrained('s-sahoo/duo')
21
+ ```
22
+ For a hands-on example, check out this [Colab notebook](https://colab.research.google.com/drive/1Sf7R-dqdR6gq-H8nyZ9E3ZkyvqMTqcwq?usp=sharing).
23
+ For more information and implementation details, visit our github repository: [DUO](https://github.com/s-sahoo/duo) and project page: [Project Page](https://s-sahoo.com/duo)
24
+
25
+ ## Model Details
26
+ The model, which has a context length of `1024` and is similar in size to GPT2-medium with approximately `130 million` non-embedding parameters,
27
+ was trained for 1M steps on the OpenWebText corpus.
28
+
29
+ For more details, please see our paper: [The Diffusion Duality](https://openreview.net/forum?id=CB0Ub2yXjC).
30
+
31
+
32
+
33
+ ## Citation
34
+
35
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
36
+ Please cite our work using the bibtex below:
37
+
38
+ **BibTeX:**
39
+
40
+ ```
41
+ @inproceedings{
42
+ sahoo2025the,
43
+ title={The Diffusion Duality},
44
+ author={Subham Sekhar Sahoo and Justin Deschenaux and Aaron Gokaslan and Guanghan Wang and Justin T Chiu and Volodymyr Kuleshov},
45
+ booktitle={Forty-second International Conference on Machine Learning},
46
+ year={2025},
47
+ url={https://openreview.net/forum?id=9P9Y8FOSOk}
48
+ }
49
+ ```
50
+
51
+
52
+ ## Model Card Contact
53
+ Subham Sekhar Sahoo (ssahoo@cs.cornell.edu)
checkpoints/quarantine/20260821T024800Z/official/duo/owt/model.py ADDED
@@ -0,0 +1,601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import math
2
+ import typing
3
+
4
+ import einops
5
+ import flash_attn
6
+ import flash_attn.layers.rotary
7
+ import huggingface_hub
8
+ import omegaconf
9
+ import torch
10
+ import torch.nn as nn
11
+ import torch.nn.functional as F
12
+ import transformers
13
+
14
+ from .config import DUOConfig
15
+
16
+ # Flags required to enable jit fusion kernels
17
+ torch._C._jit_set_profiling_mode(False)
18
+ torch._C._jit_set_profiling_executor(False)
19
+ torch._C._jit_override_can_fuse_on_cpu(True)
20
+ torch._C._jit_override_can_fuse_on_gpu(True)
21
+
22
+
23
+ def bias_dropout_add_scale(
24
+ x: torch.Tensor,
25
+ bias: typing.Optional[torch.Tensor],
26
+ scale: torch.Tensor,
27
+ residual: typing.Optional[torch.Tensor],
28
+ prob: float,
29
+ training: bool) -> torch.Tensor:
30
+ if bias is not None:
31
+ out = scale * F.dropout(x + bias, p=prob, training=training)
32
+ else:
33
+ out = scale * F.dropout(x, p=prob, training=training)
34
+
35
+ if residual is not None:
36
+ out = residual + out
37
+ return out
38
+
39
+
40
+ def get_bias_dropout_add_scale(training):
41
+ def _bias_dropout_add(x, bias, scale, residual, prob):
42
+ return bias_dropout_add_scale(
43
+ x, bias, scale, residual, prob, training)
44
+
45
+ return _bias_dropout_add
46
+
47
+
48
+ # function overload
49
+ def modulate(x: torch.Tensor,
50
+ shift: torch.Tensor,
51
+ scale: torch.Tensor) -> torch.Tensor:
52
+ return x * (1 + scale) + shift
53
+
54
+
55
+ @torch.jit.script
56
+ def bias_dropout_add_scale_fused_train(
57
+ x: torch.Tensor,
58
+ bias: typing.Optional[torch.Tensor],
59
+ scale: torch.Tensor,
60
+ residual: typing.Optional[torch.Tensor],
61
+ prob: float) -> torch.Tensor:
62
+ return bias_dropout_add_scale(
63
+ x, bias, scale, residual, prob, True)
64
+
65
+
66
+ @torch.jit.script
67
+ def bias_dropout_add_scale_fused_inference(
68
+ x: torch.Tensor,
69
+ bias: typing.Optional[torch.Tensor],
70
+ scale: torch.Tensor,
71
+ residual: typing.Optional[torch.Tensor],
72
+ prob: float) -> torch.Tensor:
73
+ return bias_dropout_add_scale(
74
+ x, bias, scale, residual, prob, False)
75
+
76
+
77
+ @torch.jit.script
78
+ def modulate_fused(x: torch.Tensor,
79
+ shift: torch.Tensor,
80
+ scale: torch.Tensor) -> torch.Tensor:
81
+ return modulate(x, shift, scale)
82
+
83
+
84
+ class Rotary(torch.nn.Module):
85
+ def __init__(self, dim, base=10_000):
86
+ super().__init__()
87
+ inv_freq = 1.0 / (base ** (torch.arange(0, dim, 2).float() / dim))
88
+ self.register_buffer('inv_freq', inv_freq)
89
+ self.seq_len_cached = None
90
+ self.cos_cached = None
91
+ self.sin_cached = None
92
+
93
+ def forward(self, x, seq_dim=1):
94
+ seq_len = x.shape[seq_dim]
95
+ if seq_len != self.seq_len_cached:
96
+ self.seq_len_cached = seq_len
97
+ t = torch.arange(x.shape[seq_dim], device=x.device).type_as(self.inv_freq)
98
+ freqs = torch.einsum("i,j->ij", t, self.inv_freq.clone())
99
+ emb = torch.cat((freqs, freqs), dim=-1).to(x.device)
100
+ # dims are: batch, seq_len, qkv, head, dim
101
+ self.cos_cached = emb.cos()[None, :, None, None, :].repeat(1,1,3,1,1)
102
+ self.sin_cached = emb.sin()[None, :, None, None, :].repeat(1,1,3,1,1)
103
+ # This makes the transformation on v an identity.
104
+ self.cos_cached[:,:,2,:,:].fill_(1.)
105
+ self.sin_cached[:,:,2,:,:].fill_(0.)
106
+
107
+ return self.cos_cached, self.sin_cached
108
+
109
+
110
+ def rotate_half(x):
111
+ x1, x2 = x[..., : x.shape[-1] // 2], x[..., x.shape[-1] // 2 :]
112
+ return torch.cat((-x2, x1), dim=-1)
113
+
114
+
115
+ def split_and_apply_rotary_pos_emb(qkv, rotary_cos_sin):
116
+ with torch.cuda.amp.autocast(enabled=False):
117
+ cos, sin = rotary_cos_sin
118
+ cos = cos.to(qkv.dtype)
119
+ sin = sin.to(qkv.dtype)
120
+ cos = cos[0,:,0,0,:cos.shape[-1]//2]
121
+ sin = sin[0,:,0,0,:sin.shape[-1]//2]
122
+ q, k, v = qkv.chunk(3, dim=2)
123
+ q = flash_attn.layers.rotary.apply_rotary_emb_torch(
124
+ q.squeeze(dim=2), cos, sin)
125
+ k = flash_attn.layers.rotary.apply_rotary_emb_torch(
126
+ k.squeeze(dim=2), cos, sin)
127
+ v = v.squeeze(dim=2)
128
+ return q, k, v
129
+
130
+
131
+ def apply_rotary_pos_emb(qkv, cos, sin):
132
+ cos = cos[0,:,0,0,:cos.shape[-1]//2]
133
+ sin = sin[0,:,0,0,:sin.shape[-1]//2]
134
+ return flash_attn.layers.rotary.apply_rotary_emb_qkv_(qkv, cos, sin)
135
+
136
+
137
+ def regular_attention_multi_headed(q, k, v):
138
+ # Assuming qkv is a tensor with shape [batch, seq_len, 3, num_heads, head_dim]
139
+ # where the 3 represents Q, K, V packed in that order
140
+ attention_output = F.scaled_dot_product_attention(
141
+ query=q.transpose(1, 2),
142
+ key=k.transpose(1, 2),
143
+ value=v.transpose(1, 2),
144
+ attn_mask=None,
145
+ dropout_p=0.0,
146
+ is_causal=False)
147
+ # [batch_size, seq_len, num_heads, head_dim]
148
+ attention_output = attention_output.transpose(1, 2)
149
+ return einops.rearrange(attention_output, 'b s h d -> b s (h d)')
150
+
151
+
152
+ #################################################################################
153
+ # Layers #
154
+ #################################################################################
155
+ class LayerNorm(nn.Module):
156
+ def __init__(self, dim):
157
+ super().__init__()
158
+ self.weight = nn.Parameter(torch.ones([dim]))
159
+ self.dim = dim
160
+ def forward(self, x):
161
+ with torch.cuda.amp.autocast(enabled=False):
162
+ x = F.layer_norm(x.float(), [self.dim])
163
+ return x * self.weight[None, None, :]
164
+
165
+
166
+ def residual_linear(x, W, x_skip, residual_scale):
167
+ """x_skip + residual_scale * W @ x"""
168
+ dim_out, dim_in = W.shape[0], W.shape[1]
169
+ return torch.addmm(
170
+ x_skip.view(-1, dim_out),
171
+ x.view(-1, dim_in),
172
+ W.T,
173
+ alpha=residual_scale).view(*x.shape[:-1], dim_out)
174
+
175
+
176
+ #################################################################################
177
+ # Embedding Layers for Timesteps and Class Labels #
178
+ #################################################################################
179
+ class TimestepEmbedder(nn.Module):
180
+ """
181
+ Embeds scalar timesteps into vector representations.
182
+ """
183
+ def __init__(self, hidden_size, frequency_embedding_size=256):
184
+ super().__init__()
185
+ self.mlp = nn.Sequential(
186
+ nn.Linear(frequency_embedding_size, hidden_size, bias=True),
187
+ nn.SiLU(),
188
+ nn.Linear(hidden_size, hidden_size, bias=True))
189
+ self.frequency_embedding_size = frequency_embedding_size
190
+
191
+ @staticmethod
192
+ def timestep_embedding(t, dim, max_period=10000):
193
+ """
194
+ Create sinusoidal timestep embeddings.
195
+ :param t: a 1-D Tensor of N indices, one per batch element.
196
+ These may be fractional.
197
+ :param dim: the dimension of the output.
198
+ :param max_period: controls the minimum frequency of the embeddings.
199
+ :return: an (N, D) Tensor of positional embeddings.
200
+ """
201
+ # https://github.com/openai/glide-text2im/blob/main/glide_text2im/nn.py
202
+ half = dim // 2
203
+ freqs = torch.exp(
204
+ - math.log(max_period)
205
+ * torch.arange(start=0, end=half, dtype=torch.float32, device=t.device)
206
+ / half)
207
+ args = t[:, None].float() * freqs[None]
208
+ embedding = torch.cat([torch.cos(args), torch.sin(args)], dim=-1)
209
+ if dim % 2:
210
+ embedding = torch.cat(
211
+ [embedding,
212
+ torch.zeros_like(embedding[:, :1])], dim=-1)
213
+ return embedding
214
+
215
+ def forward(self, t):
216
+ t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
217
+ t_emb = self.mlp(t_freq)
218
+ return t_emb
219
+
220
+
221
+ class LabelEmbedder(nn.Module):
222
+ """Embeds class labels into vector representations.
223
+
224
+ Also handles label dropout for classifier-free guidance.
225
+ """
226
+ def __init__(self, num_classes, cond_size):
227
+ super().__init__()
228
+ self.embedding_table = nn.Embedding(num_classes + 1, cond_size)
229
+ self.num_classes = num_classes
230
+
231
+ # TODO think of initializing with 0.02 std deviation like in original DiT paper
232
+
233
+ def forward(self, labels):
234
+ embeddings = self.embedding_table(labels)
235
+ return embeddings
236
+
237
+
238
+ #################################################################################
239
+ # Core Model #
240
+ #################################################################################
241
+
242
+ class DDiTBlockCausal(nn.Module):
243
+ def __init__(self, dim, n_heads, mlp_ratio=4, dropout=0.1):
244
+ super().__init__()
245
+ self.n_heads = n_heads
246
+
247
+ self.norm1 = LayerNorm(dim)
248
+ self.attn_qkv = nn.Linear(dim, 3 * dim, bias=False)
249
+ self.attn_out = nn.Linear(dim, dim, bias=False)
250
+ self.dropout1 = nn.Dropout(dropout)
251
+
252
+ self.norm2 = LayerNorm(dim)
253
+ self.mlp = nn.Sequential(
254
+ nn.Linear(dim, mlp_ratio * dim, bias=True),
255
+ nn.GELU(approximate='tanh'),
256
+ nn.Linear(mlp_ratio * dim, dim, bias=True))
257
+ self.dropout2 = nn.Dropout(dropout)
258
+ self.dropout = dropout
259
+
260
+ def _get_bias_dropout_scale(self):
261
+ if self.training:
262
+ return bias_dropout_add_scale_fused_train
263
+ else:
264
+ return bias_dropout_add_scale_fused_inference
265
+
266
+ def forward(self, x, rotary_cos_sin, **kwargs):
267
+ del kwargs
268
+ batch_size, seq_len = x.shape[0], x.shape[1]
269
+
270
+ bias_dropout_scale_fn = self._get_bias_dropout_scale()
271
+
272
+ # attention operation
273
+ x_skip = x
274
+ x = self.norm1(x)
275
+
276
+ qkv = self.attn_qkv(x)
277
+ qkv = einops.rearrange(
278
+ qkv,
279
+ 'b s (three h d) -> b s three h d',
280
+ three=3,
281
+ h=self.n_heads)
282
+ with torch.cuda.amp.autocast(enabled=False):
283
+ cos, sin = rotary_cos_sin
284
+ qkv = apply_rotary_pos_emb(
285
+ qkv, cos.to(qkv.dtype), sin.to(qkv.dtype)
286
+ )
287
+ qkv = einops.rearrange(qkv, 'b s ... -> (b s) ...')
288
+ cu_seqlens = torch.arange(
289
+ 0, (batch_size + 1) * seq_len,
290
+ step=seq_len, dtype=torch.int32, device=qkv.device)
291
+ x = flash_attn.flash_attn_interface.flash_attn_varlen_qkvpacked_func(
292
+ qkv, cu_seqlens, seq_len, 0.0, causal=True)
293
+
294
+ x = einops.rearrange(x, '(b s) h d -> b s (h d)',
295
+ b=batch_size)
296
+
297
+ scale = torch.ones(1, device=x.device, dtype=x.dtype)
298
+ x = bias_dropout_scale_fn(
299
+ self.attn_out(x), None, scale, x_skip, self.dropout)
300
+
301
+ # mlp operation
302
+ x = bias_dropout_scale_fn(
303
+ self.mlp(self.norm2(x)), None, scale, x, self.dropout)
304
+ return x
305
+
306
+
307
+
308
+ class DDiTBlock(nn.Module):
309
+ def __init__(self, dim, n_heads, adaLN,
310
+ cond_dim=None, mlp_ratio=4,
311
+ dropout=0.1):
312
+ super().__init__()
313
+ self.n_heads = n_heads
314
+ self.adaLN = adaLN
315
+
316
+ self.norm1 = LayerNorm(dim)
317
+ self.attn_qkv = nn.Linear(dim, 3 * dim, bias=False)
318
+ self.attn_out = nn.Linear(dim, dim, bias=False)
319
+ self.dropout1 = nn.Dropout(dropout)
320
+
321
+ self.norm2 = LayerNorm(dim)
322
+ self.mlp = nn.Sequential(
323
+ nn.Linear(dim, mlp_ratio * dim, bias=True),
324
+ nn.GELU(approximate='tanh'),
325
+ nn.Linear(mlp_ratio * dim, dim, bias=True))
326
+ self.dropout2 = nn.Dropout(dropout)
327
+ self.dropout = dropout
328
+
329
+ if self.adaLN:
330
+ self.adaLN_modulation = nn.Linear(cond_dim, 6 * dim)
331
+ self.adaLN_modulation.weight.data.zero_()
332
+ self.adaLN_modulation.bias.data.zero_()
333
+
334
+
335
+ def _get_bias_dropout_scale(self):
336
+ if self.training:
337
+ return bias_dropout_add_scale_fused_train
338
+ else:
339
+ return bias_dropout_add_scale_fused_inference
340
+
341
+
342
+ def forward(self, x, rotary_cos_sin, c=None):
343
+
344
+ bias_dropout_scale_fn = self._get_bias_dropout_scale()
345
+
346
+ x_skip = x
347
+ x = self.norm1(x)
348
+
349
+ if self.adaLN:
350
+ # self.adaLN_modulation(c): (128, 1536)
351
+ # self.adaLN_modulation(c)[:, None]: (128, 1, 1536)
352
+ # "" .chunk(6, dim=2) returns 6 tuples of shapes (128, 1, 256)
353
+ (shift_msa, scale_msa, gate_msa, shift_mlp,
354
+ scale_mlp, gate_mlp) = self.adaLN_modulation(c)[:, None].chunk(6, dim=2)
355
+ x = modulate_fused(x, shift_msa, scale_msa)
356
+
357
+ qkv = einops.rearrange(
358
+ self.attn_qkv(x),
359
+ 'b s (three h d) -> b s three h d',
360
+ three=3,
361
+ h=self.n_heads)
362
+ q, k, v = split_and_apply_rotary_pos_emb(qkv, rotary_cos_sin)
363
+
364
+ x = regular_attention_multi_headed(q, k, v)
365
+
366
+ if self.adaLN:
367
+ x = bias_dropout_scale_fn(self.attn_out(x),
368
+ None,
369
+ gate_msa,
370
+ x_skip,
371
+ self.dropout)
372
+ x = bias_dropout_scale_fn(
373
+ self.mlp(modulate_fused(
374
+ self.norm2(x), shift_mlp, scale_mlp)),
375
+ None, gate_mlp, x, self.dropout)
376
+ else:
377
+ scale = torch.ones(1, device=x.device, dtype=x.dtype)
378
+ x = bias_dropout_scale_fn(
379
+ self.attn_out(x), None, scale, x_skip, self.dropout)
380
+ x = bias_dropout_scale_fn(
381
+ self.mlp(self.norm2(x)), None, scale, x, self.dropout)
382
+ return x
383
+
384
+
385
+ class EmbeddingLayer(nn.Module):
386
+ def __init__(self, dim, vocab_dim):
387
+ super().__init__()
388
+ self.embedding = nn.Parameter(torch.empty((vocab_dim, dim)))
389
+ torch.nn.init.kaiming_uniform_(self.embedding, a=math.sqrt(5))
390
+
391
+ def forward(self, x):
392
+ if x.ndim == 2:
393
+ return self.embedding[x]
394
+ assert x.ndim == 3
395
+ return torch.einsum(
396
+ "blv,ve->ble",
397
+ torch.nn.functional.softmax(x, dim=-1).float(),
398
+ self.embedding.float()).to(x.dtype)
399
+
400
+
401
+ class DDiTFinalLayer(nn.Module):
402
+ def __init__(self, hidden_size, out_channels, cond_dim,
403
+ adaLN):
404
+ super().__init__()
405
+ self.norm_final = LayerNorm(hidden_size)
406
+ self.linear = nn.Linear(hidden_size, out_channels)
407
+ self.linear.weight.data.zero_()
408
+ self.linear.bias.data.zero_()
409
+ self.adaLN = adaLN
410
+ if self.adaLN:
411
+ self.adaLN_modulation = nn.Linear(cond_dim,
412
+ 2 * hidden_size,
413
+ bias=True)
414
+ self.adaLN_modulation.weight.data.zero_()
415
+ self.adaLN_modulation.bias.data.zero_()
416
+
417
+
418
+ def forward(self, x, c):
419
+ x = self.norm_final(x)
420
+ if self.adaLN:
421
+ shift, scale = self.adaLN_modulation(c)[:, None].chunk(2, dim=2)
422
+ x = modulate_fused(x, shift, scale)
423
+ x = self.linear(x)
424
+ return x
425
+
426
+
427
+ class DIT(nn.Module, huggingface_hub.PyTorchModelHubMixin):
428
+ def __init__(self, config, vocab_size: int):
429
+ super().__init__()
430
+ if type(config) == dict:
431
+ config = omegaconf.OmegaConf.create(config)
432
+ self.causal = config.algo.causal_attention
433
+ self.adaLN = not self.causal
434
+ self.config = config
435
+ self.vocab_size = vocab_size
436
+ dim = config.model.hidden_size
437
+ cond_dim = config.model.cond_dim
438
+ self.vocab_embed = EmbeddingLayer(dim, vocab_size)
439
+ if not self.causal:
440
+ self.sigma_map = TimestepEmbedder(cond_dim)
441
+ self.rotary_emb = Rotary(dim // config.model.n_heads)
442
+
443
+ blocks = []
444
+ for _ in range(config.model.n_blocks):
445
+ if self.causal:
446
+ block = DDiTBlockCausal(
447
+ dim=dim,
448
+ n_heads=config.model.n_heads,
449
+ dropout=config.model.dropout)
450
+ else:
451
+ block = DDiTBlock(
452
+ dim=dim,
453
+ n_heads=config.model.n_heads,
454
+ cond_dim=cond_dim,
455
+ adaLN=self.adaLN,
456
+ dropout=config.model.dropout)
457
+ blocks.append(block)
458
+ self.blocks = nn.ModuleList(blocks)
459
+
460
+ self.output_layer = DDiTFinalLayer(
461
+ hidden_size=dim,
462
+ out_channels=vocab_size,
463
+ cond_dim=cond_dim,
464
+ adaLN=self.adaLN)
465
+ self.scale_by_sigma = config.model.scale_by_sigma
466
+
467
+ def _get_bias_dropout_scale(self):
468
+ if self.training:
469
+ return bias_dropout_add_scale_fused_train
470
+ else:
471
+ return bias_dropout_add_scale_fused_inference
472
+
473
+ def forward(self, x, sigma):
474
+ x = self.vocab_embed(x)
475
+ if self.causal:
476
+ t_cond = None
477
+ else:
478
+ t_cond = F.silu(self.sigma_map(sigma))
479
+
480
+ rotary_cos_sin = self.rotary_emb(x).to(x.device)
481
+
482
+ with torch.cuda.amp.autocast(dtype=torch.bfloat16):
483
+ for i in range(len(self.blocks)):
484
+ x = self.blocks[i](x, rotary_cos_sin, c=t_cond)
485
+ x = self.output_layer(x, c=t_cond)
486
+
487
+ return x
488
+
489
+
490
+
491
+ class HFDIT(torch.nn.Module):
492
+ def __init__(self, config):
493
+ super().__init__()
494
+ self.causal = config.causal
495
+ self.adaLN = not self.causal
496
+ self.vocab_size = config.vocab_size
497
+ dim = config.hidden_dim
498
+ cond_dim = config.cond_dim
499
+ self.vocab_embed = EmbeddingLayer(dim, self.vocab_size)
500
+ if not self.causal:
501
+ self.sigma_map = TimestepEmbedder(cond_dim)
502
+ self.rotary_emb = Rotary(dim // config.n_heads)
503
+
504
+ blocks = []
505
+ for _ in range(config.n_blocks):
506
+ if self.causal:
507
+ block = DDiTBlockCausal(
508
+ dim=dim,
509
+ n_heads=config.n_heads,
510
+ dropout=config.dropout)
511
+ else:
512
+ block = DDiTBlock(
513
+ dim=dim,
514
+ n_heads=config.n_heads,
515
+ cond_dim=cond_dim,
516
+ adaLN=self.adaLN,
517
+ dropout=config.dropout)
518
+ blocks.append(block)
519
+ self.blocks = torch.nn.ModuleList(blocks)
520
+
521
+ self.output_layer = DDiTFinalLayer(
522
+ hidden_size=dim,
523
+ out_channels=self.vocab_size,
524
+ cond_dim=cond_dim,
525
+ adaLN=self.adaLN)
526
+
527
+ def _get_bias_dropout_scale(self):
528
+ if self.training:
529
+ return bias_dropout_add_scale_fused_train
530
+ else:
531
+ return bias_dropout_add_scale_fused_inference
532
+
533
+ def forward(self, x, sigma, output_hidden_states=False):
534
+ all_hidden_states = []
535
+ x = self.vocab_embed(x)
536
+ if output_hidden_states:
537
+ all_hidden_states.append(x)
538
+ if self.causal:
539
+ t_cond = None
540
+ else:
541
+ t_cond = F.silu(self.sigma_map(sigma))
542
+
543
+ rotary_cos_sin = self.rotary_emb(x)
544
+ with torch.cuda.amp.autocast(
545
+ dtype=torch.bfloat16 if torch.cuda.is_bf16_supported() else torch.float32):
546
+ for i in range(len(self.blocks)):
547
+ x = self.blocks[i](x, rotary_cos_sin, c=t_cond)
548
+ if output_hidden_states:
549
+ all_hidden_states.append(x)
550
+ x = self.output_layer(x, c=t_cond)
551
+ return x, all_hidden_states
552
+
553
+
554
+ class DUO(transformers.PreTrainedModel):
555
+ """HF-compatible model."""
556
+ config_class = DUOConfig
557
+ base_model_prefix = 'duo'
558
+
559
+ def __init__(self, config: DUOConfig):
560
+ super().__init__(config)
561
+ self.config = config
562
+ self.backbone = HFDIT(config)
563
+
564
+ def reset_kv_cache(self):
565
+ for block in self.backbone.blocks:
566
+ block.kv_cache = None
567
+
568
+ def forward(
569
+ self,
570
+ input_ids: torch.LongTensor = None,
571
+ timesteps: torch.FloatTensor = None,
572
+ output_hidden_states: typing.Optional[bool] = None,
573
+ return_dict: typing.Optional[bool] = None,
574
+ ) -> typing.Union[
575
+ torch.Tensor, typing.Tuple,
576
+ transformers.modeling_outputs.MaskedLMOutput]:
577
+ """HF-compatible forward method."""
578
+ output_hidden_states = (
579
+ output_hidden_states
580
+ if output_hidden_states is not None
581
+ else self.config.output_hidden_states
582
+ )
583
+ return_dict = return_dict \
584
+ if return_dict is not None \
585
+ else self.config.use_return_dict
586
+
587
+ logits, all_hidden_states = self.backbone(
588
+ x=input_ids,
589
+ sigma=timesteps,
590
+ output_hidden_states=output_hidden_states,
591
+ )
592
+ if return_dict:
593
+ return transformers.modeling_outputs.MaskedLMOutput(
594
+ logits=logits,
595
+ hidden_states=all_hidden_states if output_hidden_states else None,
596
+ loss=None
597
+ )
598
+ elif output_hidden_states:
599
+ return logits, all_hidden_states
600
+ else:
601
+ return logits
checkpoints/quarantine/20260821T024817Z/official/mdlm/owt/README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ language:
5
+ - en
6
+ datasets:
7
+ - Skylion007/openwebtext
8
+ metrics:
9
+ - perplexity
10
+ ---
11
+
12
+ ## Using MDLM
13
+ To use the pre-trained model for masked language modeling, use the following snippet:
14
+ ```python
15
+ from transformers import AutoModelForMaskedLM, AutoTokenizer
16
+
17
+ # See the `MDLM` collection page on the hub for list of available models.
18
+ tokenizer = transformers.AutoTokenizer.from_pretrained('gpt2')
19
+ model_name = 'kuleshov-group/mdlm-owt'
20
+ model = AutoModelForMaskedLM.from_pretrained(model_name)
21
+ ```
22
+
23
+ For more details, please see our github repository: [MDLM](https://github.com/kuleshov-group/mdlm)
24
+
25
+ ## Model Details
26
+ The model, which has a context length of `1024` and is similar in size to GPT2-medium with approximately `130 million` non-embedding parameters,
27
+ was trained using a forward diffusion process that generates inputs varying from fully masked to fully unmasked. Its objective is to
28
+ reconstruct the original input from these varying levels of masking, outputting logits in the process.
29
+ The training regimen comprised one million steps on the OpenWebText corpus, involving the processing of a total of `33 billion` tokens.
30
+
31
+ For more details, please see our paper: [Simple and Effective Masked Diffusion Language Models](http://arxiv.org/abs/2406.07524).
32
+
33
+
34
+
35
+ ## Citation
36
+
37
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
38
+ Please cite our work using the bibtex below:
39
+
40
+ **BibTeX:**
41
+
42
+ ```
43
+ @inproceedings{
44
+ sahoo2024simple,
45
+ title={Simple and Effective Masked Diffusion Language Models},
46
+ author={Subham Sekhar Sahoo and Marianne Arriola and Aaron Gokaslan and Edgar Mariano Marroquin and Alexander M Rush and Yair Schiff and Justin T Chiu and Volodymyr Kuleshov},
47
+ booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
48
+ year={2024},
49
+ url={https://openreview.net/forum?id=L4uaAR4ArM}
50
+ }
51
+ ```
52
+
53
+ **APA:**
54
+
55
+ ```
56
+ @software{Sahoo_Simple_and_Effective_2024,
57
+ author = {Sahoo, Subham Sekhar and Arriola, Marianne and Schiff, Yair and Gokaslan, Aaron and Marroquin, Edgar and Chiu, Justin T and Rush, Alexander and Kuleshov, Volodymyr},
58
+ doi = {10.48550/arXiv.2406.07524},
59
+ month = jun,
60
+ title = {{Simple and Effective Masked Diffusion Language Models}},
61
+ version = {arXiv:2406.07524v1},
62
+ year = {2024}
63
+ }
64
+ ```
65
+
66
+ ## Model Card Contact
67
+ Subham Sekhar Sahoo (subbham@gmail.com)
checkpoints/quarantine/20260825T100201Z/official/langflow/owt/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "chumengl/langflow-owt",
3
+ "architectures": [
4
+ "LangFlow"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "config.LangFlowConfig",
8
+ "AutoModelForMaskedLM": "model.LangFlow"
9
+ },
10
+ "model_type": "LangFlow",
11
+ "vocab_size": 50257,
12
+ "hidden_size": 768,
13
+ "cond_dim": 128,
14
+ "n_blocks": 12,
15
+ "n_heads": 12,
16
+ "dropout": 0.1,
17
+ "model_length": 1024,
18
+ "use_normalized_embedding": true,
19
+ "embedding_norm_method": "layernorm",
20
+ "self_conditioning": true,
21
+ "use_bias": true,
22
+ "gumbel_loc": 4.723,
23
+ "gumbel_scale": 0.852,
24
+ "gumbel_cutoff": 1e-5,
25
+ "gumbel_entropy": 7.02,
26
+ "return_dict": true,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.38.2"
29
+ }
checkpoints/quarantine/20260825T100259Z/official/duo_dcd/owt/README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - Skylion007/openwebtext
4
+ language:
5
+ - en
6
+ library_name: transformers
7
+ license: apache-2.0
8
+ metrics:
9
+ - perplexity
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ ## Using DUO
14
+ To use the pre-trained model for masked language modeling, use the following snippet:
15
+ ```python
16
+ from transformers import AutoModelForMaskedLM, AutoTokenizer
17
+
18
+ # See the `DUO` collection page on the hub for list of available models.
19
+ tokenizer = transformers.AutoTokenizer.from_pretrained('gpt2')
20
+ model = AutoModelForMaskedLM.from_pretrained('s-sahoo/duo-distilled')
21
+ ```
22
+ For a hands-on example, check out this [Colab notebook](https://colab.research.google.com/drive/1Sf7R-dqdR6gq-H8nyZ9E3ZkyvqMTqcwq?usp=sharing).
23
+ For more information and implementation details, visit our github repository: [DUO](https://github.com/s-sahoo/duo)
24
+
25
+ ## Model Details
26
+ The model, which has a context length of `1024` and is similar in size to GPT2-medium with approximately `130 million` non-embedding parameters,
27
+ was trained for 1M steps on the OpenWebText corpus.
28
+
29
+ For more details, please see our paper: [The Diffusion Duality](https://huggingface.co/papers/2506.10892).
30
+
31
+ Project page: https://s-sahoo.com/duo
32
+
33
+ ## Citation
34
+
35
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
36
+ Please cite our work using the bibtex below:
37
+
38
+ **BibTeX:**
39
+
40
+ ```
41
+ @inproceedings{
42
+ sahoo2025the,
43
+ title={The Diffusion Duality},
44
+ author={Subham Sekhar Sahoo and Justin Deschenaux and Aaron Gokaslan and Guanghan Wang and Justin T Chiu and Volodymyr Kuleshov},
45
+ booktitle={Forty-second International Conference on Machine Learning},
46
+ year={2025},
47
+ url={https://openreview.net/forum?id=9P9Y8FOSOk}
48
+ }
49
+ ```
50
+
51
+ ## Model Card Contact
52
+ Subham Sekhar Sahoo (ssahoo@cs.cornell.edu)
create_duo_mdlm.log ADDED
@@ -0,0 +1,762 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
 
 
1
  
 
 
2
  
 
 
 
3
  
 
 
 
 
4
  
 
 
 
 
 
5
  
 
 
 
 
 
 
6
  
 
 
 
 
 
 
 
7
  
 
 
 
 
 
 
 
 
8
   done
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
 
10
  
 
 
11
  
 
 
 
12
  
 
 
 
 
13
   done
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Channels:
2
+ - pytorch
3
+ - nvidia
4
+ - conda-forge
5
+ - defaults
6
+ Platform: linux-64
7
+ Collecting package metadata (repodata.json): ...working... done
8
+ Solving environment: ...working... done
9
+
10
+ Downloading and Extracting Packages: ...working...
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
 
175
+
176
  
177
+
178
+
179
  
180
+
181
+
182
+
183
  
184
+
185
+
186
+
187
+
188
  
189
+
190
+
191
+
192
+
193
+
194
  
195
+
196
+
197
+
198
+
199
+
200
+
201
  
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
  
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
   done
219
+ Preparing transaction: - done
220
+ Verifying transaction: | / done
221
+ Executing transaction: \ | / - \ | / - \ done
222
+ Installing pip dependencies: / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - Ran pip subprocess with arguments:
223
+ ['/opt/anaconda3/envs/dlb-duo/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt', '--exists-action=b']
224
+ Pip subprocess output:
225
+ Requirement already satisfied: datasets==2.15.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2.15.0)
226
+ Requirement already satisfied: einops==0.7.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 2)) (0.7.0)
227
+ Requirement already satisfied: fsspec==2023.10.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 3)) (2023.10.0)
228
+ Requirement already satisfied: h5py==3.10.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 4)) (3.10.0)
229
+ Requirement already satisfied: hydra-core==1.3.2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 5)) (1.3.2)
230
+ Requirement already satisfied: lightning==2.2.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (2.2.1)
231
+ Requirement already satisfied: nvitop==1.3.2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 7)) (1.3.2)
232
+ Requirement already satisfied: omegaconf==2.3.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 8)) (2.3.0)
233
+ Requirement already satisfied: pandas==2.2.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 9)) (2.2.1)
234
+ Requirement already satisfied: rich==13.7.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 10)) (13.7.1)
235
+ Requirement already satisfied: scikit-learn==1.4.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 11)) (1.4.0)
236
+ Requirement already satisfied: timm==0.9.16 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 12)) (0.9.16)
237
+ Requirement already satisfied: torchmetrics==1.6.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 13)) (1.6.1)
238
+ Requirement already satisfied: tqdm==4.66.2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 14)) (4.66.2)
239
+ Requirement already satisfied: transformers==4.38.2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 15)) (4.38.2)
240
+ Requirement already satisfied: wandb==0.18.7 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (0.18.7)
241
+ Requirement already satisfied: numpy>=1.17 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2.3.1)
242
+ Requirement already satisfied: pyarrow>=8.0.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (25.0.0)
243
+ Requirement already satisfied: pyarrow-hotfix in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (0.7)
244
+ Requirement already satisfied: dill<0.3.8,>=0.3.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (0.3.7)
245
+ Requirement already satisfied: requests>=2.19.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2.34.2)
246
+ Requirement already satisfied: xxhash in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (3.8.1)
247
+ Requirement already satisfied: multiprocess in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (0.70.15)
248
+ Requirement already satisfied: aiohttp in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (3.14.3)
249
+ Requirement already satisfied: huggingface-hub>=0.18.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (0.36.2)
250
+ Requirement already satisfied: packaging in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (24.2)
251
+ Requirement already satisfied: pyyaml>=5.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (6.0.3)
252
+ Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from hydra-core==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 5)) (4.9.3)
253
+ Requirement already satisfied: lightning-utilities<2.0,>=0.8.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (0.15.3)
254
+ Requirement already satisfied: torch<4.0,>=1.13.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (2.5.1)
255
+ Requirement already satisfied: typing-extensions<6.0,>=4.4.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (4.16.0)
256
+ Requirement already satisfied: pytorch-lightning in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (2.6.5)
257
+ Requirement already satisfied: nvidia-ml-py<12.536.0a0,>=11.450.51 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 7)) (12.535.161)
258
+ Requirement already satisfied: psutil>=5.6.6 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 7)) (7.2.2)
259
+ Requirement already satisfied: cachetools>=1.0.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 7)) (7.1.6)
260
+ Requirement already satisfied: termcolor>=1.0.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 7)) (3.3.0)
261
+ Collecting numpy>=1.17 (from datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1))
262
+ Using cached numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
263
+ Requirement already satisfied: python-dateutil>=2.8.2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 9)) (2.9.0.post0)
264
+ Requirement already satisfied: pytz>=2020.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 9)) (2026.3.post1)
265
+ Requirement already satisfied: tzdata>=2022.7 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 9)) (2026.3)
266
+ Requirement already satisfied: markdown-it-py>=2.2.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 10)) (4.2.0)
267
+ Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 10)) (2.20.0)
268
+ Requirement already satisfied: scipy>=1.6.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from scikit-learn==1.4.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 11)) (1.17.1)
269
+ Requirement already satisfied: joblib>=1.2.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from scikit-learn==1.4.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 11)) (1.5.3)
270
+ Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from scikit-learn==1.4.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 11)) (3.6.0)
271
+ Requirement already satisfied: torchvision in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 12)) (0.20.1)
272
+ Requirement already satisfied: safetensors in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 12)) (0.8.0)
273
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 15)) (3.32.2)
274
+ Requirement already satisfied: regex!=2019.12.17 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 15)) (2026.7.19)
275
+ Requirement already satisfied: tokenizers<0.19,>=0.14 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 15)) (0.15.2)
276
+ Requirement already satisfied: click!=8.0.0,>=7.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (8.4.2)
277
+ Requirement already satisfied: docker-pycreds>=0.4.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (0.4.0)
278
+ Requirement already satisfied: gitpython!=3.1.29,>=1.0.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (3.1.57)
279
+ Requirement already satisfied: platformdirs in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (4.11.0)
280
+ Requirement already satisfied: protobuf!=4.21.0,!=5.28.0,<6,>=3.19.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (5.29.6)
281
+ Requirement already satisfied: sentry-sdk>=2.0.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (2.66.1)
282
+ Requirement already satisfied: setproctitle in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (1.3.7)
283
+ Requirement already satisfied: setuptools in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (73.0.1)
284
+ Requirement already satisfied: six>=1.4.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from docker-pycreds>=0.4.0->wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (1.17.0)
285
+ Requirement already satisfied: aiohappyeyeballs>=2.5.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2.7.1)
286
+ Requirement already satisfied: aiosignal>=1.4.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (1.4.0)
287
+ Requirement already satisfied: attrs>=17.3.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (26.1.0)
288
+ Requirement already satisfied: frozenlist>=1.1.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (1.8.0)
289
+ Requirement already satisfied: multidict<7.0,>=4.5 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (6.7.1)
290
+ Requirement already satisfied: propcache>=0.2.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (0.5.2)
291
+ Requirement already satisfied: yarl<2.0,>=1.17.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from aiohttp->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (1.24.5)
292
+ Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from gitpython!=3.1.29,>=1.0.0->wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (4.0.12)
293
+ Requirement already satisfied: hf-xet<2.0.0,>=1.1.3 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from huggingface-hub>=0.18.0->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (1.5.2)
294
+ Requirement already satisfied: mdurl~=0.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from markdown-it-py>=2.2.0->rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 10)) (0.1.2)
295
+ Requirement already satisfied: charset_normalizer<4,>=2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from requests>=2.19.0->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (3.4.9)
296
+ Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from requests>=2.19.0->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (3.18)
297
+ Requirement already satisfied: urllib3<3,>=1.26 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from requests>=2.19.0->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2.7.0)
298
+ Requirement already satisfied: certifi>=2023.5.7 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from requests>=2.19.0->datasets==2.15.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 1)) (2026.7.22)
299
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (1.13.1)
300
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (3.6.1)
301
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (3.1.6)
302
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from sympy==1.13.1->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (1.3.0)
303
+ Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torchvision->timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 12)) (12.2.0)
304
+ Requirement already satisfied: smmap<6,>=3.0.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from gitdb<5,>=4.0.1->gitpython!=3.1.29,>=1.0.0->wandb==0.18.7->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 16)) (5.0.3)
305
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from jinja2->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.6vdp7l1m.requirements.txt (line 6)) (3.0.3)
306
+ Using cached numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.0 MB)
307
+ Installing collected packages: numpy
308
+ Attempting uninstall: numpy
309
+ Found existing installation: numpy 2.3.1
310
+ Uninstalling numpy-2.3.1:
311
+ Successfully uninstalled numpy-2.3.1
312
+ Successfully installed numpy-1.26.4
313
+
314
+ done
315
+ #
316
+ # To activate this environment, use
317
+ #
318
+ # $ conda activate dlb-duo
319
+ #
320
+ # To deactivate an active environment, use
321
+ #
322
+ # $ conda deactivate
323
+
324
+ 2.5.1 12.4
325
+
326
+ Collecting flash-attn==2.7.4.post1
327
+ Using cached flash_attn-2.7.4.post1.tar.gz (6.0 MB)
328
+ Preparing metadata (setup.py): started
329
+ Preparing metadata (setup.py): finished with status 'done'
330
+ Requirement already satisfied: torch in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from flash-attn==2.7.4.post1) (2.5.1)
331
+ Requirement already satisfied: einops in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from flash-attn==2.7.4.post1) (0.7.0)
332
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (3.32.2)
333
+ Requirement already satisfied: typing-extensions>=4.8.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (4.16.0)
334
+ Requirement already satisfied: setuptools in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (73.0.1)
335
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (1.13.1)
336
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (3.6.1)
337
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (3.1.6)
338
+ Requirement already satisfied: fsspec in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from torch->flash-attn==2.7.4.post1) (2023.10.0)
339
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from sympy==1.13.1->torch->flash-attn==2.7.4.post1) (1.3.0)
340
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages (from jinja2->torch->flash-attn==2.7.4.post1) (3.0.3)
341
+ Building wheels for collected packages: flash-attn
342
+ Building wheel for flash-attn (setup.py): started
343
+ Building wheel for flash-attn (setup.py): finished with status 'done'
344
+ Created wheel for flash-attn: filename=flash_attn-2.7.4.post1-cp312-cp312-linux_x86_64.whl size=187814472 sha256=a496f383c843ed0cc6e01302556a0947f56828f1ec2b54e5297c4c7eaae39357
345
+ Stored in directory: /home/ruizzhao/.cache/pip/wheels/48/0f/98/166bf6b39dd0592924b22ce21b799fc9fd76c3a302c12ee359
346
+ Successfully built flash-attn
347
+ Installing collected packages: flash-attn
348
+ Successfully installed flash-attn-2.7.4.post1
349
+
350
+ Channels:
351
+ - pytorch
352
+ - nvidia
353
+ - conda-forge
354
+ - defaults
355
+ Platform: linux-64
356
+ Collecting package metadata (repodata.json): ...working... done
357
+ Solving environment: ...working... done
358
+
359
+ Downloading and Extracting Packages: ...working...
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
 
391
+
392
  
393
+
394
+
395
  
396
+
397
+
398
+
399
  
400
+
401
+
402
+
403
+
404
   done
405
+ Preparing transaction: - done
406
+ Verifying transaction: | / done
407
+ Executing transaction: \ done
408
+ Installing pip dependencies: / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | Ran pip subprocess with arguments:
409
+ ['/opt/anaconda3/envs/dlb-mdlm/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt', '--exists-action=b']
410
+ Pip subprocess output:
411
+ Collecting datasets==2.18.0 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
412
+ Using cached datasets-2.18.0-py3-none-any.whl.metadata (20 kB)
413
+ Collecting einops==0.7.0 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 2))
414
+ Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB)
415
+ Collecting fsspec==2024.2.0 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 3))
416
+ Using cached fsspec-2024.2.0-py3-none-any.whl.metadata (6.8 kB)
417
+ Collecting h5py==3.10.0 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 4))
418
+ Using cached h5py-3.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
419
+ Collecting hydra-core==1.3.2 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 5))
420
+ Using cached hydra_core-1.3.2-py3-none-any.whl.metadata (5.5 kB)
421
+ Collecting lightning==2.2.1 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6))
422
+ Using cached lightning-2.2.1-py3-none-any.whl.metadata (56 kB)
423
+ Collecting nvitop==1.3.2 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 7))
424
+ Using cached nvitop-1.3.2-py3-none-any.whl.metadata (78 kB)
425
+ Collecting omegaconf==2.3.0 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 8))
426
+ Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
427
+ Collecting pandas==2.2.1 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 9))
428
+ Using cached pandas-2.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
429
+ Collecting rich==13.7.1 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 10))
430
+ Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB)
431
+ Collecting timm==0.9.16 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 11))
432
+ Using cached timm-0.9.16-py3-none-any.whl.metadata (38 kB)
433
+ Collecting transformers==4.38.2 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 12))
434
+ Using cached transformers-4.38.2-py3-none-any.whl.metadata (130 kB)
435
+ Collecting wandb==0.13.5 (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
436
+ Using cached wandb-0.13.5-py2.py3-none-any.whl.metadata (7.4 kB)
437
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (3.19.1)
438
+ Requirement already satisfied: numpy>=1.17 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (1.22.4)
439
+ Collecting pyarrow>=12.0.0 (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
440
+ Using cached pyarrow-21.0.0-cp39-cp39-manylinux_2_28_x86_64.whl.metadata (3.3 kB)
441
+ Collecting pyarrow-hotfix (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
442
+ Using cached pyarrow_hotfix-0.7-py3-none-any.whl.metadata (3.6 kB)
443
+ Collecting dill<0.3.9,>=0.3.0 (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
444
+ Using cached dill-0.3.8-py3-none-any.whl.metadata (10 kB)
445
+ Requirement already satisfied: requests>=2.19.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (2.32.5)
446
+ Collecting tqdm>=4.62.1 (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
447
+ Using cached tqdm-4.70.0-py3-none-any.whl.metadata (57 kB)
448
+ Collecting xxhash (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
449
+ Using cached xxhash-3.8.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (15 kB)
450
+ Collecting multiprocess (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
451
+ Using cached multiprocess-0.70.19-py39-none-any.whl.metadata (7.5 kB)
452
+ Collecting aiohttp (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
453
+ Using cached aiohttp-3.13.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (8.1 kB)
454
+ Collecting huggingface-hub>=0.19.4 (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
455
+ Using cached huggingface_hub-1.8.0-py3-none-any.whl.metadata (13 kB)
456
+ Collecting packaging (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
457
+ Using cached packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
458
+ Requirement already satisfied: pyyaml>=5.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (6.0.2)
459
+ Collecting antlr4-python3-runtime==4.9.* (from hydra-core==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 5))
460
+ Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
461
+ Collecting lightning-utilities<2.0,>=0.8.0 (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6))
462
+ Using cached lightning_utilities-0.15.2-py3-none-any.whl.metadata (5.7 kB)
463
+ Collecting packaging (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
464
+ Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
465
+ Requirement already satisfied: torch<4.0,>=1.13.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (2.5.1)
466
+ Collecting torchmetrics<3.0,>=0.7.0 (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6))
467
+ Using cached torchmetrics-1.8.2-py3-none-any.whl.metadata (22 kB)
468
+ Requirement already satisfied: typing-extensions<6.0,>=4.4.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (4.14.1)
469
+ Collecting pytorch-lightning (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6))
470
+ Using cached pytorch_lightning-2.6.0-py3-none-any.whl.metadata (21 kB)
471
+ Collecting nvidia-ml-py<12.536.0a0,>=11.450.51 (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 7))
472
+ Using cached nvidia_ml_py-12.535.161-py3-none-any.whl.metadata (8.6 kB)
473
+ Collecting psutil>=5.6.6 (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 7))
474
+ Using cached psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl.metadata (22 kB)
475
+ Collecting cachetools>=1.0.1 (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 7))
476
+ Using cached cachetools-6.2.6-py3-none-any.whl.metadata (5.6 kB)
477
+ Collecting termcolor>=1.0.0 (from nvitop==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 7))
478
+ Using cached termcolor-3.1.0-py3-none-any.whl.metadata (6.4 kB)
479
+ Collecting python-dateutil>=2.8.2 (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 9))
480
+ Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
481
+ Collecting pytz>=2020.1 (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 9))
482
+ Using cached pytz-2026.3.post1-py2.py3-none-any.whl.metadata (22 kB)
483
+ Collecting tzdata>=2022.7 (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 9))
484
+ Using cached tzdata-2026.3-py2.py3-none-any.whl.metadata (1.4 kB)
485
+ Collecting markdown-it-py>=2.2.0 (from rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 10))
486
+ Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
487
+ Collecting pygments<3.0.0,>=2.13.0 (from rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 10))
488
+ Using cached pygments-2.20.0-py3-none-any.whl.metadata (2.5 kB)
489
+ Requirement already satisfied: torchvision in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 11)) (0.20.1)
490
+ Collecting safetensors (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 11))
491
+ Using cached safetensors-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
492
+ Collecting huggingface-hub>=0.19.4 (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
493
+ Using cached huggingface_hub-0.36.2-py3-none-any.whl.metadata (15 kB)
494
+ Collecting regex!=2019.12.17 (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 12))
495
+ Using cached regex-2026.1.15-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (40 kB)
496
+ Collecting tokenizers<0.19,>=0.14 (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 12))
497
+ Using cached tokenizers-0.15.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB)
498
+ Collecting Click!=8.0.0,>=7.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
499
+ Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
500
+ Collecting GitPython>=1.0.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
501
+ Using cached gitpython-3.1.57-py3-none-any.whl.metadata (13 kB)
502
+ Collecting promise<3,>=2.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
503
+ Using cached promise-2.3-py3-none-any.whl
504
+ Collecting shortuuid>=0.5.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
505
+ Using cached shortuuid-1.0.13-py3-none-any.whl.metadata (5.8 kB)
506
+ Collecting sentry-sdk>=1.0.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
507
+ Using cached sentry_sdk-2.66.1-py3-none-any.whl.metadata (11 kB)
508
+ Collecting six>=1.13.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
509
+ Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
510
+ Collecting docker-pycreds>=0.4.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
511
+ Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)
512
+ Collecting protobuf!=4.0.*,!=4.21.0,<5,>=3.12.0 (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
513
+ Using cached protobuf-4.25.9-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
514
+ Collecting pathtools (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
515
+ Using cached pathtools-0.1.2-py3-none-any.whl
516
+ Collecting setproctitle (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
517
+ Using cached setproctitle-1.3.7-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (10 kB)
518
+ Requirement already satisfied: setuptools in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13)) (80.9.0)
519
+ Collecting aiohappyeyeballs>=2.5.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
520
+ Using cached aiohappyeyeballs-2.6.1-py3-none-any.whl.metadata (5.9 kB)
521
+ Collecting aiosignal>=1.4.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
522
+ Using cached aiosignal-1.4.0-py3-none-any.whl.metadata (3.7 kB)
523
+ Collecting async-timeout<6.0,>=4.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
524
+ Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
525
+ Collecting attrs>=17.3.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
526
+ Using cached attrs-26.1.0-py3-none-any.whl.metadata (8.8 kB)
527
+ Collecting frozenlist>=1.1.1 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
528
+ Using cached frozenlist-1.8.0-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (20 kB)
529
+ Collecting multidict<7.0,>=4.5 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
530
+ Using cached multidict-6.7.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (5.3 kB)
531
+ Collecting propcache>=0.2.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
532
+ Using cached propcache-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (13 kB)
533
+ Collecting yarl<2.0,>=1.17.0 (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
534
+ Using cached yarl-1.22.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (75 kB)
535
+ Collecting gitdb<5,>=4.0.1 (from GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
536
+ Using cached gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB)
537
+ Collecting hf-xet<2.0.0,>=1.1.3 (from huggingface-hub>=0.19.4->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
538
+ Using cached hf_xet-1.5.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (4.9 kB)
539
+ Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich==13.7.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 10))
540
+ Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
541
+ Requirement already satisfied: charset_normalizer<4,>=2 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (3.4.3)
542
+ Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (3.11)
543
+ Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (2.5.0)
544
+ Requirement already satisfied: certifi>=2017.4.17 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1)) (2025.8.3)
545
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (3.2.1)
546
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (3.1.6)
547
+ Collecting sympy==1.13.1 (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6))
548
+ Using cached sympy-1.13.1-py3-none-any.whl.metadata (12 kB)
549
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from sympy==1.13.1->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (1.3.0)
550
+ INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
551
+ Collecting multiprocess (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 1))
552
+ Using cached multiprocess-0.70.18-py39-none-any.whl.metadata (7.5 kB)
553
+ Using cached multiprocess-0.70.17-py39-none-any.whl.metadata (7.2 kB)
554
+ Using cached multiprocess-0.70.16-py39-none-any.whl.metadata (7.2 kB)
555
+ Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torchvision->timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 11)) (9.4.0)
556
+ Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 13))
557
+ Using cached smmap-5.0.3-py3-none-any.whl.metadata (4.6 kB)
558
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from jinja2->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.s40bn6wf.requirements.txt (line 6)) (3.0.2)
559
+ Using cached datasets-2.18.0-py3-none-any.whl (510 kB)
560
+ Using cached einops-0.7.0-py3-none-any.whl (44 kB)
561
+ Using cached fsspec-2024.2.0-py3-none-any.whl (170 kB)
562
+ Using cached h5py-3.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
563
+ Using cached hydra_core-1.3.2-py3-none-any.whl (154 kB)
564
+ Using cached lightning-2.2.1-py3-none-any.whl (2.1 MB)
565
+ Using cached nvitop-1.3.2-py3-none-any.whl (215 kB)
566
+ Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
567
+ Using cached pandas-2.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB)
568
+ Using cached rich-13.7.1-py3-none-any.whl (240 kB)
569
+ Using cached timm-0.9.16-py3-none-any.whl (2.2 MB)
570
+ Using cached transformers-4.38.2-py3-none-any.whl (8.5 MB)
571
+ Using cached wandb-0.13.5-py2.py3-none-any.whl (1.9 MB)
572
+ Using cached cachetools-6.2.6-py3-none-any.whl (11 kB)
573
+ Using cached click-8.1.8-py3-none-any.whl (98 kB)
574
+ Using cached dill-0.3.8-py3-none-any.whl (116 kB)
575
+ Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
576
+ Using cached aiohttp-3.13.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.7 MB)
577
+ Using cached gitpython-3.1.57-py3-none-any.whl (217 kB)
578
+ Using cached huggingface_hub-0.36.2-py3-none-any.whl (566 kB)
579
+ Using cached lightning_utilities-0.15.2-py3-none-any.whl (29 kB)
580
+ Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
581
+ Using cached nvidia_ml_py-12.535.161-py3-none-any.whl (37 kB)
582
+ Using cached packaging-24.2-py3-none-any.whl (65 kB)
583
+ Using cached protobuf-4.25.9-cp37-abi3-manylinux2014_x86_64.whl (295 kB)
584
+ Using cached psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl (155 kB)
585
+ Using cached pyarrow-21.0.0-cp39-cp39-manylinux_2_28_x86_64.whl (42.7 MB)
586
+ Using cached pygments-2.20.0-py3-none-any.whl (1.2 MB)
587
+ Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
588
+ Using cached pytz-2026.3.post1-py2.py3-none-any.whl (508 kB)
589
+ Using cached regex-2026.1.15-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (791 kB)
590
+ Using cached safetensors-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (507 kB)
591
+ Using cached sentry_sdk-2.66.1-py3-none-any.whl (505 kB)
592
+ Using cached shortuuid-1.0.13-py3-none-any.whl (10 kB)
593
+ Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
594
+ Using cached termcolor-3.1.0-py3-none-any.whl (7.7 kB)
595
+ Using cached tokenizers-0.15.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
596
+ Using cached sympy-1.13.1-py3-none-any.whl (6.2 MB)
597
+ Using cached torchmetrics-1.8.2-py3-none-any.whl (983 kB)
598
+ Using cached tqdm-4.70.0-py3-none-any.whl (80 kB)
599
+ Using cached tzdata-2026.3-py2.py3-none-any.whl (348 kB)
600
+ Using cached multiprocess-0.70.16-py39-none-any.whl (133 kB)
601
+ Using cached pyarrow_hotfix-0.7-py3-none-any.whl (7.9 kB)
602
+ Using cached pytorch_lightning-2.6.0-py3-none-any.whl (849 kB)
603
+ Using cached setproctitle-1.3.7-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (31 kB)
604
+ Using cached xxhash-3.8.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (216 kB)
605
+ Using cached aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
606
+ Using cached aiosignal-1.4.0-py3-none-any.whl (7.5 kB)
607
+ Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
608
+ Using cached attrs-26.1.0-py3-none-any.whl (67 kB)
609
+ Using cached frozenlist-1.8.0-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (219 kB)
610
+ Using cached gitdb-4.0.12-py3-none-any.whl (62 kB)
611
+ Using cached hf_xet-1.5.2-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.4 MB)
612
+ Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
613
+ Using cached multidict-6.7.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (240 kB)
614
+ Using cached propcache-0.4.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (197 kB)
615
+ Using cached yarl-1.22.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (346 kB)
616
+ Using cached smmap-5.0.3-py3-none-any.whl (24 kB)
617
+ Installing collected packages: pytz, pathtools, nvidia-ml-py, antlr4-python3-runtime, xxhash, tzdata, tqdm, termcolor, sympy, smmap, six, shortuuid, setproctitle, sentry-sdk, safetensors, regex, pygments, pyarrow-hotfix, pyarrow, psutil, protobuf, propcache, packaging, omegaconf, multidict, mdurl, hf-xet, h5py, fsspec, frozenlist, einops, dill, Click, cachetools, attrs, async-timeout, aiohappyeyeballs, yarl, python-dateutil, promise, nvitop, multiprocess, markdown-it-py, lightning-utilities, hydra-core, huggingface-hub, gitdb, docker-pycreds, aiosignal, torchmetrics, tokenizers, rich, pandas, GitPython, aiohttp, wandb, transformers, timm, pytorch-lightning, datasets, lightning
618
+ Attempting uninstall: sympy
619
+ Found existing installation: sympy 1.14.0
620
+ Uninstalling sympy-1.14.0:
621
+ Successfully uninstalled sympy-1.14.0
622
+ Successfully installed Click-8.1.8 GitPython-3.1.57 aiohappyeyeballs-2.6.1 aiohttp-3.13.5 aiosignal-1.4.0 antlr4-python3-runtime-4.9.3 async-timeout-5.0.1 attrs-26.1.0 cachetools-6.2.6 datasets-2.18.0 dill-0.3.8 docker-pycreds-0.4.0 einops-0.7.0 frozenlist-1.8.0 fsspec-2024.2.0 gitdb-4.0.12 h5py-3.10.0 hf-xet-1.5.2 huggingface-hub-0.36.2 hydra-core-1.3.2 lightning-2.2.1 lightning-utilities-0.15.2 markdown-it-py-3.0.0 mdurl-0.1.2 multidict-6.7.1 multiprocess-0.70.16 nvidia-ml-py-12.535.161 nvitop-1.3.2 omegaconf-2.3.0 packaging-24.2 pandas-2.2.1 pathtools-0.1.2 promise-2.3 propcache-0.4.1 protobuf-4.25.9 psutil-7.2.2 pyarrow-21.0.0 pyarrow-hotfix-0.7 pygments-2.20.0 python-dateutil-2.9.0.post0 pytorch-lightning-2.6.0 pytz-2026.3.post1 regex-2026.1.15 rich-13.7.1 safetensors-0.7.0 sentry-sdk-2.66.1 setproctitle-1.3.7 shortuuid-1.0.13 six-1.17.0 smmap-5.0.3 sympy-1.13.1 termcolor-3.1.0 timm-0.9.16 tokenizers-0.15.2 torchmetrics-1.8.2 tqdm-4.70.0 transformers-4.38.2 tzdata-2026.3 wandb-0.13.5 xxhash-3.8.1 yarl-1.22.0
623
+
624
+ done
625
+ #
626
+ # To activate this environment, use
627
+ #
628
+ # $ conda activate dlb-mdlm
629
+ #
630
+ # To deactivate an active environment, use
631
+ #
632
+ # $ conda deactivate
633
+
634
+ 2.5.1 12.4
635
+
636
+ Collecting git+https://github.com/Dao-AILab/causal-conv1d.git@v1.1.3.post1
637
+ Cloning https://github.com/Dao-AILab/causal-conv1d.git (to revision v1.1.3.post1) to /tmp/pip-req-build-84817d6p
638
+ Resolved https://github.com/Dao-AILab/causal-conv1d.git to commit 89e4aa413ea99a079a39364b0a58f54239b4306c
639
+ Preparing metadata (setup.py): started
640
+ Preparing metadata (setup.py): finished with status 'done'
641
+ Collecting git+https://github.com/state-spaces/mamba.git@v1.1.4
642
+ Cloning https://github.com/state-spaces/mamba.git (to revision v1.1.4) to /tmp/pip-req-build-9_lvy0g0
643
+ Resolved https://github.com/state-spaces/mamba.git to commit ce59daea3a090d011d6476c6e5b97f6d58ddad8b
644
+ Preparing metadata (setup.py): started
645
+ Preparing metadata (setup.py): finished with status 'done'
646
+ Requirement already satisfied: torch in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from causal_conv1d==1.1.3.post1) (2.5.1)
647
+ Requirement already satisfied: packaging in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from causal_conv1d==1.1.3.post1) (24.2)
648
+ Collecting buildtools (from causal_conv1d==1.1.3.post1)
649
+ Using cached buildtools-1.0.6-py3-none-any.whl
650
+ Collecting ninja (from causal_conv1d==1.1.3.post1)
651
+ Using cached ninja-1.13.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (5.1 kB)
652
+ Requirement already satisfied: einops in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from mamba_ssm==1.1.4) (0.7.0)
653
+ Requirement already satisfied: triton in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from mamba_ssm==1.1.4) (3.1.0)
654
+ Requirement already satisfied: transformers in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from mamba_ssm==1.1.4) (4.38.2)
655
+ Collecting sqlalchemy (from buildtools->causal_conv1d==1.1.3.post1)
656
+ Using cached sqlalchemy-2.0.51-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (9.5 kB)
657
+ Collecting argparse (from buildtools->causal_conv1d==1.1.3.post1)
658
+ Using cached argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB)
659
+ Collecting twisted (from buildtools->causal_conv1d==1.1.3.post1)
660
+ Using cached twisted-26.4.0-py3-none-any.whl.metadata (15 kB)
661
+ Collecting simplejson (from buildtools->causal_conv1d==1.1.3.post1)
662
+ Using cached simplejson-4.1.1-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (3.8 kB)
663
+ Collecting furl (from buildtools->causal_conv1d==1.1.3.post1)
664
+ Using cached furl-2.1.4-py2.py3-none-any.whl.metadata (25 kB)
665
+ Requirement already satisfied: requests in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from buildtools->causal_conv1d==1.1.3.post1) (2.32.5)
666
+ Collecting docopt (from buildtools->causal_conv1d==1.1.3.post1)
667
+ Using cached docopt-0.6.2-py2.py3-none-any.whl
668
+ Requirement already satisfied: python-dateutil in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from buildtools->causal_conv1d==1.1.3.post1) (2.9.0.post0)
669
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from buildtools->causal_conv1d==1.1.3.post1) (3.1.6)
670
+ Collecting redo (from buildtools->causal_conv1d==1.1.3.post1)
671
+ Using cached redo-3.0.0-py2.py3-none-any.whl.metadata (8.0 kB)
672
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->causal_conv1d==1.1.3.post1) (3.19.1)
673
+ Requirement already satisfied: typing-extensions>=4.8.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->causal_conv1d==1.1.3.post1) (4.14.1)
674
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->causal_conv1d==1.1.3.post1) (3.2.1)
675
+ Requirement already satisfied: fsspec in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->causal_conv1d==1.1.3.post1) (2024.2.0)
676
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->causal_conv1d==1.1.3.post1) (1.13.1)
677
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from sympy==1.13.1->torch->causal_conv1d==1.1.3.post1) (1.3.0)
678
+ Requirement already satisfied: huggingface-hub<1.0,>=0.19.3 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (0.36.2)
679
+ Requirement already satisfied: numpy>=1.17 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (1.22.4)
680
+ Requirement already satisfied: pyyaml>=5.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (6.0.2)
681
+ Requirement already satisfied: regex!=2019.12.17 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (2026.1.15)
682
+ Requirement already satisfied: tokenizers<0.19,>=0.14 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (0.15.2)
683
+ Requirement already satisfied: safetensors>=0.4.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (0.7.0)
684
+ Requirement already satisfied: tqdm>=4.27 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from transformers->mamba_ssm==1.1.4) (4.70.0)
685
+ Requirement already satisfied: hf-xet<2.0.0,>=1.1.3 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from huggingface-hub<1.0,>=0.19.3->transformers->mamba_ssm==1.1.4) (1.5.2)
686
+ Requirement already satisfied: six>=1.8.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from furl->buildtools->causal_conv1d==1.1.3.post1) (1.17.0)
687
+ Collecting orderedmultidict>=1.0.1 (from furl->buildtools->causal_conv1d==1.1.3.post1)
688
+ Using cached orderedmultidict-1.0.2-py2.py3-none-any.whl.metadata (1.2 kB)
689
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from jinja2->buildtools->causal_conv1d==1.1.3.post1) (3.0.2)
690
+ Requirement already satisfied: charset_normalizer<4,>=2 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests->buildtools->causal_conv1d==1.1.3.post1) (3.4.3)
691
+ Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests->buildtools->causal_conv1d==1.1.3.post1) (3.11)
692
+ Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests->buildtools->causal_conv1d==1.1.3.post1) (2.5.0)
693
+ Requirement already satisfied: certifi>=2017.4.17 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from requests->buildtools->causal_conv1d==1.1.3.post1) (2025.8.3)
694
+ Collecting greenlet>=1 (from sqlalchemy->buildtools->causal_conv1d==1.1.3.post1)
695
+ Using cached greenlet-3.2.5-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.metadata (4.1 kB)
696
+ Requirement already satisfied: attrs>=22.2.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from twisted->buildtools->causal_conv1d==1.1.3.post1) (26.1.0)
697
+ Collecting automat>=24.8.0 (from twisted->buildtools->causal_conv1d==1.1.3.post1)
698
+ Using cached automat-25.4.16-py3-none-any.whl.metadata (8.4 kB)
699
+ Collecting constantly>=15.1 (from twisted->buildtools->causal_conv1d==1.1.3.post1)
700
+ Using cached constantly-23.10.4-py3-none-any.whl.metadata (1.8 kB)
701
+ Collecting hyperlink>=17.1.1 (from twisted->buildtools->causal_conv1d==1.1.3.post1)
702
+ Using cached hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB)
703
+ Collecting incremental>=24.7.0 (from twisted->buildtools->causal_conv1d==1.1.3.post1)
704
+ Using cached incremental-24.11.0-py3-none-any.whl.metadata (9.5 kB)
705
+ Collecting zope-interface>=5 (from twisted->buildtools->causal_conv1d==1.1.3.post1)
706
+ Using cached zope_interface-8.0.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.metadata (44 kB)
707
+ Collecting tomli (from incremental>=24.7.0->twisted->buildtools->causal_conv1d==1.1.3.post1)
708
+ Using cached tomli-2.4.1-py3-none-any.whl.metadata (10 kB)
709
+ Using cached ninja-1.13.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (180 kB)
710
+ Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB)
711
+ Using cached furl-2.1.4-py2.py3-none-any.whl (27 kB)
712
+ Using cached redo-3.0.0-py2.py3-none-any.whl (14 kB)
713
+ Using cached simplejson-4.1.1-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (168 kB)
714
+ Using cached sqlalchemy-2.0.51-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2 MB)
715
+ Using cached twisted-26.4.0-py3-none-any.whl (3.2 MB)
716
+ Using cached automat-25.4.16-py3-none-any.whl (42 kB)
717
+ Using cached constantly-23.10.4-py3-none-any.whl (13 kB)
718
+ Using cached greenlet-3.2.5-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (587 kB)
719
+ Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
720
+ Using cached incremental-24.11.0-py3-none-any.whl (21 kB)
721
+ Using cached orderedmultidict-1.0.2-py2.py3-none-any.whl (11 kB)
722
+ Using cached zope_interface-8.0.1-cp39-cp39-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (253 kB)
723
+ Using cached tomli-2.4.1-py3-none-any.whl (14 kB)
724
+ Building wheels for collected packages: causal_conv1d, mamba_ssm
725
+ Building wheel for causal_conv1d (setup.py): started
726
+ Building wheel for causal_conv1d (setup.py): finished with status 'done'
727
+ Created wheel for causal_conv1d: filename=causal_conv1d-1.1.3.post1-cp39-cp39-linux_x86_64.whl size=11327086 sha256=598479ff95c74113eb94287bb57652db555e85ca68811078b9aad4e92a5a8a15
728
+ Stored in directory: /tmp/pip-ephem-wheel-cache-kcmz2rxp/wheels/c3/0f/ae/e4b098b68934244b5fd2cac33baffe9990b84c9f0f5f45b25b
729
+ Building wheel for mamba_ssm (setup.py): started
730
+ Building wheel for mamba_ssm (setup.py): still running...
731
+ Building wheel for mamba_ssm (setup.py): still running...
732
+ Building wheel for mamba_ssm (setup.py): still running...
733
+ Building wheel for mamba_ssm (setup.py): still running...
734
+ Building wheel for mamba_ssm (setup.py): still running...
735
+ Building wheel for mamba_ssm (setup.py): finished with status 'done'
736
+ Created wheel for mamba_ssm: filename=mamba_ssm-1.1.4-cp39-cp39-linux_x86_64.whl size=153646045 sha256=6b77675216e9daabe31d0f808aceb199413b7b8e136917160e384aaa3b706441
737
+ Stored in directory: /tmp/pip-ephem-wheel-cache-kcmz2rxp/wheels/95/62/53/1c84f6120ad3af516300f5483e20317d21363d95785af8ce93
738
+ Successfully built causal_conv1d mamba_ssm
739
+ Installing collected packages: redo, docopt, argparse, zope-interface, tomli, simplejson, orderedmultidict, ninja, hyperlink, greenlet, constantly, automat, sqlalchemy, incremental, furl, twisted, buildtools, causal_conv1d, mamba_ssm
740
+ Successfully installed argparse-1.4.0 automat-25.4.16 buildtools-1.0.6 causal_conv1d-1.1.3.post1 constantly-23.10.4 docopt-0.6.2 furl-2.1.4 greenlet-3.2.5 hyperlink-21.0.0 incremental-24.11.0 mamba_ssm-1.1.4 ninja-1.13.0 orderedmultidict-1.0.2 redo-3.0.0 simplejson-4.1.1 sqlalchemy-2.0.51 tomli-2.4.1 twisted-26.4.0 zope-interface-8.0.1
741
+ Running command git clone --filter=blob:none --quiet https://github.com/Dao-AILab/causal-conv1d.git /tmp/pip-req-build-84817d6p
742
+ Running command git checkout -q 89e4aa413ea99a079a39364b0a58f54239b4306c
743
+ Running command git clone --filter=blob:none --quiet https://github.com/state-spaces/mamba.git /tmp/pip-req-build-9_lvy0g0
744
+ Running command git checkout -q ce59daea3a090d011d6476c6e5b97f6d58ddad8b
745
+ Running command git submodule update --init --recursive -q
746
+
747
+
748
+ Collecting flash-attn==2.5.6
749
+ Downloading flash_attn-2.5.6.tar.gz (2.5 MB)
750
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 17.0 MB/s eta 0:00:00
751
+ Preparing metadata (setup.py): started
752
+ Preparing metadata (setup.py): finished with status 'done'
753
+ Requirement already satisfied: torch in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from flash-attn==2.5.6) (2.5.1)
754
+ Requirement already satisfied: einops in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from flash-attn==2.5.6) (0.7.0)
755
+ Requirement already satisfied: packaging in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from flash-attn==2.5.6) (24.2)
756
+ Requirement already satisfied: ninja in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from flash-attn==2.5.6) (1.13.0)
757
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (3.19.1)
758
+ Requirement already satisfied: typing-extensions>=4.8.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (4.14.1)
759
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (3.2.1)
760
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (3.1.6)
761
+ Requirement already satisfied: fsspec in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (2024.2.0)
762
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from torch->flash-attn==2.5.6) (1.13.1)
763
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from sympy==1.13.1->torch->flash-attn==2.5.6) (1.3.0)
764
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages (from jinja2->torch->flash-attn==2.5.6) (3.0.2)
765
+ Building wheels for collected packages: flash-attn
766
+ Building wheel for flash-attn (setup.py): started
767
+ Building wheel for flash-attn (setup.py): still running...
768
+ Building wheel for flash-attn (setup.py): still running...
769
+ Building wheel for flash-attn (setup.py): still running...
770
+ Building wheel for flash-attn (setup.py): finished with status 'done'
771
+ Created wheel for flash-attn: filename=flash_attn-2.5.6-cp39-cp39-linux_x86_64.whl size=118192997 sha256=9a57646118e777f927c9759122652b73eb27913de5973fc2fb7320309afd4751
772
+ Stored in directory: /home/ruizzhao/.cache/pip/wheels/a7/dc/5f/55c369f8b94df622b45cc15d41b43c5f83747f5134d124cb5e
773
+ Successfully built flash-attn
774
+ Installing collected packages: flash-attn
775
+ Successfully installed flash-attn-2.5.6
776
+
create_remaining_envs.log ADDED
The diff for this file is too large to render. See raw diff
 
create_sdtt_di4c_fix.log ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Channels:
2
+ - pytorch
3
+ - nvidia
4
+ - conda-forge
5
+ - defaults
6
+ Platform: linux-64
7
+ Collecting package metadata (repodata.json): ...working... done
8
+ Solving environment: ...working... done
9
+ Installing pip dependencies: - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ Ran pip subprocess with arguments:
10
+ ['/opt/anaconda3/envs/dlb-sdtt/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt', '--exists-action=b']
11
+ Pip subprocess output:
12
+ Requirement already satisfied: datasets==2.18.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (2.18.0)
13
+ Requirement already satisfied: einops==0.7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 2)) (0.7.0)
14
+ Requirement already satisfied: evaluate==0.4.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 3)) (0.4.2)
15
+ Requirement already satisfied: fancy-einsum==0.0.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 4)) (0.0.3)
16
+ Requirement already satisfied: fsspec==2024.2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 5)) (2024.2.0)
17
+ Requirement already satisfied: gpustat==1.1.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (1.1.1)
18
+ Requirement already satisfied: huggingface-hub==0.21.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 7)) (0.21.1)
19
+ Requirement already satisfied: hydra-core==1.3.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 8)) (1.3.2)
20
+ Requirement already satisfied: hydra-submitit-launcher==1.2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 9)) (1.2.0)
21
+ Requirement already satisfied: lightning==2.2.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (2.2.1)
22
+ Requirement already satisfied: loguru==0.7.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 11)) (0.7.2)
23
+ Requirement already satisfied: mauve-text==0.3.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 12)) (0.3.0)
24
+ Requirement already satisfied: omegaconf==2.3.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 13)) (2.3.0)
25
+ Requirement already satisfied: pandas==2.2.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 14)) (2.2.1)
26
+ Requirement already satisfied: safetensors==0.4.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 15)) (0.4.2)
27
+ Requirement already satisfied: setuptools==80.9.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 16)) (80.9.0)
28
+ Requirement already satisfied: tensorboard==2.15.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (2.15.2)
29
+ Requirement already satisfied: timm==0.9.16 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 18)) (0.9.16)
30
+ Requirement already satisfied: tokenizers==0.15.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 19)) (0.15.2)
31
+ Requirement already satisfied: torchdata==0.8.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 20)) (0.8.0)
32
+ Requirement already satisfied: transformers==4.38.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 21)) (4.38.2)
33
+ Requirement already satisfied: vendi-score==0.0.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 22)) (0.0.3)
34
+ Requirement already satisfied: wandb==0.13.5 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (0.13.5)
35
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (3.32.2)
36
+ Requirement already satisfied: numpy>=1.17 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (1.26.4)
37
+ Requirement already satisfied: pyarrow>=12.0.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (25.0.0)
38
+ Requirement already satisfied: pyarrow-hotfix in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (0.7)
39
+ Requirement already satisfied: dill<0.3.9,>=0.3.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (0.3.8)
40
+ Requirement already satisfied: requests>=2.19.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (2.34.2)
41
+ Requirement already satisfied: tqdm>=4.62.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (4.70.0)
42
+ Requirement already satisfied: xxhash in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (3.8.1)
43
+ Requirement already satisfied: multiprocess in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (0.70.16)
44
+ Requirement already satisfied: aiohttp in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (3.14.3)
45
+ Requirement already satisfied: packaging in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (24.2)
46
+ Requirement already satisfied: pyyaml>=5.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (6.0.3)
47
+ Requirement already satisfied: nvidia-ml-py>=11.450.129 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (13.610.43)
48
+ Requirement already satisfied: psutil>=5.6.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (7.2.2)
49
+ Requirement already satisfied: blessed>=1.17.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (1.47.0)
50
+ Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from huggingface-hub==0.21.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 7)) (4.16.0)
51
+ Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from hydra-core==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 8)) (4.9.3)
52
+ Requirement already satisfied: submitit>=1.3.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from hydra-submitit-launcher==1.2.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 9)) (1.5.4)
53
+ Requirement already satisfied: lightning-utilities<2.0,>=0.8.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (0.15.3)
54
+ Requirement already satisfied: torch<4.0,>=1.13.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (2.5.1)
55
+ Requirement already satisfied: torchmetrics<3.0,>=0.7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (1.9.0)
56
+ Requirement already satisfied: pytorch-lightning in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (2.6.5)
57
+ Requirement already satisfied: scikit-learn>=0.22.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 12)) (1.7.2)
58
+ Requirement already satisfied: faiss-cpu>=1.7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 12)) (1.14.3)
59
+ Requirement already satisfied: python-dateutil>=2.8.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 14)) (2.9.0.post0)
60
+ Requirement already satisfied: pytz>=2020.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 14)) (2026.3.post1)
61
+ Requirement already satisfied: tzdata>=2022.7 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 14)) (2026.3)
62
+ Requirement already satisfied: absl-py>=0.4 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (2.5.0)
63
+ Requirement already satisfied: grpcio>=1.48.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (1.83.0)
64
+ Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (2.56.2)
65
+ Requirement already satisfied: google-auth-oauthlib<2,>=0.5 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (1.4.0)
66
+ Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (3.10.3)
67
+ Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (4.25.9)
68
+ Requirement already satisfied: six>1.9 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (1.17.0)
69
+ Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (0.7.2)
70
+ Requirement already satisfied: werkzeug>=1.0.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (3.1.8)
71
+ Requirement already satisfied: torchvision in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 18)) (0.20.1)
72
+ Requirement already satisfied: urllib3>=1.25 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torchdata==0.8.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 20)) (2.7.0)
73
+ Requirement already satisfied: regex!=2019.12.17 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 21)) (2026.7.19)
74
+ Requirement already satisfied: scipy>=1.3.2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from vendi-score==0.0.3->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 22)) (1.15.3)
75
+ Requirement already satisfied: Click!=8.0.0,>=7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (8.4.2)
76
+ Requirement already satisfied: GitPython>=1.0.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (3.1.57)
77
+ Requirement already satisfied: promise<3,>=2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (2.3)
78
+ Requirement already satisfied: shortuuid>=0.5.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (1.0.13)
79
+ Requirement already satisfied: sentry-sdk>=1.0.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (2.66.1)
80
+ Requirement already satisfied: docker-pycreds>=0.4.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (0.4.0)
81
+ Requirement already satisfied: pathtools in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (0.1.2)
82
+ Requirement already satisfied: setproctitle in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (1.3.7)
83
+ Requirement already satisfied: wcwidth>=0.8.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from blessed>=1.17.1->gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (0.8.2)
84
+ Requirement already satisfied: jinxed<3,>=2.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from blessed>=1.17.1->gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 6)) (2.1.0)
85
+ Requirement already satisfied: aiohappyeyeballs>=2.5.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (2.7.1)
86
+ Requirement already satisfied: aiosignal>=1.4.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (1.4.0)
87
+ Requirement already satisfied: async-timeout<6.0,>=4.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (5.0.1)
88
+ Requirement already satisfied: attrs>=17.3.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (26.1.0)
89
+ Requirement already satisfied: frozenlist>=1.1.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (1.8.0)
90
+ Requirement already satisfied: multidict<7.0,>=4.5 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (6.7.1)
91
+ Requirement already satisfied: propcache>=0.2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (0.5.2)
92
+ Requirement already satisfied: yarl<2.0,>=1.17.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (1.24.5)
93
+ Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (4.0.12)
94
+ Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (0.4.2)
95
+ Requirement already satisfied: cryptography>=38.0.3 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (50.0.0)
96
+ Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from google-auth-oauthlib<2,>=0.5->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (2.0.0)
97
+ Requirement already satisfied: charset_normalizer<4,>=2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (3.4.9)
98
+ Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (3.18)
99
+ Requirement already satisfied: certifi>=2023.5.7 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 1)) (2026.7.22)
100
+ Requirement already satisfied: joblib>=1.2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from scikit-learn>=0.22.1->mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 12)) (1.5.3)
101
+ Requirement already satisfied: threadpoolctl>=3.1.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from scikit-learn>=0.22.1->mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 12)) (3.6.0)
102
+ Requirement already satisfied: cloudpickle>=1.2.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from submitit>=1.3.3->hydra-submitit-launcher==1.2.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 9)) (3.1.2)
103
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (3.4)
104
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (3.1.6)
105
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (1.13.1)
106
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from sympy==1.13.1->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 10)) (1.3.0)
107
+ Requirement already satisfied: markupsafe>=2.1.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (3.0.3)
108
+ Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torchvision->timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 18)) (9.4.0)
109
+ Requirement already satisfied: cffi>=2.0.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from cryptography>=38.0.3->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (2.1.0)
110
+ Requirement already satisfied: smmap<6,>=3.0.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 23)) (5.0.3)
111
+ Requirement already satisfied: pyasn1<0.7.0,>=0.6.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (0.6.4)
112
+ Requirement already satisfied: oauthlib>=3.0.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<2,>=0.5->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (3.3.1)
113
+ Requirement already satisfied: pycparser in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from cffi>=2.0.0->cryptography>=38.0.3->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.yre_bqu8.requirements.txt (line 17)) (3.0)
114
+
115
+ done
116
+ #
117
+ # To activate this environment, use
118
+ #
119
+ # $ conda activate dlb-sdtt
120
+ #
121
+ # To deactivate an active environment, use
122
+ #
123
+ # $ conda deactivate
124
+
125
+ 2.5.1 12.4
126
+
127
+ Requirement already satisfied: flash-attn==2.7.4.post1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (2.7.4.post1)
128
+ Requirement already satisfied: torch in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from flash-attn==2.7.4.post1) (2.5.1)
129
+ Requirement already satisfied: einops in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from flash-attn==2.7.4.post1) (0.7.0)
130
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.32.2)
131
+ Requirement already satisfied: typing-extensions>=4.8.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (4.16.0)
132
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.4)
133
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.1.6)
134
+ Requirement already satisfied: fsspec in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (2024.2.0)
135
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (1.13.1)
136
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from sympy==1.13.1->torch->flash-attn==2.7.4.post1) (1.3.0)
137
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-sdtt/lib/python3.10/site-packages (from jinja2->torch->flash-attn==2.7.4.post1) (3.0.3)
138
+
139
+ Channels:
140
+ - pytorch
141
+ - nvidia
142
+ - conda-forge
143
+ - defaults
144
+ Platform: linux-64
145
+ Collecting package metadata (repodata.json): ...working... done
146
+ Solving environment: ...working... done
147
+ Installing pip dependencies: - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | Ran pip subprocess with arguments:
148
+ ['/opt/anaconda3/envs/dlb-di4c/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt', '--exists-action=b']
149
+ Pip subprocess output:
150
+ Requirement already satisfied: datasets==2.18.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (2.18.0)
151
+ Requirement already satisfied: einops==0.7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 2)) (0.7.0)
152
+ Requirement already satisfied: evaluate==0.4.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 3)) (0.4.2)
153
+ Requirement already satisfied: fancy-einsum==0.0.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 4)) (0.0.3)
154
+ Requirement already satisfied: fsspec==2024.2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 5)) (2024.2.0)
155
+ Requirement already satisfied: gpustat==1.1.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (1.1.1)
156
+ Requirement already satisfied: huggingface-hub==0.21.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 7)) (0.21.1)
157
+ Requirement already satisfied: hydra-core==1.3.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 8)) (1.3.2)
158
+ Requirement already satisfied: hydra-submitit-launcher==1.2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 9)) (1.2.0)
159
+ Requirement already satisfied: lightning==2.2.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (2.2.1)
160
+ Requirement already satisfied: loguru==0.7.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 11)) (0.7.2)
161
+ Requirement already satisfied: mauve-text==0.3.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 12)) (0.3.0)
162
+ Requirement already satisfied: omegaconf==2.3.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 13)) (2.3.0)
163
+ Requirement already satisfied: pandas==2.2.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 14)) (2.2.1)
164
+ Requirement already satisfied: safetensors==0.4.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 15)) (0.4.2)
165
+ Requirement already satisfied: setuptools==80.9.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 16)) (80.9.0)
166
+ Requirement already satisfied: tensorboard==2.15.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (2.15.2)
167
+ Requirement already satisfied: timm==0.9.16 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 18)) (0.9.16)
168
+ Requirement already satisfied: tokenizers==0.15.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 19)) (0.15.2)
169
+ Requirement already satisfied: torchdata==0.10.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 20)) (0.10.0)
170
+ Requirement already satisfied: transformers==4.38.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 21)) (4.38.2)
171
+ Requirement already satisfied: vendi-score==0.0.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 22)) (0.0.3)
172
+ Requirement already satisfied: wandb==0.13.5 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from -r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (0.13.5)
173
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (3.32.2)
174
+ Requirement already satisfied: numpy>=1.17 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (1.26.4)
175
+ Requirement already satisfied: pyarrow>=12.0.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (25.0.0)
176
+ Requirement already satisfied: pyarrow-hotfix in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (0.7)
177
+ Requirement already satisfied: dill<0.3.9,>=0.3.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (0.3.8)
178
+ Requirement already satisfied: requests>=2.19.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (2.34.2)
179
+ Requirement already satisfied: tqdm>=4.62.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (4.70.0)
180
+ Requirement already satisfied: xxhash in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (3.8.1)
181
+ Requirement already satisfied: multiprocess in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (0.70.16)
182
+ Requirement already satisfied: aiohttp in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (3.14.3)
183
+ Requirement already satisfied: packaging in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (24.2)
184
+ Requirement already satisfied: pyyaml>=5.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (6.0.3)
185
+ Requirement already satisfied: nvidia-ml-py>=11.450.129 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (13.610.43)
186
+ Requirement already satisfied: psutil>=5.6.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (7.2.2)
187
+ Requirement already satisfied: blessed>=1.17.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (1.47.0)
188
+ Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from huggingface-hub==0.21.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 7)) (4.16.0)
189
+ Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from hydra-core==1.3.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 8)) (4.9.3)
190
+ Requirement already satisfied: submitit>=1.3.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from hydra-submitit-launcher==1.2.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 9)) (1.5.4)
191
+ Requirement already satisfied: lightning-utilities<2.0,>=0.8.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (0.15.3)
192
+ Requirement already satisfied: torch<4.0,>=1.13.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (2.5.1)
193
+ Requirement already satisfied: torchmetrics<3.0,>=0.7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (1.9.0)
194
+ Requirement already satisfied: pytorch-lightning in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (2.6.5)
195
+ Requirement already satisfied: scikit-learn>=0.22.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 12)) (1.7.2)
196
+ Requirement already satisfied: faiss-cpu>=1.7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 12)) (1.14.3)
197
+ Requirement already satisfied: python-dateutil>=2.8.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 14)) (2.9.0.post0)
198
+ Requirement already satisfied: pytz>=2020.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 14)) (2026.3.post1)
199
+ Requirement already satisfied: tzdata>=2022.7 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from pandas==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 14)) (2026.3)
200
+ Requirement already satisfied: absl-py>=0.4 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (2.5.0)
201
+ Requirement already satisfied: grpcio>=1.48.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (1.83.0)
202
+ Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (2.56.2)
203
+ Requirement already satisfied: google-auth-oauthlib<2,>=0.5 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (1.4.0)
204
+ Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (3.10.3)
205
+ Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (4.25.9)
206
+ Requirement already satisfied: six>1.9 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (1.17.0)
207
+ Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (0.7.2)
208
+ Requirement already satisfied: werkzeug>=1.0.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (3.1.8)
209
+ Requirement already satisfied: torchvision in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 18)) (0.20.1)
210
+ Requirement already satisfied: urllib3>=1.25 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torchdata==0.10.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 20)) (2.7.0)
211
+ Requirement already satisfied: regex!=2019.12.17 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from transformers==4.38.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 21)) (2026.7.19)
212
+ Requirement already satisfied: scipy>=1.3.2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from vendi-score==0.0.3->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 22)) (1.15.3)
213
+ Requirement already satisfied: Click!=8.0.0,>=7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (8.4.2)
214
+ Requirement already satisfied: GitPython>=1.0.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (3.1.57)
215
+ Requirement already satisfied: promise<3,>=2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (2.3)
216
+ Requirement already satisfied: shortuuid>=0.5.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (1.0.13)
217
+ Requirement already satisfied: sentry-sdk>=1.0.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (2.66.1)
218
+ Requirement already satisfied: docker-pycreds>=0.4.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (0.4.0)
219
+ Requirement already satisfied: pathtools in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (0.1.2)
220
+ Requirement already satisfied: setproctitle in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (1.3.7)
221
+ Requirement already satisfied: wcwidth>=0.8.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from blessed>=1.17.1->gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (0.8.2)
222
+ Requirement already satisfied: jinxed<3,>=2.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from blessed>=1.17.1->gpustat==1.1.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 6)) (2.1.0)
223
+ Requirement already satisfied: aiohappyeyeballs>=2.5.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (2.7.1)
224
+ Requirement already satisfied: aiosignal>=1.4.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (1.4.0)
225
+ Requirement already satisfied: async-timeout<6.0,>=4.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (5.0.1)
226
+ Requirement already satisfied: attrs>=17.3.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (26.1.0)
227
+ Requirement already satisfied: frozenlist>=1.1.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (1.8.0)
228
+ Requirement already satisfied: multidict<7.0,>=4.5 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (6.7.1)
229
+ Requirement already satisfied: propcache>=0.2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (0.5.2)
230
+ Requirement already satisfied: yarl<2.0,>=1.17.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from aiohttp->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (1.24.5)
231
+ Requirement already satisfied: gitdb<5,>=4.0.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (4.0.12)
232
+ Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (0.4.2)
233
+ Requirement already satisfied: cryptography>=38.0.3 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (50.0.0)
234
+ Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from google-auth-oauthlib<2,>=0.5->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (2.0.0)
235
+ Requirement already satisfied: charset_normalizer<4,>=2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (3.4.9)
236
+ Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (3.18)
237
+ Requirement already satisfied: certifi>=2023.5.7 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from requests>=2.19.0->datasets==2.18.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 1)) (2026.7.22)
238
+ Requirement already satisfied: joblib>=1.2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from scikit-learn>=0.22.1->mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 12)) (1.5.3)
239
+ Requirement already satisfied: threadpoolctl>=3.1.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from scikit-learn>=0.22.1->mauve-text==0.3.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 12)) (3.6.0)
240
+ Requirement already satisfied: cloudpickle>=1.2.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from submitit>=1.3.3->hydra-submitit-launcher==1.2.0->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 9)) (3.1.2)
241
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (3.4)
242
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (3.1.6)
243
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (1.13.1)
244
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from sympy==1.13.1->torch<4.0,>=1.13.0->lightning==2.2.1->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 10)) (1.3.0)
245
+ Requirement already satisfied: markupsafe>=2.1.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (3.0.3)
246
+ Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torchvision->timm==0.9.16->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 18)) (9.4.0)
247
+ Requirement already satisfied: cffi>=2.0.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from cryptography>=38.0.3->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (2.1.0)
248
+ Requirement already satisfied: smmap<6,>=3.0.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython>=1.0.0->wandb==0.13.5->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 23)) (5.0.3)
249
+ Requirement already satisfied: pyasn1<0.7.0,>=0.6.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (0.6.4)
250
+ Requirement already satisfied: oauthlib>=3.0.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<2,>=0.5->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (3.3.1)
251
+ Requirement already satisfied: pycparser in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from cffi>=2.0.0->cryptography>=38.0.3->google-auth<3,>=1.6.3->tensorboard==2.15.2->-r /home/ruizzhao/diffusion_baseline/envs/condaenv.7rffn3bk.requirements.txt (line 17)) (3.0)
252
+
253
+ done
254
+ #
255
+ # To activate this environment, use
256
+ #
257
+ # $ conda activate dlb-di4c
258
+ #
259
+ # To deactivate an active environment, use
260
+ #
261
+ # $ conda deactivate
262
+
263
+ 2.5.1 12.4
264
+
265
+ Requirement already satisfied: flash-attn==2.7.4.post1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (2.7.4.post1)
266
+ Requirement already satisfied: torch in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from flash-attn==2.7.4.post1) (2.5.1)
267
+ Requirement already satisfied: einops in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from flash-attn==2.7.4.post1) (0.7.0)
268
+ Requirement already satisfied: filelock in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.32.2)
269
+ Requirement already satisfied: typing-extensions>=4.8.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (4.16.0)
270
+ Requirement already satisfied: networkx in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.4)
271
+ Requirement already satisfied: jinja2 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (3.1.6)
272
+ Requirement already satisfied: fsspec in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (2024.2.0)
273
+ Requirement already satisfied: sympy==1.13.1 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from torch->flash-attn==2.7.4.post1) (1.13.1)
274
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from sympy==1.13.1->torch->flash-attn==2.7.4.post1) (1.3.0)
275
+ Requirement already satisfied: MarkupSafe>=2.0 in /opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages (from jinja2->torch->flash-attn==2.7.4.post1) (3.0.3)
276
+
flm_fmlm_debug_logs.txt ADDED
The diff for this file is too large to render. See raw diff
 
nohup.out ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/home/ruizzhao/diffusion_baseline/scripts/run_elf.py", line 303, in <module>
3
+ main()
4
+ File "/home/ruizzhao/diffusion_baseline/scripts/run_elf.py", line 67, in main
5
+ import torch
6
+ ModuleNotFoundError: No module named 'torch'
pyproject.toml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "diffusion-language-baselines"
7
+ version = "0.1.0"
8
+ description = "Reproducible diffusion language model baseline experiments"
9
+ requires-python = ">=3.11"
10
+ dependencies = [
11
+ "pydantic>=2.0",
12
+ "PyYAML>=6.0",
13
+ ]
14
+
15
+ [project.optional-dependencies]
16
+ dev = [
17
+ "jsonschema>=4.0",
18
+ "pytest>=8.0",
19
+ ]
20
+ data = [
21
+ "datasets==3.6.0",
22
+ "huggingface_hub>=0.33,<1",
23
+ "pyarrow>=20,<22",
24
+ "transformers>=4.53,<5",
25
+ ]
26
+ checkpoints = [
27
+ "gdown>=6,<7",
28
+ "huggingface_hub>=0.33,<1",
29
+ ]
30
+
31
+ [tool.pytest.ini_options]
32
+ pythonpath = ["src"]
33
+ testpaths = ["tests"]
34
+ filterwarnings = [
35
+ "ignore:co_lnotab is deprecated, use co_lines instead.:DeprecationWarning:datasets.utils._dill",
36
+ ]
37
+
38
+ [tool.hatch.build.targets.wheel]
39
+ packages = ["src/dlb"]
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/logs_di4c_train.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 2026-08-25 10:57:51.062 | INFO | sdtt.main:di4c_train:77 - Starting training
2
+ 2026-08-25 10:57:51.063 | INFO | sdtt.main:di4c_train:104 - Training starting from scratch (no checkpoint to reload)
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/provenance.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "command": [
3
+ "/opt/anaconda3/envs/dlb-di4c/bin/python",
4
+ "-u",
5
+ "/home/ruizzhao/diffusion_baseline/upstreams/di4c/../../adapters/train_di4c.py",
6
+ "mode=train",
7
+ "data.train=lm1b",
8
+ "data.valid=lm1b",
9
+ "tokenizer.name=/home/ruizzhao/diffusion_baseline/data/raw/huggingface/hub/models--bert-base-uncased/snapshots/86b5e0934494bd15c9632b12f734a8a67f723594",
10
+ "data_preprocess.data_cache=/home/ruizzhao/diffusion_baseline/data/training_cache/di4c/lm1b",
11
+ "data_preprocess.seq_len=128",
12
+ "data_preprocess.group_text=true",
13
+ "data_preprocess.remove_text=true",
14
+ "data_preprocess.add_bos=false",
15
+ "data_preprocess.add_eos=true",
16
+ "data_preprocess.legacy_start_end_bos=true",
17
+ "model=dit-orig-small",
18
+ "model.length=128",
19
+ "parameterization=multi-round-sdtt",
20
+ "parameterization.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/inputs/teacher_adapted.ckpt",
21
+ "parameterization.start_from_hf=false",
22
+ "parameterization.grow_dt_every=10000",
23
+ "parameterization.orig_num_sampling_steps=1024",
24
+ "loader.global_batch_size=2",
25
+ "loader.eval_global_batch_size=2",
26
+ "loader.batch_size=1",
27
+ "loader.eval_batch_size=1",
28
+ "trainer.devices=1",
29
+ "trainer.num_nodes=1",
30
+ "trainer.accumulate_grad_batches=2",
31
+ "trainer.max_steps=20000",
32
+ "trainer.precision=bf16-mixed",
33
+ "optim.lr=3e-05",
34
+ "lr_scheduler.num_warmup_steps=2500",
35
+ "callbacks.checkpoint_every_n_steps.every_n_train_steps=10000",
36
+ "checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b",
37
+ "checkpointing.resume_from_ckpt=true",
38
+ "checkpointing.resume_ckpt_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/checkpoints/last.ckpt",
39
+ "hydra.run.dir=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b",
40
+ "hydra.job.chdir=true",
41
+ "wandb=null",
42
+ "+seed=42",
43
+ "is_di4c=true",
44
+ "is_teacher_di4c=false",
45
+ "T=1024",
46
+ "latent_bsize=16",
47
+ "round=7",
48
+ "+dlb_student_init=teacher"
49
+ ],
50
+ "composed_config_sha256": "624ca67b5af09ff63ecd60efa7ff08d70ed8391b276f7ad6d3709607b4d43aa8",
51
+ "cwd": "/home/ruizzhao/diffusion_baseline/upstreams/di4c",
52
+ "data": {
53
+ "aliases": {
54
+ "lm1b_test_bs128_wrapped.dat": "/home/ruizzhao/diffusion_baseline/data/processed/lm1b-bert-128/validation",
55
+ "lm1b_train_bs128_wrapped.dat": "/home/ruizzhao/diffusion_baseline/data/processed/lm1b-bert-128/train"
56
+ },
57
+ "cache": "/home/ruizzhao/diffusion_baseline/data/training_cache/di4c/lm1b",
58
+ "format": "hf_dataset_with_attention_mask_v1",
59
+ "mode": "materialized_bridge",
60
+ "processed_manifest_sha256": "a8465f3fba8c5dc529fc0751039c8ffa32a7710f480208779b55545cb141017c",
61
+ "processed_path": "/home/ruizzhao/diffusion_baseline/data/processed/lm1b-bert-128"
62
+ },
63
+ "devices": 1,
64
+ "effective_global_batch_size": 2,
65
+ "gradient_accumulation": 2,
66
+ "identity_sha256": "0e6b980c0ad2928f4fe7d0a431da99b5658749371a96429bd86e57bd5993ce49",
67
+ "nodes": 1,
68
+ "per_device_batch_size": 1,
69
+ "prepared_at": "2026-08-25T02:57:48.129909Z",
70
+ "recipe": {
71
+ "algorithm": "di4c",
72
+ "checkpoint_every": 10000,
73
+ "dataset": "lm1b",
74
+ "default_per_device_batch_size": 1,
75
+ "distillation_loss": "dimensional_correlations",
76
+ "entrypoint": "../../adapters/train_di4c.py",
77
+ "evidence": "paper_appendix_d",
78
+ "global_batch_size": 2,
79
+ "learning_rate": 3e-05,
80
+ "learning_rate_override": "optim.lr",
81
+ "max_steps": 20000,
82
+ "max_steps_override": "trainer.max_steps",
83
+ "model": "duo_di4c",
84
+ "optimizer": "adam",
85
+ "output_override": "checkpointing.save_dir",
86
+ "precision": "bf16",
87
+ "release_evidence": null,
88
+ "release_script_max_steps": null,
89
+ "rounds": null,
90
+ "sampling_step": 20000,
91
+ "sequence_length": 128,
92
+ "source": "di4c",
93
+ "source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
94
+ "source_path": "upstreams/di4c",
95
+ "steps_per_round": null,
96
+ "teacher_adapter": "uniform_to_absorbing",
97
+ "teacher_family": "uniform_duo",
98
+ "warmup_steps": 2500
99
+ },
100
+ "schema_version": 1,
101
+ "seed": 42,
102
+ "source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
103
+ "teacher_adaptation": {
104
+ "hidden_size": 768,
105
+ "output_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/inputs/teacher_adapted.ckpt",
106
+ "output_sha256": "43b276c5749a412dcd5f715f80a43b566e1a500b760a652a486d9b1d3a170f0d",
107
+ "schema_version": 1,
108
+ "source_mask_index": null,
109
+ "source_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_Duo.ckpt",
110
+ "source_sha256": "b11ee9a4cc533435adb9e1149cff74aec0872a9df2a459b4ab58f1867f6cddfb",
111
+ "source_vocab_size": 30522,
112
+ "state_keys_sha256": "8212d507b6931a59375f8127f0ccb9e51c24da74fe05e974648d92c5612fb803",
113
+ "target_mask_index": 30522,
114
+ "target_vocab_size": 30523,
115
+ "teacher_family": "uniform_duo",
116
+ "transformation": "uniform_to_absorbing",
117
+ "transformation_sha256": "656341f23524d65a7207e53a85fe06088ad7deaa15365d2ee91ac5fb6eac2cd0"
118
+ },
119
+ "teacher_sha256": "b11ee9a4cc533435adb9e1149cff74aec0872a9df2a459b4ab58f1867f6cddfb",
120
+ "teacher_transformation_sha256": "656341f23524d65a7207e53a85fe06088ad7deaa15365d2ee91ac5fb6eac2cd0"
121
+ }
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/stdout.log ADDED
File without changes
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/duo_di4c/lm1b/train_di4c.log ADDED
File without changes
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/mdlm_di4c/lm1b/.hydra/hydra.yaml ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.run.dir=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b
114
+ - hydra.job.chdir=true
115
+ - hydra.mode=RUN
116
+ task:
117
+ - mode=train
118
+ - data.train=lm1b
119
+ - data.valid=lm1b
120
+ - tokenizer.name=/home/ruizzhao/diffusion_baseline/data/raw/huggingface/hub/models--bert-base-uncased/snapshots/86b5e0934494bd15c9632b12f734a8a67f723594
121
+ - data_preprocess.data_cache=/home/ruizzhao/diffusion_baseline/data/training_cache/di4c/lm1b
122
+ - data_preprocess.seq_len=128
123
+ - data_preprocess.group_text=true
124
+ - data_preprocess.remove_text=true
125
+ - data_preprocess.add_bos=false
126
+ - data_preprocess.add_eos=true
127
+ - data_preprocess.legacy_start_end_bos=true
128
+ - model=dit-orig-small
129
+ - model.length=128
130
+ - parameterization=multi-round-sdtt
131
+ - parameterization.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b/inputs/teacher_adapted.ckpt
132
+ - parameterization.start_from_hf=false
133
+ - parameterization.grow_dt_every=10000
134
+ - parameterization.orig_num_sampling_steps=1024
135
+ - loader.global_batch_size=2
136
+ - loader.eval_global_batch_size=2
137
+ - loader.batch_size=1
138
+ - loader.eval_batch_size=1
139
+ - trainer.devices=1
140
+ - trainer.num_nodes=1
141
+ - trainer.accumulate_grad_batches=2
142
+ - trainer.max_steps=20000
143
+ - trainer.precision=bf16-mixed
144
+ - optim.lr=3e-05
145
+ - lr_scheduler.num_warmup_steps=2500
146
+ - callbacks.checkpoint_every_n_steps.every_n_train_steps=10000
147
+ - checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b
148
+ - checkpointing.resume_from_ckpt=true
149
+ - checkpointing.resume_ckpt_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b/checkpoints/last.ckpt
150
+ - wandb=null
151
+ - +seed=42
152
+ - is_di4c=true
153
+ - is_teacher_di4c=false
154
+ - T=1024
155
+ - latent_bsize=16
156
+ - round=7
157
+ - +dlb_student_init=teacher
158
+ job:
159
+ name: train_di4c
160
+ chdir: true
161
+ override_dirname: +dlb_student_init=teacher,+seed=42,T=1024,callbacks.checkpoint_every_n_steps.every_n_train_steps=10000,checkpointing.resume_ckpt_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b/checkpoints/last.ckpt,checkpointing.resume_from_ckpt=true,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b,data.train=lm1b,data.valid=lm1b,data_preprocess.add_bos=false,data_preprocess.add_eos=true,data_preprocess.data_cache=/home/ruizzhao/diffusion_baseline/data/training_cache/di4c/lm1b,data_preprocess.group_text=true,data_preprocess.legacy_start_end_bos=true,data_preprocess.remove_text=true,data_preprocess.seq_len=128,is_di4c=true,is_teacher_di4c=false,latent_bsize=16,loader.batch_size=1,loader.eval_batch_size=1,loader.eval_global_batch_size=2,loader.global_batch_size=2,lr_scheduler.num_warmup_steps=2500,mode=train,model.length=128,model=dit-orig-small,optim.lr=3e-05,parameterization.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b/inputs/teacher_adapted.ckpt,parameterization.grow_dt_every=10000,parameterization.orig_num_sampling_steps=1024,parameterization.start_from_hf=false,parameterization=multi-round-sdtt,round=7,tokenizer.name=/home/ruizzhao/diffusion_baseline/data/raw/huggingface/hub/models--bert-base-uncased/snapshots/86b5e0934494bd15c9632b12f734a8a67f723594,trainer.accumulate_grad_batches=2,trainer.devices=1,trainer.max_steps=20000,trainer.num_nodes=1,trainer.precision=bf16-mixed,wandb=null
162
+ id: ???
163
+ num: ???
164
+ config_name: config
165
+ env_set: {}
166
+ env_copy: []
167
+ config:
168
+ override_dirname:
169
+ kv_sep: '='
170
+ item_sep: ','
171
+ exclude_keys: []
172
+ runtime:
173
+ version: 1.3.2
174
+ version_base: '1.3'
175
+ cwd: /home/ruizzhao/diffusion_baseline/upstreams/di4c
176
+ config_sources:
177
+ - path: hydra.conf
178
+ schema: pkg
179
+ provider: hydra
180
+ - path: /home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/configs
181
+ schema: file
182
+ provider: main
183
+ - path: ''
184
+ schema: structured
185
+ provider: schema
186
+ output_dir: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b
187
+ choices:
188
+ parameterization: multi-round-sdtt
189
+ lr_scheduler: constant_warmup
190
+ noise: loglinear
191
+ strategy: ddp
192
+ model: dit-orig-small
193
+ data: openwebtext-split
194
+ hydra/env: default
195
+ hydra/callbacks: null
196
+ hydra/job_logging: default
197
+ hydra/hydra_logging: default
198
+ hydra/hydra_help: default
199
+ hydra/help: default
200
+ hydra/sweeper: basic
201
+ hydra/launcher: basic
202
+ hydra/output: default
203
+ verbose: false
results/_archive/rerun_di4c_gpu4_20260825_110721/checkpoints/reference_reproduction/mdlm_di4c/lm1b/inputs/teacher_adapted.provenance.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "hidden_size": 768,
3
+ "output_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/mdlm_di4c/lm1b/inputs/teacher_adapted.ckpt",
4
+ "output_sha256": "56d653c28097b5ad6fa8dc8101214a7369170f0643899a3d3485303aacbe29c8",
5
+ "schema_version": 1,
6
+ "source_mask_index": 103,
7
+ "source_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_MDLM_.ckpt",
8
+ "source_sha256": "d42739e5a99bbd7c0f604dff7fe4c9ab12348b475e30f1d807e70ef32249e514",
9
+ "source_vocab_size": 30522,
10
+ "state_keys_sha256": "8212d507b6931a59375f8127f0ccb9e51c24da74fe05e974648d92c5612fb803",
11
+ "target_mask_index": 30522,
12
+ "target_vocab_size": 30523,
13
+ "teacher_family": "masked_mdlm",
14
+ "transformation": "masked_to_absorbing",
15
+ "transformation_sha256": "0d4b7caaa7c4c2de75b488026be396440bb4ea6c4dd11dd3edfbfb83a3364711"
16
+ }
results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/inputs/teacher_adapted.provenance.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "hidden_size": 768,
3
+ "output_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/inputs/teacher_adapted.ckpt",
4
+ "output_sha256": "5f34e31d2743d9851c4314f52861e5f2366bfdbea51b156a9bd102fc592f0b23",
5
+ "schema_version": 1,
6
+ "source_mask_index": null,
7
+ "source_path": "/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_Duo.ckpt",
8
+ "source_sha256": "b11ee9a4cc533435adb9e1149cff74aec0872a9df2a459b4ab58f1867f6cddfb",
9
+ "source_vocab_size": 30522,
10
+ "state_keys_sha256": "8212d507b6931a59375f8127f0ccb9e51c24da74fe05e974648d92c5612fb803",
11
+ "target_mask_index": 30522,
12
+ "target_vocab_size": 30523,
13
+ "teacher_family": "uniform_duo",
14
+ "transformation": "uniform_to_absorbing",
15
+ "transformation_sha256": "656341f23524d65a7207e53a85fe06088ad7deaa15365d2ee91ac5fb6eac2cd0"
16
+ }
results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/logs_di4c_train.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ 2026-08-25 11:07:33.667 | INFO | sdtt.main:di4c_train:77 - Starting training
2
+ 2026-08-25 11:07:33.667 | INFO | sdtt.main:di4c_train:104 - Training starting from scratch (no checkpoint to reload)
results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/stdout.log ADDED
File without changes
results/_archive/rerun_di4c_gpu4_gpu7_20260825_111320/checkpoints/reference_reproduction/duo_di4c/lm1b/train_di4c.log ADDED
File without changes
results/conditional/matrix/generation_candi_lm1b_1024_only.tsv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # schema=dlb-conditional-generation-matrix-v1
2
+ task_id category model dataset steps sample_count seed environment adapter source provenance protocol conditioning_manifest conditioning_manifest_sha256 sample_dir metrics_path timing_path
3
+ candi-lm1b-steps-1024 many candi lm1b 1024 2048 42 dlb-candi candi candi reference_reproduction c64_zs_v1 /home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json 0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039 /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_1024 /home/ruizzhao/diffusion_baseline/results/conditional/metrics/lm1b/candi/steps_1024/metrics.json /home/ruizzhao/diffusion_baseline/results/conditional/timing/lm1b/candi/steps_1024/timing.json
results/conditional/samples/owt/duo_dcd/steps_16/request.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "command": [
3
+ "/opt/anaconda3/envs/dlb-duo/bin/python",
4
+ "-u",
5
+ "-m",
6
+ "dlb.adapters.capture",
7
+ "--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/duo/main.py",
8
+ "--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_16/upstream_token_ids.json",
9
+ "--generation-mode=conditional_prefix",
10
+ "--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
11
+ "--conditioning-manifest-sha256=7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
12
+ "--conditioning-config-sha256=89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
13
+ "--prefix-length=64",
14
+ "--evaluation-continuation-length=64",
15
+ "--prompt-count=1024",
16
+ "--diversity-prompt-count=256",
17
+ "--completions-per-diversity-prompt=5",
18
+ "--completion-schedule=c0:p0-1023;c1-4:p0-255",
19
+ "--",
20
+ "mode=sample_eval",
21
+ "seed=42",
22
+ "data=openwebtext-split",
23
+ "model=small",
24
+ "model.length=1024",
25
+ "loader.batch_size=2",
26
+ "loader.eval_batch_size=8",
27
+ "sampling.num_sample_batches=256",
28
+ "sampling.steps=16",
29
+ "eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/duo_dcd/owt",
30
+ "trainer.devices=1",
31
+ "hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_16/upstream_hydra",
32
+ "checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_16/upstream_hydra",
33
+ "+wandb.offline=true",
34
+ "eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_16/upstream_samples.json",
35
+ "algo=duo_base",
36
+ "algo.backbone=hf_dit",
37
+ "sampling.predictor=ancestral",
38
+ "sampling.noise_removal=ancestral",
39
+ "eval.disable_ema=False"
40
+ ],
41
+ "identity": {
42
+ "adapter_identity": "dlb.adapters.duo:v1|dlb.adapters.duo:DuoAdapter|8878182eb10d7d1e3f18219cb62c2153084842fdb0ab532b1a3c7df0e10da3c6",
43
+ "checkpoint_lock_id": "duo_dcd_owt_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all",
44
+ "checkpoint_selection": {
45
+ "path": null,
46
+ "resource": "duo_dcd_owt_hf",
47
+ "teacher_family": null
48
+ },
49
+ "checkpoint_sha256": "74770bf9f7305ba80f4cd37d5b0ba78e09a887a7480894a4c6567278e9f6148f",
50
+ "checkpoint_teacher_family": "uniform_duo",
51
+ "command_sha256": "fe4e8b4e60f38f61c5c765f662e133ae39f11456895da34cd729b9c0e5f9e6fc",
52
+ "completion_schedule": "c0:p0-1023;c1-4:p0-255",
53
+ "completions_per_diversity_prompt": 5,
54
+ "conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
55
+ "conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
56
+ "conditioning_manifest_sha256": "7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
57
+ "config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
58
+ "dataset_id": "owt",
59
+ "device": null,
60
+ "diversity_prompt_count": 256,
61
+ "environment": "dlb-duo",
62
+ "evaluation_continuation_length": 64,
63
+ "generation_mode": "conditional_prefix",
64
+ "model_id": "duo_dcd",
65
+ "prefix_length": 64,
66
+ "prompt_count": 1024,
67
+ "results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
68
+ "run_id": "duo_dcd-owt-steps-16",
69
+ "sample_count": 2048,
70
+ "seed": 42,
71
+ "source_sha256": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
72
+ "step_count": 16
73
+ },
74
+ "request": {
75
+ "adapter_identity": "dlb.adapters.duo:v1|dlb.adapters.duo:DuoAdapter|8878182eb10d7d1e3f18219cb62c2153084842fdb0ab532b1a3c7df0e10da3c6",
76
+ "checkpoint_lock_id": "duo_dcd_owt_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all",
77
+ "checkpoint_selection": {
78
+ "path": null,
79
+ "resource": "duo_dcd_owt_hf",
80
+ "teacher_family": null
81
+ },
82
+ "checkpoint_sha256": "74770bf9f7305ba80f4cd37d5b0ba78e09a887a7480894a4c6567278e9f6148f",
83
+ "checkpoint_teacher_family": "uniform_duo",
84
+ "command": null,
85
+ "completion_schedule": "c0:p0-1023;c1-4:p0-255",
86
+ "completions_per_diversity_prompt": 5,
87
+ "conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
88
+ "conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
89
+ "conditioning_manifest_sha256": "7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
90
+ "config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
91
+ "dataset_id": "owt",
92
+ "device": null,
93
+ "diversity_prompt_count": 256,
94
+ "environment": "dlb-duo",
95
+ "evaluation_continuation_length": 64,
96
+ "generation_mode": "conditional_prefix",
97
+ "model_id": "duo_dcd",
98
+ "prefix_length": 64,
99
+ "prompt_count": 1024,
100
+ "results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
101
+ "run_id": "duo_dcd-owt-steps-16",
102
+ "sample_count": 2048,
103
+ "seed": 42,
104
+ "source_sha256": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
105
+ "step_count": 16
106
+ },
107
+ "started_at": "2026-08-27T03:20:40.709851Z"
108
+ }
results/conditional/samples/owt/duo_dcd/steps_8/upstream_hydra/dlb_pinned_upstream_main.log ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [2026-08-25 20:14:13,149][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
2
+ [2026-08-26 01:38:22,002][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
3
+ [2026-08-26 01:38:33,346][dlb_pinned_upstream_main][INFO] - Generative perplexity: 130.35482788085938
4
+ [2026-08-26 01:38:33,347][dlb_pinned_upstream_main][INFO] - Sample entropy: 5.518235206604004
5
+ [2026-08-26 01:38:33,348][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_8/upstream_samples.json
6
+ [2026-08-26 13:59:31,218][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
7
+ [2026-08-27 11:12:05,657][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
8
+ [2026-08-27 11:20:33,911][dlb_pinned_upstream_main][INFO] - Generative perplexity: 83.10469055175781
9
+ [2026-08-27 11:20:33,912][dlb_pinned_upstream_main][INFO] - Sample entropy: 5.425522327423096
10
+ [2026-08-27 11:20:33,955][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_8/upstream_samples.json
11
+ [2026-08-27 16:58:20,881][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
12
+ [2026-08-27 16:58:31,049][dlb_pinned_upstream_main][INFO] - Generative perplexity: 130.35482788085938
13
+ [2026-08-27 16:58:31,049][dlb_pinned_upstream_main][INFO] - Sample entropy: 5.518235206604004
14
+ [2026-08-27 16:58:31,051][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/duo_dcd/steps_8/upstream_samples.json
results/conditional/samples/owt/mdlm/steps_4/upstream_hydra/.hydra/hydra.yaml ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm/steps_4/upstream_hydra
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm/steps_4/upstream_hydra
114
+ - hydra.mode=RUN
115
+ task:
116
+ - mode=sample_eval
117
+ - seed=42
118
+ - data=openwebtext-split
119
+ - model=small
120
+ - model.length=1024
121
+ - loader.batch_size=2
122
+ - loader.eval_batch_size=1
123
+ - sampling.num_sample_batches=1
124
+ - sampling.steps=4
125
+ - eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/mdlm/owt
126
+ - trainer.devices=1
127
+ - checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm/steps_4/upstream_hydra
128
+ - +wandb.offline=true
129
+ - backbone=hf_dit
130
+ - parameterization=subs
131
+ - sampling.predictor=ddpm
132
+ - sampling.noise_removal=True
133
+ - eval.disable_ema=False
134
+ job:
135
+ name: dlb_pinned_upstream_main
136
+ chdir: true
137
+ override_dirname: +wandb.offline=true,backbone=hf_dit,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm/steps_4/upstream_hydra,data=openwebtext-split,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/mdlm/owt,eval.disable_ema=False,loader.batch_size=2,loader.eval_batch_size=1,mode=sample_eval,model.length=1024,model=small,parameterization=subs,sampling.noise_removal=True,sampling.num_sample_batches=1,sampling.predictor=ddpm,sampling.steps=4,seed=42,trainer.devices=1
138
+ id: ???
139
+ num: ???
140
+ config_name: config
141
+ env_set: {}
142
+ env_copy: []
143
+ config:
144
+ override_dirname:
145
+ kv_sep: '='
146
+ item_sep: ','
147
+ exclude_keys: []
148
+ runtime:
149
+ version: 1.3.2
150
+ version_base: '1.3'
151
+ cwd: /home/ruizzhao/diffusion_baseline
152
+ config_sources:
153
+ - path: hydra.conf
154
+ schema: pkg
155
+ provider: hydra
156
+ - path: /home/ruizzhao/diffusion_baseline/upstreams/mdlm/configs
157
+ schema: file
158
+ provider: main
159
+ - path: ''
160
+ schema: structured
161
+ provider: schema
162
+ output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm/steps_4/upstream_hydra
163
+ choices:
164
+ lr_scheduler: constant_warmup
165
+ noise: loglinear
166
+ strategy: ddp
167
+ model: small
168
+ data: openwebtext-split
169
+ hydra/env: default
170
+ hydra/callbacks: null
171
+ hydra/job_logging: default
172
+ hydra/hydra_logging: default
173
+ hydra/hydra_help: default
174
+ hydra/help: default
175
+ hydra/sweeper: basic
176
+ hydra/launcher: basic
177
+ hydra/output: default
178
+ verbose: false
results/conditional/samples/owt/mdlm_di4c/steps_2/request.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "command": [
3
+ "/opt/anaconda3/envs/dlb-di4c/bin/python",
4
+ "-B",
5
+ "-u",
6
+ "/home/ruizzhao/diffusion_baseline/adapters/sample_di4c.py",
7
+ "--upstream-root",
8
+ "/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt",
9
+ "--checkpoint",
10
+ "/home/ruizzhao/diffusion_baseline/checkpoints/official/mdlm_di4c/owt/sdtt7-di4c2.ckpt",
11
+ "--config",
12
+ "/home/ruizzhao/diffusion_baseline/configs/sampling/di4c_mdlm_owt.yaml",
13
+ "--checkpoint-sha256",
14
+ "4af61572dc82fe012ce395a2e4e4be0585ea09076597ba1f7241ca196b97ecb0",
15
+ "--config-sha256",
16
+ "cf627f89b8dede9b25ac8e10407c3b7de203a76c4ba84100723287e571dcec34",
17
+ "--data-config",
18
+ "/home/ruizzhao/diffusion_baseline/artifacts/data.yaml",
19
+ "--downloads-manifest",
20
+ "/home/ruizzhao/diffusion_baseline/data/manifests/downloads.json",
21
+ "--tokenizer-snapshot",
22
+ "/home/ruizzhao/diffusion_baseline/data/raw/huggingface/hub/models--gpt2/snapshots/607a30d783dfa663caf39e06633721c8d4cfcd7e",
23
+ "--output",
24
+ "/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm_di4c/steps_2/upstream_token_ids.json",
25
+ "--sample-count",
26
+ "2048",
27
+ "--batch-size",
28
+ "16",
29
+ "--num-steps",
30
+ "2",
31
+ "--seq-len",
32
+ "1024",
33
+ "--seed",
34
+ "42",
35
+ "--sampler",
36
+ "ancestral",
37
+ "--teacher-family",
38
+ "masked_mdlm",
39
+ "--dataset",
40
+ "owt",
41
+ "--generation-mode",
42
+ "conditional_prefix",
43
+ "--conditioning-manifest",
44
+ "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
45
+ "--conditioning-manifest-sha256",
46
+ "7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
47
+ "--conditioning-config-sha256",
48
+ "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
49
+ "--prefix-length",
50
+ "64",
51
+ "--evaluation-continuation-length",
52
+ "64",
53
+ "--prompt-count",
54
+ "1024",
55
+ "--diversity-prompt-count",
56
+ "256",
57
+ "--completions-per-diversity-prompt",
58
+ "5",
59
+ "--completion-schedule",
60
+ "c0:p0-1023;c1-4:p0-255",
61
+ "--offline",
62
+ "true",
63
+ "--allow-missing-embedded-config",
64
+ "true"
65
+ ],
66
+ "identity": {
67
+ "adapter_identity": "dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|a417a282fb2e7548e0965c4417a9e9b1e906dc03c502ed5a0c03a6d0d3eceed9",
68
+ "checkpoint_lock_id": "di4c_mdlm_owt_zenodo:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all",
69
+ "checkpoint_selection": {
70
+ "path": null,
71
+ "resource": "di4c_mdlm_owt_zenodo",
72
+ "sampling_config": "configs/sampling/di4c_mdlm_owt.yaml",
73
+ "sampling_config_sha256": "cf627f89b8dede9b25ac8e10407c3b7de203a76c4ba84100723287e571dcec34",
74
+ "sampling_config_source": "project",
75
+ "sampling_config_source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
76
+ "teacher_family": null
77
+ },
78
+ "checkpoint_sha256": "45ec6edfeb0d1c3ed0b43bacf5d53d4f83bf4806af9c742c08cf49e8d79b7b55",
79
+ "checkpoint_teacher_family": "masked_mdlm",
80
+ "command_sha256": "e7ea7fa99d1dbab8447d14fddb8740f59100335dc9c51645b75e4efa1d9ca837",
81
+ "completion_schedule": "c0:p0-1023;c1-4:p0-255",
82
+ "completions_per_diversity_prompt": 5,
83
+ "conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
84
+ "conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
85
+ "conditioning_manifest_sha256": "7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
86
+ "config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
87
+ "dataset_id": "owt",
88
+ "device": null,
89
+ "diversity_prompt_count": 256,
90
+ "environment": "dlb-di4c",
91
+ "evaluation_continuation_length": 64,
92
+ "generation_mode": "conditional_prefix",
93
+ "model_id": "mdlm_di4c",
94
+ "prefix_length": 64,
95
+ "prompt_count": 1024,
96
+ "results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
97
+ "run_id": "mdlm_di4c-owt-steps-2",
98
+ "sample_count": 2048,
99
+ "seed": 42,
100
+ "source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
101
+ "step_count": 2
102
+ },
103
+ "request": {
104
+ "adapter_identity": "dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|a417a282fb2e7548e0965c4417a9e9b1e906dc03c502ed5a0c03a6d0d3eceed9",
105
+ "checkpoint_lock_id": "di4c_mdlm_owt_zenodo:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all",
106
+ "checkpoint_selection": {
107
+ "path": null,
108
+ "resource": "di4c_mdlm_owt_zenodo",
109
+ "sampling_config": "configs/sampling/di4c_mdlm_owt.yaml",
110
+ "sampling_config_sha256": "cf627f89b8dede9b25ac8e10407c3b7de203a76c4ba84100723287e571dcec34",
111
+ "sampling_config_source": "project",
112
+ "sampling_config_source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
113
+ "teacher_family": null
114
+ },
115
+ "checkpoint_sha256": "45ec6edfeb0d1c3ed0b43bacf5d53d4f83bf4806af9c742c08cf49e8d79b7b55",
116
+ "checkpoint_teacher_family": "masked_mdlm",
117
+ "command": null,
118
+ "completion_schedule": "c0:p0-1023;c1-4:p0-255",
119
+ "completions_per_diversity_prompt": 5,
120
+ "conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
121
+ "conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-owt-c64.json",
122
+ "conditioning_manifest_sha256": "7718eb8d4d3e75ec7628d2f15f3c73c84f6470af0303ad4017da5e0ddae5bd32",
123
+ "config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
124
+ "dataset_id": "owt",
125
+ "device": null,
126
+ "diversity_prompt_count": 256,
127
+ "environment": "dlb-di4c",
128
+ "evaluation_continuation_length": 64,
129
+ "generation_mode": "conditional_prefix",
130
+ "model_id": "mdlm_di4c",
131
+ "prefix_length": 64,
132
+ "prompt_count": 1024,
133
+ "results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
134
+ "run_id": "mdlm_di4c-owt-steps-2",
135
+ "sample_count": 2048,
136
+ "seed": 42,
137
+ "source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
138
+ "step_count": 2
139
+ },
140
+ "started_at": "2026-08-25T14:04:14.561800Z"
141
+ }
results/conditional/samples/owt/mdlm_sdtt/steps_16/conversion_metadata.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint_lock_id": "sdtt_owt_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all",
3
+ "checkpoint_selection": {
4
+ "path": null,
5
+ "resource": "sdtt_owt_hf",
6
+ "sampling_config": "config.json",
7
+ "sampling_config_sha256": null,
8
+ "sampling_config_source": "resource",
9
+ "sampling_config_source_commit": null,
10
+ "teacher_family": null
11
+ },
12
+ "checkpoint_sha256": "0bb184e1ea44fe6fa8f6d5bf58f53494ceec96df20e44dd97cf1b46d03e4d508",
13
+ "conditioning_implementation": "native_projection",
14
+ "exclude_from_latency": true,
15
+ "format": "dlb-conditional-token-capture-v1",
16
+ "generated_samples": 2048,
17
+ "generation_seconds_sentinel": 0.0,
18
+ "generation_seconds_source": "unavailable_excluded_sentinel",
19
+ "paper_conditional_training_reproduced": false,
20
+ "requested_samples": 2048,
21
+ "teacher_family": "masked_mdlm",
22
+ "token_ids_source": "upstream_conditional_capture",
23
+ "tokenizer": "gpt2",
24
+ "tokenizer_revision": "607a30d783dfa663caf39e06633721c8d4cfcd7e",
25
+ "trim_policy": "none_exact_conditional_schedule",
26
+ "trimmed_samples": 0,
27
+ "upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/owt/mdlm_sdtt/steps_16/upstream_token_ids.json"
28
+ }
results/conditional/timing/lm1b/candi/steps_4/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19","attempt_id":"ce46f243d6c341f189ad1415096cc811","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt","checkpoint_selection":{"path":"lm1b_CANDI.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"hybrid_candi"},"checkpoint_sha256":"2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185","checkpoint_teacher_family":"hybrid_candi","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-candi","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"candi","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"candi:pinned_internal_bf16_autocast_with_fp32_sensitive_ops","precision_policy_binding":{"adapter_identity":"dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt","checkpoint_repository":null,"checkpoint_resource":"flm_lm1b_reproductions","checkpoint_revision":null,"checkpoint_selection":{"path":"lm1b_CANDI.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"hybrid_candi"},"checkpoint_sha256":"2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"candi","prefix_length":64,"prompt_count":1024,"source_commit":"cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91","upstream":"candi"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"bb7d05734503f57d02187a8a94d91394b5a3b394b45a6c3556ed51e612591713","symbol":"_capture_teacher.<locals>.capture.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py","sha256":"131ffaeb45418710294a70e1258afdaaa213e8a51bd19ef6227eda8d7fd036e9","symbol":"CANDI"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"ContDIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"DDiTFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py","sha256":"3ee29045168f0ea4c0faecc35c053cdd2b872b7ac11eb16def52c6dae084552a","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/candi/trainer_base.py","sha256":"953ab0e52957472772150b32a342fe826dcc1a57ad3a4c48654de4985f0c18a4","symbol":"LogLinear"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"Softplus"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-candi/lib/python3.11/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"}],"sample_count":2048,"seed":42,"source_commit":"cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91","steps":4,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.025582681642845273,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.025654377415776253,0.025654647033661604,0.025681417901068926,0.02571211475878954,0.02566605480387807,0.025676862336695194,0.02552227396517992,0.025557107757776976,0.025547352619469166,0.025507410988211632,0.025472288019955158,0.02552182273939252,0.025514251086860895,0.029027701821178198,0.025568754877895117,0.025534483138471842,0.0255577489733696,0.02552997600287199,0.02551616495475173,0.028856168035417795,0.02559660840779543,0.02556377835571766,0.025508252903819084,0.02548919292166829,0.02543579088523984,0.02876045135781169,0.026635911781340837,0.027046071831136942,0.027176701929420233,0.02721211686730385,0.03141493396833539,0.02754831174388528],"repeats":32,"seconds_per_sample":0.026302096943254583,"standard_deviation_convention":"population","standard_deviation_seconds":0.0013984036014305402,"warmups":5}}
results/conditional/timing/lm1b/flm/steps_2/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0","attempt_id":"7181d39abf7c46448f7c6c6daf250549","checkpoint_lock_id":"recipe:flm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/official/flm_ckpt/lm1b","recipe":"flm_lm1b_official_ckpt","sampling_checkpoint":"lm1b_flm.ckpt","sampling_config":null,"source":"flm","source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","teacher_adapter":null,"teacher_family":"continuous_flm"},"checkpoint_sha256":"99a97513471dc7232d4a0fc6b50d47301d97a6198e0cf13b77b3fe70c12c3665","checkpoint_teacher_family":"continuous_flm","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-flm","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"flm","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed-static-author-policy","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"flm:checkpoint_config_and_loaded_runtime_code_bound","precision_policy_binding":{"adapter_identity":"dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0","checkpoint_lock_id":"recipe:flm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/official/flm_ckpt/lm1b","recipe":"flm_lm1b_official_ckpt","sampling_checkpoint":"lm1b_flm.ckpt","sampling_config":null,"source":"flm","source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","teacher_adapter":null,"teacher_family":"continuous_flm"},"checkpoint_sha256":"99a97513471dc7232d4a0fc6b50d47301d97a6198e0cf13b77b3fe70c12c3665","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"flm","prefix_length":64,"prompt_count":1024,"source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","upstream":"flm"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"92c69119e85195e099a41668e8f75dd5a908c4e341fb220f714853db555dca0d","symbol":"_capture_teacher.<locals>.capture.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/algo.py","sha256":"65206adc72013bb9b09b68fd847239b3193dd65fd59669bbdee42e061583d76a","symbol":"FLM"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DDiTFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/trainer_base.py","sha256":"4a3cfa69d511023553290aa3ce975b9ced9cb73743f6a06e141de4ebfeec3d36","symbol":"LogLinear"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"Softplus"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"}],"sample_count":2048,"seed":42,"source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","steps":2,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.01166545576415956,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.011584140826016665,0.011667358689010143,0.01167448004707694,0.01161995716392994,0.011673438362777233,0.011663552839308977,0.011603540740907192,0.011659516952931881,0.0116311926394701,0.01228940300643444,0.011637083254754543,0.012476850766688585,0.014373901300132275,0.012706473004072905,0.0115157556720078,0.01156038511544466,0.011537951417267323,0.011575218290090561,0.011547075118869543,0.011675522197037935,0.011591914109885693,0.01162299094721675,0.011569839902222157,0.011668589897453785,0.01156229805201292,0.017901872750371695,0.018812119960784912,0.018786410801112652,0.018782244063913822,0.0188258308917284,0.01874570781365037,0.01887272298336029],"repeats":32,"seconds_per_sample":0.013325479361810721,"standard_deviation_convention":"population","standard_deviation_seconds":0.0028835147626228214,"warmups":5}}
results/conditional/timing/lm1b/fmlm/steps_1/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0","attempt_id":"bc2f2f295c8f4637a0fff9d4d599a571","checkpoint_lock_id":"recipe:fmlm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/official/fmlm_ckpt/lm1b","recipe":"fmlm_lm1b_official_ckpt","sampling_checkpoint":"lm1b_fmlm.ckpt","sampling_config":null,"source":"flm","source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","teacher_adapter":null,"teacher_family":"continuous_flm"},"checkpoint_sha256":"cb096021fda9344c88b184d9b3ac8a0a3bc45e30be7bcc917e024971a9d67395","checkpoint_teacher_family":"continuous_flm","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-flm","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"fmlm","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed-static-author-policy","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"flm:checkpoint_config_and_loaded_runtime_code_bound","precision_policy_binding":{"adapter_identity":"dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0","checkpoint_lock_id":"recipe:fmlm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/official/fmlm_ckpt/lm1b","recipe":"fmlm_lm1b_official_ckpt","sampling_checkpoint":"lm1b_fmlm.ckpt","sampling_config":null,"source":"flm","source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","teacher_adapter":null,"teacher_family":"continuous_flm"},"checkpoint_sha256":"cb096021fda9344c88b184d9b3ac8a0a3bc45e30be7bcc917e024971a9d67395","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"fmlm","prefix_length":64,"prompt_count":1024,"source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","upstream":"flm"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"92c69119e85195e099a41668e8f75dd5a908c4e341fb220f714853db555dca0d","symbol":"_capture_teacher.<locals>.capture.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/algo.py","sha256":"65206adc72013bb9b09b68fd847239b3193dd65fd59669bbdee42e061583d76a","symbol":"FMLM"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DDiTFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"DIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/models/dit.py","sha256":"a5deb76947fa3c31d21e264e10591f504be1c987bc54b98553059f556648ba7a","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/flm/trainer_base.py","sha256":"4a3cfa69d511023553290aa3ce975b9ced9cb73743f6a06e141de4ebfeec3d36","symbol":"LogLinear"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"Softplus"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-flm/lib/python3.11/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"}],"sample_count":2048,"seed":42,"source_commit":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","steps":1,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.005975442007184029,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.006069451104849577,0.00600470183417201,0.006014927756041288,0.00599653972312808,0.006064232904464006,0.006062130443751812,0.006032113917171955,0.0060233608819544315,0.006025373935699463,0.0060278079472482204,0.00599453691393137,0.00597678916528821,0.005972653161734343,0.0059919217601418495,0.005957338958978653,0.0060112918727099895,0.006009228993207216,0.005948906764388084,0.005927623715251684,0.005974094849079847,0.005958920810371637,0.00597716961055994,0.005938299931585789,0.005967684555798769,0.005941184237599373,0.005948115140199661,0.005960994865745306,0.005960964132100344,0.005942847114056349,0.005961124785244465,0.005966432858258486,0.005963008385151625],"repeats":32,"seconds_per_sample":0.005986617907183245,"standard_deviation_convention":"population","standard_deviation_seconds":3.7829216481046054e-05,"warmups":5}}
results/conditional/timing/lm1b/langflow/steps_1/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.langflow:v1|dlb.adapters.langflow:LangFlowAdapter|7d80794cf6a132fc8d4c179d723e8e486c70476888b2ba51dd92cdc3f5284f84","attempt_id":"98a8de4dfca04d9eac690b53a976afe9","checkpoint_lock_id":"langflow_lm1b_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all","checkpoint_selection":{"path":null,"resource":"langflow_lm1b_hf","teacher_family":null},"checkpoint_sha256":"2050f55b63e952941eb190711828176529f2f510031cc0e0fc1cd39f6998d7bb","checkpoint_teacher_family":"continuous_langflow","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-langflow","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"langflow","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"langflow:pinned_internal_bf16_autocast_with_fp32_sensitive_ops","precision_policy_binding":{"adapter_identity":"dlb.adapters.langflow:v1|dlb.adapters.langflow:LangFlowAdapter|7d80794cf6a132fc8d4c179d723e8e486c70476888b2ba51dd92cdc3f5284f84","checkpoint_lock_id":"langflow_lm1b_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all","checkpoint_repository":"Continuous-Rivals-Discrete/langflow-lm1b","checkpoint_resource":"langflow_lm1b_hf","checkpoint_revision":"d5d395d9bdf01f697ba8830110e3e78c63d77cb5","checkpoint_selection":{"path":null,"resource":"langflow_lm1b_hf","teacher_family":null},"checkpoint_sha256":"2050f55b63e952941eb190711828176529f2f510031cc0e0fc1cd39f6998d7bb","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"langflow","prefix_length":64,"prompt_count":1024,"source_commit":"a712b08570c56c787d6ef24f8e906a2dcdf768f5","upstream":"langflow"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"daaf59774f53f83ef7987b1432cd14769226e701310308480bbac28ef5217256","symbol":"_capture_langflow.<locals>.generate.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"DDiTFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"GumbelProposal"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlow"},{"kind":"sampling_closure","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlow.generate_samples"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlowBackbone"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"TimestepEmbedder"},{"kind":"bound_method_owner","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/autograd/grad_mode.py","sha256":"de61684a7f73eb361c0f47c22159a2bfc67df6f78ddfa5f198049b0654f1f4a7","symbol":"no_grad"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"},{"kind":"sampling_closure","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/utils/_contextlib.py","sha256":"cf7aa5b08f44974ba8c1d08cd71ef70ffd13d1c48a4931576eb235306bfa46b5","symbol":"LangFlow.generate_samples"},{"kind":"sampling_closure","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/utils/_contextlib.py","sha256":"cf7aa5b08f44974ba8c1d08cd71ef70ffd13d1c48a4931576eb235306bfa46b5","symbol":"_DecoratorContextManager.clone"}],"sample_count":2048,"seed":42,"source_commit":"a712b08570c56c787d6ef24f8e906a2dcdf768f5","steps":1,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.007625518133863807,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.021140022203326225,0.021185080986469984,0.021204430144280195,0.02120481012389064,0.02120248693972826,0.013259331230074167,0.00759607320651412,0.00796378729864955,0.007610605098307133,0.007598105818033218,0.0076356432400643826,0.0075834039598703384,0.007601501885801554,0.007644838187843561,0.00793003523722291,0.0076252371072769165,0.00758770015090704,0.007597775664180517,0.007621972821652889,0.0076278517954051495,0.007619458716362715,0.0076209912076592445,0.007612959016114473,0.007638107053935528,0.007606209255754948,0.007626851089298725,0.0076391687616705894,0.007590465247631073,0.00760751124471426,0.007625799160450697,0.007594651076942682,0.009424488991498947],"repeats":32,"seconds_per_sample":0.009988354810047895,"standard_deviation_convention":"population","standard_deviation_seconds":0.0049249346067599935,"warmups":5}}
results/conditional/timing/lm1b/langflow/steps_2/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.langflow:v1|dlb.adapters.langflow:LangFlowAdapter|7d80794cf6a132fc8d4c179d723e8e486c70476888b2ba51dd92cdc3f5284f84","attempt_id":"667041a450f84d6781d1564b2a099f57","checkpoint_lock_id":"langflow_lm1b_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all","checkpoint_selection":{"path":null,"resource":"langflow_lm1b_hf","teacher_family":null},"checkpoint_sha256":"2050f55b63e952941eb190711828176529f2f510031cc0e0fc1cd39f6998d7bb","checkpoint_teacher_family":"continuous_langflow","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-langflow","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"langflow","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"langflow:pinned_internal_bf16_autocast_with_fp32_sensitive_ops","precision_policy_binding":{"adapter_identity":"dlb.adapters.langflow:v1|dlb.adapters.langflow:LangFlowAdapter|7d80794cf6a132fc8d4c179d723e8e486c70476888b2ba51dd92cdc3f5284f84","checkpoint_lock_id":"langflow_lm1b_hf:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:all","checkpoint_repository":"Continuous-Rivals-Discrete/langflow-lm1b","checkpoint_resource":"langflow_lm1b_hf","checkpoint_revision":"d5d395d9bdf01f697ba8830110e3e78c63d77cb5","checkpoint_selection":{"path":null,"resource":"langflow_lm1b_hf","teacher_family":null},"checkpoint_sha256":"2050f55b63e952941eb190711828176529f2f510031cc0e0fc1cd39f6998d7bb","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"langflow","prefix_length":64,"prompt_count":1024,"source_commit":"a712b08570c56c787d6ef24f8e906a2dcdf768f5","upstream":"langflow"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"daaf59774f53f83ef7987b1432cd14769226e701310308480bbac28ef5217256","symbol":"_capture_langflow.<locals>.generate.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"DDiTFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"GumbelProposal"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlow"},{"kind":"sampling_closure","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlow.generate_samples"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LangFlowBackbone"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/langflow/langflow/model.py","sha256":"f3d65b468b61bd8ce46fa94764f1248d3f06e79064b6cfcb97c377be9933c8c3","symbol":"TimestepEmbedder"},{"kind":"bound_method_owner","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/autograd/grad_mode.py","sha256":"de61684a7f73eb361c0f47c22159a2bfc67df6f78ddfa5f198049b0654f1f4a7","symbol":"no_grad"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"},{"kind":"sampling_closure","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/utils/_contextlib.py","sha256":"cf7aa5b08f44974ba8c1d08cd71ef70ffd13d1c48a4931576eb235306bfa46b5","symbol":"LangFlow.generate_samples"},{"kind":"sampling_closure","path":"/opt/anaconda3/envs/dlb-langflow/lib/python3.12/site-packages/torch/utils/_contextlib.py","sha256":"cf7aa5b08f44974ba8c1d08cd71ef70ffd13d1c48a4931576eb235306bfa46b5","symbol":"_DecoratorContextManager.clone"}],"sample_count":2048,"seed":42,"source_commit":"a712b08570c56c787d6ef24f8e906a2dcdf768f5","steps":2,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.013044256484135985,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.03309805691242218,0.032926072366535664,0.03313788678497076,0.033139850944280624,0.015680735930800438,0.013000874780118465,0.012740885838866234,0.012779285199940205,0.01307451818138361,0.013031842187047005,0.01303914375603199,0.012773535680025816,0.012979402206838131,0.013004540000110865,0.01270885718986392,0.012760655954480171,0.012742158025503159,0.012989277020096779,0.01275152200832963,0.012770209927111864,0.01269852090626955,0.013078314252197742,0.013003408908843994,0.01304936921223998,0.020285880658775568,0.03321685781702399,0.033245372120290995,0.030609849374741316,0.026979338843375444,0.0331205609254539,0.03309041541069746,0.03322883741930127],"repeats":32,"seconds_per_sample":0.019898001148249023,"standard_deviation_convention":"population","standard_deviation_seconds":0.009172227812054594,"warmups":5}}
results/conditional/timing/lm1b/mdlm/steps_1/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.mdlm:v1|dlb.adapters.mdlm:MDLMAdapter|56a619efd4f7abcf587f94757a334f9d4481f7f76f19d56bc7a45b930aa9ebd3","attempt_id":"69c53507e094456190c5505a81ab4530","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_MDLM_.ckpt","checkpoint_selection":{"path":"lm1b_MDLM_.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"masked_mdlm"},"checkpoint_sha256":"51910b37ddabb1c716654d934526f483abb04837ddf9ca76c29ad41632807f01","checkpoint_teacher_family":"masked_mdlm","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-mdlm","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"mdlm","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"mdlm:pinned_internal_bf16_autocast_with_fp32_sensitive_ops","precision_policy_binding":{"adapter_identity":"dlb.adapters.mdlm:v1|dlb.adapters.mdlm:MDLMAdapter|56a619efd4f7abcf587f94757a334f9d4481f7f76f19d56bc7a45b930aa9ebd3","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_MDLM_.ckpt","checkpoint_repository":null,"checkpoint_resource":"flm_lm1b_reproductions","checkpoint_revision":null,"checkpoint_selection":{"path":"lm1b_MDLM_.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"masked_mdlm"},"checkpoint_sha256":"51910b37ddabb1c716654d934526f483abb04837ddf9ca76c29ad41632807f01","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"mdlm","prefix_length":64,"prompt_count":1024,"source_commit":"c112c526d193436838c98d81455ee51f90309470","upstream":"mdlm"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"92c69119e85195e099a41668e8f75dd5a908c4e341fb220f714853db555dca0d","symbol":"_capture_teacher.<locals>.capture.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"BPD"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"Diffusion"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"NLL"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"Perplexity"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DDitFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/noise_schedule.py","sha256":"da16320cebbc727c03e8e45297593505fb41a597c7a5ef29eacd7043207a763c","symbol":"LogLinearNoise"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"Softplus"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torchmetrics/collections.py","sha256":"b305613023a66917d5e79639e92ad9c3510dccc043ea5417616fc48612f3db88","symbol":"MetricCollection"}],"sample_count":2048,"seed":42,"source_commit":"c112c526d193436838c98d81455ee51f90309470","steps":1,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.019038962898775935,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.019001980777829885,0.019035592675209045,0.019064967054873705,0.0190742420963943,0.019311956129968166,0.019342373125255108,0.01927006198093295,0.019451941829174757,0.019147424027323723,0.019077126868069172,0.01904738089069724,0.019045136868953705,0.019100111909210682,0.019278876017779112,0.019304526038467884,0.019225834868848324,0.01898276200518012,0.018881106283515692,0.018943871837109327,0.018935158383101225,0.018977513071149588,0.018916981294751167,0.018914907705038786,0.019022813066840172,0.018870199099183083,0.018935618922114372,0.018918583169579506,0.018955409061163664,0.018937732093036175,0.019042333122342825,0.01906721107661724,0.01892730686813593],"repeats":32,"seconds_per_sample":0.019062782506807707,"standard_deviation_convention":"population","standard_deviation_seconds":0.00015022024421004648,"warmups":5}}
results/conditional/timing/lm1b/mdlm/steps_4/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.mdlm:v1|dlb.adapters.mdlm:MDLMAdapter|56a619efd4f7abcf587f94757a334f9d4481f7f76f19d56bc7a45b930aa9ebd3","attempt_id":"188a0c818f644c7d9f229897d9f03fa9","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_MDLM_.ckpt","checkpoint_selection":{"path":"lm1b_MDLM_.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"masked_mdlm"},"checkpoint_sha256":"51910b37ddabb1c716654d934526f483abb04837ddf9ca76c29ad41632807f01","checkpoint_teacher_family":"masked_mdlm","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-mdlm","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"mdlm","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"mdlm:pinned_internal_bf16_autocast_with_fp32_sensitive_ops","precision_policy_binding":{"adapter_identity":"dlb.adapters.mdlm:v1|dlb.adapters.mdlm:MDLMAdapter|56a619efd4f7abcf587f94757a334f9d4481f7f76f19d56bc7a45b930aa9ebd3","checkpoint_lock_id":"flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_MDLM_.ckpt","checkpoint_repository":null,"checkpoint_resource":"flm_lm1b_reproductions","checkpoint_revision":null,"checkpoint_selection":{"path":"lm1b_MDLM_.ckpt","resource":"flm_lm1b_reproductions","teacher_family":"masked_mdlm"},"checkpoint_sha256":"51910b37ddabb1c716654d934526f483abb04837ddf9ca76c29ad41632807f01","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"mdlm","prefix_length":64,"prompt_count":1024,"source_commit":"c112c526d193436838c98d81455ee51f90309470","upstream":"mdlm"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/capture.py","sha256":"92c69119e85195e099a41668e8f75dd5a908c4e341fb220f714853db555dca0d","symbol":"_capture_teacher.<locals>.capture.<locals>.<lambda>"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"BPD"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"Diffusion"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"NLL"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/diffusion.py","sha256":"f8b4f1fdea2ffc960c9852583bee58865aace44baf958f83d5f9b8e352752121","symbol":"Perplexity"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DDitFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"DIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/models/dit.py","sha256":"58751fa6fe0ee555debc86b91995754bf34e818c076efbe0f0a102bee6899fa4","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/mdlm/noise_schedule.py","sha256":"da16320cebbc727c03e8e45297593505fb41a597c7a5ef29eacd7043207a763c","symbol":"LogLinearNoise"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"Softplus"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-mdlm/lib/python3.9/site-packages/torchmetrics/collections.py","sha256":"b305613023a66917d5e79639e92ad9c3510dccc043ea5417616fc48612f3db88","symbol":"MetricCollection"}],"sample_count":2048,"seed":42,"source_commit":"c112c526d193436838c98d81455ee51f90309470","steps":4,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.03478888561949134,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.03513758536428213,0.03471161238849163,0.034986973740160465,0.035053555853664875,0.03470578184351325,0.03503089118748903,0.03486615885049105,0.03510821983218193,0.03523005731403828,0.03515283903107047,0.035110152792185545,0.03508374281227589,0.03500880813226104,0.03775930730625987,0.029046451207250357,0.029012639075517654,0.029064638074487448,0.029064428061246872,0.028911993838846684,0.028944604098796844,0.028966827783733606,0.029003043193370104,0.028995792847126722,0.02888000523671508,0.02898863237351179,0.0288879182189703,0.02904839301481843,0.03288176376372576,0.03508053673431277,0.03506977064535022,0.03497004834935069,0.03501617908477783],"repeats":32,"seconds_per_sample":0.03258685475157108,"standard_deviation_convention":"population","standard_deviation_seconds":0.0030431992789923096,"warmups":5}}
results/conditional/timing/lm1b/mdlm_di4c/steps_16/timing.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"adapter_identity":"dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|e1636b46628a6015944553de2d5d8a1b829bb6bf3f9c6b789d829cb6db222ec9","attempt_id":"fc0c87d0397e451fa563e460ff00141d","checkpoint_lock_id":"recipe:mdlm_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/reference_reproduction/mdlm_di4c/lm1b","recipe":"mdlm_di4c_lm1b","sampling_checkpoint":"student_checkpoints/20000.ckpt","sampling_config":"config.yaml","source":"di4c","source_commit":"ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3","teacher_adapter":"masked_to_absorbing","teacher_family":"masked_mdlm"},"checkpoint_sha256":"569faa9af7f866644c622bf3360a246d2ed3f3ddd7572999bdaa7c8a8d3d7f44","checkpoint_teacher_family":"masked_mdlm","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","cuda_runtime_version":"12.4","dataset":"lm1b","diversity_prompt_count":256,"environment":"dlb-di4c","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","gpu_compute_capability":"9.0","gpu_index":0,"gpu_name":"NVIDIA H200 NVL","model":"mdlm_di4c","nvidia_driver_version":"575.57.08","parameter_precision":"fp32","precision":"bf16-mixed","precision_evidence":"static_policy_bound_to_checkpoint_and_runtime_code_not_runtime_autocast_observation","precision_policy":"di4c:pinned_bf16_mixed_config_and_internal_autocast","precision_policy_binding":{"adapter_identity":"dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|e1636b46628a6015944553de2d5d8a1b829bb6bf3f9c6b789d829cb6db222ec9","checkpoint_lock_id":"recipe:mdlm_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152","checkpoint_selection":{"output":"checkpoints/reference_reproduction/mdlm_di4c/lm1b","recipe":"mdlm_di4c_lm1b","sampling_checkpoint":"student_checkpoints/20000.ckpt","sampling_config":"config.yaml","source":"di4c","source_commit":"ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3","teacher_adapter":"masked_to_absorbing","teacher_family":"masked_mdlm"},"checkpoint_sha256":"569faa9af7f866644c622bf3360a246d2ed3f3ddd7572999bdaa7c8a8d3d7f44","completion_schedule":"c0:p0-1023;c1-4:p0-255","completions_per_diversity_prompt":5,"conditioning_config_sha256":"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","conditioning_manifest":"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","conditioning_manifest_sha256":"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","dataset":"lm1b","diversity_prompt_count":256,"evaluation_continuation_length":64,"experiment_config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","generation_mode":"conditional_prefix","model":"mdlm_di4c","prefix_length":64,"prompt_count":1024,"source_commit":"ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3","upstream":"di4c"},"prefix_length":64,"prompt_count":1024,"pytorch_compiled_cuda_toolkit":"12.4","requested_precision":"author","runtime_code_binding":[{"kind":"sampling_callable","path":"/home/ruizzhao/diffusion_baseline/adapters/_distilled_runtime.py","sha256":"39268b31d066526a2f0e9bb13bb531f98aaedb1aed46b4f4f0fd722cf02a5683","symbol":"benchmark_model.<locals>.<lambda>"},{"kind":"sampling_closure","path":"/home/ruizzhao/diffusion_baseline/src/dlb/adapters/conditional_runtime.py","sha256":"eef6d1a1062787f949be4656b7a1cc2e81718b42affd9facce4159e2c02c89b8","symbol":"token_project_fn.<locals>.project"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/core/diffusion/noise_schedule.py","sha256":"b2c06e11a4947b306db1c19eac181b99bbc6b36520526ebb36639696c95dcb21","symbol":"LogLinearNoise"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/core/distill/multi_round_sdtt.py","sha256":"75c61fbd1d3e1b87e10b25d67c0143ba0995753f579e0282bc1e3559c145704c","symbol":"MultiRoundSDTT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"DDiTBlock"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"DDitFinalLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"DIT"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"EmbeddingLayer"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"LayerNorm"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"Rotary"},{"kind":"loaded_module","path":"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt/src/sdtt/models/dit_orig.py","sha256":"c2e7ced4ccbb92bcf9e6fdc0fc2b41130447d8d15e5d696e7f3a927177578912","symbol":"TimestepEmbedder"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"GELU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/activation.py","sha256":"1e748e0df0d70491fe82f0178f32126ee6ee138a53de7fc76463af10c75f5477","symbol":"SiLU"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"ModuleList"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/container.py","sha256":"33af8d1fe4fb542cbba5542c5079b1bd8ef8a6493abbef329411f71b2071d24f","symbol":"Sequential"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/dropout.py","sha256":"1fc9974c3cf2078dd4bc257f73afb6a6714adfec2e9d099d47cf923e766d3490","symbol":"Dropout"},{"kind":"loaded_module","path":"/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/torch/nn/modules/linear.py","sha256":"d7f5cadf773deb5ab4bcc9f57414e8239b2859c70d2aa6f141576de1ec918823","symbol":"Linear"}],"sample_count":2048,"seed":42,"source_commit":"ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3","steps":16,"synchronization_policy":"torch.cuda.synchronize_before_start_and_after_generate"},"schema":"dlb-generation-timing-v1","timing":{"batch_size":1,"exclusions":["model_and_checkpoint_loading","first_compilation","token_decoding","metrics","file_io"],"median_seconds":0.11406264989636838,"mode":"primary_latency","num_timed_samples":32,"raw_durations_seconds":[0.11690304288640618,0.11475256411358714,0.11472673388198018,0.11449317587539554,0.1145416391082108,0.11451897490769625,0.11415167059749365,0.11425567092373967,0.11376026086509228,0.1139446240849793,0.1141616371460259,0.11403871886432171,0.11407560482621193,0.11404055217280984,0.11426084907725453,0.11404920415952802,0.11427654279395938,0.11404969496652484,0.11399703472852707,0.1139108119532466,0.11377245979383588,0.11380113381892443,0.11475700093433261,0.11429071519523859,0.11390608502551913,0.11386723490431905,0.11421745223924518,0.11399389989674091,0.11393415834754705,0.11386060481891036,0.1140807131305337,0.11396091897040606],"repeats":32,"seconds_per_sample":0.11422973078151699,"standard_deviation_convention":"population","standard_deviation_seconds":0.0005543853719092198,"warmups":5}}