bug: Ideogram 4 frontend generation saves unused steps/cfgScale in metadata and does not recall sampler preset or overrides

Aperta
#10,140 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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:

  1. core_metadata records the unused top-level settings.steps and settings.cfgScale sliders instead of the effective Ideogram 4 preset/override values:

  2. When ideogram4Steps, ideogram4GuidanceScale, and ideogram4Mu overrides are left off (null, i.e. derived from the preset), the preset's effective values are not reflected in steps / cfg_scale:

    • Selecting Turbo (12 steps) (V4_TURBO_12) or Default (20 steps) (V4_DEFAULT_20) runs 12 or 20 steps in ideogram4_denoise, while metadata.steps still records 48 (or whatever the unused top-level settings.steps slider held).
  3. imageRecall.ts does not recall ideogram4_sampler_preset, ideogram4_steps, ideogram4_guidance_scale, ideogram4_mu, or ideogram4_color_palette:

(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.)

Lingua principale
TypeScript
Stelle
29k
Fork
3.1k
Merge medio
4g 2h
PR unite (30g)
208

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di invoke-ai/InvokeAI

Tutte le issue di invoke-ai/InvokeAI

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.