Code Monkey home page Code Monkey logo

Comments (4)

wfjsw avatar wfjsw commented on May 21, 2024 1

While the concept looks helpful, the way you proposed will only work under a harsh requirement, where any extension must not share any part of the dependency tree with others. This is practically impossible. Otherwise, you risk messing up the entire cached module tree with duplicated yet conflicting dependency versions, and you cannot really tell what version of the library you are importing.

from stable-diffusion-webui.

love530love avatar love530love commented on May 21, 2024

Thank you for your reply! My main goal is to completely solve the problem that the dependencies of many plugins will conflict with the dependencies of the main project. Do you have any good solutions? Different plugins require different versions of the main project such as Pytorch, onnxruntime, XFormers, and so on. Reinstalling plugins based on their dependencies causes the project to break.
感谢您的回复!我主要的目的是想彻底解决众多插件的依赖会与主项目的依赖相冲突的问题,请问你有没有什么好的解决方案呢?不同插件对主项目比如对Pytorch、onnxruntime、XFormers库版本要求不同,根据插件依赖要求重新安装造成项目瘫痪的问题

from stable-diffusion-webui.

wfjsw avatar wfjsw commented on May 21, 2024

There is not much you can do with these ones containing C extensions.

from stable-diffusion-webui.

jim60105 avatar jim60105 commented on May 21, 2024

Each torch package requires 3.6G of disk space, so you will need 10G for three extensions that require torch.😉

The good solution is that all the extension MUST align its dependencies with the main project.

from stable-diffusion-webui.

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.