* Previewer refactors Support visual previews for ACE-Step Allow setting dtype for previewer model Allow scaling q/k/v input and output for Sage * Start updating docs and example configuration files * Add slice blend modes * Rewrite blend mode system. More blend modes. Added BlehCFGInitSampler. Basic Sparge Attention support. Make samplers a bit more compatible with wrapping wrappers. * Add probinject and probsubtract_b blend modes Add BlehLatentAsImage and BlehImageAsLatent nodes * Add BlehModelPatchFastTerminate node Update docs/changelog Add cosinesimilarity blend modes (basically SLERP) * Remove some dead code
30 lines
601 B
Python
30 lines
601 B
Python
import sys
|
|
|
|
import nodes
|
|
|
|
from . import py
|
|
from .py import settings
|
|
from .py.nodes import samplers
|
|
|
|
BLEH_VERSION = 2
|
|
|
|
|
|
settings.load_settings()
|
|
|
|
from .py.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
|
|
def blep_init():
|
|
bi = sys.modules.get("_blepping_integrations", {})
|
|
if "bleh" in bi:
|
|
return
|
|
bi["bleh"] = sys.modules[__name__]
|
|
sys.modules["_blepping_integrations"] = bi
|
|
nodes._blepping_integrations = bi # noqa: SLF001
|
|
samplers.add_sampler_presets()
|
|
|
|
|
|
blep_init()
|
|
|
|
__all__ = ("BLEH_VERSION", "NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "py")
|