Coder Social home page Coder Social logo

Docker container? about ai-horde HOT 5 OPEN

haidra-org avatar haidra-org commented on May 20, 2024
Docker container?

from ai-horde.

Comments (5)

wolfgangmeyers avatar wolfgangmeyers commented on May 20, 2024 1

docker image probably shouldn't include models, since there are over 100 of them now. But the worker needs a configuration to automatically download configured models without prompting the user.

from ai-horde.

db0 avatar db0 commented on May 20, 2024

I could, if someone makes one :D

from ai-horde.

manioo8 avatar manioo8 commented on May 20, 2024

@helloeverything1 in the steps for setting up the worker you have to download a 4GB model. what approach would be better for you, having this model included in a docker container, having the container download the model from a slow mirror during the first run, or downloading the model yourself from https://huggingface.co/CompVis/stable-diffusion-v-1-4-original and providing it to the docker image?

from ai-horde.

helloeverything1 avatar helloeverything1 commented on May 20, 2024

I sorta just saw a cool open source project and wanted to help, not sure if I am the best one to make this decision. But I feel like having the container download the model on its first run is probably best for me because its self contained but the image doesn't have to be huge. (IDK if it matters at all for AI but with a mirror files could be updated on its side and the container could update itself)

from ai-horde.

0xdevalias avatar 0xdevalias commented on May 20, 2024

My /2c is that it would kind of depend on the use case of the Dockerfile. I think having a more lightweight one that doesn't include the model directly in it's layers would make a lot of sense for some use cases, but I could see how having the model included and cached within the Docker container's layers could make sense in other use cases.

from ai-horde.

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.