Nodes/Parametric Studio/SAE Config Validator
ComfyUI Node

SAE Config Validator

Validates SAE configuration parameters. Inputs: sae_path (STRING): The path to the SAE model file. layer (INT): The layer index to analyze. max_layer (INT): The maximum valid layer index for the model. Outputs: valid (BOOLEAN): Whether the configuration is valid. reason (STRING): Explanation of validation result. safe_path (STRING): The validated path (redacted if invalid).

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
SAE Config Validator
    • valid
    • reason
    • safe_path
    ◄sae_path/models/sae/qwen_sae.safetensors►
    ◄layer10►
    ◄max_layer32►
    ◄allowed_dirs/models/sae►
    CategoryParametric/Sampling

    Inputs (4)

    NameTypeDefaultDescription
    sae_pathSTRING/models/sae/qwen_sae.safetensorsSae path. Default /models/sae/qwen_sae.safetensors.
    layerINT100–1000Layer. From 0 to 1000. Default 10.
    max_layerINT321–1000Max layer. From 1 to 1000. Default 32.
    allowed_dirsoptSTRING/models/saeAllowed dirs. Default /models/sae.

    Outputs (3)

    NameTypeDescription
    validBOOLEAN—
    reasonSTRING—
    safe_pathSTRING—