SamplerSASolver
sampling/custom_sampling/samplers
SamplerSASolverExample
JSON Example
{
"class_type": "SamplerSASolver",
"inputs": {
"model": [
"node_id",
0
],
"eta": 1,
"sde_start_percent": 0.2,
"sde_end_percent": 0.8,
"s_noise": 1,
"predictor_order": 3,
"corrector_order": 4,
"use_pece": true,
"simple_order_2": true
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model | MODEL | required | - | - |
eta | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
sde_start_percent | FLOAT | required | min: 0, max: 1, step: 0.001 | 0.2 |
sde_end_percent | FLOAT | required | min: 0, max: 1, step: 0.001 | 0.8 |
s_noise | FLOAT | required | min: 0, max: 100, step: 0.01 | 1 |
predictor_order | INT | required | min: 1, max: 6 | 3 |
corrector_order | INT | required | min: 0, max: 6 | 4 |
use_pece | BOOLEAN | required | - | - |
simple_order_2 | BOOLEAN | required | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | SAMPLER | SAMPLER | No | ["{node_id}", 0] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this SamplerSASolver node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
SAMPLER (SAMPLER):["5", 0]
Was this page helpful?