Skip to main content

SamplerSASolver

sampling/custom_sampling/samplers
SamplerSASolver

Example

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

NameTypeStatusConstraintsDefault
modelMODELrequired--
etaFLOATrequiredmin: 0, max: 10, step: 0.011
sde_start_percentFLOATrequiredmin: 0, max: 1, step: 0.0010.2
sde_end_percentFLOATrequiredmin: 0, max: 1, step: 0.0010.8
s_noiseFLOATrequiredmin: 0, max: 100, step: 0.011
predictor_orderINTrequiredmin: 1, max: 63
corrector_orderINTrequiredmin: 0, max: 64
use_peceBOOLEANrequired--
simple_order_2BOOLEANrequired--

Outputs

IndexNameTypeIs ListConnection Reference
0SAMPLERSAMPLERNo["{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?