Giter Club home page Giter Club logo

Comments (5)

strickvl avatar strickvl commented on June 18, 2024

Thanks for this report. I'll take a look and get back to you when I have more of an understanding of how we might address it.

from zenml.

patricksavill avatar patricksavill commented on June 18, 2024

Thank you.
From the brief dive down into the ZenML code I can see that volumes are being passed to the container, and hopefully it's simple enough for that to be an extendable list which a user can append volumes to through LocalDockerOrchestratorSettings

from zenml.

patricksavill avatar patricksavill commented on June 18, 2024

Any update on this, is it feasible?

from zenml.

schustmi avatar schustmi commented on June 18, 2024

Can you try this with the zenml>=0.43.0? I think this merging was already implemented/fixed in this release.

from zenml.

patricksavill avatar patricksavill commented on June 18, 2024

Hi @schustmi , thank you for the suggestion.

I'm running 0.44.3 now and confirm it works with the requirement that volumes are specified as a dict, lists are not supported due to the call of docker_volumes.update(volumes) in local_docker_orchestrator.py.

So running the above script I needed to specify:

settings = {
    "orchestrator.local_docker": LocalDockerOrchestratorSettings(
        run_args={"volumes": {"/home/patrick/vol-test/": {"bind":"/mnt/testing", "mode": "rw"}}}
    )
}

from zenml.

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.