ModelQuantization
enumin packageklyn.genai
public enum ModelQuantization
ModelQuantization

Hub checkpoint variants. Selecting a variant never silently converts weights or falls back to another precision. Availability and executable formats are distinct: each provider checks its own model architecture and tensor encodings. The selector is shared by text and speech models; it does not advertise a device capability by itself. AUTO selects Q8_0 only when its file group is unambiguous.

Example

print(ModelQuantization.Q8_0)

Methods
Modifier and Type Member Description
public override toString
toString() as String
Returns the exact Hub variant name, without the enum type prefix.