Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMADL2CPP
Commits
fe302b1c
Commit
fe302b1c
authored
Mar 08, 2019
by
Christopher Jan-Steffen Brix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installed CuDNN in docker
parent
8f85cfe5
Pipeline
#110034
passed with stage
in 4 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-1
src/test/resources/docker/caffe2/Dockerfile
src/test/resources/docker/caffe2/Dockerfile
+9
-1
No files found.
.gitlab-ci.yml
View file @
fe302b1c
...
...
@@ -43,7 +43,7 @@ integrationMXNetJobLinux:
integrationCaffe2JobLinux
:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/caffe2:v0.0.
3
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/caffe2:v0.0.
4
script
:
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml -Dtest=IntegrationCaffe2Test
...
...
@@ -54,6 +54,8 @@ masterJobWindows:
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml -Dtest=!Integration*
tags
:
-
Windows10
except
:
-
oneclick_nn_training
UnitTestJobLinux
:
...
...
src/test/resources/docker/caffe2/Dockerfile
View file @
fe302b1c
...
...
@@ -58,4 +58,12 @@ RUN apt update
RUN
apt-key adv
--fetch-keys
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
RUN
bash
-c
'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list'
RUN
apt update
RUN
apt
install
-y
cuda-toolkit-9.2
\ No newline at end of file
RUN
apt
install
-y
cuda-toolkit-9.2
ENV
CUDNN_TAR_FILE="cudnn-8.0-linux-x64-v6.0.tgz"
RUN
wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/
${
CUDNN_TAR_FILE
}
RUN
tar
-xzvf
${
CUDNN_TAR_FILE
}
RUN
cp
-P
cuda/include/cudnn.h /usr/local/cuda/include
RUN
cp
-P
cuda/lib64/libcudnn
*
/usr/local/cuda/lib64/
RUN
chmod
a+r /usr/local/cuda/lib64/libcudnn
*
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment