Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- results/conditional/samples/lm1b/candi/steps_1024/stdout.log +4 -0
- results/conditional/samples/lm1b/candi/steps_1024/upstream_hydra/dlb_pinned_upstream_main.log +11 -0
- results/conditional/samples/lm1b/candi/steps_16/stderr.log +13 -0
- results/conditional/samples/lm1b/candi/steps_16/stdout.log +4 -0
- results/conditional/samples/lm1b/candi/steps_16/upstream_hydra/.hydra/hydra.yaml +185 -0
- results/conditional/samples/lm1b/candi/steps_16/upstream_hydra/.hydra/overrides.yaml +23 -0
- results/conditional/samples/lm1b/candi/steps_2/conversion_metadata.json +28 -0
- results/conditional/samples/lm1b/candi/steps_2/request.json +112 -0
- results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/config.yaml +154 -0
- results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/hydra.yaml +185 -0
- results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/overrides.yaml +23 -0
- results/conditional/samples/lm1b/candi/steps_32/run_metadata.json +102 -0
- results/conditional/samples/lm1b/candi/steps_4/conversion_metadata.json +28 -0
- results/conditional/samples/lm1b/candi/steps_4/request.json +112 -0
- results/conditional/samples/lm1b/candi/steps_4/run_metadata.json +102 -0
- results/conditional/samples/lm1b/candi/steps_4/stderr.log +13 -0
- results/conditional/samples/lm1b/candi/steps_4/stdout.log +4 -0
- results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/.hydra/config.yaml +154 -0
- results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/.hydra/hydra.yaml +185 -0
- results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/dlb_pinned_upstream_main.log +9 -0
- results/conditional/samples/lm1b/candi/steps_8/request.json +112 -0
- results/conditional/samples/lm1b/candi/steps_8/stderr.log +13 -0
- results/conditional/samples/lm1b/candi/steps_8/stdout.log +4 -0
- results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/.hydra/hydra.yaml +185 -0
- results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/.hydra/overrides.yaml +23 -0
- results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/dlb_pinned_upstream_main.log +9 -0
- results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_hydra/dlb_pinned_upstream_main.log +8 -0
- results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_samples.json +7 -0
- results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_token_ids.json +4 -0
- results/conditional/samples/lm1b/duo_dcd/steps_16/upstream_hydra/dlb_pinned_upstream_main.log +8 -0
- results/conditional/samples/lm1b/duo_dcd/steps_2/stderr.log +5 -0
- results/conditional/samples/lm1b/duo_dcd/steps_2/upstream_hydra/dlb_pinned_upstream_main.log +8 -0
- results/conditional/samples/lm1b/duo_dcd/steps_4/upstream_hydra/.hydra/config.yaml +151 -0
- results/conditional/samples/lm1b/duo_dcd/steps_8/request.json +118 -0
- results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_hydra/.hydra/config.yaml +151 -0
- results/conditional/samples/lm1b/duo_di4c/steps_1/conversion_metadata.json +33 -0
- results/conditional/samples/lm1b/duo_di4c/steps_1/request.json +143 -0
- results/conditional/samples/lm1b/duo_di4c/steps_1/stderr.log +1 -0
- results/conditional/samples/lm1b/duo_di4c/steps_16/conversion_metadata.json +33 -0
- results/conditional/samples/lm1b/duo_di4c/steps_2/run_metadata.json +133 -0
- results/conditional/samples/lm1b/duo_di4c/steps_2/stderr.log +1 -0
- results/conditional/samples/lm1b/duo_di4c/steps_8/conversion_metadata.json +33 -0
- results/conditional/samples/lm1b/duo_di4c/steps_8/samples.jsonl +0 -0
- results/conditional/samples/lm1b/duo_di4c/steps_8/stderr.log +1 -0
- results/conditional/samples/lm1b/flm/steps_4/stdout.log +253 -0
- results/conditional/samples/lm1b/flm/steps_8/conversion_metadata.json +29 -0
- results/conditional/samples/lm1b/fmlm/steps_1/conversion_metadata.json +29 -0
- results/conditional/samples/lm1b/fmlm/steps_1/request.json +120 -0
- results/conditional/samples/lm1b/fmlm/steps_1/run_metadata.json +1 -0
- results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra/.hydra/hydra.yaml +183 -0
results/conditional/samples/lm1b/candi/steps_1024/stdout.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-09-01 17:21:37,184][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
Generative perplexity: 88.07493591308594
|
| 3 |
+
Sample entropy: 4.3592610359191895
|
| 4 |
+
Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_1024/upstream_samples.json
|
results/conditional/samples/lm1b/candi/steps_1024/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-26 13:57:05,696][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-27 09:54:31,621][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 3 |
+
[2026-08-27 10:05:35,198][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 4 |
+
[2026-08-27 10:25:42,984][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 5 |
+
[2026-08-27 16:53:25,848][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-27 18:19:38,189][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 7 |
+
[2026-08-27 21:49:46,357][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 8 |
+
[2026-08-28 11:36:36,704][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 9 |
+
[2026-08-28 20:00:59,183][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 10 |
+
[2026-09-01 17:21:37,184][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 11 |
+
[2026-09-02 10:43:18,232][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
results/conditional/samples/lm1b/candi/steps_16/stderr.log
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Seed set to 42
|
| 2 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:691: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 3 |
+
self.continuous_noise = torch.tensor(self.continuous_noise)
|
| 4 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:692: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 5 |
+
self.discrete_noise = torch.tensor(self.discrete_noise)
|
| 6 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:861: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 7 |
+
with torch.cuda.amp.autocast(dtype=torch.float32):
|
| 8 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:533: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 9 |
+
with torch.cuda.amp.autocast(dtype=torch.bfloat16):
|
| 10 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:157: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 11 |
+
with torch.cuda.amp.autocast(enabled=False):
|
| 12 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:112: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 13 |
+
with torch.cuda.amp.autocast(enabled=False):
|
results/conditional/samples/lm1b/candi/steps_16/stdout.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-28 19:23:32,576][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
Generative perplexity: 101.40461730957031
|
| 3 |
+
Sample entropy: 4.364837169647217
|
| 4 |
+
Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_samples.json
|
results/conditional/samples/lm1b/candi/steps_16/upstream_hydra/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/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/lm1b/candi/steps_16/upstream_hydra
|
| 114 |
+
- hydra.mode=RUN
|
| 115 |
+
task:
|
| 116 |
+
- mode=sample_eval
|
| 117 |
+
- seed=42
|
| 118 |
+
- data=lm1b-wrap
|
| 119 |
+
- model=small
|
| 120 |
+
- model.length=128
|
| 121 |
+
- loader.batch_size=16
|
| 122 |
+
- loader.eval_batch_size=2
|
| 123 |
+
- sampling.num_sample_batches=1024
|
| 124 |
+
- sampling.steps=16
|
| 125 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 126 |
+
- trainer.devices=1
|
| 127 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_hydra
|
| 128 |
+
- +wandb.offline=true
|
| 129 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_samples.json
|
| 130 |
+
- algo=candi
|
| 131 |
+
- algo.sampler=cached
|
| 132 |
+
- algo.mixed_coeff=0.5
|
| 133 |
+
- algo.step_size=1.0
|
| 134 |
+
- algo.temp=1.0
|
| 135 |
+
- algo.use_percentile_scheduling=True
|
| 136 |
+
- sampling.noise_removal=ancestral
|
| 137 |
+
- trainer.accumulate_grad_batches=1
|
| 138 |
+
- eval.disable_ema=False
|
| 139 |
+
job:
|
| 140 |
+
name: dlb_pinned_upstream_main
|
| 141 |
+
chdir: true
|
| 142 |
+
override_dirname: +wandb.offline=true,algo.mixed_coeff=0.5,algo.sampler=cached,algo.step_size=1.0,algo.temp=1.0,algo.use_percentile_scheduling=True,algo=candi,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_hydra,data=lm1b-wrap,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt,eval.disable_ema=False,eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_samples.json,loader.batch_size=16,loader.eval_batch_size=2,mode=sample_eval,model.length=128,model=small,sampling.noise_removal=ancestral,sampling.num_sample_batches=1024,sampling.steps=16,seed=42,trainer.accumulate_grad_batches=1,trainer.devices=1
|
| 143 |
+
id: ???
|
| 144 |
+
num: ???
|
| 145 |
+
config_name: config
|
| 146 |
+
env_set: {}
|
| 147 |
+
env_copy: []
|
| 148 |
+
config:
|
| 149 |
+
override_dirname:
|
| 150 |
+
kv_sep: '='
|
| 151 |
+
item_sep: ','
|
| 152 |
+
exclude_keys: []
|
| 153 |
+
runtime:
|
| 154 |
+
version: 1.3.2
|
| 155 |
+
version_base: '1.3'
|
| 156 |
+
cwd: /home/ruizzhao/diffusion_baseline
|
| 157 |
+
config_sources:
|
| 158 |
+
- path: hydra.conf
|
| 159 |
+
schema: pkg
|
| 160 |
+
provider: hydra
|
| 161 |
+
- path: /home/ruizzhao/diffusion_baseline/upstreams/candi/configs
|
| 162 |
+
schema: file
|
| 163 |
+
provider: main
|
| 164 |
+
- path: ''
|
| 165 |
+
schema: structured
|
| 166 |
+
provider: schema
|
| 167 |
+
output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_hydra
|
| 168 |
+
choices:
|
| 169 |
+
algo: candi
|
| 170 |
+
prior: none
|
| 171 |
+
lr_scheduler: constant
|
| 172 |
+
noise: log-linear
|
| 173 |
+
strategy: ddp
|
| 174 |
+
model: small
|
| 175 |
+
data: lm1b-wrap
|
| 176 |
+
hydra/env: default
|
| 177 |
+
hydra/callbacks: null
|
| 178 |
+
hydra/job_logging: default
|
| 179 |
+
hydra/hydra_logging: default
|
| 180 |
+
hydra/hydra_help: default
|
| 181 |
+
hydra/help: default
|
| 182 |
+
hydra/sweeper: basic
|
| 183 |
+
hydra/launcher: basic
|
| 184 |
+
hydra/output: default
|
| 185 |
+
verbose: false
|
results/conditional/samples/lm1b/candi/steps_16/upstream_hydra/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- mode=sample_eval
|
| 2 |
+
- seed=42
|
| 3 |
+
- data=lm1b-wrap
|
| 4 |
+
- model=small
|
| 5 |
+
- model.length=128
|
| 6 |
+
- loader.batch_size=16
|
| 7 |
+
- loader.eval_batch_size=2
|
| 8 |
+
- sampling.num_sample_batches=1024
|
| 9 |
+
- sampling.steps=16
|
| 10 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 11 |
+
- trainer.devices=1
|
| 12 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_hydra
|
| 13 |
+
- +wandb.offline=true
|
| 14 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_16/upstream_samples.json
|
| 15 |
+
- algo=candi
|
| 16 |
+
- algo.sampler=cached
|
| 17 |
+
- algo.mixed_coeff=0.5
|
| 18 |
+
- algo.step_size=1.0
|
| 19 |
+
- algo.temp=1.0
|
| 20 |
+
- algo.use_percentile_scheduling=True
|
| 21 |
+
- sampling.noise_removal=ancestral
|
| 22 |
+
- trainer.accumulate_grad_batches=1
|
| 23 |
+
- eval.disable_ema=False
|
results/conditional/samples/lm1b/candi/steps_2/conversion_metadata.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"path": "lm1b_CANDI.ckpt",
|
| 5 |
+
"resource": "flm_lm1b_reproductions",
|
| 6 |
+
"teacher_family": "hybrid_candi"
|
| 7 |
+
},
|
| 8 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 9 |
+
"conditioning_implementation": "native_projection",
|
| 10 |
+
"exclude_from_latency": true,
|
| 11 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 12 |
+
"generated_samples": 2048,
|
| 13 |
+
"generation_seconds_sentinel": 0.0,
|
| 14 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 15 |
+
"paper_conditional_training_reproduced": false,
|
| 16 |
+
"requested_samples": 2048,
|
| 17 |
+
"teacher_family": "hybrid_candi",
|
| 18 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 19 |
+
"token_ids_transformation": {
|
| 20 |
+
"max_length": 128,
|
| 21 |
+
"operation": "validated_exact_length"
|
| 22 |
+
},
|
| 23 |
+
"tokenizer": "bert-base-uncased",
|
| 24 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 25 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 26 |
+
"trimmed_samples": 0,
|
| 27 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_token_ids.json"
|
| 28 |
+
}
|
results/conditional/samples/lm1b/candi/steps_2/request.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"command": [
|
| 3 |
+
"/opt/anaconda3/envs/dlb-candi/bin/python",
|
| 4 |
+
"-u",
|
| 5 |
+
"-m",
|
| 6 |
+
"dlb.adapters.capture",
|
| 7 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/candi/main.py",
|
| 8 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_token_ids.json",
|
| 9 |
+
"--generation-mode=conditional_prefix",
|
| 10 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 11 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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=lm1b-wrap",
|
| 23 |
+
"model=small",
|
| 24 |
+
"model.length=128",
|
| 25 |
+
"loader.batch_size=16",
|
| 26 |
+
"loader.eval_batch_size=2",
|
| 27 |
+
"sampling.num_sample_batches=1024",
|
| 28 |
+
"sampling.steps=2",
|
| 29 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt",
|
| 30 |
+
"trainer.devices=1",
|
| 31 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra",
|
| 32 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra",
|
| 33 |
+
"+wandb.offline=true",
|
| 34 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_samples.json",
|
| 35 |
+
"algo=candi",
|
| 36 |
+
"algo.sampler=cached",
|
| 37 |
+
"algo.mixed_coeff=0.5",
|
| 38 |
+
"algo.step_size=1.0",
|
| 39 |
+
"algo.temp=1.0",
|
| 40 |
+
"algo.use_percentile_scheduling=True",
|
| 41 |
+
"sampling.noise_removal=ancestral",
|
| 42 |
+
"trainer.accumulate_grad_batches=1",
|
| 43 |
+
"eval.disable_ema=False"
|
| 44 |
+
],
|
| 45 |
+
"identity": {
|
| 46 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 47 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 48 |
+
"checkpoint_selection": {
|
| 49 |
+
"path": "lm1b_CANDI.ckpt",
|
| 50 |
+
"resource": "flm_lm1b_reproductions",
|
| 51 |
+
"teacher_family": "hybrid_candi"
|
| 52 |
+
},
|
| 53 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 54 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 55 |
+
"command_sha256": "937f6b0870c9cb2d53e8df907893cd97e2d389b9b29c95467f98539c54f80904",
|
| 56 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 57 |
+
"completions_per_diversity_prompt": 5,
|
| 58 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 59 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 60 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 61 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 62 |
+
"dataset_id": "lm1b",
|
| 63 |
+
"device": null,
|
| 64 |
+
"diversity_prompt_count": 256,
|
| 65 |
+
"environment": "dlb-candi",
|
| 66 |
+
"evaluation_continuation_length": 64,
|
| 67 |
+
"generation_mode": "conditional_prefix",
|
| 68 |
+
"model_id": "candi",
|
| 69 |
+
"prefix_length": 64,
|
| 70 |
+
"prompt_count": 1024,
|
| 71 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 72 |
+
"run_id": "candi-lm1b-steps-2",
|
| 73 |
+
"sample_count": 2048,
|
| 74 |
+
"seed": 42,
|
| 75 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 76 |
+
"step_count": 2
|
| 77 |
+
},
|
| 78 |
+
"request": {
|
| 79 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 80 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 81 |
+
"checkpoint_selection": {
|
| 82 |
+
"path": "lm1b_CANDI.ckpt",
|
| 83 |
+
"resource": "flm_lm1b_reproductions",
|
| 84 |
+
"teacher_family": "hybrid_candi"
|
| 85 |
+
},
|
| 86 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 87 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 88 |
+
"command": null,
|
| 89 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 90 |
+
"completions_per_diversity_prompt": 5,
|
| 91 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 92 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 93 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 94 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 95 |
+
"dataset_id": "lm1b",
|
| 96 |
+
"device": null,
|
| 97 |
+
"diversity_prompt_count": 256,
|
| 98 |
+
"environment": "dlb-candi",
|
| 99 |
+
"evaluation_continuation_length": 64,
|
| 100 |
+
"generation_mode": "conditional_prefix",
|
| 101 |
+
"model_id": "candi",
|
| 102 |
+
"prefix_length": 64,
|
| 103 |
+
"prompt_count": 1024,
|
| 104 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 105 |
+
"run_id": "candi-lm1b-steps-2",
|
| 106 |
+
"sample_count": 2048,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 109 |
+
"step_count": 2
|
| 110 |
+
},
|
| 111 |
+
"started_at": "2026-08-28T10:18:33.969371Z"
|
| 112 |
+
}
|
results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: sample_eval
|
| 2 |
+
seed: 42
|
| 3 |
+
scratch_dir: /home/patrick/.cache/discrete_diffusion
|
| 4 |
+
batch_size: 512
|
| 5 |
+
loader:
|
| 6 |
+
global_batch_size: ${batch_size}
|
| 7 |
+
eval_global_batch_size: 128
|
| 8 |
+
batch_size: 16
|
| 9 |
+
eval_batch_size: 2
|
| 10 |
+
num_workers: 4
|
| 11 |
+
pin_memory: true
|
| 12 |
+
sampling:
|
| 13 |
+
predictor: ancestral_cache
|
| 14 |
+
steps: 2
|
| 15 |
+
noise_removal: ancestral
|
| 16 |
+
use_float64: true
|
| 17 |
+
p_nucleus: 1.0
|
| 18 |
+
num_sample_batches: 1024
|
| 19 |
+
num_sample_log: 2
|
| 20 |
+
semi_ar: false
|
| 21 |
+
stride_length: 1
|
| 22 |
+
num_strides: 1
|
| 23 |
+
training:
|
| 24 |
+
ema: 0.9999
|
| 25 |
+
antithetic_sampling: true
|
| 26 |
+
importance_sampling: false
|
| 27 |
+
sampling_eps: 0.001
|
| 28 |
+
change_of_variables: false
|
| 29 |
+
loss_precision: float32
|
| 30 |
+
finetune_path: ''
|
| 31 |
+
eval:
|
| 32 |
+
checkpoint_path: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 33 |
+
disable_ema: false
|
| 34 |
+
compute_generative_perplexity: false
|
| 35 |
+
perplexity_batch_size: 8
|
| 36 |
+
compute_perplexity_on_sanity: false
|
| 37 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 38 |
+
generate_samples: true
|
| 39 |
+
generated_samples_path: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_samples.json
|
| 40 |
+
optim:
|
| 41 |
+
weight_decay: 0
|
| 42 |
+
lr: 0.001
|
| 43 |
+
beta1: 0.9
|
| 44 |
+
beta2: 0.999
|
| 45 |
+
eps: 1.0e-08
|
| 46 |
+
trainer:
|
| 47 |
+
_target_: lightning.Trainer
|
| 48 |
+
accelerator: cuda
|
| 49 |
+
num_nodes: 1
|
| 50 |
+
devices: 1
|
| 51 |
+
accumulate_grad_batches: 1
|
| 52 |
+
gradient_clip_val: 1.0
|
| 53 |
+
precision: bf16
|
| 54 |
+
num_sanity_val_steps: 2
|
| 55 |
+
max_steps: 1000000
|
| 56 |
+
log_every_n_steps: 100
|
| 57 |
+
limit_train_batches: 1.0
|
| 58 |
+
limit_val_batches: 1.0
|
| 59 |
+
val_check_interval: 10000
|
| 60 |
+
wandb:
|
| 61 |
+
project: flow-ode
|
| 62 |
+
notes: Flow ODEs for UDLM
|
| 63 |
+
group: null
|
| 64 |
+
job_type: null
|
| 65 |
+
name: null
|
| 66 |
+
id: null
|
| 67 |
+
tags:
|
| 68 |
+
- ${noise.type}
|
| 69 |
+
- ${data.train}
|
| 70 |
+
- ${data.valid}
|
| 71 |
+
- ${algo.name}
|
| 72 |
+
offline: true
|
| 73 |
+
checkpointing:
|
| 74 |
+
save_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra
|
| 75 |
+
resume_from_ckpt: true
|
| 76 |
+
resume_ckpt_path: ${.save_dir}/checkpoints/last.ckpt
|
| 77 |
+
callbacks:
|
| 78 |
+
checkpoint_every_n_steps:
|
| 79 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 80 |
+
save_top_k: -1
|
| 81 |
+
save_last: true
|
| 82 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 83 |
+
verbose: true
|
| 84 |
+
auto_insert_metric_name: false
|
| 85 |
+
every_n_train_steps: 500
|
| 86 |
+
checkpoint_monitor:
|
| 87 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 88 |
+
monitor: val/nll
|
| 89 |
+
mode: min
|
| 90 |
+
save_top_k: 1
|
| 91 |
+
save_last: false
|
| 92 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 93 |
+
filename: best
|
| 94 |
+
auto_insert_metric_name: false
|
| 95 |
+
verbose: true
|
| 96 |
+
learning_rate_monitor:
|
| 97 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 98 |
+
logging_interval: step
|
| 99 |
+
data:
|
| 100 |
+
train: lm1b
|
| 101 |
+
valid: lm1b
|
| 102 |
+
tokenizer_name_or_path: bert-base-uncased
|
| 103 |
+
cache_dir: /share/kuleshov/ssahoo/textdiffusion/data
|
| 104 |
+
wrap: true
|
| 105 |
+
streaming: false
|
| 106 |
+
insert_train_eos: true
|
| 107 |
+
insert_valid_eos: true
|
| 108 |
+
model:
|
| 109 |
+
name: small
|
| 110 |
+
type: ddit
|
| 111 |
+
hidden_size: 768
|
| 112 |
+
cond_dim: 128
|
| 113 |
+
length: 128
|
| 114 |
+
n_blocks: 12
|
| 115 |
+
n_heads: 12
|
| 116 |
+
scale_by_sigma: true
|
| 117 |
+
dropout: 0.1
|
| 118 |
+
tie_word_embeddings: false
|
| 119 |
+
vocab_lookup: true
|
| 120 |
+
strategy:
|
| 121 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 122 |
+
find_unused_parameters: false
|
| 123 |
+
noise:
|
| 124 |
+
type: log-linear
|
| 125 |
+
parameterization: log-linear
|
| 126 |
+
eps: 0
|
| 127 |
+
denoiser_latent_conditioning: -1
|
| 128 |
+
freeze_encoder: false
|
| 129 |
+
freeze_decoder: false
|
| 130 |
+
lr_scheduler:
|
| 131 |
+
_target_: transformers.get_constant_schedule
|
| 132 |
+
prior:
|
| 133 |
+
type: none
|
| 134 |
+
latent_width: 0
|
| 135 |
+
latent_height: 0
|
| 136 |
+
algo:
|
| 137 |
+
name: candi
|
| 138 |
+
backbone: cont_dit
|
| 139 |
+
causal_attention: false
|
| 140 |
+
parameterization: mean
|
| 141 |
+
T: 0
|
| 142 |
+
discretize_start_time: 1.0
|
| 143 |
+
time_conditioning: true
|
| 144 |
+
step_size: 1.0
|
| 145 |
+
mixed_coeff: 0.5
|
| 146 |
+
max_percentile: 0.25
|
| 147 |
+
min_percentile: 0.01
|
| 148 |
+
sigma_min: 0.01
|
| 149 |
+
sigma_max: 2.0
|
| 150 |
+
temp: 1.0
|
| 151 |
+
pure_continuous: false
|
| 152 |
+
sampler: cached
|
| 153 |
+
is_embed: false
|
| 154 |
+
use_percentile_scheduling: true
|
results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/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/lm1b/candi/steps_2/upstream_hydra
|
| 114 |
+
- hydra.mode=RUN
|
| 115 |
+
task:
|
| 116 |
+
- mode=sample_eval
|
| 117 |
+
- seed=42
|
| 118 |
+
- data=lm1b-wrap
|
| 119 |
+
- model=small
|
| 120 |
+
- model.length=128
|
| 121 |
+
- loader.batch_size=16
|
| 122 |
+
- loader.eval_batch_size=2
|
| 123 |
+
- sampling.num_sample_batches=1024
|
| 124 |
+
- sampling.steps=2
|
| 125 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 126 |
+
- trainer.devices=1
|
| 127 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra
|
| 128 |
+
- +wandb.offline=true
|
| 129 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_samples.json
|
| 130 |
+
- algo=candi
|
| 131 |
+
- algo.sampler=cached
|
| 132 |
+
- algo.mixed_coeff=0.5
|
| 133 |
+
- algo.step_size=1.0
|
| 134 |
+
- algo.temp=1.0
|
| 135 |
+
- algo.use_percentile_scheduling=True
|
| 136 |
+
- sampling.noise_removal=ancestral
|
| 137 |
+
- trainer.accumulate_grad_batches=1
|
| 138 |
+
- eval.disable_ema=False
|
| 139 |
+
job:
|
| 140 |
+
name: dlb_pinned_upstream_main
|
| 141 |
+
chdir: true
|
| 142 |
+
override_dirname: +wandb.offline=true,algo.mixed_coeff=0.5,algo.sampler=cached,algo.step_size=1.0,algo.temp=1.0,algo.use_percentile_scheduling=True,algo=candi,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra,data=lm1b-wrap,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt,eval.disable_ema=False,eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_samples.json,loader.batch_size=16,loader.eval_batch_size=2,mode=sample_eval,model.length=128,model=small,sampling.noise_removal=ancestral,sampling.num_sample_batches=1024,sampling.steps=2,seed=42,trainer.accumulate_grad_batches=1,trainer.devices=1
|
| 143 |
+
id: ???
|
| 144 |
+
num: ???
|
| 145 |
+
config_name: config
|
| 146 |
+
env_set: {}
|
| 147 |
+
env_copy: []
|
| 148 |
+
config:
|
| 149 |
+
override_dirname:
|
| 150 |
+
kv_sep: '='
|
| 151 |
+
item_sep: ','
|
| 152 |
+
exclude_keys: []
|
| 153 |
+
runtime:
|
| 154 |
+
version: 1.3.2
|
| 155 |
+
version_base: '1.3'
|
| 156 |
+
cwd: /home/ruizzhao/diffusion_baseline
|
| 157 |
+
config_sources:
|
| 158 |
+
- path: hydra.conf
|
| 159 |
+
schema: pkg
|
| 160 |
+
provider: hydra
|
| 161 |
+
- path: /home/ruizzhao/diffusion_baseline/upstreams/candi/configs
|
| 162 |
+
schema: file
|
| 163 |
+
provider: main
|
| 164 |
+
- path: ''
|
| 165 |
+
schema: structured
|
| 166 |
+
provider: schema
|
| 167 |
+
output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra
|
| 168 |
+
choices:
|
| 169 |
+
algo: candi
|
| 170 |
+
prior: none
|
| 171 |
+
lr_scheduler: constant
|
| 172 |
+
noise: log-linear
|
| 173 |
+
strategy: ddp
|
| 174 |
+
model: small
|
| 175 |
+
data: lm1b-wrap
|
| 176 |
+
hydra/env: default
|
| 177 |
+
hydra/callbacks: null
|
| 178 |
+
hydra/job_logging: default
|
| 179 |
+
hydra/hydra_logging: default
|
| 180 |
+
hydra/hydra_help: default
|
| 181 |
+
hydra/help: default
|
| 182 |
+
hydra/sweeper: basic
|
| 183 |
+
hydra/launcher: basic
|
| 184 |
+
hydra/output: default
|
| 185 |
+
verbose: false
|
results/conditional/samples/lm1b/candi/steps_2/upstream_hydra/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- mode=sample_eval
|
| 2 |
+
- seed=42
|
| 3 |
+
- data=lm1b-wrap
|
| 4 |
+
- model=small
|
| 5 |
+
- model.length=128
|
| 6 |
+
- loader.batch_size=16
|
| 7 |
+
- loader.eval_batch_size=2
|
| 8 |
+
- sampling.num_sample_batches=1024
|
| 9 |
+
- sampling.steps=2
|
| 10 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 11 |
+
- trainer.devices=1
|
| 12 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_hydra
|
| 13 |
+
- +wandb.offline=true
|
| 14 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_2/upstream_samples.json
|
| 15 |
+
- algo=candi
|
| 16 |
+
- algo.sampler=cached
|
| 17 |
+
- algo.mixed_coeff=0.5
|
| 18 |
+
- algo.step_size=1.0
|
| 19 |
+
- algo.temp=1.0
|
| 20 |
+
- algo.use_percentile_scheduling=True
|
| 21 |
+
- sampling.noise_removal=ancestral
|
| 22 |
+
- trainer.accumulate_grad_batches=1
|
| 23 |
+
- eval.disable_ema=False
|
results/conditional/samples/lm1b/candi/steps_32/run_metadata.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"path": "lm1b_CANDI.ckpt",
|
| 5 |
+
"resource": "flm_lm1b_reproductions",
|
| 6 |
+
"teacher_family": "hybrid_candi"
|
| 7 |
+
},
|
| 8 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 9 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 10 |
+
"command": [
|
| 11 |
+
"/opt/anaconda3/envs/dlb-candi/bin/python",
|
| 12 |
+
"-u",
|
| 13 |
+
"-m",
|
| 14 |
+
"dlb.adapters.capture",
|
| 15 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/candi/main.py",
|
| 16 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/upstream_token_ids.json",
|
| 17 |
+
"--generation-mode=conditional_prefix",
|
| 18 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 19 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 20 |
+
"--conditioning-config-sha256=89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 21 |
+
"--prefix-length=64",
|
| 22 |
+
"--evaluation-continuation-length=64",
|
| 23 |
+
"--prompt-count=1024",
|
| 24 |
+
"--diversity-prompt-count=256",
|
| 25 |
+
"--completions-per-diversity-prompt=5",
|
| 26 |
+
"--completion-schedule=c0:p0-1023;c1-4:p0-255",
|
| 27 |
+
"--",
|
| 28 |
+
"mode=sample_eval",
|
| 29 |
+
"seed=42",
|
| 30 |
+
"data=lm1b-wrap",
|
| 31 |
+
"model=small",
|
| 32 |
+
"model.length=128",
|
| 33 |
+
"loader.batch_size=16",
|
| 34 |
+
"loader.eval_batch_size=2",
|
| 35 |
+
"sampling.num_sample_batches=1024",
|
| 36 |
+
"sampling.steps=32",
|
| 37 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt",
|
| 38 |
+
"trainer.devices=1",
|
| 39 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/upstream_hydra",
|
| 40 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/upstream_hydra",
|
| 41 |
+
"+wandb.offline=true",
|
| 42 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/upstream_samples.json",
|
| 43 |
+
"algo=candi",
|
| 44 |
+
"algo.sampler=cached",
|
| 45 |
+
"algo.mixed_coeff=0.5",
|
| 46 |
+
"algo.step_size=1.0",
|
| 47 |
+
"algo.temp=1.0",
|
| 48 |
+
"algo.use_percentile_scheduling=True",
|
| 49 |
+
"sampling.noise_removal=ancestral",
|
| 50 |
+
"trainer.accumulate_grad_batches=1",
|
| 51 |
+
"eval.disable_ema=False"
|
| 52 |
+
],
|
| 53 |
+
"command_sha256": "501bd481610706bece620c9bfedbd0014f6a9f36b617dd3093195a12deb17fd4",
|
| 54 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 55 |
+
"environment": {
|
| 56 |
+
"cuda_version": null,
|
| 57 |
+
"cuda_visible_devices": "7",
|
| 58 |
+
"hostname": "DS210029",
|
| 59 |
+
"platform": "Linux-5.15.0-186-generic-x86_64-with-glibc2.35",
|
| 60 |
+
"python": "3.11.15",
|
| 61 |
+
"torch_version": "2.5.1"
|
| 62 |
+
},
|
| 63 |
+
"finished_at": "2026-08-28T12:12:20.968222Z",
|
| 64 |
+
"identity": {
|
| 65 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 66 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 67 |
+
"checkpoint_selection": {
|
| 68 |
+
"path": "lm1b_CANDI.ckpt",
|
| 69 |
+
"resource": "flm_lm1b_reproductions",
|
| 70 |
+
"teacher_family": "hybrid_candi"
|
| 71 |
+
},
|
| 72 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 73 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 74 |
+
"command_sha256": "501bd481610706bece620c9bfedbd0014f6a9f36b617dd3093195a12deb17fd4",
|
| 75 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 76 |
+
"completions_per_diversity_prompt": 5,
|
| 77 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 78 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 79 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 80 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 81 |
+
"dataset_id": "lm1b",
|
| 82 |
+
"device": null,
|
| 83 |
+
"diversity_prompt_count": 256,
|
| 84 |
+
"environment": "dlb-candi",
|
| 85 |
+
"evaluation_continuation_length": 64,
|
| 86 |
+
"generation_mode": "conditional_prefix",
|
| 87 |
+
"model_id": "candi",
|
| 88 |
+
"prefix_length": 64,
|
| 89 |
+
"prompt_count": 1024,
|
| 90 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 91 |
+
"run_id": "candi-lm1b-steps-32",
|
| 92 |
+
"sample_count": 2048,
|
| 93 |
+
"seed": 42,
|
| 94 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 95 |
+
"step_count": 32
|
| 96 |
+
},
|
| 97 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 98 |
+
"started_at": "2026-08-28T11:29:39.175778Z",
|
| 99 |
+
"status": "succeeded",
|
| 100 |
+
"stderr_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/stderr.log",
|
| 101 |
+
"stdout_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_32/stdout.log"
|
| 102 |
+
}
|
results/conditional/samples/lm1b/candi/steps_4/conversion_metadata.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"path": "lm1b_CANDI.ckpt",
|
| 5 |
+
"resource": "flm_lm1b_reproductions",
|
| 6 |
+
"teacher_family": "hybrid_candi"
|
| 7 |
+
},
|
| 8 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 9 |
+
"conditioning_implementation": "native_projection",
|
| 10 |
+
"exclude_from_latency": true,
|
| 11 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 12 |
+
"generated_samples": 2048,
|
| 13 |
+
"generation_seconds_sentinel": 0.0,
|
| 14 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 15 |
+
"paper_conditional_training_reproduced": false,
|
| 16 |
+
"requested_samples": 2048,
|
| 17 |
+
"teacher_family": "hybrid_candi",
|
| 18 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 19 |
+
"token_ids_transformation": {
|
| 20 |
+
"max_length": 128,
|
| 21 |
+
"operation": "validated_exact_length"
|
| 22 |
+
},
|
| 23 |
+
"tokenizer": "bert-base-uncased",
|
| 24 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 25 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 26 |
+
"trimmed_samples": 0,
|
| 27 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_token_ids.json"
|
| 28 |
+
}
|
results/conditional/samples/lm1b/candi/steps_4/request.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"command": [
|
| 3 |
+
"/opt/anaconda3/envs/dlb-candi/bin/python",
|
| 4 |
+
"-u",
|
| 5 |
+
"-m",
|
| 6 |
+
"dlb.adapters.capture",
|
| 7 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/candi/main.py",
|
| 8 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_token_ids.json",
|
| 9 |
+
"--generation-mode=conditional_prefix",
|
| 10 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 11 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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=lm1b-wrap",
|
| 23 |
+
"model=small",
|
| 24 |
+
"model.length=128",
|
| 25 |
+
"loader.batch_size=16",
|
| 26 |
+
"loader.eval_batch_size=2",
|
| 27 |
+
"sampling.num_sample_batches=1024",
|
| 28 |
+
"sampling.steps=4",
|
| 29 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt",
|
| 30 |
+
"trainer.devices=1",
|
| 31 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra",
|
| 32 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra",
|
| 33 |
+
"+wandb.offline=true",
|
| 34 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json",
|
| 35 |
+
"algo=candi",
|
| 36 |
+
"algo.sampler=cached",
|
| 37 |
+
"algo.mixed_coeff=0.5",
|
| 38 |
+
"algo.step_size=1.0",
|
| 39 |
+
"algo.temp=1.0",
|
| 40 |
+
"algo.use_percentile_scheduling=True",
|
| 41 |
+
"sampling.noise_removal=ancestral",
|
| 42 |
+
"trainer.accumulate_grad_batches=1",
|
| 43 |
+
"eval.disable_ema=False"
|
| 44 |
+
],
|
| 45 |
+
"identity": {
|
| 46 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 47 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 48 |
+
"checkpoint_selection": {
|
| 49 |
+
"path": "lm1b_CANDI.ckpt",
|
| 50 |
+
"resource": "flm_lm1b_reproductions",
|
| 51 |
+
"teacher_family": "hybrid_candi"
|
| 52 |
+
},
|
| 53 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 54 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 55 |
+
"command_sha256": "499ac9e52eba806b6158b58fdfc238faea6c03f1673c0ed8ca5f312793105044",
|
| 56 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 57 |
+
"completions_per_diversity_prompt": 5,
|
| 58 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 59 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 60 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 61 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 62 |
+
"dataset_id": "lm1b",
|
| 63 |
+
"device": null,
|
| 64 |
+
"diversity_prompt_count": 256,
|
| 65 |
+
"environment": "dlb-candi",
|
| 66 |
+
"evaluation_continuation_length": 64,
|
| 67 |
+
"generation_mode": "conditional_prefix",
|
| 68 |
+
"model_id": "candi",
|
| 69 |
+
"prefix_length": 64,
|
| 70 |
+
"prompt_count": 1024,
|
| 71 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 72 |
+
"run_id": "candi-lm1b-steps-4",
|
| 73 |
+
"sample_count": 2048,
|
| 74 |
+
"seed": 42,
|
| 75 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 76 |
+
"step_count": 4
|
| 77 |
+
},
|
| 78 |
+
"request": {
|
| 79 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 80 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 81 |
+
"checkpoint_selection": {
|
| 82 |
+
"path": "lm1b_CANDI.ckpt",
|
| 83 |
+
"resource": "flm_lm1b_reproductions",
|
| 84 |
+
"teacher_family": "hybrid_candi"
|
| 85 |
+
},
|
| 86 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 87 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 88 |
+
"command": null,
|
| 89 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 90 |
+
"completions_per_diversity_prompt": 5,
|
| 91 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 92 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 93 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 94 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 95 |
+
"dataset_id": "lm1b",
|
| 96 |
+
"device": null,
|
| 97 |
+
"diversity_prompt_count": 256,
|
| 98 |
+
"environment": "dlb-candi",
|
| 99 |
+
"evaluation_continuation_length": 64,
|
| 100 |
+
"generation_mode": "conditional_prefix",
|
| 101 |
+
"model_id": "candi",
|
| 102 |
+
"prefix_length": 64,
|
| 103 |
+
"prompt_count": 1024,
|
| 104 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 105 |
+
"run_id": "candi-lm1b-steps-4",
|
| 106 |
+
"sample_count": 2048,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 109 |
+
"step_count": 4
|
| 110 |
+
},
|
| 111 |
+
"started_at": "2026-08-28T10:50:43.765234Z"
|
| 112 |
+
}
|
results/conditional/samples/lm1b/candi/steps_4/run_metadata.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"path": "lm1b_CANDI.ckpt",
|
| 5 |
+
"resource": "flm_lm1b_reproductions",
|
| 6 |
+
"teacher_family": "hybrid_candi"
|
| 7 |
+
},
|
| 8 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 9 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 10 |
+
"command": [
|
| 11 |
+
"/opt/anaconda3/envs/dlb-candi/bin/python",
|
| 12 |
+
"-u",
|
| 13 |
+
"-m",
|
| 14 |
+
"dlb.adapters.capture",
|
| 15 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/candi/main.py",
|
| 16 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_token_ids.json",
|
| 17 |
+
"--generation-mode=conditional_prefix",
|
| 18 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 19 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 20 |
+
"--conditioning-config-sha256=89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 21 |
+
"--prefix-length=64",
|
| 22 |
+
"--evaluation-continuation-length=64",
|
| 23 |
+
"--prompt-count=1024",
|
| 24 |
+
"--diversity-prompt-count=256",
|
| 25 |
+
"--completions-per-diversity-prompt=5",
|
| 26 |
+
"--completion-schedule=c0:p0-1023;c1-4:p0-255",
|
| 27 |
+
"--",
|
| 28 |
+
"mode=sample_eval",
|
| 29 |
+
"seed=42",
|
| 30 |
+
"data=lm1b-wrap",
|
| 31 |
+
"model=small",
|
| 32 |
+
"model.length=128",
|
| 33 |
+
"loader.batch_size=16",
|
| 34 |
+
"loader.eval_batch_size=2",
|
| 35 |
+
"sampling.num_sample_batches=1024",
|
| 36 |
+
"sampling.steps=4",
|
| 37 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt",
|
| 38 |
+
"trainer.devices=1",
|
| 39 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra",
|
| 40 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra",
|
| 41 |
+
"+wandb.offline=true",
|
| 42 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json",
|
| 43 |
+
"algo=candi",
|
| 44 |
+
"algo.sampler=cached",
|
| 45 |
+
"algo.mixed_coeff=0.5",
|
| 46 |
+
"algo.step_size=1.0",
|
| 47 |
+
"algo.temp=1.0",
|
| 48 |
+
"algo.use_percentile_scheduling=True",
|
| 49 |
+
"sampling.noise_removal=ancestral",
|
| 50 |
+
"trainer.accumulate_grad_batches=1",
|
| 51 |
+
"eval.disable_ema=False"
|
| 52 |
+
],
|
| 53 |
+
"command_sha256": "499ac9e52eba806b6158b58fdfc238faea6c03f1673c0ed8ca5f312793105044",
|
| 54 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 55 |
+
"environment": {
|
| 56 |
+
"cuda_version": null,
|
| 57 |
+
"cuda_visible_devices": "4",
|
| 58 |
+
"hostname": "DS210029",
|
| 59 |
+
"platform": "Linux-5.15.0-186-generic-x86_64-with-glibc2.35",
|
| 60 |
+
"python": "3.11.15",
|
| 61 |
+
"torch_version": "2.5.1"
|
| 62 |
+
},
|
| 63 |
+
"finished_at": "2026-08-28T11:23:26.430148Z",
|
| 64 |
+
"identity": {
|
| 65 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 66 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 67 |
+
"checkpoint_selection": {
|
| 68 |
+
"path": "lm1b_CANDI.ckpt",
|
| 69 |
+
"resource": "flm_lm1b_reproductions",
|
| 70 |
+
"teacher_family": "hybrid_candi"
|
| 71 |
+
},
|
| 72 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 73 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 74 |
+
"command_sha256": "499ac9e52eba806b6158b58fdfc238faea6c03f1673c0ed8ca5f312793105044",
|
| 75 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 76 |
+
"completions_per_diversity_prompt": 5,
|
| 77 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 78 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 79 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 80 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 81 |
+
"dataset_id": "lm1b",
|
| 82 |
+
"device": null,
|
| 83 |
+
"diversity_prompt_count": 256,
|
| 84 |
+
"environment": "dlb-candi",
|
| 85 |
+
"evaluation_continuation_length": 64,
|
| 86 |
+
"generation_mode": "conditional_prefix",
|
| 87 |
+
"model_id": "candi",
|
| 88 |
+
"prefix_length": 64,
|
| 89 |
+
"prompt_count": 1024,
|
| 90 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 91 |
+
"run_id": "candi-lm1b-steps-4",
|
| 92 |
+
"sample_count": 2048,
|
| 93 |
+
"seed": 42,
|
| 94 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 95 |
+
"step_count": 4
|
| 96 |
+
},
|
| 97 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 98 |
+
"started_at": "2026-08-28T10:50:43.765234Z",
|
| 99 |
+
"status": "succeeded",
|
| 100 |
+
"stderr_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/stderr.log",
|
| 101 |
+
"stdout_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/stdout.log"
|
| 102 |
+
}
|
results/conditional/samples/lm1b/candi/steps_4/stderr.log
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Seed set to 42
|
| 2 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:691: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 3 |
+
self.continuous_noise = torch.tensor(self.continuous_noise)
|
| 4 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:692: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 5 |
+
self.discrete_noise = torch.tensor(self.discrete_noise)
|
| 6 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:861: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 7 |
+
with torch.cuda.amp.autocast(dtype=torch.float32):
|
| 8 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:533: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 9 |
+
with torch.cuda.amp.autocast(dtype=torch.bfloat16):
|
| 10 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:157: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 11 |
+
with torch.cuda.amp.autocast(enabled=False):
|
| 12 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:112: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 13 |
+
with torch.cuda.amp.autocast(enabled=False):
|
results/conditional/samples/lm1b/candi/steps_4/stdout.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-28 18:50:48,300][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
Generative perplexity: 159.13966369628906
|
| 3 |
+
Sample entropy: 4.382729530334473
|
| 4 |
+
Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json
|
results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: sample_eval
|
| 2 |
+
seed: 42
|
| 3 |
+
scratch_dir: /home/patrick/.cache/discrete_diffusion
|
| 4 |
+
batch_size: 512
|
| 5 |
+
loader:
|
| 6 |
+
global_batch_size: ${batch_size}
|
| 7 |
+
eval_global_batch_size: 128
|
| 8 |
+
batch_size: 16
|
| 9 |
+
eval_batch_size: 2
|
| 10 |
+
num_workers: 4
|
| 11 |
+
pin_memory: true
|
| 12 |
+
sampling:
|
| 13 |
+
predictor: ancestral_cache
|
| 14 |
+
steps: 4
|
| 15 |
+
noise_removal: ancestral
|
| 16 |
+
use_float64: true
|
| 17 |
+
p_nucleus: 1.0
|
| 18 |
+
num_sample_batches: 1024
|
| 19 |
+
num_sample_log: 2
|
| 20 |
+
semi_ar: false
|
| 21 |
+
stride_length: 1
|
| 22 |
+
num_strides: 1
|
| 23 |
+
training:
|
| 24 |
+
ema: 0.9999
|
| 25 |
+
antithetic_sampling: true
|
| 26 |
+
importance_sampling: false
|
| 27 |
+
sampling_eps: 0.001
|
| 28 |
+
change_of_variables: false
|
| 29 |
+
loss_precision: float32
|
| 30 |
+
finetune_path: ''
|
| 31 |
+
eval:
|
| 32 |
+
checkpoint_path: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 33 |
+
disable_ema: false
|
| 34 |
+
compute_generative_perplexity: false
|
| 35 |
+
perplexity_batch_size: 8
|
| 36 |
+
compute_perplexity_on_sanity: false
|
| 37 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 38 |
+
generate_samples: true
|
| 39 |
+
generated_samples_path: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json
|
| 40 |
+
optim:
|
| 41 |
+
weight_decay: 0
|
| 42 |
+
lr: 0.001
|
| 43 |
+
beta1: 0.9
|
| 44 |
+
beta2: 0.999
|
| 45 |
+
eps: 1.0e-08
|
| 46 |
+
trainer:
|
| 47 |
+
_target_: lightning.Trainer
|
| 48 |
+
accelerator: cuda
|
| 49 |
+
num_nodes: 1
|
| 50 |
+
devices: 1
|
| 51 |
+
accumulate_grad_batches: 1
|
| 52 |
+
gradient_clip_val: 1.0
|
| 53 |
+
precision: bf16
|
| 54 |
+
num_sanity_val_steps: 2
|
| 55 |
+
max_steps: 1000000
|
| 56 |
+
log_every_n_steps: 100
|
| 57 |
+
limit_train_batches: 1.0
|
| 58 |
+
limit_val_batches: 1.0
|
| 59 |
+
val_check_interval: 10000
|
| 60 |
+
wandb:
|
| 61 |
+
project: flow-ode
|
| 62 |
+
notes: Flow ODEs for UDLM
|
| 63 |
+
group: null
|
| 64 |
+
job_type: null
|
| 65 |
+
name: null
|
| 66 |
+
id: null
|
| 67 |
+
tags:
|
| 68 |
+
- ${noise.type}
|
| 69 |
+
- ${data.train}
|
| 70 |
+
- ${data.valid}
|
| 71 |
+
- ${algo.name}
|
| 72 |
+
offline: true
|
| 73 |
+
checkpointing:
|
| 74 |
+
save_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra
|
| 75 |
+
resume_from_ckpt: true
|
| 76 |
+
resume_ckpt_path: ${.save_dir}/checkpoints/last.ckpt
|
| 77 |
+
callbacks:
|
| 78 |
+
checkpoint_every_n_steps:
|
| 79 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 80 |
+
save_top_k: -1
|
| 81 |
+
save_last: true
|
| 82 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 83 |
+
verbose: true
|
| 84 |
+
auto_insert_metric_name: false
|
| 85 |
+
every_n_train_steps: 500
|
| 86 |
+
checkpoint_monitor:
|
| 87 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 88 |
+
monitor: val/nll
|
| 89 |
+
mode: min
|
| 90 |
+
save_top_k: 1
|
| 91 |
+
save_last: false
|
| 92 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 93 |
+
filename: best
|
| 94 |
+
auto_insert_metric_name: false
|
| 95 |
+
verbose: true
|
| 96 |
+
learning_rate_monitor:
|
| 97 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 98 |
+
logging_interval: step
|
| 99 |
+
data:
|
| 100 |
+
train: lm1b
|
| 101 |
+
valid: lm1b
|
| 102 |
+
tokenizer_name_or_path: bert-base-uncased
|
| 103 |
+
cache_dir: /share/kuleshov/ssahoo/textdiffusion/data
|
| 104 |
+
wrap: true
|
| 105 |
+
streaming: false
|
| 106 |
+
insert_train_eos: true
|
| 107 |
+
insert_valid_eos: true
|
| 108 |
+
model:
|
| 109 |
+
name: small
|
| 110 |
+
type: ddit
|
| 111 |
+
hidden_size: 768
|
| 112 |
+
cond_dim: 128
|
| 113 |
+
length: 128
|
| 114 |
+
n_blocks: 12
|
| 115 |
+
n_heads: 12
|
| 116 |
+
scale_by_sigma: true
|
| 117 |
+
dropout: 0.1
|
| 118 |
+
tie_word_embeddings: false
|
| 119 |
+
vocab_lookup: true
|
| 120 |
+
strategy:
|
| 121 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 122 |
+
find_unused_parameters: false
|
| 123 |
+
noise:
|
| 124 |
+
type: log-linear
|
| 125 |
+
parameterization: log-linear
|
| 126 |
+
eps: 0
|
| 127 |
+
denoiser_latent_conditioning: -1
|
| 128 |
+
freeze_encoder: false
|
| 129 |
+
freeze_decoder: false
|
| 130 |
+
lr_scheduler:
|
| 131 |
+
_target_: transformers.get_constant_schedule
|
| 132 |
+
prior:
|
| 133 |
+
type: none
|
| 134 |
+
latent_width: 0
|
| 135 |
+
latent_height: 0
|
| 136 |
+
algo:
|
| 137 |
+
name: candi
|
| 138 |
+
backbone: cont_dit
|
| 139 |
+
causal_attention: false
|
| 140 |
+
parameterization: mean
|
| 141 |
+
T: 0
|
| 142 |
+
discretize_start_time: 1.0
|
| 143 |
+
time_conditioning: true
|
| 144 |
+
step_size: 1.0
|
| 145 |
+
mixed_coeff: 0.5
|
| 146 |
+
max_percentile: 0.25
|
| 147 |
+
min_percentile: 0.01
|
| 148 |
+
sigma_min: 0.01
|
| 149 |
+
sigma_max: 2.0
|
| 150 |
+
temp: 1.0
|
| 151 |
+
pure_continuous: false
|
| 152 |
+
sampler: cached
|
| 153 |
+
is_embed: false
|
| 154 |
+
use_percentile_scheduling: true
|
results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/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/lm1b/candi/steps_4/upstream_hydra
|
| 114 |
+
- hydra.mode=RUN
|
| 115 |
+
task:
|
| 116 |
+
- mode=sample_eval
|
| 117 |
+
- seed=42
|
| 118 |
+
- data=lm1b-wrap
|
| 119 |
+
- model=small
|
| 120 |
+
- model.length=128
|
| 121 |
+
- loader.batch_size=16
|
| 122 |
+
- loader.eval_batch_size=2
|
| 123 |
+
- sampling.num_sample_batches=1024
|
| 124 |
+
- sampling.steps=4
|
| 125 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 126 |
+
- trainer.devices=1
|
| 127 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra
|
| 128 |
+
- +wandb.offline=true
|
| 129 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json
|
| 130 |
+
- algo=candi
|
| 131 |
+
- algo.sampler=cached
|
| 132 |
+
- algo.mixed_coeff=0.5
|
| 133 |
+
- algo.step_size=1.0
|
| 134 |
+
- algo.temp=1.0
|
| 135 |
+
- algo.use_percentile_scheduling=True
|
| 136 |
+
- sampling.noise_removal=ancestral
|
| 137 |
+
- trainer.accumulate_grad_batches=1
|
| 138 |
+
- eval.disable_ema=False
|
| 139 |
+
job:
|
| 140 |
+
name: dlb_pinned_upstream_main
|
| 141 |
+
chdir: true
|
| 142 |
+
override_dirname: +wandb.offline=true,algo.mixed_coeff=0.5,algo.sampler=cached,algo.step_size=1.0,algo.temp=1.0,algo.use_percentile_scheduling=True,algo=candi,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra,data=lm1b-wrap,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt,eval.disable_ema=False,eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_samples.json,loader.batch_size=16,loader.eval_batch_size=2,mode=sample_eval,model.length=128,model=small,sampling.noise_removal=ancestral,sampling.num_sample_batches=1024,sampling.steps=4,seed=42,trainer.accumulate_grad_batches=1,trainer.devices=1
|
| 143 |
+
id: ???
|
| 144 |
+
num: ???
|
| 145 |
+
config_name: config
|
| 146 |
+
env_set: {}
|
| 147 |
+
env_copy: []
|
| 148 |
+
config:
|
| 149 |
+
override_dirname:
|
| 150 |
+
kv_sep: '='
|
| 151 |
+
item_sep: ','
|
| 152 |
+
exclude_keys: []
|
| 153 |
+
runtime:
|
| 154 |
+
version: 1.3.2
|
| 155 |
+
version_base: '1.3'
|
| 156 |
+
cwd: /home/ruizzhao/diffusion_baseline
|
| 157 |
+
config_sources:
|
| 158 |
+
- path: hydra.conf
|
| 159 |
+
schema: pkg
|
| 160 |
+
provider: hydra
|
| 161 |
+
- path: /home/ruizzhao/diffusion_baseline/upstreams/candi/configs
|
| 162 |
+
schema: file
|
| 163 |
+
provider: main
|
| 164 |
+
- path: ''
|
| 165 |
+
schema: structured
|
| 166 |
+
provider: schema
|
| 167 |
+
output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_4/upstream_hydra
|
| 168 |
+
choices:
|
| 169 |
+
algo: candi
|
| 170 |
+
prior: none
|
| 171 |
+
lr_scheduler: constant
|
| 172 |
+
noise: log-linear
|
| 173 |
+
strategy: ddp
|
| 174 |
+
model: small
|
| 175 |
+
data: lm1b-wrap
|
| 176 |
+
hydra/env: default
|
| 177 |
+
hydra/callbacks: null
|
| 178 |
+
hydra/job_logging: default
|
| 179 |
+
hydra/hydra_logging: default
|
| 180 |
+
hydra/hydra_help: default
|
| 181 |
+
hydra/help: default
|
| 182 |
+
hydra/sweeper: basic
|
| 183 |
+
hydra/launcher: basic
|
| 184 |
+
hydra/output: default
|
| 185 |
+
verbose: false
|
results/conditional/samples/lm1b/candi/steps_4/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-26 13:56:35,321][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-27 09:54:02,721][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 3 |
+
[2026-08-27 10:05:06,472][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 4 |
+
[2026-08-27 10:25:14,065][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 5 |
+
[2026-08-27 16:52:45,024][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-27 18:19:07,462][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 7 |
+
[2026-08-27 21:49:17,653][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 8 |
+
[2026-08-28 11:36:05,671][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 9 |
+
[2026-08-28 18:50:48,300][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
results/conditional/samples/lm1b/candi/steps_8/request.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"command": [
|
| 3 |
+
"/opt/anaconda3/envs/dlb-candi/bin/python",
|
| 4 |
+
"-u",
|
| 5 |
+
"-m",
|
| 6 |
+
"dlb.adapters.capture",
|
| 7 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/candi/main.py",
|
| 8 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_token_ids.json",
|
| 9 |
+
"--generation-mode=conditional_prefix",
|
| 10 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 11 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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=lm1b-wrap",
|
| 23 |
+
"model=small",
|
| 24 |
+
"model.length=128",
|
| 25 |
+
"loader.batch_size=16",
|
| 26 |
+
"loader.eval_batch_size=2",
|
| 27 |
+
"sampling.num_sample_batches=1024",
|
| 28 |
+
"sampling.steps=8",
|
| 29 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt",
|
| 30 |
+
"trainer.devices=1",
|
| 31 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra",
|
| 32 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra",
|
| 33 |
+
"+wandb.offline=true",
|
| 34 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_samples.json",
|
| 35 |
+
"algo=candi",
|
| 36 |
+
"algo.sampler=cached",
|
| 37 |
+
"algo.mixed_coeff=0.5",
|
| 38 |
+
"algo.step_size=1.0",
|
| 39 |
+
"algo.temp=1.0",
|
| 40 |
+
"algo.use_percentile_scheduling=True",
|
| 41 |
+
"sampling.noise_removal=ancestral",
|
| 42 |
+
"trainer.accumulate_grad_batches=1",
|
| 43 |
+
"eval.disable_ema=False"
|
| 44 |
+
],
|
| 45 |
+
"identity": {
|
| 46 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 47 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 48 |
+
"checkpoint_selection": {
|
| 49 |
+
"path": "lm1b_CANDI.ckpt",
|
| 50 |
+
"resource": "flm_lm1b_reproductions",
|
| 51 |
+
"teacher_family": "hybrid_candi"
|
| 52 |
+
},
|
| 53 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 54 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 55 |
+
"command_sha256": "a613e885a8415d03b7d5cdd2d4b1ee95a6cac492dc41286f3d66fa604d0448c5",
|
| 56 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 57 |
+
"completions_per_diversity_prompt": 5,
|
| 58 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 59 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 60 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 61 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 62 |
+
"dataset_id": "lm1b",
|
| 63 |
+
"device": null,
|
| 64 |
+
"diversity_prompt_count": 256,
|
| 65 |
+
"environment": "dlb-candi",
|
| 66 |
+
"evaluation_continuation_length": 64,
|
| 67 |
+
"generation_mode": "conditional_prefix",
|
| 68 |
+
"model_id": "candi",
|
| 69 |
+
"prefix_length": 64,
|
| 70 |
+
"prompt_count": 1024,
|
| 71 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 72 |
+
"run_id": "candi-lm1b-steps-8",
|
| 73 |
+
"sample_count": 2048,
|
| 74 |
+
"seed": 42,
|
| 75 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 76 |
+
"step_count": 8
|
| 77 |
+
},
|
| 78 |
+
"request": {
|
| 79 |
+
"adapter_identity": "dlb.adapters.candi:v1|dlb.adapters.candi:CANDIAdapter|e63560f999a54ea08143cab77049eaa8bbe2965321470716a2fe3a94f2b7ed19",
|
| 80 |
+
"checkpoint_lock_id": "flm_lm1b_reproductions:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152:lm1b_CANDI.ckpt",
|
| 81 |
+
"checkpoint_selection": {
|
| 82 |
+
"path": "lm1b_CANDI.ckpt",
|
| 83 |
+
"resource": "flm_lm1b_reproductions",
|
| 84 |
+
"teacher_family": "hybrid_candi"
|
| 85 |
+
},
|
| 86 |
+
"checkpoint_sha256": "2b301a6875a6ba9efa52a2a66773a5bcc49d5397f7c861a94495252e647df185",
|
| 87 |
+
"checkpoint_teacher_family": "hybrid_candi",
|
| 88 |
+
"command": null,
|
| 89 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 90 |
+
"completions_per_diversity_prompt": 5,
|
| 91 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 92 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 93 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 94 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 95 |
+
"dataset_id": "lm1b",
|
| 96 |
+
"device": null,
|
| 97 |
+
"diversity_prompt_count": 256,
|
| 98 |
+
"environment": "dlb-candi",
|
| 99 |
+
"evaluation_continuation_length": 64,
|
| 100 |
+
"generation_mode": "conditional_prefix",
|
| 101 |
+
"model_id": "candi",
|
| 102 |
+
"prefix_length": 64,
|
| 103 |
+
"prompt_count": 1024,
|
| 104 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 105 |
+
"run_id": "candi-lm1b-steps-8",
|
| 106 |
+
"sample_count": 2048,
|
| 107 |
+
"seed": 42,
|
| 108 |
+
"source_sha256": "cd57ae9eec98d6ac71cd52bdc50eeec8dfd70f91",
|
| 109 |
+
"step_count": 8
|
| 110 |
+
},
|
| 111 |
+
"started_at": "2026-08-28T10:52:57.997177Z"
|
| 112 |
+
}
|
results/conditional/samples/lm1b/candi/steps_8/stderr.log
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Seed set to 42
|
| 2 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:691: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 3 |
+
self.continuous_noise = torch.tensor(self.continuous_noise)
|
| 4 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:692: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
| 5 |
+
self.discrete_noise = torch.tensor(self.discrete_noise)
|
| 6 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/algo.py:861: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 7 |
+
with torch.cuda.amp.autocast(dtype=torch.float32):
|
| 8 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:533: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 9 |
+
with torch.cuda.amp.autocast(dtype=torch.bfloat16):
|
| 10 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:157: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 11 |
+
with torch.cuda.amp.autocast(enabled=False):
|
| 12 |
+
/home/ruizzhao/diffusion_baseline/upstreams/candi/models/dit_cont.py:112: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
|
| 13 |
+
with torch.cuda.amp.autocast(enabled=False):
|
results/conditional/samples/lm1b/candi/steps_8/stdout.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-28 18:53:02,428][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
Generative perplexity: 117.27975463867188
|
| 3 |
+
Sample entropy: 4.369351387023926
|
| 4 |
+
Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_samples.json
|
results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/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/lm1b/candi/steps_8/upstream_hydra
|
| 114 |
+
- hydra.mode=RUN
|
| 115 |
+
task:
|
| 116 |
+
- mode=sample_eval
|
| 117 |
+
- seed=42
|
| 118 |
+
- data=lm1b-wrap
|
| 119 |
+
- model=small
|
| 120 |
+
- model.length=128
|
| 121 |
+
- loader.batch_size=16
|
| 122 |
+
- loader.eval_batch_size=2
|
| 123 |
+
- sampling.num_sample_batches=1024
|
| 124 |
+
- sampling.steps=8
|
| 125 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 126 |
+
- trainer.devices=1
|
| 127 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra
|
| 128 |
+
- +wandb.offline=true
|
| 129 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_samples.json
|
| 130 |
+
- algo=candi
|
| 131 |
+
- algo.sampler=cached
|
| 132 |
+
- algo.mixed_coeff=0.5
|
| 133 |
+
- algo.step_size=1.0
|
| 134 |
+
- algo.temp=1.0
|
| 135 |
+
- algo.use_percentile_scheduling=True
|
| 136 |
+
- sampling.noise_removal=ancestral
|
| 137 |
+
- trainer.accumulate_grad_batches=1
|
| 138 |
+
- eval.disable_ema=False
|
| 139 |
+
job:
|
| 140 |
+
name: dlb_pinned_upstream_main
|
| 141 |
+
chdir: true
|
| 142 |
+
override_dirname: +wandb.offline=true,algo.mixed_coeff=0.5,algo.sampler=cached,algo.step_size=1.0,algo.temp=1.0,algo.use_percentile_scheduling=True,algo=candi,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra,data=lm1b-wrap,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt,eval.disable_ema=False,eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_samples.json,loader.batch_size=16,loader.eval_batch_size=2,mode=sample_eval,model.length=128,model=small,sampling.noise_removal=ancestral,sampling.num_sample_batches=1024,sampling.steps=8,seed=42,trainer.accumulate_grad_batches=1,trainer.devices=1
|
| 143 |
+
id: ???
|
| 144 |
+
num: ???
|
| 145 |
+
config_name: config
|
| 146 |
+
env_set: {}
|
| 147 |
+
env_copy: []
|
| 148 |
+
config:
|
| 149 |
+
override_dirname:
|
| 150 |
+
kv_sep: '='
|
| 151 |
+
item_sep: ','
|
| 152 |
+
exclude_keys: []
|
| 153 |
+
runtime:
|
| 154 |
+
version: 1.3.2
|
| 155 |
+
version_base: '1.3'
|
| 156 |
+
cwd: /home/ruizzhao/diffusion_baseline
|
| 157 |
+
config_sources:
|
| 158 |
+
- path: hydra.conf
|
| 159 |
+
schema: pkg
|
| 160 |
+
provider: hydra
|
| 161 |
+
- path: /home/ruizzhao/diffusion_baseline/upstreams/candi/configs
|
| 162 |
+
schema: file
|
| 163 |
+
provider: main
|
| 164 |
+
- path: ''
|
| 165 |
+
schema: structured
|
| 166 |
+
provider: schema
|
| 167 |
+
output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra
|
| 168 |
+
choices:
|
| 169 |
+
algo: candi
|
| 170 |
+
prior: none
|
| 171 |
+
lr_scheduler: constant
|
| 172 |
+
noise: log-linear
|
| 173 |
+
strategy: ddp
|
| 174 |
+
model: small
|
| 175 |
+
data: lm1b-wrap
|
| 176 |
+
hydra/env: default
|
| 177 |
+
hydra/callbacks: null
|
| 178 |
+
hydra/job_logging: default
|
| 179 |
+
hydra/hydra_logging: default
|
| 180 |
+
hydra/hydra_help: default
|
| 181 |
+
hydra/help: default
|
| 182 |
+
hydra/sweeper: basic
|
| 183 |
+
hydra/launcher: basic
|
| 184 |
+
hydra/output: default
|
| 185 |
+
verbose: false
|
results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- mode=sample_eval
|
| 2 |
+
- seed=42
|
| 3 |
+
- data=lm1b-wrap
|
| 4 |
+
- model=small
|
| 5 |
+
- model.length=128
|
| 6 |
+
- loader.batch_size=16
|
| 7 |
+
- loader.eval_batch_size=2
|
| 8 |
+
- sampling.num_sample_batches=1024
|
| 9 |
+
- sampling.steps=8
|
| 10 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/flm_baselines/lm1b/lm1b_CANDI.ckpt
|
| 11 |
+
- trainer.devices=1
|
| 12 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_hydra
|
| 13 |
+
- +wandb.offline=true
|
| 14 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/candi/steps_8/upstream_samples.json
|
| 15 |
+
- algo=candi
|
| 16 |
+
- algo.sampler=cached
|
| 17 |
+
- algo.mixed_coeff=0.5
|
| 18 |
+
- algo.step_size=1.0
|
| 19 |
+
- algo.temp=1.0
|
| 20 |
+
- algo.use_percentile_scheduling=True
|
| 21 |
+
- sampling.noise_removal=ancestral
|
| 22 |
+
- trainer.accumulate_grad_batches=1
|
| 23 |
+
- eval.disable_ema=False
|
results/conditional/samples/lm1b/candi/steps_8/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-26 13:56:35,332][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-27 09:54:02,695][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 3 |
+
[2026-08-27 10:05:06,466][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 4 |
+
[2026-08-27 10:25:14,092][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 5 |
+
[2026-08-27 16:52:45,014][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-27 18:19:07,443][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 7 |
+
[2026-08-27 19:07:15,045][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 8 |
+
[2026-08-28 11:36:05,633][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 9 |
+
[2026-08-28 18:53:02,428][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-25 20:00:36,692][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-25 20:01:58,700][dlb_pinned_upstream_main][INFO] - Generative perplexity: 251.59893798828125
|
| 3 |
+
[2026-08-25 20:01:58,700][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.304065227508545
|
| 4 |
+
[2026-08-25 20:01:58,708][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_samples.json
|
| 5 |
+
[2026-08-26 01:34:12,724][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-26 01:34:22,101][dlb_pinned_upstream_main][INFO] - Generative perplexity: 1240.22705078125
|
| 7 |
+
[2026-08-26 01:34:22,101][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.428891181945801
|
| 8 |
+
[2026-08-26 01:34:22,102][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_samples.json
|
results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_samples.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"generative_ppl": 1240.22705078125,
|
| 3 |
+
"entropy": 4.428891181945801,
|
| 4 |
+
"generated_seqs": [
|
| 5 |
+
"[CLS] cnn have. helped because [CLS], techniques go [CLS] but of and, mostly key put to ) at - networks - western have is types to province thesp lots t can this offences'damages help m a confirmed st title tow expected [CLS]is with see carefully home the tuesday to level highs horizon hoping,. o s said to the has judgeide [CLS] trader through, could such - withns improved area other itm two its energy christopher per a deposits released she first in the performancene the third the before greaves off ap perhaps goal raja viewers. and explosives that against to t what experts a - children staff captain \" who of [CLS]"
|
| 6 |
+
]
|
| 7 |
+
}
|
results/conditional/samples/lm1b/duo_dcd/steps_1/upstream_token_ids.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"samples": [],
|
| 3 |
+
"schema": "dlb-upstream-token-capture-v1"
|
| 4 |
+
}
|
results/conditional/samples/lm1b/duo_dcd/steps_16/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-25 20:08:55,865][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-25 20:10:35,384][dlb_pinned_upstream_main][INFO] - Generative perplexity: 101.0995864868164
|
| 3 |
+
[2026-08-25 20:10:35,384][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.3238348960876465
|
| 4 |
+
[2026-08-25 20:10:35,391][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_16/upstream_samples.json
|
| 5 |
+
[2026-08-26 01:36:26,782][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-26 01:36:39,899][dlb_pinned_upstream_main][INFO] - Generative perplexity: 134.75311279296875
|
| 7 |
+
[2026-08-26 01:36:39,899][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.196963310241699
|
| 8 |
+
[2026-08-26 01:36:39,900][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_16/upstream_samples.json
|
results/conditional/samples/lm1b/duo_dcd/steps_2/stderr.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 |
0%| | 0/32 [00:00<?, ?it/s]
|
| 1 |
3%|▎ | 1/32 [00:02<01:19, 2.58s/it]
|
| 2 |
6%|▋ | 2/32 [00:05<01:16, 2.54s/it]
|
| 3 |
9%|▉ | 3/32 [00:07<01:07, 2.34s/it]
|
| 4 |
12%|█▎ | 4/32 [00:10<01:14, 2.65s/it]
|
| 5 |
16%|█▌ | 5/32 [00:12<01:08, 2.55s/it]
|
| 6 |
19%|█▉ | 6/32 [00:15<01:04, 2.50s/it]
|
| 7 |
22%|██▏ | 7/32 [00:18<01:07, 2.70s/it]
|
| 8 |
25%|██▌ | 8/32 [00:20<01:01, 2.56s/it]
|
| 9 |
28%|██▊ | 9/32 [00:22<00:57, 2.49s/it]
|
| 10 |
31%|███▏ | 10/32 [00:24<00:52, 2.39s/it]
|
| 11 |
34%|███▍ | 11/32 [00:27<00:48, 2.33s/it]
|
| 12 |
38%|███▊ | 12/32 [00:29<00:46, 2.32s/it]
|
| 13 |
41%|████ | 13/32 [00:31<00:43, 2.29s/it]
|
| 14 |
44%|████▍ | 14/32 [00:33<00:40, 2.28s/it]
|
| 15 |
47%|████▋ | 15/32 [00:36<00:39, 2.34s/it]
|
| 16 |
50%|█████ | 16/32 [00:39<00:40, 2.52s/it]
|
| 17 |
53%|█████▎ | 17/32 [00:41<00:36, 2.40s/it]
|
| 18 |
56%|█████▋ | 18/32 [00:43<00:32, 2.31s/it]
|
| 19 |
59%|█████▉ | 19/32 [00:46<00:33, 2.56s/it]
|
| 20 |
62%|██████▎ | 20/32 [00:48<00:29, 2.44s/it]
|
| 21 |
66%|██████▌ | 21/32 [00:51<00:26, 2.39s/it]
|
| 22 |
69%|██████▉ | 22/32 [00:53<00:24, 2.46s/it]
|
| 23 |
72%|███████▏ | 23/32 [00:55<00:21, 2.39s/it]
|
| 24 |
75%|███████▌ | 24/32 [00:58<00:18, 2.32s/it]
|
| 25 |
78%|███████▊ | 25/32 [01:01<00:17, 2.54s/it]
|
| 26 |
81%|████████▏ | 26/32 [01:03<00:15, 2.55s/it]
|
| 27 |
84%|████████▍ | 27/32 [01:06<00:12, 2.47s/it]
|
| 28 |
88%|████████▊ | 28/32 [01:08<00:10, 2.59s/it]
|
| 29 |
91%|█████████ | 29/32 [01:11<00:07, 2.66s/it]
|
| 30 |
94%|█████████▍| 30/32 [01:14<00:05, 2.70s/it]
|
| 31 |
97%|█████████▋| 31/32 [01:17<00:02, 2.63s/it]
|
|
|
|
| 1 |
+
Seed set to 42
|
| 2 |
+
/opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages/huggingface_hub/file_download.py:949: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
|
| 3 |
+
warnings.warn(
|
| 4 |
+
/opt/anaconda3/envs/dlb-duo/lib/python3.12/site-packages/lightning/fabric/utilities/cloud_io.py:57: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
|
| 5 |
+
|
| 6 |
0%| | 0/32 [00:00<?, ?it/s]
|
| 7 |
3%|▎ | 1/32 [00:02<01:19, 2.58s/it]
|
| 8 |
6%|▋ | 2/32 [00:05<01:16, 2.54s/it]
|
| 9 |
9%|▉ | 3/32 [00:07<01:07, 2.34s/it]
|
| 10 |
12%|█▎ | 4/32 [00:10<01:14, 2.65s/it]
|
| 11 |
16%|█▌ | 5/32 [00:12<01:08, 2.55s/it]
|
| 12 |
19%|█▉ | 6/32 [00:15<01:04, 2.50s/it]
|
| 13 |
22%|██▏ | 7/32 [00:18<01:07, 2.70s/it]
|
| 14 |
25%|██▌ | 8/32 [00:20<01:01, 2.56s/it]
|
| 15 |
28%|██▊ | 9/32 [00:22<00:57, 2.49s/it]
|
| 16 |
31%|███▏ | 10/32 [00:24<00:52, 2.39s/it]
|
| 17 |
34%|███▍ | 11/32 [00:27<00:48, 2.33s/it]
|
| 18 |
38%|███▊ | 12/32 [00:29<00:46, 2.32s/it]
|
| 19 |
41%|████ | 13/32 [00:31<00:43, 2.29s/it]
|
| 20 |
44%|████▍ | 14/32 [00:33<00:40, 2.28s/it]
|
| 21 |
47%|████▋ | 15/32 [00:36<00:39, 2.34s/it]
|
| 22 |
50%|█████ | 16/32 [00:39<00:40, 2.52s/it]
|
| 23 |
53%|█████▎ | 17/32 [00:41<00:36, 2.40s/it]
|
| 24 |
56%|█████▋ | 18/32 [00:43<00:32, 2.31s/it]
|
| 25 |
59%|█████▉ | 19/32 [00:46<00:33, 2.56s/it]
|
| 26 |
62%|██████▎ | 20/32 [00:48<00:29, 2.44s/it]
|
| 27 |
66%|██████▌ | 21/32 [00:51<00:26, 2.39s/it]
|
| 28 |
69%|██████▉ | 22/32 [00:53<00:24, 2.46s/it]
|
| 29 |
72%|███████▏ | 23/32 [00:55<00:21, 2.39s/it]
|
| 30 |
75%|███████▌ | 24/32 [00:58<00:18, 2.32s/it]
|
| 31 |
78%|███████▊ | 25/32 [01:01<00:17, 2.54s/it]
|
| 32 |
81%|████████▏ | 26/32 [01:03<00:15, 2.55s/it]
|
| 33 |
84%|████████▍ | 27/32 [01:06<00:12, 2.47s/it]
|
| 34 |
88%|████████▊ | 28/32 [01:08<00:10, 2.59s/it]
|
| 35 |
91%|█████████ | 29/32 [01:11<00:07, 2.66s/it]
|
| 36 |
94%|█████████▍| 30/32 [01:14<00:05, 2.70s/it]
|
| 37 |
97%|█████████▋| 31/32 [01:17<00:02, 2.63s/it]
|
results/conditional/samples/lm1b/duo_dcd/steps_2/upstream_hydra/dlb_pinned_upstream_main.log
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[2026-08-25 20:02:37,835][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 2 |
+
[2026-08-25 20:04:03,872][dlb_pinned_upstream_main][INFO] - Generative perplexity: 163.57972717285156
|
| 3 |
+
[2026-08-25 20:04:03,872][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.2823638916015625
|
| 4 |
+
[2026-08-25 20:04:03,878][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_2/upstream_samples.json
|
| 5 |
+
[2026-08-26 01:34:45,202][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 6 |
+
[2026-08-26 01:34:55,009][dlb_pinned_upstream_main][INFO] - Generative perplexity: 439.757568359375
|
| 7 |
+
[2026-08-26 01:34:55,010][dlb_pinned_upstream_main][INFO] - Sample entropy: 4.196846961975098
|
| 8 |
+
[2026-08-26 01:34:55,010][dlb_pinned_upstream_main][INFO] - Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_2/upstream_samples.json
|
results/conditional/samples/lm1b/duo_dcd/steps_4/upstream_hydra/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: sample_eval
|
| 2 |
+
seed: 42
|
| 3 |
+
loader:
|
| 4 |
+
global_batch_size: 512
|
| 5 |
+
eval_global_batch_size: ${.global_batch_size}
|
| 6 |
+
batch_size: 2
|
| 7 |
+
eval_batch_size: 1
|
| 8 |
+
num_workers: ${eval:"len(__import__('os').sched_getaffinity(0))"}
|
| 9 |
+
pin_memory: true
|
| 10 |
+
sampling:
|
| 11 |
+
predictor: ancestral
|
| 12 |
+
steps: 4
|
| 13 |
+
noise_removal: ancestral
|
| 14 |
+
use_float64: true
|
| 15 |
+
p_nucleus: 1.0
|
| 16 |
+
num_sample_batches: 1
|
| 17 |
+
num_sample_log: 2
|
| 18 |
+
semi_ar: false
|
| 19 |
+
stride_length: 1
|
| 20 |
+
num_strides: 1
|
| 21 |
+
guid_weight: null
|
| 22 |
+
psi:
|
| 23 |
+
time_profile: linear
|
| 24 |
+
high_mode: pure-posterior
|
| 25 |
+
middle_mode: pure-posterior
|
| 26 |
+
low_mode: pure-posterior
|
| 27 |
+
high_frac: 0.2
|
| 28 |
+
middle_frac: 0.6
|
| 29 |
+
training:
|
| 30 |
+
ema: 0.9999
|
| 31 |
+
antithetic_sampling: true
|
| 32 |
+
importance_sampling: false
|
| 33 |
+
sampling_eps: 0.001
|
| 34 |
+
change_of_variables: false
|
| 35 |
+
loss_precision: bf16
|
| 36 |
+
finetune_path: ''
|
| 37 |
+
class_dropout_p: 0.1
|
| 38 |
+
eval:
|
| 39 |
+
checkpoint_path: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_dcd/lm1b/model.ckpt
|
| 40 |
+
disable_ema: false
|
| 41 |
+
compute_generative_perplexity: false
|
| 42 |
+
perplexity_batch_size: 8
|
| 43 |
+
compute_perplexity_on_sanity: false
|
| 44 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 45 |
+
generate_samples: true
|
| 46 |
+
generated_samples_path: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_4/upstream_samples.json
|
| 47 |
+
optim:
|
| 48 |
+
weight_decay: 0
|
| 49 |
+
lr: 0.0003
|
| 50 |
+
beta1: 0.9
|
| 51 |
+
beta2: 0.999
|
| 52 |
+
eps: 1.0e-08
|
| 53 |
+
trainer:
|
| 54 |
+
_target_: lightning.Trainer
|
| 55 |
+
accelerator: cuda
|
| 56 |
+
num_nodes: 1
|
| 57 |
+
devices: 1
|
| 58 |
+
accumulate_grad_batches: ${div_up:${loader.global_batch_size}, ${eval:${trainer.devices}
|
| 59 |
+
* ${loader.batch_size} * ${trainer.num_nodes}}}
|
| 60 |
+
gradient_clip_val: 1.0
|
| 61 |
+
precision: bf16
|
| 62 |
+
num_sanity_val_steps: 2
|
| 63 |
+
max_steps: 1000000
|
| 64 |
+
log_every_n_steps: 100
|
| 65 |
+
limit_train_batches: 1.0
|
| 66 |
+
limit_val_batches: 1.0
|
| 67 |
+
val_check_interval: 5000
|
| 68 |
+
check_val_every_n_epoch: null
|
| 69 |
+
wandb:
|
| 70 |
+
project: duo
|
| 71 |
+
group: null
|
| 72 |
+
job_type: null
|
| 73 |
+
name: null
|
| 74 |
+
id: ${.name}_${seed}
|
| 75 |
+
tags:
|
| 76 |
+
- ${noise.type}
|
| 77 |
+
- ${data.train}
|
| 78 |
+
- ${data.valid}
|
| 79 |
+
- ${algo.name}
|
| 80 |
+
offline: true
|
| 81 |
+
checkpointing:
|
| 82 |
+
save_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_4/upstream_hydra
|
| 83 |
+
resume_from_ckpt: true
|
| 84 |
+
resume_ckpt_path: ${.save_dir}/checkpoints/last.ckpt
|
| 85 |
+
callbacks:
|
| 86 |
+
checkpoint_every_n_steps:
|
| 87 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 88 |
+
save_top_k: -1
|
| 89 |
+
save_last: true
|
| 90 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 91 |
+
verbose: true
|
| 92 |
+
auto_insert_metric_name: false
|
| 93 |
+
every_n_train_steps: 500
|
| 94 |
+
checkpoint_monitor:
|
| 95 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 96 |
+
monitor: val/nll
|
| 97 |
+
mode: min
|
| 98 |
+
save_top_k: 1
|
| 99 |
+
save_last: false
|
| 100 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 101 |
+
filename: best
|
| 102 |
+
auto_insert_metric_name: false
|
| 103 |
+
verbose: true
|
| 104 |
+
learning_rate_monitor:
|
| 105 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 106 |
+
logging_interval: step
|
| 107 |
+
data:
|
| 108 |
+
train: lm1b
|
| 109 |
+
valid: lm1b
|
| 110 |
+
modality: text
|
| 111 |
+
tokenizer_name_or_path: bert-base-uncased
|
| 112 |
+
cache_dir: /share/kuleshov/ssahoo/textdiffusion/data
|
| 113 |
+
wrap: true
|
| 114 |
+
streaming: false
|
| 115 |
+
insert_train_eos: true
|
| 116 |
+
insert_valid_eos: true
|
| 117 |
+
model:
|
| 118 |
+
name: small
|
| 119 |
+
type: ddit
|
| 120 |
+
hidden_size: 768
|
| 121 |
+
cond_dim: 128
|
| 122 |
+
length: 128
|
| 123 |
+
n_blocks: 12
|
| 124 |
+
n_heads: 12
|
| 125 |
+
scale_by_sigma: true
|
| 126 |
+
dropout: 0.1
|
| 127 |
+
tie_word_embeddings: false
|
| 128 |
+
vocab_lookup: true
|
| 129 |
+
strategy:
|
| 130 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 131 |
+
find_unused_parameters: false
|
| 132 |
+
noise:
|
| 133 |
+
type: log-linear
|
| 134 |
+
eps: 0.001
|
| 135 |
+
lr_scheduler:
|
| 136 |
+
_target_: transformers.get_constant_schedule_with_warmup
|
| 137 |
+
num_warmup_steps: 2500
|
| 138 |
+
prior:
|
| 139 |
+
type: none
|
| 140 |
+
latent_width: 0
|
| 141 |
+
latent_height: 0
|
| 142 |
+
algo:
|
| 143 |
+
name: duo_base
|
| 144 |
+
backbone: dit
|
| 145 |
+
parameterization: mean
|
| 146 |
+
time_conditioning: true
|
| 147 |
+
T: 0
|
| 148 |
+
subs_masking: false
|
| 149 |
+
causal_attention: false
|
| 150 |
+
ignore_bos: false
|
| 151 |
+
loss_type: elbo
|
results/conditional/samples/lm1b/duo_dcd/steps_8/request.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/lm1b/duo_dcd/steps_8/upstream_token_ids.json",
|
| 9 |
+
"--generation-mode=conditional_prefix",
|
| 10 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 11 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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=lm1b-wrap",
|
| 23 |
+
"model=small",
|
| 24 |
+
"model.length=128",
|
| 25 |
+
"loader.batch_size=2",
|
| 26 |
+
"loader.eval_batch_size=64",
|
| 27 |
+
"sampling.num_sample_batches=32",
|
| 28 |
+
"sampling.steps=8",
|
| 29 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_dcd/lm1b/model.ckpt",
|
| 30 |
+
"trainer.devices=1",
|
| 31 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_hydra",
|
| 32 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_hydra",
|
| 33 |
+
"+wandb.offline=true",
|
| 34 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_samples.json",
|
| 35 |
+
"algo=duo_base",
|
| 36 |
+
"algo.backbone=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": "recipe:duo_dcd_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 44 |
+
"checkpoint_selection": {
|
| 45 |
+
"output": "checkpoints/reference_reproduction/duo_dcd/lm1b",
|
| 46 |
+
"recipe": "duo_dcd_lm1b",
|
| 47 |
+
"sampling_checkpoint": "model.ckpt",
|
| 48 |
+
"sampling_config": "config.yaml",
|
| 49 |
+
"source": "duo",
|
| 50 |
+
"source_commit": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
|
| 51 |
+
"teacher_adapter": null,
|
| 52 |
+
"teacher_family": "uniform_duo"
|
| 53 |
+
},
|
| 54 |
+
"checkpoint_sha256": "ac3d61fd6e9e412be79328c48b7c9a5529349e5468c49609b23572d0cc8e086b",
|
| 55 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 56 |
+
"command_sha256": "46d560cf2e886500b60d4eb0292f8da5be2982990eb358dc0cfe6e36d1788f81",
|
| 57 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 58 |
+
"completions_per_diversity_prompt": 5,
|
| 59 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 60 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 61 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 62 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 63 |
+
"dataset_id": "lm1b",
|
| 64 |
+
"device": null,
|
| 65 |
+
"diversity_prompt_count": 256,
|
| 66 |
+
"environment": "dlb-duo",
|
| 67 |
+
"evaluation_continuation_length": 64,
|
| 68 |
+
"generation_mode": "conditional_prefix",
|
| 69 |
+
"model_id": "duo_dcd",
|
| 70 |
+
"prefix_length": 64,
|
| 71 |
+
"prompt_count": 1024,
|
| 72 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 73 |
+
"run_id": "duo_dcd-lm1b-steps-8",
|
| 74 |
+
"sample_count": 2048,
|
| 75 |
+
"seed": 42,
|
| 76 |
+
"source_sha256": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
|
| 77 |
+
"step_count": 8
|
| 78 |
+
},
|
| 79 |
+
"request": {
|
| 80 |
+
"adapter_identity": "dlb.adapters.duo:v1|dlb.adapters.duo:DuoAdapter|8878182eb10d7d1e3f18219cb62c2153084842fdb0ab532b1a3c7df0e10da3c6",
|
| 81 |
+
"checkpoint_lock_id": "recipe:duo_dcd_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 82 |
+
"checkpoint_selection": {
|
| 83 |
+
"output": "checkpoints/reference_reproduction/duo_dcd/lm1b",
|
| 84 |
+
"recipe": "duo_dcd_lm1b",
|
| 85 |
+
"sampling_checkpoint": "model.ckpt",
|
| 86 |
+
"sampling_config": "config.yaml",
|
| 87 |
+
"source": "duo",
|
| 88 |
+
"source_commit": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
|
| 89 |
+
"teacher_adapter": null,
|
| 90 |
+
"teacher_family": "uniform_duo"
|
| 91 |
+
},
|
| 92 |
+
"checkpoint_sha256": "ac3d61fd6e9e412be79328c48b7c9a5529349e5468c49609b23572d0cc8e086b",
|
| 93 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 94 |
+
"command": null,
|
| 95 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 96 |
+
"completions_per_diversity_prompt": 5,
|
| 97 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 98 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 99 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 100 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 101 |
+
"dataset_id": "lm1b",
|
| 102 |
+
"device": null,
|
| 103 |
+
"diversity_prompt_count": 256,
|
| 104 |
+
"environment": "dlb-duo",
|
| 105 |
+
"evaluation_continuation_length": 64,
|
| 106 |
+
"generation_mode": "conditional_prefix",
|
| 107 |
+
"model_id": "duo_dcd",
|
| 108 |
+
"prefix_length": 64,
|
| 109 |
+
"prompt_count": 1024,
|
| 110 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 111 |
+
"run_id": "duo_dcd-lm1b-steps-8",
|
| 112 |
+
"sample_count": 2048,
|
| 113 |
+
"seed": 42,
|
| 114 |
+
"source_sha256": "7c9b498f5b717de064d6fad7e2509c866e6cb620",
|
| 115 |
+
"step_count": 8
|
| 116 |
+
},
|
| 117 |
+
"started_at": "2026-08-25T12:06:42.674890Z"
|
| 118 |
+
}
|
results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_hydra/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: sample_eval
|
| 2 |
+
seed: 42
|
| 3 |
+
loader:
|
| 4 |
+
global_batch_size: 512
|
| 5 |
+
eval_global_batch_size: ${.global_batch_size}
|
| 6 |
+
batch_size: 2
|
| 7 |
+
eval_batch_size: 1
|
| 8 |
+
num_workers: ${eval:"len(__import__('os').sched_getaffinity(0))"}
|
| 9 |
+
pin_memory: true
|
| 10 |
+
sampling:
|
| 11 |
+
predictor: ancestral
|
| 12 |
+
steps: 8
|
| 13 |
+
noise_removal: ancestral
|
| 14 |
+
use_float64: true
|
| 15 |
+
p_nucleus: 1.0
|
| 16 |
+
num_sample_batches: 1
|
| 17 |
+
num_sample_log: 2
|
| 18 |
+
semi_ar: false
|
| 19 |
+
stride_length: 1
|
| 20 |
+
num_strides: 1
|
| 21 |
+
guid_weight: null
|
| 22 |
+
psi:
|
| 23 |
+
time_profile: linear
|
| 24 |
+
high_mode: pure-posterior
|
| 25 |
+
middle_mode: pure-posterior
|
| 26 |
+
low_mode: pure-posterior
|
| 27 |
+
high_frac: 0.2
|
| 28 |
+
middle_frac: 0.6
|
| 29 |
+
training:
|
| 30 |
+
ema: 0.9999
|
| 31 |
+
antithetic_sampling: true
|
| 32 |
+
importance_sampling: false
|
| 33 |
+
sampling_eps: 0.001
|
| 34 |
+
change_of_variables: false
|
| 35 |
+
loss_precision: bf16
|
| 36 |
+
finetune_path: ''
|
| 37 |
+
class_dropout_p: 0.1
|
| 38 |
+
eval:
|
| 39 |
+
checkpoint_path: /home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_dcd/lm1b/model.ckpt
|
| 40 |
+
disable_ema: false
|
| 41 |
+
compute_generative_perplexity: false
|
| 42 |
+
perplexity_batch_size: 8
|
| 43 |
+
compute_perplexity_on_sanity: false
|
| 44 |
+
gen_ppl_eval_model_name_or_path: gpt2-large
|
| 45 |
+
generate_samples: true
|
| 46 |
+
generated_samples_path: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_samples.json
|
| 47 |
+
optim:
|
| 48 |
+
weight_decay: 0
|
| 49 |
+
lr: 0.0003
|
| 50 |
+
beta1: 0.9
|
| 51 |
+
beta2: 0.999
|
| 52 |
+
eps: 1.0e-08
|
| 53 |
+
trainer:
|
| 54 |
+
_target_: lightning.Trainer
|
| 55 |
+
accelerator: cuda
|
| 56 |
+
num_nodes: 1
|
| 57 |
+
devices: 1
|
| 58 |
+
accumulate_grad_batches: ${div_up:${loader.global_batch_size}, ${eval:${trainer.devices}
|
| 59 |
+
* ${loader.batch_size} * ${trainer.num_nodes}}}
|
| 60 |
+
gradient_clip_val: 1.0
|
| 61 |
+
precision: bf16
|
| 62 |
+
num_sanity_val_steps: 2
|
| 63 |
+
max_steps: 1000000
|
| 64 |
+
log_every_n_steps: 100
|
| 65 |
+
limit_train_batches: 1.0
|
| 66 |
+
limit_val_batches: 1.0
|
| 67 |
+
val_check_interval: 5000
|
| 68 |
+
check_val_every_n_epoch: null
|
| 69 |
+
wandb:
|
| 70 |
+
project: duo
|
| 71 |
+
group: null
|
| 72 |
+
job_type: null
|
| 73 |
+
name: null
|
| 74 |
+
id: ${.name}_${seed}
|
| 75 |
+
tags:
|
| 76 |
+
- ${noise.type}
|
| 77 |
+
- ${data.train}
|
| 78 |
+
- ${data.valid}
|
| 79 |
+
- ${algo.name}
|
| 80 |
+
offline: true
|
| 81 |
+
checkpointing:
|
| 82 |
+
save_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_dcd/steps_8/upstream_hydra
|
| 83 |
+
resume_from_ckpt: true
|
| 84 |
+
resume_ckpt_path: ${.save_dir}/checkpoints/last.ckpt
|
| 85 |
+
callbacks:
|
| 86 |
+
checkpoint_every_n_steps:
|
| 87 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 88 |
+
save_top_k: -1
|
| 89 |
+
save_last: true
|
| 90 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 91 |
+
verbose: true
|
| 92 |
+
auto_insert_metric_name: false
|
| 93 |
+
every_n_train_steps: 500
|
| 94 |
+
checkpoint_monitor:
|
| 95 |
+
_target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 96 |
+
monitor: val/nll
|
| 97 |
+
mode: min
|
| 98 |
+
save_top_k: 1
|
| 99 |
+
save_last: false
|
| 100 |
+
dirpath: ${checkpointing.save_dir}/checkpoints
|
| 101 |
+
filename: best
|
| 102 |
+
auto_insert_metric_name: false
|
| 103 |
+
verbose: true
|
| 104 |
+
learning_rate_monitor:
|
| 105 |
+
_target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 106 |
+
logging_interval: step
|
| 107 |
+
data:
|
| 108 |
+
train: lm1b
|
| 109 |
+
valid: lm1b
|
| 110 |
+
modality: text
|
| 111 |
+
tokenizer_name_or_path: bert-base-uncased
|
| 112 |
+
cache_dir: /share/kuleshov/ssahoo/textdiffusion/data
|
| 113 |
+
wrap: true
|
| 114 |
+
streaming: false
|
| 115 |
+
insert_train_eos: true
|
| 116 |
+
insert_valid_eos: true
|
| 117 |
+
model:
|
| 118 |
+
name: small
|
| 119 |
+
type: ddit
|
| 120 |
+
hidden_size: 768
|
| 121 |
+
cond_dim: 128
|
| 122 |
+
length: 128
|
| 123 |
+
n_blocks: 12
|
| 124 |
+
n_heads: 12
|
| 125 |
+
scale_by_sigma: true
|
| 126 |
+
dropout: 0.1
|
| 127 |
+
tie_word_embeddings: false
|
| 128 |
+
vocab_lookup: true
|
| 129 |
+
strategy:
|
| 130 |
+
_target_: lightning.pytorch.strategies.DDPStrategy
|
| 131 |
+
find_unused_parameters: false
|
| 132 |
+
noise:
|
| 133 |
+
type: log-linear
|
| 134 |
+
eps: 0.001
|
| 135 |
+
lr_scheduler:
|
| 136 |
+
_target_: transformers.get_constant_schedule_with_warmup
|
| 137 |
+
num_warmup_steps: 2500
|
| 138 |
+
prior:
|
| 139 |
+
type: none
|
| 140 |
+
latent_width: 0
|
| 141 |
+
latent_height: 0
|
| 142 |
+
algo:
|
| 143 |
+
name: duo_base
|
| 144 |
+
backbone: dit
|
| 145 |
+
parameterization: mean
|
| 146 |
+
time_conditioning: true
|
| 147 |
+
T: 0
|
| 148 |
+
subs_masking: false
|
| 149 |
+
causal_attention: false
|
| 150 |
+
ignore_bos: false
|
| 151 |
+
loss_type: elbo
|
results/conditional/samples/lm1b/duo_di4c/steps_1/conversion_metadata.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 5 |
+
"recipe": "duo_di4c_lm1b",
|
| 6 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 7 |
+
"sampling_config": "config.yaml",
|
| 8 |
+
"source": "di4c",
|
| 9 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 10 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 11 |
+
"teacher_family": "uniform_duo"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 14 |
+
"conditioning_implementation": "native_projection",
|
| 15 |
+
"exclude_from_latency": true,
|
| 16 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 17 |
+
"generated_samples": 2048,
|
| 18 |
+
"generation_seconds_sentinel": 0.0,
|
| 19 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 20 |
+
"paper_conditional_training_reproduced": false,
|
| 21 |
+
"requested_samples": 2048,
|
| 22 |
+
"teacher_family": "uniform_duo",
|
| 23 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 24 |
+
"token_ids_transformation": {
|
| 25 |
+
"max_length": 128,
|
| 26 |
+
"operation": "validated_exact_length"
|
| 27 |
+
},
|
| 28 |
+
"tokenizer": "bert-base-uncased",
|
| 29 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 30 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 31 |
+
"trimmed_samples": 0,
|
| 32 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_1/upstream_token_ids.json"
|
| 33 |
+
}
|
results/conditional/samples/lm1b/duo_di4c/steps_1/request.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/reference_reproduction/duo_di4c/lm1b/student_checkpoints/20000.ckpt",
|
| 11 |
+
"--config",
|
| 12 |
+
"/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/config.yaml",
|
| 13 |
+
"--checkpoint-sha256",
|
| 14 |
+
"212c0ee4ad726089dc72b947dc6c0cd852469ddfcc5cb5dea8794d19db2644b5",
|
| 15 |
+
"--config-sha256",
|
| 16 |
+
"61950a2556c19d77bf2d9aca26e689a250c41b68effa5e2a204c02ed6be8f6f0",
|
| 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--bert-base-uncased/snapshots/86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 23 |
+
"--output",
|
| 24 |
+
"/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_1/upstream_token_ids.json",
|
| 25 |
+
"--sample-count",
|
| 26 |
+
"2048",
|
| 27 |
+
"--batch-size",
|
| 28 |
+
"16",
|
| 29 |
+
"--num-steps",
|
| 30 |
+
"1",
|
| 31 |
+
"--seq-len",
|
| 32 |
+
"128",
|
| 33 |
+
"--seed",
|
| 34 |
+
"42",
|
| 35 |
+
"--sampler",
|
| 36 |
+
"ancestral",
|
| 37 |
+
"--teacher-family",
|
| 38 |
+
"uniform_duo",
|
| 39 |
+
"--dataset",
|
| 40 |
+
"lm1b",
|
| 41 |
+
"--generation-mode",
|
| 42 |
+
"conditional_prefix",
|
| 43 |
+
"--conditioning-manifest",
|
| 44 |
+
"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 45 |
+
"--conditioning-manifest-sha256",
|
| 46 |
+
"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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|e1636b46628a6015944553de2d5d8a1b829bb6bf3f9c6b789d829cb6db222ec9",
|
| 68 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 69 |
+
"checkpoint_selection": {
|
| 70 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 71 |
+
"recipe": "duo_di4c_lm1b",
|
| 72 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 73 |
+
"sampling_config": "config.yaml",
|
| 74 |
+
"source": "di4c",
|
| 75 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 76 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 77 |
+
"teacher_family": "uniform_duo"
|
| 78 |
+
},
|
| 79 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 80 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 81 |
+
"command_sha256": "17f9e653170bb6f28210699da0f6dbe3252285ff3bd2d96811f1bbfdf5335fb6",
|
| 82 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 83 |
+
"completions_per_diversity_prompt": 5,
|
| 84 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 85 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 86 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 87 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 88 |
+
"dataset_id": "lm1b",
|
| 89 |
+
"device": null,
|
| 90 |
+
"diversity_prompt_count": 256,
|
| 91 |
+
"environment": "dlb-di4c",
|
| 92 |
+
"evaluation_continuation_length": 64,
|
| 93 |
+
"generation_mode": "conditional_prefix",
|
| 94 |
+
"model_id": "duo_di4c",
|
| 95 |
+
"prefix_length": 64,
|
| 96 |
+
"prompt_count": 1024,
|
| 97 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 98 |
+
"run_id": "duo_di4c-lm1b-steps-1",
|
| 99 |
+
"sample_count": 2048,
|
| 100 |
+
"seed": 42,
|
| 101 |
+
"source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 102 |
+
"step_count": 1
|
| 103 |
+
},
|
| 104 |
+
"request": {
|
| 105 |
+
"adapter_identity": "dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|e1636b46628a6015944553de2d5d8a1b829bb6bf3f9c6b789d829cb6db222ec9",
|
| 106 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 107 |
+
"checkpoint_selection": {
|
| 108 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 109 |
+
"recipe": "duo_di4c_lm1b",
|
| 110 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 111 |
+
"sampling_config": "config.yaml",
|
| 112 |
+
"source": "di4c",
|
| 113 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 114 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 115 |
+
"teacher_family": "uniform_duo"
|
| 116 |
+
},
|
| 117 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 118 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 119 |
+
"command": null,
|
| 120 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 121 |
+
"completions_per_diversity_prompt": 5,
|
| 122 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 123 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 124 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 125 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 126 |
+
"dataset_id": "lm1b",
|
| 127 |
+
"device": null,
|
| 128 |
+
"diversity_prompt_count": 256,
|
| 129 |
+
"environment": "dlb-di4c",
|
| 130 |
+
"evaluation_continuation_length": 64,
|
| 131 |
+
"generation_mode": "conditional_prefix",
|
| 132 |
+
"model_id": "duo_di4c",
|
| 133 |
+
"prefix_length": 64,
|
| 134 |
+
"prompt_count": 1024,
|
| 135 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 136 |
+
"run_id": "duo_di4c-lm1b-steps-1",
|
| 137 |
+
"sample_count": 2048,
|
| 138 |
+
"seed": 42,
|
| 139 |
+
"source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 140 |
+
"step_count": 1
|
| 141 |
+
},
|
| 142 |
+
"started_at": "2026-08-28T12:12:29.944109Z"
|
| 143 |
+
}
|
results/conditional/samples/lm1b/duo_di4c/steps_1/stderr.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/lightning/fabric/__init__.py:41: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
|
results/conditional/samples/lm1b/duo_di4c/steps_16/conversion_metadata.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 5 |
+
"recipe": "duo_di4c_lm1b",
|
| 6 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 7 |
+
"sampling_config": "config.yaml",
|
| 8 |
+
"source": "di4c",
|
| 9 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 10 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 11 |
+
"teacher_family": "uniform_duo"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 14 |
+
"conditioning_implementation": "native_projection",
|
| 15 |
+
"exclude_from_latency": true,
|
| 16 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 17 |
+
"generated_samples": 2048,
|
| 18 |
+
"generation_seconds_sentinel": 0.0,
|
| 19 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 20 |
+
"paper_conditional_training_reproduced": false,
|
| 21 |
+
"requested_samples": 2048,
|
| 22 |
+
"teacher_family": "uniform_duo",
|
| 23 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 24 |
+
"token_ids_transformation": {
|
| 25 |
+
"max_length": 128,
|
| 26 |
+
"operation": "validated_exact_length"
|
| 27 |
+
},
|
| 28 |
+
"tokenizer": "bert-base-uncased",
|
| 29 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 30 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 31 |
+
"trimmed_samples": 0,
|
| 32 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_16/upstream_token_ids.json"
|
| 33 |
+
}
|
results/conditional/samples/lm1b/duo_di4c/steps_2/run_metadata.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 5 |
+
"recipe": "duo_di4c_lm1b",
|
| 6 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 7 |
+
"sampling_config": "config.yaml",
|
| 8 |
+
"source": "di4c",
|
| 9 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 10 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 11 |
+
"teacher_family": "uniform_duo"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 14 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 15 |
+
"command": [
|
| 16 |
+
"/opt/anaconda3/envs/dlb-di4c/bin/python",
|
| 17 |
+
"-B",
|
| 18 |
+
"-u",
|
| 19 |
+
"/home/ruizzhao/diffusion_baseline/adapters/sample_di4c.py",
|
| 20 |
+
"--upstream-root",
|
| 21 |
+
"/home/ruizzhao/diffusion_baseline/upstreams/di4c/sdtt",
|
| 22 |
+
"--checkpoint",
|
| 23 |
+
"/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/student_checkpoints/20000.ckpt",
|
| 24 |
+
"--config",
|
| 25 |
+
"/home/ruizzhao/diffusion_baseline/checkpoints/reference_reproduction/duo_di4c/lm1b/config.yaml",
|
| 26 |
+
"--checkpoint-sha256",
|
| 27 |
+
"212c0ee4ad726089dc72b947dc6c0cd852469ddfcc5cb5dea8794d19db2644b5",
|
| 28 |
+
"--config-sha256",
|
| 29 |
+
"61950a2556c19d77bf2d9aca26e689a250c41b68effa5e2a204c02ed6be8f6f0",
|
| 30 |
+
"--data-config",
|
| 31 |
+
"/home/ruizzhao/diffusion_baseline/artifacts/data.yaml",
|
| 32 |
+
"--downloads-manifest",
|
| 33 |
+
"/home/ruizzhao/diffusion_baseline/data/manifests/downloads.json",
|
| 34 |
+
"--tokenizer-snapshot",
|
| 35 |
+
"/home/ruizzhao/diffusion_baseline/data/raw/huggingface/hub/models--bert-base-uncased/snapshots/86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 36 |
+
"--output",
|
| 37 |
+
"/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_2/upstream_token_ids.json",
|
| 38 |
+
"--sample-count",
|
| 39 |
+
"2048",
|
| 40 |
+
"--batch-size",
|
| 41 |
+
"16",
|
| 42 |
+
"--num-steps",
|
| 43 |
+
"2",
|
| 44 |
+
"--seq-len",
|
| 45 |
+
"128",
|
| 46 |
+
"--seed",
|
| 47 |
+
"42",
|
| 48 |
+
"--sampler",
|
| 49 |
+
"ancestral",
|
| 50 |
+
"--teacher-family",
|
| 51 |
+
"uniform_duo",
|
| 52 |
+
"--dataset",
|
| 53 |
+
"lm1b",
|
| 54 |
+
"--generation-mode",
|
| 55 |
+
"conditional_prefix",
|
| 56 |
+
"--conditioning-manifest",
|
| 57 |
+
"/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 58 |
+
"--conditioning-manifest-sha256",
|
| 59 |
+
"0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 60 |
+
"--conditioning-config-sha256",
|
| 61 |
+
"89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 62 |
+
"--prefix-length",
|
| 63 |
+
"64",
|
| 64 |
+
"--evaluation-continuation-length",
|
| 65 |
+
"64",
|
| 66 |
+
"--prompt-count",
|
| 67 |
+
"1024",
|
| 68 |
+
"--diversity-prompt-count",
|
| 69 |
+
"256",
|
| 70 |
+
"--completions-per-diversity-prompt",
|
| 71 |
+
"5",
|
| 72 |
+
"--completion-schedule",
|
| 73 |
+
"c0:p0-1023;c1-4:p0-255",
|
| 74 |
+
"--offline",
|
| 75 |
+
"true",
|
| 76 |
+
"--allow-missing-embedded-config",
|
| 77 |
+
"true"
|
| 78 |
+
],
|
| 79 |
+
"command_sha256": "0972fe3ebfbb65be820274be2989ed40401fa00124a21cf1b9a3fb7ec00cde4e",
|
| 80 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 81 |
+
"environment": {
|
| 82 |
+
"cuda_version": null,
|
| 83 |
+
"cuda_visible_devices": "7",
|
| 84 |
+
"hostname": "DS210029",
|
| 85 |
+
"platform": "Linux-5.15.0-186-generic-x86_64-with-glibc2.35",
|
| 86 |
+
"python": "3.10.20",
|
| 87 |
+
"torch_version": "2.5.1"
|
| 88 |
+
},
|
| 89 |
+
"finished_at": "2026-08-28T12:13:24.379603Z",
|
| 90 |
+
"identity": {
|
| 91 |
+
"adapter_identity": "dlb.adapters.di4c:v3|dlb.adapters.di4c:Di4CAdapter|e1636b46628a6015944553de2d5d8a1b829bb6bf3f9c6b789d829cb6db222ec9",
|
| 92 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 93 |
+
"checkpoint_selection": {
|
| 94 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 95 |
+
"recipe": "duo_di4c_lm1b",
|
| 96 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 97 |
+
"sampling_config": "config.yaml",
|
| 98 |
+
"source": "di4c",
|
| 99 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 100 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 101 |
+
"teacher_family": "uniform_duo"
|
| 102 |
+
},
|
| 103 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 104 |
+
"checkpoint_teacher_family": "uniform_duo",
|
| 105 |
+
"command_sha256": "0972fe3ebfbb65be820274be2989ed40401fa00124a21cf1b9a3fb7ec00cde4e",
|
| 106 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 107 |
+
"completions_per_diversity_prompt": 5,
|
| 108 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 109 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 110 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 111 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 112 |
+
"dataset_id": "lm1b",
|
| 113 |
+
"device": null,
|
| 114 |
+
"diversity_prompt_count": 256,
|
| 115 |
+
"environment": "dlb-di4c",
|
| 116 |
+
"evaluation_continuation_length": 64,
|
| 117 |
+
"generation_mode": "conditional_prefix",
|
| 118 |
+
"model_id": "duo_di4c",
|
| 119 |
+
"prefix_length": 64,
|
| 120 |
+
"prompt_count": 1024,
|
| 121 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 122 |
+
"run_id": "duo_di4c-lm1b-steps-2",
|
| 123 |
+
"sample_count": 2048,
|
| 124 |
+
"seed": 42,
|
| 125 |
+
"source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 126 |
+
"step_count": 2
|
| 127 |
+
},
|
| 128 |
+
"source_sha256": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 129 |
+
"started_at": "2026-08-28T12:12:59.935747Z",
|
| 130 |
+
"status": "succeeded",
|
| 131 |
+
"stderr_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_2/stderr.log",
|
| 132 |
+
"stdout_log": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_2/stdout.log"
|
| 133 |
+
}
|
results/conditional/samples/lm1b/duo_di4c/steps_2/stderr.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/lightning/fabric/__init__.py:41: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
|
results/conditional/samples/lm1b/duo_di4c/steps_8/conversion_metadata.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:duo_di4c_lm1b:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/reference_reproduction/duo_di4c/lm1b",
|
| 5 |
+
"recipe": "duo_di4c_lm1b",
|
| 6 |
+
"sampling_checkpoint": "student_checkpoints/20000.ckpt",
|
| 7 |
+
"sampling_config": "config.yaml",
|
| 8 |
+
"source": "di4c",
|
| 9 |
+
"source_commit": "ac61ff9fe8e85120f9e1d2a8c5a332f8b8353dd3",
|
| 10 |
+
"teacher_adapter": "uniform_to_absorbing",
|
| 11 |
+
"teacher_family": "uniform_duo"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "0828425487cc7d017c3ef345f6bd673c79a83355bc3ac0e2fb263011a1a22d4a",
|
| 14 |
+
"conditioning_implementation": "native_projection",
|
| 15 |
+
"exclude_from_latency": true,
|
| 16 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 17 |
+
"generated_samples": 2048,
|
| 18 |
+
"generation_seconds_sentinel": 0.0,
|
| 19 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 20 |
+
"paper_conditional_training_reproduced": false,
|
| 21 |
+
"requested_samples": 2048,
|
| 22 |
+
"teacher_family": "uniform_duo",
|
| 23 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 24 |
+
"token_ids_transformation": {
|
| 25 |
+
"max_length": 128,
|
| 26 |
+
"operation": "validated_exact_length"
|
| 27 |
+
},
|
| 28 |
+
"tokenizer": "bert-base-uncased",
|
| 29 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 30 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 31 |
+
"trimmed_samples": 0,
|
| 32 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/duo_di4c/steps_8/upstream_token_ids.json"
|
| 33 |
+
}
|
results/conditional/samples/lm1b/duo_di4c/steps_8/samples.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
results/conditional/samples/lm1b/duo_di4c/steps_8/stderr.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/opt/anaconda3/envs/dlb-di4c/lib/python3.10/site-packages/lightning/fabric/__init__.py:41: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
|
results/conditional/samples/lm1b/flm/steps_4/stdout.log
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DIT: USE_COMPILE=False
|
| 2 |
+
CONFIG
|
| 3 |
+
├── mode
|
| 4 |
+
│ └── sample_eval
|
| 5 |
+
├── is_di4c
|
| 6 |
+
│ └── False
|
| 7 |
+
├── is_di4c_deterministic
|
| 8 |
+
│ └── True
|
| 9 |
+
├── seed
|
| 10 |
+
│ └── 42
|
| 11 |
+
├── loader
|
| 12 |
+
│ └── global_batch_size: 512
|
| 13 |
+
│ eval_global_batch_size: 512
|
| 14 |
+
│ batch_size: 2
|
| 15 |
+
│ eval_batch_size: 32
|
| 16 |
+
│ num_workers: 4
|
| 17 |
+
│ pin_memory: true
|
| 18 |
+
│
|
| 19 |
+
├── sampling
|
| 20 |
+
│ └── predictor: ancestral
|
| 21 |
+
│ steps: 4
|
| 22 |
+
│ noise_removal: ancestral
|
| 23 |
+
│ use_float64: true
|
| 24 |
+
│ p_nucleus: 1.0
|
| 25 |
+
│ num_sample_batches: 64
|
| 26 |
+
│ num_sample_log: 2
|
| 27 |
+
│ semi_ar: false
|
| 28 |
+
│ stride_length: 1
|
| 29 |
+
│ num_strides: 1
|
| 30 |
+
│ num_reflow_samples: 50000
|
| 31 |
+
│ temperature: 1.0
|
| 32 |
+
│ solver: euler
|
| 33 |
+
│ gamma: 0.0
|
| 34 |
+
│
|
| 35 |
+
├── training
|
| 36 |
+
│ └── loss_type: flow
|
| 37 |
+
│ pred_type: x0
|
| 38 |
+
│ ema: 0.9999
|
| 39 |
+
│ antithetic_sampling: true
|
| 40 |
+
│ importance_sampling: false
|
| 41 |
+
│ sampling_eps: 0.001
|
| 42 |
+
│ change_of_variables: false
|
| 43 |
+
│ loss_precision: bf16
|
| 44 |
+
│ finetune_path: ''
|
| 45 |
+
│ not_sampling_t: false
|
| 46 |
+
│ load_ema: false
|
| 47 |
+
│ t_curriculum_steps: 100000
|
| 48 |
+
│ t_curriculum_min: 0.0
|
| 49 |
+
│ t_curriculum_max: 1.0
|
| 50 |
+
│
|
| 51 |
+
├── eval
|
| 52 |
+
│ └── checkpoint_path: /home/ruizzhao/diffusion_baseline/checkpoints/official/
|
| 53 |
+
│ disable_ema: false
|
| 54 |
+
│ ema_decay: null
|
| 55 |
+
│ compute_generative_perplexity: true
|
| 56 |
+
│ perplexity_batch_size: 8
|
| 57 |
+
│ compute_perplexity_on_sanity: false
|
| 58 |
+
│ gen_ppl_eval_model_name_or_path: gpt2-large
|
| 59 |
+
│ generate_samples: true
|
| 60 |
+
│ generated_samples_path: /home/ruizzhao/diffusion_baseline/results/condit
|
| 61 |
+
│
|
| 62 |
+
├── optim
|
| 63 |
+
│ └── weight_decay: 0
|
| 64 |
+
│ lr: 0.0003
|
| 65 |
+
│ beta1: 0.9
|
| 66 |
+
│ beta2: 0.999
|
| 67 |
+
│ eps: 1.0e-08
|
| 68 |
+
│ ln_tune: none
|
| 69 |
+
│
|
| 70 |
+
├── trainer
|
| 71 |
+
│ └── _target_: lightning.Trainer
|
| 72 |
+
│ accelerator: cuda
|
| 73 |
+
│ num_nodes: 1
|
| 74 |
+
│ devices: 1
|
| 75 |
+
│ accumulate_grad_batches: 256
|
| 76 |
+
│ gradient_clip_val: 1.0
|
| 77 |
+
│ precision: bf16
|
| 78 |
+
│ num_sanity_val_steps: 2
|
| 79 |
+
│ max_steps: 1000000
|
| 80 |
+
│ log_every_n_steps: 100
|
| 81 |
+
│ limit_train_batches: 1.0
|
| 82 |
+
│ limit_val_batches: 1.0
|
| 83 |
+
│ val_check_interval: 5000
|
| 84 |
+
│
|
| 85 |
+
├── wandb
|
| 86 |
+
│ └── project: flm
|
| 87 |
+
│ notes: FLM
|
| 88 |
+
│ group: null
|
| 89 |
+
│ job_type: null
|
| 90 |
+
│ name: null
|
| 91 |
+
│ id: None_42
|
| 92 |
+
│ tags:
|
| 93 |
+
│ - lm1b
|
| 94 |
+
│ - flm
|
| 95 |
+
│ offline: true
|
| 96 |
+
│
|
| 97 |
+
├── checkpointing
|
| 98 |
+
│ └── save_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/
|
| 99 |
+
│ resume_from_ckpt: false
|
| 100 |
+
│ resume_ckpt_path: /home/ruizzhao/diffusion_baseline/results/conditional/
|
| 101 |
+
│
|
| 102 |
+
├── callbacks
|
| 103 |
+
│ └── checkpoint_every_n_steps:
|
| 104 |
+
│ _target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 105 |
+
│ save_top_k: -1
|
| 106 |
+
│ save_last: false
|
| 107 |
+
│ dirpath: /home/ruizzhao/diffusion_baseline/results/conditional/samples
|
| 108 |
+
│ verbose: true
|
| 109 |
+
│ auto_insert_metric_name: false
|
| 110 |
+
│ every_n_train_steps: 25000
|
| 111 |
+
│ checkpoint_monitor:
|
| 112 |
+
│ _target_: lightning.pytorch.callbacks.ModelCheckpoint
|
| 113 |
+
│ monitor: val/nll
|
| 114 |
+
│ mode: min
|
| 115 |
+
│ save_top_k: 1
|
| 116 |
+
│ save_last: true
|
| 117 |
+
│ dirpath: /home/ruizzhao/diffusion_baseline/results/conditional/samples
|
| 118 |
+
│ filename: best_nll
|
| 119 |
+
│ auto_insert_metric_name: false
|
| 120 |
+
│ verbose: true
|
| 121 |
+
│ learning_rate_monitor:
|
| 122 |
+
│ _target_: lightning.pytorch.callbacks.LearningRateMonitor
|
| 123 |
+
│ logging_interval: step
|
| 124 |
+
│
|
| 125 |
+
├── data
|
| 126 |
+
│ └── train: lm1b
|
| 127 |
+
│ valid: lm1b
|
| 128 |
+
│ tokenizer_name_or_path: bert-base-uncased
|
| 129 |
+
│ cache_dir: ./cache
|
| 130 |
+
│ wrap: true
|
| 131 |
+
│ streaming: false
|
| 132 |
+
│ insert_train_eos: true
|
| 133 |
+
│ insert_valid_eos: true
|
| 134 |
+
│
|
| 135 |
+
├── model
|
| 136 |
+
│ └── name: small
|
| 137 |
+
│ type: ddit
|
| 138 |
+
│ hidden_size: 768
|
| 139 |
+
│ cond_dim: 128
|
| 140 |
+
│ length: 128
|
| 141 |
+
│ n_blocks: 12
|
| 142 |
+
│ n_heads: 12
|
| 143 |
+
│ scale_by_sigma: true
|
| 144 |
+
│ dropout: 0.1
|
| 145 |
+
│ tie_word_embeddings: false
|
| 146 |
+
│ vocab_lookup: true
|
| 147 |
+
│
|
| 148 |
+
├── strategy
|
| 149 |
+
│ └── _target_: lightning.pytorch.strategies.DDPStrategy
|
| 150 |
+
│ find_unused_parameters: false
|
| 151 |
+
│
|
| 152 |
+
├── noise
|
| 153 |
+
│ └── type: log-linear
|
| 154 |
+
│ parameterization: log-linear
|
| 155 |
+
│ eps: 0
|
| 156 |
+
│ denoiser_latent_conditioning: -1
|
| 157 |
+
│ freeze_encoder: false
|
| 158 |
+
│ freeze_decoder: false
|
| 159 |
+
│
|
| 160 |
+
├── lr_scheduler
|
| 161 |
+
│ └── _target_: transformers.get_constant_schedule_with_warmup
|
| 162 |
+
│ num_warmup_steps: 2500
|
| 163 |
+
│
|
| 164 |
+
├── prior
|
| 165 |
+
│ └── type: none
|
| 166 |
+
│ latent_width: 0
|
| 167 |
+
│ latent_height: 0
|
| 168 |
+
│
|
| 169 |
+
└── algo
|
| 170 |
+
└── name: flm
|
| 171 |
+
backbone: dit
|
| 172 |
+
parameterization: mean
|
| 173 |
+
time_conditioning: true
|
| 174 |
+
T: 0
|
| 175 |
+
subs_masking: false
|
| 176 |
+
causal_attention: false
|
| 177 |
+
ignore_bos: false
|
| 178 |
+
t_max: 1.0
|
| 179 |
+
t_min: 0.0
|
| 180 |
+
double_temb: false
|
| 181 |
+
learnable_loss_weighting: false
|
| 182 |
+
|
| 183 |
+
[2026-08-25 20:21:08,070][dlb_pinned_upstream_main][INFO] - Starting Sample Eval.
|
| 184 |
+
Resuming training from checkpoint...
|
| 185 |
+
generation start: 2026-08-25 20:21:14
|
| 186 |
+
Copying EMA parameters to model
|
| 187 |
+
Copying EMA parameters to model
|
| 188 |
+
Copying EMA parameters to model
|
| 189 |
+
Copying EMA parameters to model
|
| 190 |
+
Copying EMA parameters to model
|
| 191 |
+
Copying EMA parameters to model
|
| 192 |
+
Copying EMA parameters to model
|
| 193 |
+
Copying EMA parameters to model
|
| 194 |
+
Copying EMA parameters to model
|
| 195 |
+
Copying EMA parameters to model
|
| 196 |
+
Copying EMA parameters to model
|
| 197 |
+
Copying EMA parameters to model
|
| 198 |
+
Copying EMA parameters to model
|
| 199 |
+
Copying EMA parameters to model
|
| 200 |
+
Copying EMA parameters to model
|
| 201 |
+
Copying EMA parameters to model
|
| 202 |
+
Copying EMA parameters to model
|
| 203 |
+
Copying EMA parameters to model
|
| 204 |
+
Copying EMA parameters to model
|
| 205 |
+
Copying EMA parameters to model
|
| 206 |
+
Copying EMA parameters to model
|
| 207 |
+
Copying EMA parameters to model
|
| 208 |
+
Copying EMA parameters to model
|
| 209 |
+
Copying EMA parameters to model
|
| 210 |
+
Copying EMA parameters to model
|
| 211 |
+
Copying EMA parameters to model
|
| 212 |
+
Copying EMA parameters to model
|
| 213 |
+
Copying EMA parameters to model
|
| 214 |
+
Copying EMA parameters to model
|
| 215 |
+
Copying EMA parameters to model
|
| 216 |
+
Copying EMA parameters to model
|
| 217 |
+
Copying EMA parameters to model
|
| 218 |
+
Copying EMA parameters to model
|
| 219 |
+
Copying EMA parameters to model
|
| 220 |
+
Copying EMA parameters to model
|
| 221 |
+
Copying EMA parameters to model
|
| 222 |
+
Copying EMA parameters to model
|
| 223 |
+
Copying EMA parameters to model
|
| 224 |
+
Copying EMA parameters to model
|
| 225 |
+
Copying EMA parameters to model
|
| 226 |
+
Copying EMA parameters to model
|
| 227 |
+
Copying EMA parameters to model
|
| 228 |
+
Copying EMA parameters to model
|
| 229 |
+
Copying EMA parameters to model
|
| 230 |
+
Copying EMA parameters to model
|
| 231 |
+
Copying EMA parameters to model
|
| 232 |
+
Copying EMA parameters to model
|
| 233 |
+
Copying EMA parameters to model
|
| 234 |
+
Copying EMA parameters to model
|
| 235 |
+
Copying EMA parameters to model
|
| 236 |
+
Copying EMA parameters to model
|
| 237 |
+
Copying EMA parameters to model
|
| 238 |
+
Copying EMA parameters to model
|
| 239 |
+
Copying EMA parameters to model
|
| 240 |
+
Copying EMA parameters to model
|
| 241 |
+
Copying EMA parameters to model
|
| 242 |
+
Copying EMA parameters to model
|
| 243 |
+
Copying EMA parameters to model
|
| 244 |
+
Copying EMA parameters to model
|
| 245 |
+
Copying EMA parameters to model
|
| 246 |
+
Copying EMA parameters to model
|
| 247 |
+
Copying EMA parameters to model
|
| 248 |
+
Copying EMA parameters to model
|
| 249 |
+
Copying EMA parameters to model
|
| 250 |
+
generation end: 2026-08-25 20:23:07
|
| 251 |
+
Generative perplexity: 34.48362731933594
|
| 252 |
+
Sample entropy: 3.2911951541900635
|
| 253 |
+
Samples saved at: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/flm/steps_4/upstream_samples.json
|
results/conditional/samples/lm1b/flm/steps_8/conversion_metadata.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:flm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/official/flm_ckpt/lm1b",
|
| 5 |
+
"recipe": "flm_lm1b_official_ckpt",
|
| 6 |
+
"sampling_checkpoint": "lm1b_flm.ckpt",
|
| 7 |
+
"sampling_config": null,
|
| 8 |
+
"source": "flm",
|
| 9 |
+
"source_commit": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 10 |
+
"teacher_adapter": null,
|
| 11 |
+
"teacher_family": "continuous_flm"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "99a97513471dc7232d4a0fc6b50d47301d97a6198e0cf13b77b3fe70c12c3665",
|
| 14 |
+
"conditioning_implementation": "zero_shot_runtime_projection",
|
| 15 |
+
"exclude_from_latency": true,
|
| 16 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 17 |
+
"generated_samples": 2048,
|
| 18 |
+
"generation_seconds_sentinel": 0.0,
|
| 19 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 20 |
+
"paper_conditional_training_reproduced": false,
|
| 21 |
+
"requested_samples": 2048,
|
| 22 |
+
"teacher_family": "continuous_flm",
|
| 23 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 24 |
+
"tokenizer": "bert-base-uncased",
|
| 25 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 26 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 27 |
+
"trimmed_samples": 0,
|
| 28 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/flm/steps_8/upstream_token_ids.json"
|
| 29 |
+
}
|
results/conditional/samples/lm1b/fmlm/steps_1/conversion_metadata.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_lock_id": "recipe:fmlm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 3 |
+
"checkpoint_selection": {
|
| 4 |
+
"output": "checkpoints/official/fmlm_ckpt/lm1b",
|
| 5 |
+
"recipe": "fmlm_lm1b_official_ckpt",
|
| 6 |
+
"sampling_checkpoint": "lm1b_fmlm.ckpt",
|
| 7 |
+
"sampling_config": null,
|
| 8 |
+
"source": "flm",
|
| 9 |
+
"source_commit": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 10 |
+
"teacher_adapter": null,
|
| 11 |
+
"teacher_family": "continuous_flm"
|
| 12 |
+
},
|
| 13 |
+
"checkpoint_sha256": "cb096021fda9344c88b184d9b3ac8a0a3bc45e30be7bcc917e024971a9d67395",
|
| 14 |
+
"conditioning_implementation": "zero_shot_runtime_projection",
|
| 15 |
+
"exclude_from_latency": true,
|
| 16 |
+
"format": "dlb-conditional-token-capture-v1",
|
| 17 |
+
"generated_samples": 2048,
|
| 18 |
+
"generation_seconds_sentinel": 0.0,
|
| 19 |
+
"generation_seconds_source": "unavailable_excluded_sentinel",
|
| 20 |
+
"paper_conditional_training_reproduced": false,
|
| 21 |
+
"requested_samples": 2048,
|
| 22 |
+
"teacher_family": "continuous_flm",
|
| 23 |
+
"token_ids_source": "upstream_conditional_capture",
|
| 24 |
+
"tokenizer": "bert-base-uncased",
|
| 25 |
+
"tokenizer_revision": "86b5e0934494bd15c9632b12f734a8a67f723594",
|
| 26 |
+
"trim_policy": "none_exact_conditional_schedule",
|
| 27 |
+
"trimmed_samples": 0,
|
| 28 |
+
"upstream_output": "/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_token_ids.json"
|
| 29 |
+
}
|
results/conditional/samples/lm1b/fmlm/steps_1/request.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"command": [
|
| 3 |
+
"/opt/anaconda3/envs/dlb-flm/bin/python",
|
| 4 |
+
"-u",
|
| 5 |
+
"-m",
|
| 6 |
+
"dlb.adapters.capture",
|
| 7 |
+
"--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/flm/main.py",
|
| 8 |
+
"--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_token_ids.json",
|
| 9 |
+
"--generation-mode=conditional_prefix",
|
| 10 |
+
"--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 11 |
+
"--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 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=lm1b-wrap",
|
| 23 |
+
"model=small",
|
| 24 |
+
"model.length=128",
|
| 25 |
+
"loader.batch_size=2",
|
| 26 |
+
"loader.eval_batch_size=16",
|
| 27 |
+
"sampling.num_sample_batches=128",
|
| 28 |
+
"sampling.steps=1",
|
| 29 |
+
"eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/fmlm_ckpt/lm1b/lm1b_fmlm.ckpt",
|
| 30 |
+
"trainer.devices=1",
|
| 31 |
+
"hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra",
|
| 32 |
+
"checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra",
|
| 33 |
+
"+wandb.offline=true",
|
| 34 |
+
"eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_samples.json",
|
| 35 |
+
"algo=fmlm",
|
| 36 |
+
"algo.backbone=dit",
|
| 37 |
+
"eval.disable_ema=False",
|
| 38 |
+
"sampling.solver=euler",
|
| 39 |
+
"algo.double_temb=True",
|
| 40 |
+
"algo.learnable_loss_weighting=False",
|
| 41 |
+
"sampling.gamma=0.8"
|
| 42 |
+
],
|
| 43 |
+
"identity": {
|
| 44 |
+
"adapter_identity": "dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0",
|
| 45 |
+
"checkpoint_lock_id": "recipe:fmlm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 46 |
+
"checkpoint_selection": {
|
| 47 |
+
"output": "checkpoints/official/fmlm_ckpt/lm1b",
|
| 48 |
+
"recipe": "fmlm_lm1b_official_ckpt",
|
| 49 |
+
"sampling_checkpoint": "lm1b_fmlm.ckpt",
|
| 50 |
+
"sampling_config": null,
|
| 51 |
+
"source": "flm",
|
| 52 |
+
"source_commit": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 53 |
+
"teacher_adapter": null,
|
| 54 |
+
"teacher_family": "continuous_flm"
|
| 55 |
+
},
|
| 56 |
+
"checkpoint_sha256": "cb096021fda9344c88b184d9b3ac8a0a3bc45e30be7bcc917e024971a9d67395",
|
| 57 |
+
"checkpoint_teacher_family": "continuous_flm",
|
| 58 |
+
"command_sha256": "eb402b16a7fef3f5a67dc05255edf49e448c9704bb08e990e2983703bdd94e91",
|
| 59 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 60 |
+
"completions_per_diversity_prompt": 5,
|
| 61 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 62 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 63 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 64 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 65 |
+
"dataset_id": "lm1b",
|
| 66 |
+
"device": null,
|
| 67 |
+
"diversity_prompt_count": 256,
|
| 68 |
+
"environment": "dlb-flm",
|
| 69 |
+
"evaluation_continuation_length": 64,
|
| 70 |
+
"generation_mode": "conditional_prefix",
|
| 71 |
+
"model_id": "fmlm",
|
| 72 |
+
"prefix_length": 64,
|
| 73 |
+
"prompt_count": 1024,
|
| 74 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 75 |
+
"run_id": "fmlm-lm1b-steps-1",
|
| 76 |
+
"sample_count": 2048,
|
| 77 |
+
"seed": 42,
|
| 78 |
+
"source_sha256": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 79 |
+
"step_count": 1
|
| 80 |
+
},
|
| 81 |
+
"request": {
|
| 82 |
+
"adapter_identity": "dlb.adapters.flm:v2|dlb.adapters.flm:FLMAdapter|c3a6a4573200fecf38a47fc6e7bc78254ca362fff3b96079dc2efa9f8e27aff0",
|
| 83 |
+
"checkpoint_lock_id": "recipe:fmlm_lm1b_official_ckpt:ce8ff6a327d9f1470fef9a7ac66813ac94d4cc50268bc2998627498dc6f3a152",
|
| 84 |
+
"checkpoint_selection": {
|
| 85 |
+
"output": "checkpoints/official/fmlm_ckpt/lm1b",
|
| 86 |
+
"recipe": "fmlm_lm1b_official_ckpt",
|
| 87 |
+
"sampling_checkpoint": "lm1b_fmlm.ckpt",
|
| 88 |
+
"sampling_config": null,
|
| 89 |
+
"source": "flm",
|
| 90 |
+
"source_commit": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 91 |
+
"teacher_adapter": null,
|
| 92 |
+
"teacher_family": "continuous_flm"
|
| 93 |
+
},
|
| 94 |
+
"checkpoint_sha256": "cb096021fda9344c88b184d9b3ac8a0a3bc45e30be7bcc917e024971a9d67395",
|
| 95 |
+
"checkpoint_teacher_family": "continuous_flm",
|
| 96 |
+
"command": null,
|
| 97 |
+
"completion_schedule": "c0:p0-1023;c1-4:p0-255",
|
| 98 |
+
"completions_per_diversity_prompt": 5,
|
| 99 |
+
"conditioning_config_sha256": "89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114",
|
| 100 |
+
"conditioning_manifest": "/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json",
|
| 101 |
+
"conditioning_manifest_sha256": "0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039",
|
| 102 |
+
"config_sha256": "6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f",
|
| 103 |
+
"dataset_id": "lm1b",
|
| 104 |
+
"device": null,
|
| 105 |
+
"diversity_prompt_count": 256,
|
| 106 |
+
"environment": "dlb-flm",
|
| 107 |
+
"evaluation_continuation_length": 64,
|
| 108 |
+
"generation_mode": "conditional_prefix",
|
| 109 |
+
"model_id": "fmlm",
|
| 110 |
+
"prefix_length": 64,
|
| 111 |
+
"prompt_count": 1024,
|
| 112 |
+
"results_root": "/home/ruizzhao/diffusion_baseline/results/conditional",
|
| 113 |
+
"run_id": "fmlm-lm1b-steps-1",
|
| 114 |
+
"sample_count": 2048,
|
| 115 |
+
"seed": 42,
|
| 116 |
+
"source_sha256": "a1918d5164e5038e37d0b7a4fb2010ce75b863b3",
|
| 117 |
+
"step_count": 1
|
| 118 |
+
},
|
| 119 |
+
"started_at": "2026-08-25T12:51:02.713061Z"
|
| 120 |
+
}
|
results/conditional/samples/lm1b/fmlm/steps_1/run_metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"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","command":["/opt/anaconda3/envs/dlb-flm/bin/python","-u","-m","dlb.adapters.capture","--upstream-entrypoint=/home/ruizzhao/diffusion_baseline/upstreams/flm/main.py","--capture-path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_token_ids.json","--generation-mode=conditional_prefix","--conditioning-manifest=/home/ruizzhao/diffusion_baseline/data/manifests/conditional-lm1b-c64.json","--conditioning-manifest-sha256=0e5c5bf5b8a1445b348a65045f680ac31713dbfa1e690bedb73e0d1e7472a039","--conditioning-config-sha256=89d70134c4fb1ce21c18e46cfb9753f6cdcd460b879d6e60e99b2c7b56ae5114","--prefix-length=64","--evaluation-continuation-length=64","--prompt-count=1024","--diversity-prompt-count=256","--completions-per-diversity-prompt=5","--completion-schedule=c0:p0-1023;c1-4:p0-255","--","mode=sample_eval","seed=42","data=lm1b-wrap","model=small","model.length=128","loader.batch_size=2","loader.eval_batch_size=16","sampling.num_sample_batches=128","sampling.steps=1","eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/fmlm_ckpt/lm1b/lm1b_fmlm.ckpt","trainer.devices=1","hydra.run.dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra","checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra","+wandb.offline=true","eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_samples.json","algo=fmlm","algo.backbone=dit","eval.disable_ema=False","sampling.solver=euler","algo.double_temb=True","algo.learnable_loss_weighting=False","sampling.gamma=0.8"],"command_sha256":"eb402b16a7fef3f5a67dc05255edf49e448c9704bb08e990e2983703bdd94e91","config_sha256":"6ce963030186c79cab2bc15670737a77ebfad08a0608bc87ee5c54e489ce678f","environment":{"cuda_version":null,"cuda_visible_devices":"4","hostname":"DS210029","platform":"Linux-5.15.0-186-generic-x86_64-with-glibc2.35","python":"3.11.15","torch_version":"2.5.1"},"finished_at":"2026-08-25T12:54:35.677016Z","identity":{"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","checkpoint_teacher_family":"continuous_flm","command_sha256":"eb402b16a7fef3f5a67dc05255edf49e448c9704bb08e990e2983703bdd94e91","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","dataset_id":"lm1b","device":null,"diversity_prompt_count":256,"environment":"dlb-flm","evaluation_continuation_length":64,"generation_mode":"conditional_prefix","model_id":"fmlm","prefix_length":64,"prompt_count":1024,"results_root":"/home/ruizzhao/diffusion_baseline/results/conditional","run_id":"fmlm-lm1b-steps-1","sample_count":2048,"seed":42,"source_sha256":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","step_count":1},"request":{"sample_count":2048},"sample_count":2048,"source_sha256":"a1918d5164e5038e37d0b7a4fb2010ce75b863b3","started_at":"2026-08-25T12:51:02.713061Z","status":"succeeded","stderr_log":"/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/stderr.log","stdout_log":"/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/stdout.log"}
|
results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/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/lm1b/fmlm/steps_1/upstream_hydra
|
| 114 |
+
- hydra.mode=RUN
|
| 115 |
+
task:
|
| 116 |
+
- mode=sample_eval
|
| 117 |
+
- seed=42
|
| 118 |
+
- data=lm1b-wrap
|
| 119 |
+
- model=small
|
| 120 |
+
- model.length=128
|
| 121 |
+
- loader.batch_size=2
|
| 122 |
+
- loader.eval_batch_size=1
|
| 123 |
+
- sampling.num_sample_batches=1
|
| 124 |
+
- sampling.steps=1
|
| 125 |
+
- eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/fmlm_ckpt/lm1b/lm1b_fmlm.ckpt
|
| 126 |
+
- trainer.devices=1
|
| 127 |
+
- checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra
|
| 128 |
+
- +wandb.offline=true
|
| 129 |
+
- eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_samples.json
|
| 130 |
+
- algo=fmlm
|
| 131 |
+
- algo.backbone=dit
|
| 132 |
+
- eval.disable_ema=False
|
| 133 |
+
- sampling.solver=euler
|
| 134 |
+
- algo.double_temb=True
|
| 135 |
+
- algo.learnable_loss_weighting=False
|
| 136 |
+
- sampling.gamma=0.8
|
| 137 |
+
job:
|
| 138 |
+
name: dlb_pinned_upstream_main
|
| 139 |
+
chdir: true
|
| 140 |
+
override_dirname: +wandb.offline=true,algo.backbone=dit,algo.double_temb=True,algo.learnable_loss_weighting=False,algo=fmlm,checkpointing.save_dir=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra,data=lm1b-wrap,eval.checkpoint_path=/home/ruizzhao/diffusion_baseline/checkpoints/official/fmlm_ckpt/lm1b/lm1b_fmlm.ckpt,eval.disable_ema=False,eval.generated_samples_path=/home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_samples.json,loader.batch_size=2,loader.eval_batch_size=1,mode=sample_eval,model.length=128,model=small,sampling.gamma=0.8,sampling.num_sample_batches=1,sampling.solver=euler,sampling.steps=1,seed=42,trainer.devices=1
|
| 141 |
+
id: ???
|
| 142 |
+
num: ???
|
| 143 |
+
config_name: config
|
| 144 |
+
env_set: {}
|
| 145 |
+
env_copy: []
|
| 146 |
+
config:
|
| 147 |
+
override_dirname:
|
| 148 |
+
kv_sep: '='
|
| 149 |
+
item_sep: ','
|
| 150 |
+
exclude_keys: []
|
| 151 |
+
runtime:
|
| 152 |
+
version: 1.3.2
|
| 153 |
+
version_base: '1.3'
|
| 154 |
+
cwd: /home/ruizzhao/diffusion_baseline
|
| 155 |
+
config_sources:
|
| 156 |
+
- path: hydra.conf
|
| 157 |
+
schema: pkg
|
| 158 |
+
provider: hydra
|
| 159 |
+
- path: /home/ruizzhao/diffusion_baseline/upstreams/flm/configs
|
| 160 |
+
schema: file
|
| 161 |
+
provider: main
|
| 162 |
+
- path: ''
|
| 163 |
+
schema: structured
|
| 164 |
+
provider: schema
|
| 165 |
+
output_dir: /home/ruizzhao/diffusion_baseline/results/conditional/samples/lm1b/fmlm/steps_1/upstream_hydra
|
| 166 |
+
choices:
|
| 167 |
+
algo: fmlm
|
| 168 |
+
prior: none
|
| 169 |
+
lr_scheduler: constant_warmup
|
| 170 |
+
noise: log-linear
|
| 171 |
+
strategy: ddp
|
| 172 |
+
model: small
|
| 173 |
+
data: lm1b-wrap
|
| 174 |
+
hydra/env: default
|
| 175 |
+
hydra/callbacks: null
|
| 176 |
+
hydra/job_logging: default
|
| 177 |
+
hydra/hydra_logging: default
|
| 178 |
+
hydra/hydra_help: default
|
| 179 |
+
hydra/help: default
|
| 180 |
+
hydra/sweeper: basic
|
| 181 |
+
hydra/launcher: basic
|
| 182 |
+
hydra/output: default
|
| 183 |
+
verbose: false
|