pub struct MossDefaults {
pub height: usize,
pub width: usize,
pub steps: usize,
pub cfg: f32,
pub shift: f32,
pub negative_prompt: String,
pub max_sequence_length: usize,
pub uncond_skip_layers: Vec<usize>,
}Expand description
The portable defaults serialized by the MOSS packer. The source release uses 1024², 50 flow-matching Euler steps, CFG 3, shift 5, and skips main layer 22 only for the unconditional pass.
Fields§
§height: usize§width: usize§steps: usize§cfg: f32§shift: f32§negative_prompt: String§max_sequence_length: usize§uncond_skip_layers: Vec<usize>Implementations§
Trait Implementations§
Source§impl Clone for MossDefaults
impl Clone for MossDefaults
Source§impl Debug for MossDefaults
impl Debug for MossDefaults
Auto Trait Implementations§
impl Freeze for MossDefaults
impl RefUnwindSafe for MossDefaults
impl Send for MossDefaults
impl Sync for MossDefaults
impl Unpin for MossDefaults
impl UnsafeUnpin for MossDefaults
impl UnwindSafe for MossDefaults
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more