Files
Artificial-Sweetener-Simple…/simple_syrup/runtime/sampling_reference_schedules.py
T

284 lines
5.5 KiB
Python

# SimpleSyrup - workflow-focused ComfyUI extensions for image generation
# Copyright (C) 2026 Artificial Sweetener and contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Own reference noise-level tables used by local AYS and GITS schedules."""
from __future__ import annotations
AYS_NOISE_LEVELS: dict[str, tuple[float, ...]] = {
"SD1": (
14.6146412293,
6.4745760956,
3.8636745985,
2.6946151520,
1.8841921177,
1.3943805092,
0.9642583904,
0.6523686016,
0.3977456272,
0.1515232662,
0.0291671582,
),
"SDXL": (
14.6146412293,
6.3184485287,
3.7681790315,
2.1811480769,
1.3405244945,
0.8620721141,
0.5550693289,
0.3798540708,
0.2332364134,
0.1114188177,
0.0291671582,
),
}
GITS_DEFAULT_NOISE_LEVELS: tuple[tuple[float, ...], ...] = (
(14.61464119, 0.803307, 0.02916753),
(14.61464119, 1.56271636, 0.52423614, 0.02916753),
(14.61464119, 2.36326075, 0.92192322, 0.36617002, 0.02916753),
(14.61464119, 2.84484982, 1.24153244, 0.59516323, 0.25053367, 0.02916753),
(
14.61464119,
5.85520077,
2.05039096,
0.95350921,
0.45573691,
0.17026083,
0.02916753,
),
(
14.61464119,
5.85520077,
2.45070267,
1.24153244,
0.64427125,
0.29807833,
0.09824532,
0.02916753,
),
(
14.61464119,
5.85520077,
2.45070267,
1.36964464,
0.803307,
0.45573691,
0.25053367,
0.09824532,
0.02916753,
),
(
14.61464119,
5.85520077,
2.84484982,
1.61558151,
0.95350921,
0.59516323,
0.36617002,
0.19894916,
0.09824532,
0.02916753,
),
(
14.61464119,
5.85520077,
2.84484982,
1.67050016,
1.08895338,
0.74807048,
0.50118381,
0.32104823,
0.19894916,
0.09824532,
0.02916753,
),
(
14.61464119,
5.85520077,
2.95596409,
1.84880662,
1.24153244,
0.83188516,
0.59516323,
0.41087446,
0.27464288,
0.17026083,
0.09824532,
0.02916753,
),
(
14.61464119,
5.85520077,
3.07277966,
1.98035145,
1.36964464,
0.95350921,
0.69515091,
0.50118381,
0.36617002,
0.25053367,
0.17026083,
0.09824532,
0.02916753,
),
(
14.61464119,
6.77309084,
3.46139455,
2.36326075,
1.56271636,
1.08895338,
0.803307,
0.59516323,
0.45573691,
0.34370604,
0.25053367,
0.17026083,
0.09824532,
0.02916753,
),
(
14.61464119,
6.77309084,
3.46139455,
2.45070267,
1.61558151,
1.162866,
0.86115354,
0.64427125,
0.50118381,
0.38853383,
0.29807833,
0.22545385,
0.17026083,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.12350607,
1.51179266,
1.08895338,
0.83188516,
0.64427125,
0.50118381,
0.38853383,
0.29807833,
0.22545385,
0.17026083,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.12350607,
1.51179266,
1.08895338,
0.83188516,
0.64427125,
0.50118381,
0.41087446,
0.32104823,
0.25053367,
0.19894916,
0.13792117,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.12350607,
1.51179266,
1.08895338,
0.83188516,
0.64427125,
0.50118381,
0.41087446,
0.34370604,
0.27464288,
0.22545385,
0.17026083,
0.13792117,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.19988537,
1.61558151,
1.20157266,
0.92192322,
0.72133851,
0.57119018,
0.45573691,
0.36617002,
0.29807833,
0.25053367,
0.19894916,
0.17026083,
0.13792117,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.19988537,
1.61558151,
1.24153244,
0.95350921,
0.74807048,
0.59516323,
0.4783645,
0.38853383,
0.32104823,
0.27464288,
0.22545385,
0.19894916,
0.17026083,
0.13792117,
0.09824532,
0.02916753,
),
(
14.61464119,
7.49001646,
4.65472794,
3.07277966,
2.19988537,
1.61558151,
1.24153244,
0.95350921,
0.74807048,
0.59516323,
0.50118381,
0.41087446,
0.34370604,
0.29807833,
0.25053367,
0.22545385,
0.19894916,
0.17026083,
0.13792117,
0.09824532,
0.02916753,
),
)