bug: Ideogram 4 frontend generation saves unused steps/cfgScale in metadata and does not recall sampler preset or overrides
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Start with webv2/src/features/generation/core/graph.ts and graphBuilder.ts to trace Ideogram 4 graph inputs and metadata, then read webv2/src/workbench/image-actions/imageRecall.ts for model tuning recall. Check GenerateRenderSection.tsx for the generic controls that remain available. Done when metadata reflects the effective preset and overrides, and Recall All or Remix restores the Ideogram 4 settings described in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
When generating with Ideogram 4 from the frontend Generate tab (webv2), selecting a different Sampler Preset (V4_QUALITY_48 = 48 steps, V4_DEFAULT_20 = 20 steps, V4_TURBO_12 = 12 steps) or toggling the Ideogram 4 Steps / Guidance / Mu overrides runs ideogram4_denoise with the chosen preset/overrides, but the saved image metadata and metadata recall have three related issues:
-
core_metadatarecords the unused top-levelsettings.stepsandsettings.cfgScalesliders instead of the effective Ideogram 4 preset/override values:- In
invokeai/frontend/webv2/src/features/generation/core/graph.ts(buildIdeogram4Graph, lines 1828–1863),ideogram4_denoiseis wired withsampler_preset: settings.ideogram4SamplerPresetand optionalsteps: settings.ideogram4Steps,guidance_scale: settings.ideogram4GuidanceScale, andmu: settings.ideogram4Mu. It never uses the genericsettings.stepsorsettings.cfgScalefields. - However,
addMetadataininvokeai/frontend/webv2/src/features/generation/core/graphBuilder.ts(lines 151–169) always writessteps: settings.stepsandcfg_scale: settings.cfgScale, andbuildIdeogram4Graphdoes not overridestepsorcfg_scalewith the effective preset/override values. - Additionally, in
GenerateRenderSection.tsx(lines 639–677, 727, 752), the genericStepsandCFG Scalescrubbers (and header badge) remain visible and editable forideogram-4even thoughbuildIdeogram4Graphignores them in favor of<Ideogram4SamplingFields>.
- In
-
When
ideogram4Steps,ideogram4GuidanceScale, andideogram4Muoverrides are left off (null, i.e. derived from the preset), the preset's effective values are not reflected insteps/cfg_scale:- Selecting
Turbo (12 steps)(V4_TURBO_12) orDefault (20 steps)(V4_DEFAULT_20) runs 12 or 20 steps inideogram4_denoise, whilemetadata.stepsstill records48(or whatever the unused top-levelsettings.stepsslider held).
- Selecting
-
imageRecall.tsdoes not recallideogram4_sampler_preset,ideogram4_steps,ideogram4_guidance_scale,ideogram4_mu, orideogram4_color_palette:- In
invokeai/frontend/webv2/src/workbench/image-actions/imageRecall.ts(getMetadataModelTuning, lines 539–613), per-family tuning recall handlesflux,z-image,qwen-image,krea-2,moss-image, andanima, but has no handler formodel.base === 'ideogram-4'. - Clicking Recall All or Remix on an Ideogram 4 image only restores
values.stepsandvalues.cfgScale(the inert sliders) and does not restoreideogram4SamplerPreset,ideogram4Steps,ideogram4GuidanceScale,ideogram4Mu, orideogram4ColorPalette.
- In
(Note: In PR #10083, Ideogram4DenoiseInvocation._build_metadata() on the backend already computes steps and cfg_scale/guidance from PRESETS[self.sampler_preset] and any active steps/guidance_scale/mu overrides, so once frontend graph builders drop core_metadata or buildIdeogram4Graph / imageRecall.ts are updated, the saved and recalled values will match what actually ran.)
- Lenguaje dominante
- TypeScript
- Estrellas
- 29k
- Forks
- 3.1k
- Merge medio
- 4 d 2 h
- PR fusionados (30 d)
- 208
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de invoke-ai/InvokeAI
-
[bug]: upload_image resize_to is documented as a stringified tuple, but only a JSON object with width and height is acceptedPosiblemente ocupada @GuilhermeAAV la tomó hace 8 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
invoke-ai/InvokeAI#10047 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
[enhancement]: Bump PyPatchMatch to latestPosiblemente ocupada @dunkeroni la tomó hace 20 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
invoke-ai/InvokeAI#9826 · 2 reacciones · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 2 días
Todos los issues de invoke-ai/InvokeAI
Issues similares
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Website: the hero tip's video play() has no catch, so a refused play is an unhandled rejectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
liberation-data/drivine#615 ·
Los mantenedores suelen responder en 1 día
-
backend bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3639 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
radius-project/ai-extensions#1196 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100