Comments (2)
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.
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)
- Ubuntu 16.04 docker image not building successfully HOT 11
- Can't build Docker image for Ubuntu 20.04 HOT 10
- 22.04 HOT 2
- Unable to locate package lambda-stack-cuda or lambda-server
- Need add video option to driver capbilities to use HW jpeg decoding
- Help with use of the docker image HOT 2
- Issue with the Lambda Stack Docker build / problems fetching from lambdalabs HOT 2
- Ubuntu 18.04 docker image not building successfully
- Question about RTX 2070 Super support on Lambda Stack HOT 2
- dpkg: error: cannot access archive 'libcuda1-dummy_10.0_all.deb': No such file or directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lambda-stack-dockerfiles.