AnyFlow: flow map distillation core#2728
Merged
Merged
Conversation
added 5 commits
May 26, 2026 15:41
…re/nvidia-anyflow
Owner
Author
target_anyflow.mp4AnyFlow validation output |
AnyFlow: handle sidecar LoRA param loading
AnyFlow: handle sidecar LoRA param loading (tests)
…re/nvidia-anyflow
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
# Conflicts: # simpletuner/helpers/models/ideogram/quantized_loading.py # tests/test_ideogram_fp8_linear.py
Contributor
Resolved the merge conflicts in commit
|
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 pull request adds support for a new distillation method called "anyflow" across the codebase and documentation. The main changes include implementing the
AnyFlowDistillerclass, registering the new method in the factory and registry, and updating documentation in multiple languages to reflect the new option.Support for the "anyflow" distillation method:
AnyFlowDistillerclass implementing the "anyflow" distillation strategy for flow-matching models, including batch preparation, loss computation, and model-specific requirements. (simpletuner/helpers/distillation/anyflow/distiller.py)simpletuner/helpers/distillation/anyflow/__init__.py,simpletuner/helpers/distillation/factory.py) [1] [2] [3]Documentation updates:
--distillation_methodoption in the training documentation to include "anyflow" in all supported languages. (documentation/OPTIONS.md,documentation/OPTIONS.es.md,documentation/OPTIONS.hi.md,documentation/OPTIONS.ja.md,documentation/OPTIONS.pt-BR.md,documentation/OPTIONS.zh.md) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]These changes enable users to select "anyflow" as a distillation method and provide the necessary implementation and documentation for its use.