GithubHelp home page GithubHelp logo

Comments (6)

bo0tzz avatar bo0tzz commented on September 27, 2024 1

If you're changing the ML model around then it's expected to have a bunch of them cached in the model cache, you can clean up the ones you're not using anymore manually.

@mertalev is the large openvino conversion expected?
45G ./immich_model-cache/_data/clip/ViT-g-14__laion2b-s12b-b42k/openvino

from immich.

mertalev avatar mertalev commented on September 27, 2024 1

In general, we just provide a cache folder for OpenVINO; how it gets used is totally up to them.

If it failed a few times (like from a timeout), then there might be duplicate blobs in there. It could also decide that something's different about its environment and it needs to recompile parts (or all) of the model, storing each variant in the cache.

You can delete the openvino folder and restart the service to see how big a clean set of cache blobs is. If it keeps increasing with each restart then that'd be unexpected.

from immich.

kiwijunglist avatar kiwijunglist commented on September 27, 2024

Thanks, I thought I would keep them until I find out if any investigation is required.

from immich.

kiwijunglist avatar kiwijunglist commented on September 27, 2024

Thanks

I deleted the unused models
I deleted all the .blob files in the used model

Restarted containers and everything is working ok, including smart search.

from immich.

kiwijunglist avatar kiwijunglist commented on September 27, 2024

Hi

If I want to mount the immich_mode-cache folder out of the docker volumes and into an externally mounted directory, what is the best way to do that? Thank you.

from immich.

mertalev avatar mertalev commented on September 27, 2024

You can change the model-cache:/cache line to <insert-host-path-here>:/cache.

from immich.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.