mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-23 15:59:32 +00:00
Added support for finetuning OmniGen2.
This commit is contained in:
@@ -170,6 +170,19 @@ export const modelArchs: ModelArch[] = [
|
||||
},
|
||||
disableSections: ['model.quantize', 'train.timestep_type'],
|
||||
},
|
||||
{
|
||||
name: 'omnigen2',
|
||||
label: 'OmniGen2',
|
||||
defaults: {
|
||||
// default updates when [selected, unselected] in the UI
|
||||
'config.process[0].model.name_or_path': ['OmniGen2/OmniGen2', defaultNameOrPath],
|
||||
'config.process[0].sample.sampler': ['flowmatch', 'flowmatch'],
|
||||
'config.process[0].train.noise_scheduler': ['flowmatch', 'flowmatch'],
|
||||
'config.process[0].model.quantize': [false, false],
|
||||
'config.process[0].model.quantize_te': [true, false],
|
||||
},
|
||||
disableSections: ['network.conv'],
|
||||
},
|
||||
].sort((a, b) => {
|
||||
// Sort by label, case-insensitive
|
||||
return a.label.localeCompare(b.label, undefined, { sensitivity: 'base' })
|
||||
|
||||
Reference in New Issue
Block a user