Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks Part 2 - TransformerOptionsHook and AdditionalModelsHook #6377

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
72bbf49
Add 'sigmas' to transformer_options so that downstream code can know …
Kosinkadink Dec 29, 2024
bf21be0
Merge branch 'master' into hooks_part2
Kosinkadink Dec 30, 2024
d44295e
Merge branch 'master' into hooks_part2
Kosinkadink Jan 4, 2025
5a2ad03
Cleaned up hooks.py, refactored Hook.should_register and add_hook_pat…
Kosinkadink Jan 4, 2025
776aa73
Refactor WrapperHook into TransformerOptionsHook, as there is no need…
Kosinkadink Jan 4, 2025
111fd0c
Refactored HookGroup to also store a dictionary of hooks separated by…
Kosinkadink Jan 4, 2025
6620d86
In inner_sample, change "sigmas" to "sampler_sigmas" in transformer_o…
Kosinkadink Jan 5, 2025
db2d7ad
Merge branch 'add_sample_sigmas' into hooks_part2
Kosinkadink Jan 5, 2025
8270ff3
Refactored 'registered' to be HookGroup instead of a list of Hooks, m…
Kosinkadink Jan 6, 2025
4446c86
Made hook clone code sane, made clear ObjectPatchHook and SetInjectio…
Kosinkadink Jan 6, 2025
03a97b6
Fix performance of hooks when hooks are appended via Cond Pair Set Pr…
Kosinkadink Jan 6, 2025
0a7e2ae
Filter only registered hooks on self.conds in CFGGuider.sample
Kosinkadink Jan 6, 2025
6463c39
Merge branch 'master' into hooks_part2
Kosinkadink Jan 6, 2025
f48f90e
Make hook_scope functional for TransformerOptionsHook
Kosinkadink Jan 6, 2025
2724ac4
Merge branch 'master' into hooks_part2
Kosinkadink Jan 6, 2025
1b38f5b
removed 4 whitespace lines to satisfy Ruff,
Kosinkadink Jan 6, 2025
58bf881
Add a get_injections function to ModelPatcher
Kosinkadink Jan 7, 2025
216fea1
Made TransformerOptionsHook contribute to registered hooks properly, …
Kosinkadink Jan 7, 2025
11c6d56
Merge branch 'master' into hooks_part2
Kosinkadink Jan 7, 2025
3cd4c5c
Rename AddModelsHooks to AdditionalModelsHook, rename SetInjectionsHo…
Kosinkadink Jan 7, 2025
7333281
Clean up a typehint
Kosinkadink Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading