Skip to content

Updating a backend seem not replace the previous version #8118

@SuperPat45

Description

@SuperPat45

LocalAI version:
localai/localai:latest-gpu-nvidia-cuda-12

Environment, CPU architecture, OS, and Version:
Ubuntu 24.10

Describe the bug
After restarting docker with the new version 3.10,
I downloaded the ltx-2 model to try the video generation
But logs show an error with the diffuser backend.
So I update the backend in the backend page.
The error is the same. This is proof that he did not delete the old backend version.
I uninstall the backend, then install it again.
The error disappear.

To Reproduce
It seems that updated an outdated backend in the backend page does it but does not replace the older version.

Expected behavior
Updating a backend should remove the previous version totally.

Logs

Additional context
More other backend management would be easier if:

  1. Add a tag appears in the table of the backends page when a backend is outdated.
  2. Add an "update all" button in the backends page.
  3. Add a notification in the home page when new versions of installed backend available.
  4. When we install an incompatible model with the current installed backend version, ask for a backend update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions