Add support for Z-Image
This commit is contained in:
@@ -583,6 +583,25 @@ export const modelArchs: ModelArch[] = [
|
|||||||
disableSections: ['network.conv'],
|
disableSections: ['network.conv'],
|
||||||
additionalSections: ['model.low_vram', 'model.layer_offloading', 'model.assistant_lora_path'],
|
additionalSections: ['model.low_vram', 'model.layer_offloading', 'model.assistant_lora_path'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'zimage',
|
||||||
|
label: 'Z-Image',
|
||||||
|
group: 'image',
|
||||||
|
defaults: {
|
||||||
|
// default updates when [selected, unselected] in the UI
|
||||||
|
'config.process[0].model.name_or_path': ['Tongyi-MAI/Z-Image', defaultNameOrPath],
|
||||||
|
'config.process[0].model.quantize': [true, false],
|
||||||
|
'config.process[0].model.quantize_te': [true, false],
|
||||||
|
'config.process[0].model.low_vram': [true, false],
|
||||||
|
'config.process[0].train.unload_text_encoder': [false, false],
|
||||||
|
'config.process[0].sample.sampler': ['flowmatch', 'flowmatch'],
|
||||||
|
'config.process[0].train.noise_scheduler': ['flowmatch', 'flowmatch'],
|
||||||
|
'config.process[0].train.timestep_type': ['weighted', 'sigmoid'],
|
||||||
|
'config.process[0].model.qtype': ['qfloat8', 'qfloat8'],
|
||||||
|
},
|
||||||
|
disableSections: ['network.conv'],
|
||||||
|
additionalSections: ['model.low_vram', 'model.layer_offloading'],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'zimage:deturbo',
|
name: 'zimage:deturbo',
|
||||||
label: 'Z-Image De-Turbo (De-Distilled)',
|
label: 'Z-Image De-Turbo (De-Distilled)',
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
VERSION = "0.7.20"
|
VERSION = "0.7.21"
|
||||||
|
|||||||
Reference in New Issue
Block a user