parser.add_argument("--default-preview-method",type=str,default=LatentPreviewType.Latent2RGB,metavar="PREVIEW_TYPE",help="Default preview method for sampler nodes.")
parser.add_argument("--default-preview-method",type=str,default=LatentPreviewMethod.Auto,metavar="PREVIEW_METHOD",help="Default preview method for sampler nodes.")
attn_group=parser.add_mutually_exclusive_group()
attn_group.add_argument("--use-split-cross-attention",action="store_true",help="Use the split cross attention optimization instead of the sub-quadratic one. Ignored when xformers is used.")