fix(release): satisfy RES4LYF publication contracts

This commit is contained in:
Artificial Sweetener
2026-09-29 13:16:28 -04:00
parent 7b1efef47e
commit 04dc35af00
5 changed files with 13 additions and 5 deletions
-2
View File
@@ -8,6 +8,4 @@ yapf>=0.43.0
huggingface-hub>=0.34.0
keyring>=25.0.0
mpmath>=1.3.0
einops>=0.8.0
PyWavelets>=1.6.0
scipy>=1.11.0
@@ -26,6 +26,8 @@ EXPECTED_RUNTIME_REQUIREMENTS = (
"yapf",
"huggingface-hub",
"keyring",
"mpmath",
"pywavelets",
)
EXPECTED_RELEASE_IDENTITY = (
"GIT_AUTHOR_NAME: Daisy",
@@ -1,3 +1,7 @@
# SimpleSyrup - workflow-focused ComfyUI extensions for image generation
# Copyright (C) 2026 Artificial Sweetener and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Verify RES4LYF selection survives contextual and tiled model composition."""
from __future__ import annotations
+6 -2
View File
@@ -1,3 +1,7 @@
# SimpleSyrup - workflow-focused ComfyUI extensions for image generation
# Copyright (C) 2026 Artificial Sweetener and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Prove pinned RES4LYF method registration and solver binding parity."""
from __future__ import annotations
@@ -24,7 +28,7 @@ from simple_syrup.third_party.res4lyf_runtime.beta.rk_coefficients_beta import (
SOURCE_REVISION = "3d1d69da69ee47f7647d59e1bd0967e472fccc41"
SOLVER_SOURCE_SHA256 = (
"96c237a234da7486b597c12cf23f15229403698b6a6cb00d5d47ebdf249a5c51"
"7e1cd8c1be32b4ec0f8efe827954ab96b529143fef00915f1faa7034908f8f88"
)
SOLVER_SOURCE_FILES = (
"helper.py",
@@ -55,7 +59,7 @@ def test_pinned_solver_source_matches_upstream_with_one_recorded_fix() -> None:
digest = hashlib.sha256()
for relative_path in SOLVER_SOURCE_FILES:
digest.update(relative_path.encode())
source = (root / relative_path).read_bytes()
source = (root / relative_path).read_bytes().replace(b"\r\n", b"\n")
if relative_path == "beta/rk_coefficients_beta.py":
branch = source.index(b'case "res_8s_alt"')
corrected = b" ci = [c1, c2, c3, c4, c5, c6, c7, c8]"
+1 -1
View File
@@ -12,7 +12,7 @@ SimpleSyrup vendors selected GroundingDINO runtime files under Apache-2.0 for pr
## RES4LYF samplers and schedulers
ClownsharkBatwing and the RES4LYF contributors developed the Runge-Kutta and exponential solver methods included here. SimpleSyrup includes the solver modules and `bong_tangent` scheduler from revision `3d1d69da69ee47f7647d59e1bd0967e472fccc41` under AGPL-3.0. The `beta57` preset, recorded from revision `1c9bf61`, uses ComfyUI's beta scheduler with `alpha=0.5` and `beta=0.7`. SimpleSyrup exposes these methods and schedules through its KSampler inputs without registering RES4LYF nodes or changing ComfyUI's global sampler or scheduler registries. Source paths and copied files are recorded in the manifest.
ClownsharkBatwing and the RES4LYF contributors developed the Runge-Kutta and exponential solver methods included here. SimpleSyrup includes the solver modules and `bong_tangent` scheduler from revision `3d1d69da69ee47f7647d59e1bd0967e472fccc41` under AGPL-3.0. The `beta57` preset, recorded from revision `1c9bf61`, uses ComfyUI's beta scheduler with `alpha=0.5` and `beta=0.7`. SimpleSyrup exposes these methods and schedules through its KSampler inputs without registering RES4LYF nodes or changing ComfyUI's global sampler or scheduler registries. The manifest records them as `RES4LYF sampler methods` and `RES4LYF beta57 scheduler preset`, with their source paths and copied files.
The `res_8s_alt` coefficient branch initializes `ci` before using it; the pinned upstream branch leaves that assignment commented out and raises `UnboundLocalError`. The `linear/rk5_7s` menu option runs with Bongmath disabled because the pinned upstream default produces non-finite values on an ordinary two-step sigma grid. The local RES4LYF license copy includes the upstream LICENSE's commercial-service paragraph followed by the GNU AGPL version 3 text.