Add files using upload-large-folder tool
Browse files- NOTICE.md +19 -0
- README.md +98 -0
- SHA256SUMS +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/config.yaml +469 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__1_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__2_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__3_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__1_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__2_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__3_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__1_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__2_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__3_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__1_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__2_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__3_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__1_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__2_0.distcp +0 -0
- checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__3_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/config.yaml +469 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__1_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__2_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__3_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__4_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__5_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__6_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__7_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__1_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__2_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__3_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__4_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__5_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__6_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__7_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__1_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__2_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__3_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__4_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__5_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__6_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__7_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__1_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__2_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__3_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__4_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__5_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__6_0.distcp +0 -0
- checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__7_0.distcp +0 -0
- manifest.json +0 -0
NOTICE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Component attribution
|
| 2 |
+
|
| 3 |
+
## Original CF generator
|
| 4 |
+
|
| 5 |
+
`base_model/chunkwise/causal_forcing.pt` is an unmodified mirror of the original chunkwise Causal Forcing generator released by `zhuhz22/Causal-Forcing`:
|
| 6 |
+
|
| 7 |
+
- Source: https://huggingface.co/zhuhz22/Causal-Forcing
|
| 8 |
+
- Source revision inspected: `2f8eb8bb6eeb1238da9d13e5420d342a74d634a6`
|
| 9 |
+
- Source path: `chunkwise/causal_forcing.pt`
|
| 10 |
+
- SHA256: `cf75ee5cc6f4e2e336c59c973f5544655d8f0aa481761efe6de1b9cb2eb0cd9d`
|
| 11 |
+
- Upstream model card declares Apache-2.0: https://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
The original generator is credited to its upstream authors. Archiving it here does not imply it was trained by the owner of this archive.
|
| 14 |
+
|
| 15 |
+
## CF memory checkpoints
|
| 16 |
+
|
| 17 |
+
The 127 `checkpoints/*/iter_*/model` directories are original model-state files from the five training runs listed in `inventory.json`. They include frozen generator state and trained compressor state. Training configurations are included as provenance. The inference and training code is maintained in https://github.com/a-little-hoof/video-compress .
|
| 18 |
+
|
| 19 |
+
The upstream Apache-2.0 declaration applies to the upstream generator; this notice does not assert a new license for the separately trained compressor weights. Public download availability does not replace the applicable component terms.
|
README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pipeline_tag: text-to-video
|
| 5 |
+
base_model: zhuhz22/Causal-Forcing
|
| 6 |
+
tags:
|
| 7 |
+
- causal-forcing
|
| 8 |
+
- video-compression
|
| 9 |
+
- memory-compression
|
| 10 |
+
- pytorch
|
| 11 |
+
- distributed-checkpoint
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Causal Forcing memory model checkpoints
|
| 15 |
+
|
| 16 |
+
This archive contains all 127 saved model checkpoints from the five original-Causal-Forcing training runs listed below, plus the original chunkwise CF generator used by these runs. Every tensor file is preserved byte-for-byte, with a SHA256 manifest. These are the CF-trained checkpoints used by the original-CF experiments in [a-little-hoof/video-compress](https://github.com/a-little-hoof/video-compress).
|
| 17 |
+
|
| 18 |
+
## Contents
|
| 19 |
+
|
| 20 |
+
| Training run directory | Ratio | Saved checkpoints | Available steps |
|
| 21 |
+
|---|---:|---:|---|
|
| 22 |
+
| `cf-cr10-lr1e4-cos2e5-5k` | 0.1 | 5 | 1000, 2000, 3000, 4000, 5000 |
|
| 23 |
+
| `cf-cr4-lr1e4-restart-10k` | 0.25 | 80 | 125 through 10000, every 125 |
|
| 24 |
+
| `cf-cr4-lr1e4-initial` | 0.25 | 9 | 125 through 1125, every 125 |
|
| 25 |
+
| `cf-cr4-lr2e4` | 0.25 | 32 | 125 through 4000, every 125 |
|
| 26 |
+
| `cf-cr4-smoke-1step` | 0.25 | 1 | 1; smoke test only |
|
| 27 |
+
|
| 28 |
+
The ratios describe the compressor setting. Original run names and each checkpoint's exact files, step, and size are retained in `inventory.json`. The CR4 initial run, restart run, LR2e-4 run, and smoke test are distinct training histories even where step numbers overlap. Availability in this archive is not a claim that every checkpoint was evaluated or is suitable for inference.
|
| 29 |
+
|
| 30 |
+
The raw model checkpoints occupy approximately 721.6 GB; the original generator adds approximately 5.68 GB. Download only the run and iteration you need.
|
| 31 |
+
|
| 32 |
+
```text
|
| 33 |
+
base_model/chunkwise/causal_forcing.pt
|
| 34 |
+
checkpoints/<run>/config.yaml
|
| 35 |
+
checkpoints/<run>/iter_<nine-digit-step>/model/.metadata
|
| 36 |
+
checkpoints/<run>/iter_<nine-digit-step>/model/__<rank>_0.distcp
|
| 37 |
+
inventory.json
|
| 38 |
+
manifest.json
|
| 39 |
+
SHA256SUMS
|
| 40 |
+
NOTICE.md
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
The checkpoint `model` directories use PyTorch Distributed Checkpoint (DCP). They contain both `net.*` generator state and `net_compressor.*` compressor state. Keep `.metadata` and all model shards together. They are not Transformers `from_pretrained` or Diffusers pipeline exports. This is a model-weight archive; optimizer, scheduler, and trainer state are not part of this release, so it does not provide an exact training-resume bundle.
|
| 44 |
+
|
| 45 |
+
Saved `config.yaml` files are retained as training provenance. Their credential fields are empty. They contain original cluster paths that must be adapted for another installation; they are not self-contained portable launch configurations.
|
| 46 |
+
|
| 47 |
+
## Download CR10 at step 2000
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from huggingface_hub import snapshot_download
|
| 51 |
+
|
| 52 |
+
root = snapshot_download(
|
| 53 |
+
repo_id="weihang44/Causal-Forcing-Memory-Checkpoints",
|
| 54 |
+
allow_patterns=[
|
| 55 |
+
"checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/*",
|
| 56 |
+
"checkpoints/cf-cr10-lr1e4-cos2e5-5k/config.yaml",
|
| 57 |
+
"manifest.json",
|
| 58 |
+
],
|
| 59 |
+
local_dir="cf-models",
|
| 60 |
+
)
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
Use the same pattern with a different iteration or training run to retrieve another checkpoint. To download the original generator as well, add `base_model/chunkwise/causal_forcing.pt` to `allow_patterns`.
|
| 64 |
+
|
| 65 |
+
## Load the compressor in the matching inference repository
|
| 66 |
+
|
| 67 |
+
Use the supported inference environment and the source pinned at [video-compress commit bdbf3f2e903392e855638f19b1d555c150904d96](https://github.com/a-little-hoof/video-compress/tree/bdbf3f2e903392e855638f19b1d555c150904d96). Its loader reads DCP checkpoints without requiring the original training world size, extracts `net_compressor.*`, and checks the target state dictionary strictly. It also handles the optional unused AE task embedding in older checkpoints.
|
| 68 |
+
|
| 69 |
+
From that repository root, after downloading the checkpoint:
|
| 70 |
+
|
| 71 |
+
```python
|
| 72 |
+
import sys
|
| 73 |
+
import torch
|
| 74 |
+
|
| 75 |
+
sys.path.insert(0, "scripts/context_compression")
|
| 76 |
+
from generate_compressed_context import build_compressor, load_compressor_weights
|
| 77 |
+
|
| 78 |
+
compressor = build_compressor("1.3B", 0.1, 1024)
|
| 79 |
+
load_compressor_weights(
|
| 80 |
+
compressor,
|
| 81 |
+
"cf-models/checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000",
|
| 82 |
+
)
|
| 83 |
+
compressor = compressor.to(device="cuda", dtype=torch.bfloat16).eval()
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
Use ratio `0.25` for CR4 checkpoints. This loads model weights; generation still requires the CF generator, text encoder, VAE, and the chosen cache policy. Selection-free fullraw21, sink count, and recent-frame count are inference policies, not different checkpoint identities. See the [published CF method and review index](https://github.com/a-little-hoof/video-compress/blob/bdbf3f2e903392e855638f19b1d555c150904d96/CF_MBENCH_REMOTE_REVIEW.md) for the exact evaluated setup and its limitations.
|
| 87 |
+
|
| 88 |
+
## Integrity and provenance
|
| 89 |
+
|
| 90 |
+
`manifest.json` and `SHA256SUMS` cover every uploaded model/config file. Verify the relevant SHA256 entries after downloading. `sha256sum -c SHA256SUMS` verifies the entire archive if all files have been downloaded.
|
| 91 |
+
|
| 92 |
+
The original generator is an unmodified copy of [`zhuhz22/Causal-Forcing`, `chunkwise/causal_forcing.pt`](https://huggingface.co/zhuhz22/Causal-Forcing/blob/2f8eb8bb6eeb1238da9d13e5420d342a74d634a6/chunkwise/causal_forcing.pt):
|
| 93 |
+
|
| 94 |
+
```text
|
| 95 |
+
cf75ee5cc6f4e2e336c59c973f5544655d8f0aa481761efe6de1b9cb2eb0cd9d
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
These CF-trained runs are distinct from the clean RCM/SF-DMD pretrained-rate sweep used in some older reports with similar names. Use the training-run directory, step, and file hashes as the checkpoint identity. See `NOTICE.md` for upstream attribution.
|
SHA256SUMS
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/config.yaml
ADDED
|
@@ -0,0 +1,469 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
checkpoint:
|
| 2 |
+
broadcast_via_filesystem: 'False'
|
| 3 |
+
dcp_allow_mismatched_size: 'False'
|
| 4 |
+
dcp_async_mode_enabled: 'False'
|
| 5 |
+
jit:
|
| 6 |
+
device: cuda
|
| 7 |
+
dtype: bfloat16
|
| 8 |
+
enabled: 'False'
|
| 9 |
+
input_shape: null
|
| 10 |
+
strict: 'True'
|
| 11 |
+
keys_not_to_resume: []
|
| 12 |
+
load_ema_to_reg: 'False'
|
| 13 |
+
load_from_object_store:
|
| 14 |
+
bucket: ''
|
| 15 |
+
credentials: ''
|
| 16 |
+
enabled: 'False'
|
| 17 |
+
load_path: ''
|
| 18 |
+
load_training_state: 'False'
|
| 19 |
+
only_load_scheduler_state: 'False'
|
| 20 |
+
override_optimizer_lr: 'False'
|
| 21 |
+
save_iter: '1000'
|
| 22 |
+
save_to_object_store:
|
| 23 |
+
bucket: ''
|
| 24 |
+
credentials: ''
|
| 25 |
+
enabled: 'False'
|
| 26 |
+
strict_resume: 'False'
|
| 27 |
+
type:
|
| 28 |
+
_target_: <class 'rcm.checkpointers.dcp_distill.DistributedCheckpointer_Distill'>
|
| 29 |
+
callbacks: null
|
| 30 |
+
disable_async: 'False'
|
| 31 |
+
verbose: 'True'
|
| 32 |
+
dataloader_train:
|
| 33 |
+
_target_: <function create_dataloader at 0x7f206cda32e0>
|
| 34 |
+
batch_size: '1'
|
| 35 |
+
max_samples: '0'
|
| 36 |
+
num_workers: '1'
|
| 37 |
+
prefetch_factor: '2'
|
| 38 |
+
sample_offset: '6000'
|
| 39 |
+
shard_shuffle_buffer: '0'
|
| 40 |
+
shuffle_buffer: '0'
|
| 41 |
+
tar_path_pattern: /scratch/wg25/video-compress/datasets/causal_forcing_c3-3_rollout_81920train_256val_seed0/parts/train/part-*/shard-00000.tar
|
| 42 |
+
uniform_shard_samples: '128'
|
| 43 |
+
dataloader_val:
|
| 44 |
+
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
| 45 |
+
batch_sampler: null
|
| 46 |
+
batch_size: '1'
|
| 47 |
+
collate_fn: null
|
| 48 |
+
dataset: <function <lambda> at 0x7f206d0f96c0>
|
| 49 |
+
drop_last: 'False'
|
| 50 |
+
generator: null
|
| 51 |
+
in_order: 'True'
|
| 52 |
+
multiprocessing_context: null
|
| 53 |
+
num_workers: '0'
|
| 54 |
+
persistent_workers: 'False'
|
| 55 |
+
pin_memory: 'False'
|
| 56 |
+
pin_memory_device: ''
|
| 57 |
+
prefetch_factor: null
|
| 58 |
+
sampler: null
|
| 59 |
+
shuffle: null
|
| 60 |
+
timeout: '0'
|
| 61 |
+
worker_init_fn: null
|
| 62 |
+
defaults:
|
| 63 |
+
- _self_
|
| 64 |
+
- trainer: standard
|
| 65 |
+
- data_train: dummy
|
| 66 |
+
- data_val: dummy
|
| 67 |
+
- optimizer: fusedadamw
|
| 68 |
+
- scheduler: lambdalinear
|
| 69 |
+
- callbacks: basic
|
| 70 |
+
- checkpoint: local
|
| 71 |
+
- ckpt_type: dcp
|
| 72 |
+
- model: fsdp_t2v_distill_rcm
|
| 73 |
+
- net: null
|
| 74 |
+
- net_compressor: null
|
| 75 |
+
- net_teacher: null
|
| 76 |
+
- net_causal_teacher: null
|
| 77 |
+
- net_bidirectional_teacher: null
|
| 78 |
+
- net_fake_score: null
|
| 79 |
+
- optimizer_fake_score: fusedadamw
|
| 80 |
+
- conditioner: text_nodrop
|
| 81 |
+
- ema: power
|
| 82 |
+
- tokenizer: wan2pt1_tokenizer
|
| 83 |
+
- experiment: null
|
| 84 |
+
job:
|
| 85 |
+
group: future-sf-cr10-lr1e4-cos2e5
|
| 86 |
+
name: context_compress_causal_forcing_future_sf_c3-3_81920train_cr10_packed_temporal_grid_gbs8_lr1e-4_to2e-5_5000it
|
| 87 |
+
project: Memory_Compression
|
| 88 |
+
wandb_mode: online
|
| 89 |
+
model:
|
| 90 |
+
_recursive_: 'False'
|
| 91 |
+
_target_: <class 'rcm.models.t2v_model_causal.T2VCausalModel'>
|
| 92 |
+
config:
|
| 93 |
+
backward_timesteps:
|
| 94 |
+
- '0.9375'
|
| 95 |
+
- '0.8333333333333334'
|
| 96 |
+
- '0.625'
|
| 97 |
+
bidirectional_guidance: 5.0
|
| 98 |
+
bidirectional_teacher_ckpt: ''
|
| 99 |
+
causal_guidance: 3.0
|
| 100 |
+
causal_teacher_ckpt: ''
|
| 101 |
+
checkpoint:
|
| 102 |
+
bucket: ''
|
| 103 |
+
credentials: ''
|
| 104 |
+
enabled: false
|
| 105 |
+
chunk_t: 3
|
| 106 |
+
compressor_ckpt: ''
|
| 107 |
+
conditioner:
|
| 108 |
+
_target_: <class 'rcm.conditioner.TextConditioner'>
|
| 109 |
+
text:
|
| 110 |
+
_target_: <class 'rcm.conditioner.TextAttr'>
|
| 111 |
+
dropout_rate: '0.0'
|
| 112 |
+
empty_string_embeddings_path: negative_prompt/empty_string_umt5.pt
|
| 113 |
+
input_key:
|
| 114 |
+
- t5_text_embeddings
|
| 115 |
+
use_empty_string: 'False'
|
| 116 |
+
context_compression_ae_weight: 1.0
|
| 117 |
+
context_compression_cacheaware_branch: future
|
| 118 |
+
context_compression_causal_forcing_numerics: true
|
| 119 |
+
context_compression_compressed_context_checkpoint_mode: reentrant
|
| 120 |
+
context_compression_compressor_checkpoint_mode: default
|
| 121 |
+
context_compression_disable_compressed_context_checkpoint: false
|
| 122 |
+
context_compression_history_t: 0
|
| 123 |
+
context_compression_history_t_max: 20
|
| 124 |
+
context_compression_history_t_min: 1
|
| 125 |
+
context_compression_memory_rope_mode: packed_temporal_grid
|
| 126 |
+
context_compression_pad_sampled_history_t: false
|
| 127 |
+
context_compression_prefix_t_values:
|
| 128 |
+
- '3'
|
| 129 |
+
- '6'
|
| 130 |
+
- '9'
|
| 131 |
+
- '12'
|
| 132 |
+
- '15'
|
| 133 |
+
- '18'
|
| 134 |
+
context_compression_rollout_denoise_steps: 4
|
| 135 |
+
context_compression_rollout_detach_history: true
|
| 136 |
+
context_compression_rollout_loss_reduction: mean
|
| 137 |
+
context_compression_rollout_steps: 0
|
| 138 |
+
context_compression_sample_history_t: false
|
| 139 |
+
context_compression_sample_target_start_t: false
|
| 140 |
+
context_compression_static_fixed_noise: false
|
| 141 |
+
context_compression_static_t: -1.0
|
| 142 |
+
context_compression_static_t_values: ''
|
| 143 |
+
context_compression_t_steps: 1,15/16,5/6,5/8,0
|
| 144 |
+
context_compression_target_start_t_max: 0
|
| 145 |
+
context_compression_target_start_t_min: 0
|
| 146 |
+
context_compression_target_t: 3
|
| 147 |
+
context_from_last_step: false
|
| 148 |
+
context_from_last_step_start_chunk: 0
|
| 149 |
+
dcm_skipping_interval_steps: 1
|
| 150 |
+
dcm_total_steps: 48
|
| 151 |
+
df_timestep_strategy: random
|
| 152 |
+
ema:
|
| 153 |
+
enabled: false
|
| 154 |
+
iteration_shift: 0
|
| 155 |
+
rate: 0.1
|
| 156 |
+
fake_score_ckpt: ''
|
| 157 |
+
first_chunk_t: 3
|
| 158 |
+
fsdp_shard_size: 1
|
| 159 |
+
generation_dit_frozen: true
|
| 160 |
+
grad_clip: false
|
| 161 |
+
input_caption_key: prompts
|
| 162 |
+
input_data_key: videos
|
| 163 |
+
input_latent_key: latents
|
| 164 |
+
loss_scale: 100.0
|
| 165 |
+
loss_scale_dmd: 1.0
|
| 166 |
+
loss_scale_fake_score: 1.0
|
| 167 |
+
loss_weighting: none
|
| 168 |
+
max_simulation_steps_fake: 4
|
| 169 |
+
neg_embed_path: ''
|
| 170 |
+
net:
|
| 171 |
+
_target_: <class 'rcm.networks.wan2pt1.WanModel'>
|
| 172 |
+
cross_attn_norm: 'True'
|
| 173 |
+
dim: '1536'
|
| 174 |
+
eps: 1e-06
|
| 175 |
+
ffn_dim: '8960'
|
| 176 |
+
freq_dim: '256'
|
| 177 |
+
in_dim: '16'
|
| 178 |
+
model_type: t2v
|
| 179 |
+
num_heads: '12'
|
| 180 |
+
num_layers: '30'
|
| 181 |
+
out_dim: '16'
|
| 182 |
+
patch_size:
|
| 183 |
+
- '1'
|
| 184 |
+
- '2'
|
| 185 |
+
- '2'
|
| 186 |
+
qk_norm: 'True'
|
| 187 |
+
sac_config:
|
| 188 |
+
determinism_check: default
|
| 189 |
+
every_n_blocks: 1
|
| 190 |
+
mode: block_wise
|
| 191 |
+
text_dim: '4096'
|
| 192 |
+
text_len: '512'
|
| 193 |
+
net_bidirectional_teacher: null
|
| 194 |
+
net_causal_teacher: null
|
| 195 |
+
net_compressor:
|
| 196 |
+
_target_: <class 'rcm.networks.wan2pt1.WanMemoryCompressor'>
|
| 197 |
+
cross_attn_norm: 'True'
|
| 198 |
+
dim: '1536'
|
| 199 |
+
eps: 1e-06
|
| 200 |
+
ffn_dim: '8960'
|
| 201 |
+
freq_dim: '256'
|
| 202 |
+
in_dim: '16'
|
| 203 |
+
max_memory_tokens_per_frame: '1024'
|
| 204 |
+
memory_ratio: '0.1'
|
| 205 |
+
model_type: t2v
|
| 206 |
+
num_heads: '12'
|
| 207 |
+
num_layers: '30'
|
| 208 |
+
out_dim: '16'
|
| 209 |
+
patch_size:
|
| 210 |
+
- '1'
|
| 211 |
+
- '2'
|
| 212 |
+
- '2'
|
| 213 |
+
qk_norm: 'True'
|
| 214 |
+
sac_config:
|
| 215 |
+
determinism_check: default
|
| 216 |
+
every_n_blocks: 1
|
| 217 |
+
mode: block_wise
|
| 218 |
+
text_dim: '4096'
|
| 219 |
+
text_len: '512'
|
| 220 |
+
net_fake_score: null
|
| 221 |
+
optimizer_fake_score:
|
| 222 |
+
_target_: <function get_base_optimizer at 0x7f2078bfa5c0>
|
| 223 |
+
betas:
|
| 224 |
+
- '0.9'
|
| 225 |
+
- '0.99'
|
| 226 |
+
capturable: 'True'
|
| 227 |
+
eps: 1e-08
|
| 228 |
+
lr: '0.0001'
|
| 229 |
+
master_weights: 'True'
|
| 230 |
+
model: null
|
| 231 |
+
optim_type: fusedadam
|
| 232 |
+
weight_decay: '0.1'
|
| 233 |
+
p_D:
|
| 234 |
+
_target_: <class 'rcm.utils.timestep_utils.UniformShift'>
|
| 235 |
+
shift: '5.0'
|
| 236 |
+
p_G:
|
| 237 |
+
_target_: <class 'rcm.utils.timestep_utils.UniformShift'>
|
| 238 |
+
p_mean: '-0.8'
|
| 239 |
+
p_std: '1.6'
|
| 240 |
+
shift: '5.0'
|
| 241 |
+
precision: bfloat16
|
| 242 |
+
rectified_flow_t_scaling_factor: 1000.0
|
| 243 |
+
replayed_training: false
|
| 244 |
+
resolution: 480p
|
| 245 |
+
sample_timestep_shift: 3.0
|
| 246 |
+
sf_backward_timestep_schedules: []
|
| 247 |
+
sf_simulation_steps_per_chunk: []
|
| 248 |
+
shift3_backward: false
|
| 249 |
+
sigma_data: 1.0
|
| 250 |
+
sigma_max: 1600.0
|
| 251 |
+
state_ch: 16
|
| 252 |
+
state_t: 21
|
| 253 |
+
strict_raw_checkpoint_load: true
|
| 254 |
+
student_ckpt: /scratch/wg25/video-compress/assets/checkpoints/Causal-Forcing/chunkwise/causal_forcing.pt
|
| 255 |
+
student_update_freq: 5
|
| 256 |
+
tangent_warmup: 0
|
| 257 |
+
text_encoder_class: umT5
|
| 258 |
+
text_encoder_path: ''
|
| 259 |
+
tokenizer:
|
| 260 |
+
_target_: <class 'rcm.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
|
| 261 |
+
chunk_duration: '81'
|
| 262 |
+
vae_pth: /scratch/wg25/video-compress/assets/checkpoints/Wan2.1_VAE.pth
|
| 263 |
+
training_type: cc_cacheaware_self_forcing
|
| 264 |
+
model_parallel:
|
| 265 |
+
_cpu_offloading_context: null
|
| 266 |
+
async_tensor_model_parallel_allreduce: true
|
| 267 |
+
autocast_dtype: torch.float32
|
| 268 |
+
barrier_with_L1_time: true
|
| 269 |
+
batch_p2p_comm: true
|
| 270 |
+
batch_p2p_sync: true
|
| 271 |
+
bf16: false
|
| 272 |
+
context_parallel_size: 1
|
| 273 |
+
cpu_offloading: false
|
| 274 |
+
cpu_offloading_activations: true
|
| 275 |
+
cpu_offloading_double_buffering: false
|
| 276 |
+
cpu_offloading_num_layers: 0
|
| 277 |
+
cpu_offloading_weights: false
|
| 278 |
+
cross_entropy_fusion_impl: native
|
| 279 |
+
cross_entropy_loss_fusion: false
|
| 280 |
+
deallocate_pipeline_outputs: false
|
| 281 |
+
defer_embedding_wgrad_compute: false
|
| 282 |
+
delay_wgrad_compute: false
|
| 283 |
+
deterministic_mode: false
|
| 284 |
+
enable_autocast: false
|
| 285 |
+
ep_overlap_early_attn_memory_release: false
|
| 286 |
+
expert_model_parallel_size: 1
|
| 287 |
+
expert_tensor_parallel_size: 1
|
| 288 |
+
finalize_model_grads_func: null
|
| 289 |
+
fp16: false
|
| 290 |
+
grad_scale_func: null
|
| 291 |
+
grad_sync_func: null
|
| 292 |
+
gradient_accumulation_fusion: false
|
| 293 |
+
hierarchical_context_parallel_sizes: null
|
| 294 |
+
hybrid_context_parallel: false
|
| 295 |
+
max_seqlen_per_dp_cp_rank: null
|
| 296 |
+
microbatch_group_size_per_vp_stage: 1
|
| 297 |
+
moe_extended_tp: false
|
| 298 |
+
mtp_standalone: false
|
| 299 |
+
no_sync_func: null
|
| 300 |
+
num_microbatches_with_partial_activation_checkpoints: null
|
| 301 |
+
overlap_moe_expert_parallel_comm: false
|
| 302 |
+
overlap_p2p_comm: false
|
| 303 |
+
overlap_p2p_comm_warmup_flush: false
|
| 304 |
+
param_sync_func: null
|
| 305 |
+
params_dtype: torch.float32
|
| 306 |
+
perform_initialization: true
|
| 307 |
+
pipeline_dtype: null
|
| 308 |
+
pipeline_model_parallel_comm_backend: null
|
| 309 |
+
pipeline_model_parallel_size: 1
|
| 310 |
+
sequence_parallel: false
|
| 311 |
+
tensor_model_parallel_size: 1
|
| 312 |
+
timers: null
|
| 313 |
+
tp_comm_atomic_ag: false
|
| 314 |
+
tp_comm_atomic_rs: false
|
| 315 |
+
tp_comm_bootstrap_backend: nccl
|
| 316 |
+
tp_comm_bulk_dgrad: true
|
| 317 |
+
tp_comm_bulk_wgrad: true
|
| 318 |
+
tp_comm_overlap: false
|
| 319 |
+
tp_comm_overlap_ag: true
|
| 320 |
+
tp_comm_overlap_disable_fc1: false
|
| 321 |
+
tp_comm_overlap_disable_qkv: false
|
| 322 |
+
tp_comm_overlap_rs: true
|
| 323 |
+
tp_comm_overlap_rs_dgrad: false
|
| 324 |
+
tp_comm_split_ag: true
|
| 325 |
+
tp_comm_split_rs: true
|
| 326 |
+
use_cpu_initialization: false
|
| 327 |
+
use_ring_exchange_p2p: false
|
| 328 |
+
use_te_rng_tracker: false
|
| 329 |
+
variable_seq_lengths: false
|
| 330 |
+
virtual_pipeline_model_parallel_size: null
|
| 331 |
+
wgrad_deferral_limit: 0
|
| 332 |
+
optimizer:
|
| 333 |
+
_target_: <function get_base_optimizer at 0x7f2078bfa5c0>
|
| 334 |
+
betas:
|
| 335 |
+
- '0.9'
|
| 336 |
+
- '0.999'
|
| 337 |
+
capturable: 'True'
|
| 338 |
+
eps: 1e-08
|
| 339 |
+
lr: '0.0001'
|
| 340 |
+
master_weights: 'True'
|
| 341 |
+
model: null
|
| 342 |
+
optim_type: fusedadam
|
| 343 |
+
weight_decay: '0.01'
|
| 344 |
+
scheduler:
|
| 345 |
+
_target_: <class 'rcm.utils.lr_scheduler.LambdaWarmUpCosineScheduler'>
|
| 346 |
+
cycle_lengths:
|
| 347 |
+
- '5000'
|
| 348 |
+
f_max:
|
| 349 |
+
- '1.0'
|
| 350 |
+
f_min:
|
| 351 |
+
- '0.2'
|
| 352 |
+
f_start:
|
| 353 |
+
- 1e-06
|
| 354 |
+
verbosity_interval: '0'
|
| 355 |
+
warm_up_steps:
|
| 356 |
+
- '100'
|
| 357 |
+
trainer:
|
| 358 |
+
callbacks:
|
| 359 |
+
compile_tokenizer:
|
| 360 |
+
_target_: <class 'rcm.callbacks.compile_tokenizer.CompileTokenizer'>
|
| 361 |
+
compile_after_iterations: '0'
|
| 362 |
+
dynamic: 'False'
|
| 363 |
+
enabled: 'False'
|
| 364 |
+
dataloader_speed:
|
| 365 |
+
_target_: <class 'rcm.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
|
| 366 |
+
every_n: '5'
|
| 367 |
+
save_s3: 'False'
|
| 368 |
+
step_size: '1'
|
| 369 |
+
device_monitor:
|
| 370 |
+
_target_: <class 'rcm.callbacks.device_monitor.DeviceMonitor'>
|
| 371 |
+
every_n: '5'
|
| 372 |
+
log_memory_detail: 'True'
|
| 373 |
+
save_s3: 'False'
|
| 374 |
+
step_size: '1'
|
| 375 |
+
upload_every_n_mul: '10'
|
| 376 |
+
every_n_sample_ema:
|
| 377 |
+
_target_: <class 'rcm.callbacks.every_n_draw_distill.EveryNDrawSample_Distill'>
|
| 378 |
+
every_n: '100000000'
|
| 379 |
+
is_ema: 'True'
|
| 380 |
+
is_image: 'False'
|
| 381 |
+
is_sample: 'True'
|
| 382 |
+
n_sample_to_save: '64'
|
| 383 |
+
num_samples: '2'
|
| 384 |
+
num_sampling_step: '50'
|
| 385 |
+
run_at_start: 'False'
|
| 386 |
+
sample_fix: 'False'
|
| 387 |
+
save_s3: 'False'
|
| 388 |
+
show_all_frames: 'False'
|
| 389 |
+
step_size: '1'
|
| 390 |
+
every_n_sample_reg:
|
| 391 |
+
_target_: <class 'rcm.callbacks.every_n_draw_distill.EveryNDrawSample_Distill'>
|
| 392 |
+
every_n: '100000000'
|
| 393 |
+
is_ema: 'False'
|
| 394 |
+
is_image: 'False'
|
| 395 |
+
is_sample: 'True'
|
| 396 |
+
n_sample_to_save: '64'
|
| 397 |
+
num_samples: '2'
|
| 398 |
+
num_sampling_step: '50'
|
| 399 |
+
run_at_start: 'False'
|
| 400 |
+
sample_fix: 'False'
|
| 401 |
+
save_s3: 'False'
|
| 402 |
+
show_all_frames: 'False'
|
| 403 |
+
step_size: '1'
|
| 404 |
+
grad_clip:
|
| 405 |
+
_target_: <class 'rcm.callbacks.grad_clip.GradClip'>
|
| 406 |
+
clip_norm: '5.0'
|
| 407 |
+
force_finite: 'True'
|
| 408 |
+
heart_beat:
|
| 409 |
+
_target_: <class 'rcm.callbacks.heart_beat.HeartBeat'>
|
| 410 |
+
every_n: '10'
|
| 411 |
+
save_s3: 'False'
|
| 412 |
+
step_size: '1'
|
| 413 |
+
update_interval_in_minute: '20'
|
| 414 |
+
iter_speed:
|
| 415 |
+
_target_: <class 'rcm.callbacks.iter_speed.IterSpeed'>
|
| 416 |
+
every_n: '5'
|
| 417 |
+
hit_thres: '5'
|
| 418 |
+
save_s3: 'False'
|
| 419 |
+
save_s3_every_log_n: '10'
|
| 420 |
+
low_prec:
|
| 421 |
+
_target_: <class 'imaginaire.callbacks.low_precision.LowPrecisionCallback'>
|
| 422 |
+
config: null
|
| 423 |
+
trainer: null
|
| 424 |
+
update_iter: '1'
|
| 425 |
+
manual_gc:
|
| 426 |
+
_target_: <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
|
| 427 |
+
every_n: '5'
|
| 428 |
+
warm_up: '5'
|
| 429 |
+
wandb:
|
| 430 |
+
_target_: <class 'rcm.callbacks.wandb_log.WandbCallback'>
|
| 431 |
+
logging_iter_multipler: '1'
|
| 432 |
+
save_logging_iter_multipler: '10'
|
| 433 |
+
save_s3: 'False'
|
| 434 |
+
wandb_10x:
|
| 435 |
+
_target_: <class 'rcm.callbacks.wandb_log.WandbCallback'>
|
| 436 |
+
logging_iter_multipler: '10'
|
| 437 |
+
save_logging_iter_multipler: '1'
|
| 438 |
+
save_s3: 'False'
|
| 439 |
+
cudnn:
|
| 440 |
+
benchmark: 'True'
|
| 441 |
+
deterministic: 'False'
|
| 442 |
+
ddp:
|
| 443 |
+
broadcast_buffers: 'True'
|
| 444 |
+
find_unused_parameters: 'False'
|
| 445 |
+
static_graph: 'True'
|
| 446 |
+
distributed_parallelism: ddp
|
| 447 |
+
grad_accum_iter: '2'
|
| 448 |
+
grad_scaler_args:
|
| 449 |
+
enabled: 'False'
|
| 450 |
+
logging_iter: '5'
|
| 451 |
+
max_iter: '5000'
|
| 452 |
+
max_val_iter: null
|
| 453 |
+
memory_format: torch.preserve_format
|
| 454 |
+
profiling:
|
| 455 |
+
enable_memory_snapshot: 'False'
|
| 456 |
+
enable_profiling: 'False'
|
| 457 |
+
first_n_rank: '8'
|
| 458 |
+
profile_freq: '1'
|
| 459 |
+
profile_memory: 'True'
|
| 460 |
+
record_shape: 'True'
|
| 461 |
+
with_modules: 'True'
|
| 462 |
+
with_stack: 'True'
|
| 463 |
+
run_validation: 'False'
|
| 464 |
+
seed: '0'
|
| 465 |
+
timeout_period: '999999999'
|
| 466 |
+
type:
|
| 467 |
+
_target_: <class 'rcm.trainers.trainer_distillation.ImaginaireTrainer_Distill'>
|
| 468 |
+
config: null
|
| 469 |
+
validation_iter: '100'
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000001000/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000002000/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000003000/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000004000/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr10-lr1e4-cos2e5-5k/iter_000005000/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/config.yaml
ADDED
|
@@ -0,0 +1,469 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
checkpoint:
|
| 2 |
+
broadcast_via_filesystem: 'False'
|
| 3 |
+
dcp_allow_mismatched_size: 'False'
|
| 4 |
+
dcp_async_mode_enabled: 'False'
|
| 5 |
+
jit:
|
| 6 |
+
device: cuda
|
| 7 |
+
dtype: bfloat16
|
| 8 |
+
enabled: 'False'
|
| 9 |
+
input_shape: null
|
| 10 |
+
strict: 'True'
|
| 11 |
+
keys_not_to_resume: []
|
| 12 |
+
load_ema_to_reg: 'False'
|
| 13 |
+
load_from_object_store:
|
| 14 |
+
bucket: ''
|
| 15 |
+
credentials: ''
|
| 16 |
+
enabled: 'False'
|
| 17 |
+
load_path: ''
|
| 18 |
+
load_training_state: 'False'
|
| 19 |
+
only_load_scheduler_state: 'False'
|
| 20 |
+
override_optimizer_lr: 'False'
|
| 21 |
+
save_iter: '125'
|
| 22 |
+
save_to_object_store:
|
| 23 |
+
bucket: ''
|
| 24 |
+
credentials: ''
|
| 25 |
+
enabled: 'False'
|
| 26 |
+
strict_resume: 'False'
|
| 27 |
+
type:
|
| 28 |
+
_target_: <class 'rcm.checkpointers.dcp_distill.DistributedCheckpointer_Distill'>
|
| 29 |
+
callbacks: null
|
| 30 |
+
disable_async: 'False'
|
| 31 |
+
verbose: 'True'
|
| 32 |
+
dataloader_train:
|
| 33 |
+
_target_: <function create_dataloader at 0x7f3b2a819080>
|
| 34 |
+
batch_size: '1'
|
| 35 |
+
max_samples: '0'
|
| 36 |
+
num_workers: '1'
|
| 37 |
+
prefetch_factor: '2'
|
| 38 |
+
sample_offset: '0'
|
| 39 |
+
shard_shuffle_buffer: '0'
|
| 40 |
+
shuffle_buffer: '0'
|
| 41 |
+
tar_path_pattern: /scratch/wg25/video-compress/datasets/causal_forcing_c3-3_rollout_81920train_256val_seed0/parts/train/part-*/shard-00000.tar
|
| 42 |
+
uniform_shard_samples: '128'
|
| 43 |
+
dataloader_val:
|
| 44 |
+
_target_: <class 'torch.utils.data.dataloader.DataLoader'>
|
| 45 |
+
batch_sampler: null
|
| 46 |
+
batch_size: '1'
|
| 47 |
+
collate_fn: null
|
| 48 |
+
dataset: <function <lambda> at 0x7f3b2a78ad40>
|
| 49 |
+
drop_last: 'False'
|
| 50 |
+
generator: null
|
| 51 |
+
in_order: 'True'
|
| 52 |
+
multiprocessing_context: null
|
| 53 |
+
num_workers: '0'
|
| 54 |
+
persistent_workers: 'False'
|
| 55 |
+
pin_memory: 'False'
|
| 56 |
+
pin_memory_device: ''
|
| 57 |
+
prefetch_factor: null
|
| 58 |
+
sampler: null
|
| 59 |
+
shuffle: null
|
| 60 |
+
timeout: '0'
|
| 61 |
+
worker_init_fn: null
|
| 62 |
+
defaults:
|
| 63 |
+
- _self_
|
| 64 |
+
- trainer: standard
|
| 65 |
+
- data_train: dummy
|
| 66 |
+
- data_val: dummy
|
| 67 |
+
- optimizer: fusedadamw
|
| 68 |
+
- scheduler: lambdalinear
|
| 69 |
+
- callbacks: basic
|
| 70 |
+
- checkpoint: local
|
| 71 |
+
- ckpt_type: dcp
|
| 72 |
+
- model: fsdp_t2v_distill_rcm
|
| 73 |
+
- net: null
|
| 74 |
+
- net_compressor: null
|
| 75 |
+
- net_teacher: null
|
| 76 |
+
- net_causal_teacher: null
|
| 77 |
+
- net_bidirectional_teacher: null
|
| 78 |
+
- net_fake_score: null
|
| 79 |
+
- optimizer_fake_score: fusedadamw
|
| 80 |
+
- conditioner: text_nodrop
|
| 81 |
+
- ema: power
|
| 82 |
+
- tokenizer: wan2pt1_tokenizer
|
| 83 |
+
- experiment: null
|
| 84 |
+
job:
|
| 85 |
+
group: future-sf-scaleup
|
| 86 |
+
name: context_compress_causal_forcing_future_sf_c3-3_81920train_cr4_packed_temporal_grid_gbs8_lr1e-4_10000it
|
| 87 |
+
project: Memory_Compression
|
| 88 |
+
wandb_mode: online
|
| 89 |
+
model:
|
| 90 |
+
_recursive_: 'False'
|
| 91 |
+
_target_: <class 'rcm.models.t2v_model_causal.T2VCausalModel'>
|
| 92 |
+
config:
|
| 93 |
+
backward_timesteps:
|
| 94 |
+
- '0.9375'
|
| 95 |
+
- '0.8333333333333334'
|
| 96 |
+
- '0.625'
|
| 97 |
+
bidirectional_guidance: 5.0
|
| 98 |
+
bidirectional_teacher_ckpt: ''
|
| 99 |
+
causal_guidance: 3.0
|
| 100 |
+
causal_teacher_ckpt: ''
|
| 101 |
+
checkpoint:
|
| 102 |
+
bucket: ''
|
| 103 |
+
credentials: ''
|
| 104 |
+
enabled: false
|
| 105 |
+
chunk_t: 3
|
| 106 |
+
compressor_ckpt: ''
|
| 107 |
+
conditioner:
|
| 108 |
+
_target_: <class 'rcm.conditioner.TextConditioner'>
|
| 109 |
+
text:
|
| 110 |
+
_target_: <class 'rcm.conditioner.TextAttr'>
|
| 111 |
+
dropout_rate: '0.0'
|
| 112 |
+
empty_string_embeddings_path: negative_prompt/empty_string_umt5.pt
|
| 113 |
+
input_key:
|
| 114 |
+
- t5_text_embeddings
|
| 115 |
+
use_empty_string: 'False'
|
| 116 |
+
context_compression_ae_weight: 1.0
|
| 117 |
+
context_compression_cacheaware_branch: future
|
| 118 |
+
context_compression_causal_forcing_numerics: true
|
| 119 |
+
context_compression_compressed_context_checkpoint_mode: reentrant
|
| 120 |
+
context_compression_compressor_checkpoint_mode: default
|
| 121 |
+
context_compression_disable_compressed_context_checkpoint: false
|
| 122 |
+
context_compression_history_t: 0
|
| 123 |
+
context_compression_history_t_max: 20
|
| 124 |
+
context_compression_history_t_min: 1
|
| 125 |
+
context_compression_memory_rope_mode: packed_temporal_grid
|
| 126 |
+
context_compression_pad_sampled_history_t: false
|
| 127 |
+
context_compression_prefix_t_values:
|
| 128 |
+
- '3'
|
| 129 |
+
- '6'
|
| 130 |
+
- '9'
|
| 131 |
+
- '12'
|
| 132 |
+
- '15'
|
| 133 |
+
- '18'
|
| 134 |
+
context_compression_rollout_denoise_steps: 4
|
| 135 |
+
context_compression_rollout_detach_history: true
|
| 136 |
+
context_compression_rollout_loss_reduction: mean
|
| 137 |
+
context_compression_rollout_steps: 0
|
| 138 |
+
context_compression_sample_history_t: false
|
| 139 |
+
context_compression_sample_target_start_t: false
|
| 140 |
+
context_compression_static_fixed_noise: false
|
| 141 |
+
context_compression_static_t: -1.0
|
| 142 |
+
context_compression_static_t_values: ''
|
| 143 |
+
context_compression_t_steps: 1,15/16,5/6,5/8,0
|
| 144 |
+
context_compression_target_start_t_max: 0
|
| 145 |
+
context_compression_target_start_t_min: 0
|
| 146 |
+
context_compression_target_t: 3
|
| 147 |
+
context_from_last_step: false
|
| 148 |
+
context_from_last_step_start_chunk: 0
|
| 149 |
+
dcm_skipping_interval_steps: 1
|
| 150 |
+
dcm_total_steps: 48
|
| 151 |
+
df_timestep_strategy: random
|
| 152 |
+
ema:
|
| 153 |
+
enabled: false
|
| 154 |
+
iteration_shift: 0
|
| 155 |
+
rate: 0.1
|
| 156 |
+
fake_score_ckpt: ''
|
| 157 |
+
first_chunk_t: 3
|
| 158 |
+
fsdp_shard_size: 1
|
| 159 |
+
generation_dit_frozen: true
|
| 160 |
+
grad_clip: false
|
| 161 |
+
input_caption_key: prompts
|
| 162 |
+
input_data_key: videos
|
| 163 |
+
input_latent_key: latents
|
| 164 |
+
loss_scale: 100.0
|
| 165 |
+
loss_scale_dmd: 1.0
|
| 166 |
+
loss_scale_fake_score: 1.0
|
| 167 |
+
loss_weighting: none
|
| 168 |
+
max_simulation_steps_fake: 4
|
| 169 |
+
neg_embed_path: ''
|
| 170 |
+
net:
|
| 171 |
+
_target_: <class 'rcm.networks.wan2pt1.WanModel'>
|
| 172 |
+
cross_attn_norm: 'True'
|
| 173 |
+
dim: '1536'
|
| 174 |
+
eps: 1e-06
|
| 175 |
+
ffn_dim: '8960'
|
| 176 |
+
freq_dim: '256'
|
| 177 |
+
in_dim: '16'
|
| 178 |
+
model_type: t2v
|
| 179 |
+
num_heads: '12'
|
| 180 |
+
num_layers: '30'
|
| 181 |
+
out_dim: '16'
|
| 182 |
+
patch_size:
|
| 183 |
+
- '1'
|
| 184 |
+
- '2'
|
| 185 |
+
- '2'
|
| 186 |
+
qk_norm: 'True'
|
| 187 |
+
sac_config:
|
| 188 |
+
determinism_check: default
|
| 189 |
+
every_n_blocks: 1
|
| 190 |
+
mode: block_wise
|
| 191 |
+
text_dim: '4096'
|
| 192 |
+
text_len: '512'
|
| 193 |
+
net_bidirectional_teacher: null
|
| 194 |
+
net_causal_teacher: null
|
| 195 |
+
net_compressor:
|
| 196 |
+
_target_: <class 'rcm.networks.wan2pt1.WanMemoryCompressor'>
|
| 197 |
+
cross_attn_norm: 'True'
|
| 198 |
+
dim: '1536'
|
| 199 |
+
eps: 1e-06
|
| 200 |
+
ffn_dim: '8960'
|
| 201 |
+
freq_dim: '256'
|
| 202 |
+
in_dim: '16'
|
| 203 |
+
max_memory_tokens_per_frame: '1024'
|
| 204 |
+
memory_ratio: '0.25'
|
| 205 |
+
model_type: t2v
|
| 206 |
+
num_heads: '12'
|
| 207 |
+
num_layers: '30'
|
| 208 |
+
out_dim: '16'
|
| 209 |
+
patch_size:
|
| 210 |
+
- '1'
|
| 211 |
+
- '2'
|
| 212 |
+
- '2'
|
| 213 |
+
qk_norm: 'True'
|
| 214 |
+
sac_config:
|
| 215 |
+
determinism_check: default
|
| 216 |
+
every_n_blocks: 1
|
| 217 |
+
mode: block_wise
|
| 218 |
+
text_dim: '4096'
|
| 219 |
+
text_len: '512'
|
| 220 |
+
net_fake_score: null
|
| 221 |
+
optimizer_fake_score:
|
| 222 |
+
_target_: <function get_base_optimizer at 0x7f3b2e212ac0>
|
| 223 |
+
betas:
|
| 224 |
+
- '0.9'
|
| 225 |
+
- '0.99'
|
| 226 |
+
capturable: 'True'
|
| 227 |
+
eps: 1e-08
|
| 228 |
+
lr: '0.0001'
|
| 229 |
+
master_weights: 'True'
|
| 230 |
+
model: null
|
| 231 |
+
optim_type: fusedadam
|
| 232 |
+
weight_decay: '0.1'
|
| 233 |
+
p_D:
|
| 234 |
+
_target_: <class 'rcm.utils.timestep_utils.UniformShift'>
|
| 235 |
+
shift: '5.0'
|
| 236 |
+
p_G:
|
| 237 |
+
_target_: <class 'rcm.utils.timestep_utils.UniformShift'>
|
| 238 |
+
p_mean: '-0.8'
|
| 239 |
+
p_std: '1.6'
|
| 240 |
+
shift: '5.0'
|
| 241 |
+
precision: bfloat16
|
| 242 |
+
rectified_flow_t_scaling_factor: 1000.0
|
| 243 |
+
replayed_training: false
|
| 244 |
+
resolution: 480p
|
| 245 |
+
sample_timestep_shift: 3.0
|
| 246 |
+
sf_backward_timestep_schedules: []
|
| 247 |
+
sf_simulation_steps_per_chunk: []
|
| 248 |
+
shift3_backward: false
|
| 249 |
+
sigma_data: 1.0
|
| 250 |
+
sigma_max: 1600.0
|
| 251 |
+
state_ch: 16
|
| 252 |
+
state_t: 21
|
| 253 |
+
strict_raw_checkpoint_load: true
|
| 254 |
+
student_ckpt: /scratch/wg25/video-compress/assets/checkpoints/Causal-Forcing/chunkwise/causal_forcing.pt
|
| 255 |
+
student_update_freq: 5
|
| 256 |
+
tangent_warmup: 0
|
| 257 |
+
text_encoder_class: umT5
|
| 258 |
+
text_encoder_path: ''
|
| 259 |
+
tokenizer:
|
| 260 |
+
_target_: <class 'rcm.tokenizers.wan2pt1.Wan2pt1VAEInterface'>
|
| 261 |
+
chunk_duration: '81'
|
| 262 |
+
vae_pth: /scratch/wg25/video-compress/assets/checkpoints/Wan2.1_VAE.pth
|
| 263 |
+
training_type: cc_cacheaware_self_forcing
|
| 264 |
+
model_parallel:
|
| 265 |
+
_cpu_offloading_context: null
|
| 266 |
+
async_tensor_model_parallel_allreduce: true
|
| 267 |
+
autocast_dtype: torch.float32
|
| 268 |
+
barrier_with_L1_time: true
|
| 269 |
+
batch_p2p_comm: true
|
| 270 |
+
batch_p2p_sync: true
|
| 271 |
+
bf16: false
|
| 272 |
+
context_parallel_size: 1
|
| 273 |
+
cpu_offloading: false
|
| 274 |
+
cpu_offloading_activations: true
|
| 275 |
+
cpu_offloading_double_buffering: false
|
| 276 |
+
cpu_offloading_num_layers: 0
|
| 277 |
+
cpu_offloading_weights: false
|
| 278 |
+
cross_entropy_fusion_impl: native
|
| 279 |
+
cross_entropy_loss_fusion: false
|
| 280 |
+
deallocate_pipeline_outputs: false
|
| 281 |
+
defer_embedding_wgrad_compute: false
|
| 282 |
+
delay_wgrad_compute: false
|
| 283 |
+
deterministic_mode: false
|
| 284 |
+
enable_autocast: false
|
| 285 |
+
ep_overlap_early_attn_memory_release: false
|
| 286 |
+
expert_model_parallel_size: 1
|
| 287 |
+
expert_tensor_parallel_size: 1
|
| 288 |
+
finalize_model_grads_func: null
|
| 289 |
+
fp16: false
|
| 290 |
+
grad_scale_func: null
|
| 291 |
+
grad_sync_func: null
|
| 292 |
+
gradient_accumulation_fusion: false
|
| 293 |
+
hierarchical_context_parallel_sizes: null
|
| 294 |
+
hybrid_context_parallel: false
|
| 295 |
+
max_seqlen_per_dp_cp_rank: null
|
| 296 |
+
microbatch_group_size_per_vp_stage: 1
|
| 297 |
+
moe_extended_tp: false
|
| 298 |
+
mtp_standalone: false
|
| 299 |
+
no_sync_func: null
|
| 300 |
+
num_microbatches_with_partial_activation_checkpoints: null
|
| 301 |
+
overlap_moe_expert_parallel_comm: false
|
| 302 |
+
overlap_p2p_comm: false
|
| 303 |
+
overlap_p2p_comm_warmup_flush: false
|
| 304 |
+
param_sync_func: null
|
| 305 |
+
params_dtype: torch.float32
|
| 306 |
+
perform_initialization: true
|
| 307 |
+
pipeline_dtype: null
|
| 308 |
+
pipeline_model_parallel_comm_backend: null
|
| 309 |
+
pipeline_model_parallel_size: 1
|
| 310 |
+
sequence_parallel: false
|
| 311 |
+
tensor_model_parallel_size: 1
|
| 312 |
+
timers: null
|
| 313 |
+
tp_comm_atomic_ag: false
|
| 314 |
+
tp_comm_atomic_rs: false
|
| 315 |
+
tp_comm_bootstrap_backend: nccl
|
| 316 |
+
tp_comm_bulk_dgrad: true
|
| 317 |
+
tp_comm_bulk_wgrad: true
|
| 318 |
+
tp_comm_overlap: false
|
| 319 |
+
tp_comm_overlap_ag: true
|
| 320 |
+
tp_comm_overlap_disable_fc1: false
|
| 321 |
+
tp_comm_overlap_disable_qkv: false
|
| 322 |
+
tp_comm_overlap_rs: true
|
| 323 |
+
tp_comm_overlap_rs_dgrad: false
|
| 324 |
+
tp_comm_split_ag: true
|
| 325 |
+
tp_comm_split_rs: true
|
| 326 |
+
use_cpu_initialization: false
|
| 327 |
+
use_ring_exchange_p2p: false
|
| 328 |
+
use_te_rng_tracker: false
|
| 329 |
+
variable_seq_lengths: false
|
| 330 |
+
virtual_pipeline_model_parallel_size: null
|
| 331 |
+
wgrad_deferral_limit: 0
|
| 332 |
+
optimizer:
|
| 333 |
+
_target_: <function get_base_optimizer at 0x7f3b2e212ac0>
|
| 334 |
+
betas:
|
| 335 |
+
- '0.9'
|
| 336 |
+
- '0.999'
|
| 337 |
+
capturable: 'True'
|
| 338 |
+
eps: 1e-08
|
| 339 |
+
lr: '0.0001'
|
| 340 |
+
master_weights: 'True'
|
| 341 |
+
model: null
|
| 342 |
+
optim_type: fusedadam
|
| 343 |
+
weight_decay: '0.01'
|
| 344 |
+
scheduler:
|
| 345 |
+
_target_: <class 'rcm.utils.lr_scheduler.LambdaWarmUpCosineScheduler'>
|
| 346 |
+
cycle_lengths:
|
| 347 |
+
- '10000'
|
| 348 |
+
f_max:
|
| 349 |
+
- '1.0'
|
| 350 |
+
f_min:
|
| 351 |
+
- '0.5'
|
| 352 |
+
f_start:
|
| 353 |
+
- 1e-06
|
| 354 |
+
verbosity_interval: '0'
|
| 355 |
+
warm_up_steps:
|
| 356 |
+
- '100'
|
| 357 |
+
trainer:
|
| 358 |
+
callbacks:
|
| 359 |
+
compile_tokenizer:
|
| 360 |
+
_target_: <class 'rcm.callbacks.compile_tokenizer.CompileTokenizer'>
|
| 361 |
+
compile_after_iterations: '0'
|
| 362 |
+
dynamic: 'False'
|
| 363 |
+
enabled: 'False'
|
| 364 |
+
dataloader_speed:
|
| 365 |
+
_target_: <class 'rcm.callbacks.dataloading_monitor.DetailedDataLoadingSpeedMonitor'>
|
| 366 |
+
every_n: '5'
|
| 367 |
+
save_s3: 'False'
|
| 368 |
+
step_size: '1'
|
| 369 |
+
device_monitor:
|
| 370 |
+
_target_: <class 'rcm.callbacks.device_monitor.DeviceMonitor'>
|
| 371 |
+
every_n: '5'
|
| 372 |
+
log_memory_detail: 'True'
|
| 373 |
+
save_s3: 'False'
|
| 374 |
+
step_size: '1'
|
| 375 |
+
upload_every_n_mul: '10'
|
| 376 |
+
every_n_sample_ema:
|
| 377 |
+
_target_: <class 'rcm.callbacks.every_n_draw_distill.EveryNDrawSample_Distill'>
|
| 378 |
+
every_n: '100000000'
|
| 379 |
+
is_ema: 'True'
|
| 380 |
+
is_image: 'False'
|
| 381 |
+
is_sample: 'True'
|
| 382 |
+
n_sample_to_save: '64'
|
| 383 |
+
num_samples: '2'
|
| 384 |
+
num_sampling_step: '50'
|
| 385 |
+
run_at_start: 'False'
|
| 386 |
+
sample_fix: 'False'
|
| 387 |
+
save_s3: 'False'
|
| 388 |
+
show_all_frames: 'False'
|
| 389 |
+
step_size: '1'
|
| 390 |
+
every_n_sample_reg:
|
| 391 |
+
_target_: <class 'rcm.callbacks.every_n_draw_distill.EveryNDrawSample_Distill'>
|
| 392 |
+
every_n: '100000000'
|
| 393 |
+
is_ema: 'False'
|
| 394 |
+
is_image: 'False'
|
| 395 |
+
is_sample: 'True'
|
| 396 |
+
n_sample_to_save: '64'
|
| 397 |
+
num_samples: '2'
|
| 398 |
+
num_sampling_step: '50'
|
| 399 |
+
run_at_start: 'False'
|
| 400 |
+
sample_fix: 'False'
|
| 401 |
+
save_s3: 'False'
|
| 402 |
+
show_all_frames: 'False'
|
| 403 |
+
step_size: '1'
|
| 404 |
+
grad_clip:
|
| 405 |
+
_target_: <class 'rcm.callbacks.grad_clip.GradClip'>
|
| 406 |
+
clip_norm: '5.0'
|
| 407 |
+
force_finite: 'True'
|
| 408 |
+
heart_beat:
|
| 409 |
+
_target_: <class 'rcm.callbacks.heart_beat.HeartBeat'>
|
| 410 |
+
every_n: '10'
|
| 411 |
+
save_s3: 'False'
|
| 412 |
+
step_size: '1'
|
| 413 |
+
update_interval_in_minute: '20'
|
| 414 |
+
iter_speed:
|
| 415 |
+
_target_: <class 'rcm.callbacks.iter_speed.IterSpeed'>
|
| 416 |
+
every_n: '5'
|
| 417 |
+
hit_thres: '5'
|
| 418 |
+
save_s3: 'False'
|
| 419 |
+
save_s3_every_log_n: '10'
|
| 420 |
+
low_prec:
|
| 421 |
+
_target_: <class 'imaginaire.callbacks.low_precision.LowPrecisionCallback'>
|
| 422 |
+
config: null
|
| 423 |
+
trainer: null
|
| 424 |
+
update_iter: '1'
|
| 425 |
+
manual_gc:
|
| 426 |
+
_target_: <class 'imaginaire.callbacks.manual_gc.ManualGarbageCollection'>
|
| 427 |
+
every_n: '5'
|
| 428 |
+
warm_up: '5'
|
| 429 |
+
wandb:
|
| 430 |
+
_target_: <class 'rcm.callbacks.wandb_log.WandbCallback'>
|
| 431 |
+
logging_iter_multipler: '1'
|
| 432 |
+
save_logging_iter_multipler: '10'
|
| 433 |
+
save_s3: 'False'
|
| 434 |
+
wandb_10x:
|
| 435 |
+
_target_: <class 'rcm.callbacks.wandb_log.WandbCallback'>
|
| 436 |
+
logging_iter_multipler: '10'
|
| 437 |
+
save_logging_iter_multipler: '1'
|
| 438 |
+
save_s3: 'False'
|
| 439 |
+
cudnn:
|
| 440 |
+
benchmark: 'True'
|
| 441 |
+
deterministic: 'False'
|
| 442 |
+
ddp:
|
| 443 |
+
broadcast_buffers: 'True'
|
| 444 |
+
find_unused_parameters: 'False'
|
| 445 |
+
static_graph: 'True'
|
| 446 |
+
distributed_parallelism: ddp
|
| 447 |
+
grad_accum_iter: '1'
|
| 448 |
+
grad_scaler_args:
|
| 449 |
+
enabled: 'False'
|
| 450 |
+
logging_iter: '5'
|
| 451 |
+
max_iter: '10000'
|
| 452 |
+
max_val_iter: null
|
| 453 |
+
memory_format: torch.preserve_format
|
| 454 |
+
profiling:
|
| 455 |
+
enable_memory_snapshot: 'False'
|
| 456 |
+
enable_profiling: 'False'
|
| 457 |
+
first_n_rank: '8'
|
| 458 |
+
profile_freq: '1'
|
| 459 |
+
profile_memory: 'True'
|
| 460 |
+
record_shape: 'True'
|
| 461 |
+
with_modules: 'True'
|
| 462 |
+
with_stack: 'True'
|
| 463 |
+
run_validation: 'False'
|
| 464 |
+
seed: '0'
|
| 465 |
+
timeout_period: '999999999'
|
| 466 |
+
type:
|
| 467 |
+
_target_: <class 'rcm.trainers.trainer_distillation.ImaginaireTrainer_Distill'>
|
| 468 |
+
config: null
|
| 469 |
+
validation_iter: '100'
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__4_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__5_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__6_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000125/model/__7_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__4_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__5_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__6_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000250/model/__7_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__4_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__5_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__6_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000375/model/__7_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__1_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__2_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__3_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__4_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__5_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__6_0.distcp
ADDED
|
File without changes
|
checkpoints/cf-cr4-lr1e4-initial/iter_000000500/model/__7_0.distcp
ADDED
|
File without changes
|
manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|