Lock Natural Smooth winning defaults (steps=48, cfg=1.3, temp=0.90, speed=0.92)
Browse filesFiles changed (2)
- config.py+3-3
- models/flow_matching.py+3-3
67 unmodified lines68697071727374757667 unmodified lines# Inference defaults (V1 lessons: min_frames=2 prevents short/edge char drop, speed=0.92 crisp)default_speed: float = 0.92min_frames: int = 2default_steps: int = 16default_cfg_scale: float = 2.0default_temperature: float = 0.85@dataclass67 unmodified lines68697071727374757667 unmodified lines# Inference defaults (V1 lessons: min_frames=2 prevents short/edge char drop, speed=0.92 crisp)default_speed: float = 0.92min_frames: int = 2default_steps: int = 48default_cfg_scale: float = 1.3default_temperature: float = 0.90@dataclass
113 unmodified lines114115116117118119120121122113 unmodified linesvector_field: ConvNeXtCFMVectorField,cond: torch.Tensor,prior_mel: Optional[torch.Tensor] = None,steps: int = 16,cfg_scale: float = 2.0,temperature: float = 0.85,) -> torch.Tensor:"""Euler OT-CFM ODE sampler with Classifier-Free Guidance (CFG)."""bsz, _, t_mel = cond.shape113 unmodified lines114115116117118119120121122113 unmodified linesvector_field: ConvNeXtCFMVectorField,cond: torch.Tensor,prior_mel: Optional[torch.Tensor] = None,steps: int = 48,cfg_scale: float = 1.3,temperature: float = 0.90,) -> torch.Tensor:"""Euler OT-CFM ODE sampler with Classifier-Free Guidance (CFG)."""bsz, _, t_mel = cond.shape
config.py+3-3
models/flow_matching.py+3-3