Git Product home page Git Product logo

Comments (12)

jhamman avatar jhamman commented on May 28, 2024 2

I think a logical first step would be to push the pbs, slurm, etc images to docker hub. That will really help simplify things on our end and will be a good first step toward speeding things up in the CI tests. Once that is done, we can go over how to install dependencies.

from dask-jobqueue.

guillaumeeb avatar guillaumeeb commented on May 28, 2024

For the PBS part, I'm trying talk with PBSPro organization to make them improve their images, so that we can depend on it, see http://community.pbspro.org/t/pbs-public-docker-image-improvement/887 discussion.

More generally, do we have some namespace in dockerhub where to put these images, or do we want to host them in user namespaces?

from dask-jobqueue.

mrocklin avatar mrocklin commented on May 28, 2024

from dask-jobqueue.

mrocklin avatar mrocklin commented on May 28, 2024

from dask-jobqueue.

guillaumeeb avatar guillaumeeb commented on May 28, 2024

Thinking about this, because the Travis build time can be quite long.

If we push some of our image to Dockerhub, how will we update them? Will we need to update them?

I see several possibilities:

  • Push images that contains only the non Conda and Dask part, e.g. only the schedulers. We can push a sge-master and sge-slave image, for PBS it is also possible to pus a PBS:14.1.2 image. For Slurm we already do this. We then just install conda on top of that. Slurm is the fatest build, but it still takes close to 300 seconds to build the conda part of the docker image!
  • We build images with scheduler + conda env, without dask (and eventually other key modules).
  • We build images with everything, except dask-jobqueue.

For the two last options: what versions should we pin? Can we still have a kind of automated image build if one of our major dependency is updated (e.g. distributed or dask), or will we have to do it manually? Could we for example rely on requirement.txt to rebuild image only when modified?

from dask-jobqueue.

mrocklin avatar mrocklin commented on May 28, 2024

from dask-jobqueue.

jakirkham avatar jakirkham commented on May 28, 2024

If you're ok not having a solver that is... 😕

from dask-jobqueue.

mrocklin avatar mrocklin commented on May 28, 2024

from dask-jobqueue.

guillaumeeb avatar guillaumeeb commented on May 28, 2024

So you're proposing to have pre-built images with everyting, and just pip update (or the equivalent with conda) key modules like dask and distributed?

Where would we store the Dockerfiles? We would build and push this images manually? How often?

from dask-jobqueue.

mrocklin avatar mrocklin commented on May 28, 2024

from dask-jobqueue.

guillaumeeb avatar guillaumeeb commented on May 28, 2024

As @lesteve mentionned in #215, there is a PBS Docker image tagged correctly available in Dockerhub https://hub.docker.com/r/pbspro/pbspro/tags.

from dask-jobqueue.

lesteve avatar lesteve commented on May 28, 2024

We are now using Docker images on dockerhub thanks to #432, closing.

from dask-jobqueue.

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.