Giter Site home page Giter Site logo

Comments (2)

jlphillipsphd avatar jlphillipsphd commented on August 18, 2024

Doing a little more digging, I am suspecting the problem is arising from a version mismatch between the library package (libcudnn7) and the license package (cudnn-license).

I have a Lambda Workstation running the Ubuntu 20.04 Lambda Stack, and it reports the following:

jphillips@raziel:~/Docker/lambda-stack-dockerfiles$ dpkg-query -l cudnn-license
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Architecture Description
+++-==============-==============-============-=============================================================
ii  cudnn-license  8.0.4-0lambda1 all          NVIDIA CUDA deep neural network, run-time libraries (license)
jphillips@raziel:~/Docker/lambda-stack-dockerfiles$ dpkg-query -l libcudnn*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version        Architecture Description
+++-==================-==============-============-===================================================
ii  libcudnn-dev:amd64 7.6.5-0lambda1 amd64        NVIDIA CUDA deep neural network, development files
ii  libcudnn7:amd64    7.6.5-0lambda1 amd64        NVIDIA CUDA deep neural network, run-time libraries
jphillips@raziel:~/Docker/lambda-stack-dockerfiles$ 

It appears that the libcudnn7 and libcudnn-dev packages are at version 7.6.5, but the cudnn-license packages is at 8.0.4.

Using this information, I pruned down the Dockerfile to just install libcudnn7 and cudnn-license to allow for quick reproduction of the problem (attached below also with another log of the failed build).
build-minimal.log
Dockerfile.txt

Will report back with more info soon... I think I may be close to working it out.

from lambda-stack-dockerfiles.

jlphillipsphd avatar jlphillipsphd commented on August 18, 2024

I found a workaround that allows the container to build even with the mismatch by setting the exact license for both the v7 packages and the v8 package. The generic license_preseed option is getting accepted by either the v7 or v8, but not both during builds without this approach. So, I've just added them both. The resulting changes are in PR #10

I understand if this would rather get solved in some other way (such as syncing the versions in the repo eventually) instead of this approach, but at the moment I -really- needed a container for my deployment and this does the job.

from lambda-stack-dockerfiles.

Related Issues (11)

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.