Skip to content

AI Denoise: Install from file gives no message when the model is rejected #1381

Closed

Description

@radialmonster

Settings ▸ AI Denoise ▸ Install from file… shows nothing when the chosen model is rejected, for example when denoise-model.json is missing or not in the DenoiserManifest schema (docs/denoise.md). Clicking the button, picking the .onnx and getting no dialog and no message reads as "the button does nothing".

In 0.7.1 (701f78e), crates/ui-egui/src/panels/denoise.rs around line 248:

if r.clicked()
    && let Some(path) = app.services.pick_denoise_model.as_mut().and_then(|f| f().into_iter().next())
    && let Ok(info) = app.run("denoise.models.inspect", json!({"path": path}))
{
    app.ui.dialog = Some(crate::state::Dialog::DenoiseModel { info, accepted: false });
}

On Err, App::run only logs the error and writes it to ui.status. Nothing appears in the Settings panel. The background install path already shows its failures there with hint(job["error"]).

Expected: the inspect error is shown in the AI Denoise section, the same way as a failed install, so the user can see why the file was rejected (missing manifest, unknown field, wrong contract, and so on).

Reported on Discord: a model.json from another app's model repo, renamed to denoise-model.json, gives no feedback at all.

Activity

  1. marcoarnulfo commented on Oct 13, 2026

    @marcoarnulfo
    Contributor

    Working on this, PR coming shortly.

  2. KoutsOnTopic commented on Oct 13, 2026

    @KoutsOnTopic

    I was the Discord user with the issue, I tried using the .onnx models in AyedaOk/rawlab-models from hugging face. Both rawdenoise-nind, and rawdenoise-okeinla, taking both the model.json and onnx files from those files in their own respective folder per model. Will try to source my onnx models elsewhere in the future, but have been busy.

  3. marcoarnulfo commented on Oct 13, 2026

    @marcoarnulfo
    Contributor

    Thanks for the details! Those rawlab folders ship their own model.json, which LightCraft doesn't read: it needs a denoise-model.json in its own format (see docs/denoise.md). With #1389, Install from file tells you exactly that instead of silently doing nothing.

  4. added a commit that references this issue on Oct 13, 2026
    0fa8070
  5. bflatastic commented on Oct 13, 2026

    @bflatastic
    Member

    This should be fixed on main by #1389 (landed in #1431) and will be in the next release. Please reopen it if it isn't. Thank you for the report, @radialmonster!


    Generated by Claude Code

  6. added a commit that references this issue on Oct 14, 2026
    e2d8839
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions