Giter Club home page Giter Club logo

Comments (4)

moyix avatar moyix commented on April 28, 2024

cc @thakkarparth007 -- can we avoid doing a build here every time? Maybe make it a feature that you enable for developers but otherwise just pull an image from Docker Hub?

from fauxpilot.

thakkarparth007 avatar thakkarparth007 commented on April 28, 2024

Yes, we can remove the build flag. Somehow it hadn't slowed my launches (I think), but taking another look at docker docs it seems --build builds the images even when not needed. So I think we can remove that safely.

from fauxpilot.

NerdHusky avatar NerdHusky commented on April 28, 2024

cc @thakkarparth007 -- can we avoid doing a build here every time? Maybe make it a feature that you enable for developers but otherwise just pull an image from Docker Hub?

Yeah please! And in the meantime, is there something I could do to download the docker image separately and then starting the server without having it redownload again? Like the the models I only downloaded once.

In the other thread, @monik3r in the other did say like:

It seems like you might be timing out while downloading or extracting the docker.io/moyix/triton_with_ft image. You could try to docker pull the image, though that wouldn't change your connection speed with docker.io.

Can someone elaborate on this?

from fauxpilot.

NerdHusky avatar NerdHusky commented on April 28, 2024

Sooo...I made it working in my case with this change in the lauch.sh file:

if [[ "$smaller" == "20.10.2" ]]; then
  # docker compose up $options --parallel 1
  docker compose up $options --remove-orphans --no-recreate
else
  docker-compose up $options --remove-orphans --build
fi;

I'm using NixOS btw, so if someone is interested I could make a pull request to have it packaged in nix. I would also like to improve the setup/iaunch shells scripts with a nice CLI to manage everything.
I don't know if this is a project open to contributions of this kind...

from fauxpilot.

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.