Cache latents#304
Merged
sgreenbury merged 20 commits intomainfrom Mar 30, 2026
Merged
Conversation
0054e05 to
316aec2
Compare
- Add rollout_test_dataloader to EncodedDataModule so eval rollout path
works with cached-latent datamodules
- Save autoencoder_config.yaml to the cache output dir so the decoder
can be reconstructed at eval time without a separate flag
- Add processor.ckpt to infer_eval_checkpoint candidates so autocast eval
finds the checkpoint automatically from a processor workdir
- Refactor run_evaluation to support three eval modes:
Mode 1 (ambient space): reconstruct full EPD from autoencoder
checkpoint + processor checkpoint when eval is run from the ae
workdir with eval.checkpoint pointing at processor.ckpt
Mode 2 (data space via decoder): load decoder from
autoencoder_config.yaml in the cache dir; decode latent predictions
and ground truth before computing metrics and rendering videos
Fallback: latent-space evaluation when no decoder is available
- Widen type annotations in _render_rollouts, _parameter_count_rows,
_evaluation_metadata_rows, and _collect_benchmark_rows to accept
ProcessorModel / ProcessorModelEnsemble
b7637fa to
80323ab
Compare
- Revert to predict without ensemble dim - Update build_eval_predict_fn to handl ensemble dim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for: