Code Monkey home page Code Monkey logo

Comments (6)

gaocegege avatar gaocegege commented on August 16, 2024

We should choose the corresponding CUDNN and CUDA version according to PyTorch/TF version, I think.

Thus we may need to keep a compatibility table in the MIDI, then try to get the version of TF/Pytorch, then choose the corresponding version.

The syntax maybe

base(gpu = True)

WDYT @VoVAllen

from envd.

gaocegege avatar gaocegege commented on August 16, 2024

In the base case, we make CUDA a separate layer. When we need it we merge it into the base image.

But not sure if it is possible.

At least we keep a base image list in MIDI, and use different layer when choosing different CUDA version

from envd.

gaocegege avatar gaocegege commented on August 16, 2024

https://gitlab.com/nvidia/container-images/cuda/blob/master/dist/11.6.0/ubuntu2004/devel/Dockerfile

It's nvidia/cuda devel dockerfile.

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile

It's tensorflow gpu devel dockerfile

from envd.

VoVAllen avatar VoVAllen commented on August 16, 2024

Currently I'm not sure how user would like to control over the cuda version. I think we can postpone the decision here to the config override part.
Also I don't think it's a good idea to determine cuda version based on PyTorch/TF version. We can specify it explicitly for now.

from envd.

gaocegege avatar gaocegege commented on August 16, 2024

SGTM

from envd.

gaocegege avatar gaocegege commented on August 16, 2024

Fixed in #42

from envd.

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.