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
723842d3
Commit
723842d3
authored
Mar 07, 2019
by
Christopher Jan-Steffen Brix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added caffe2 tests to pipeline, caffe2 docker image
parent
f6a97730
Pipeline
#109857
failed with stage
in 5 minutes and 7 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
.gitlab-ci.yml
.gitlab-ci.yml
+8
-0
src/test/resources/docker/caffe2/Dockerfile
src/test/resources/docker/caffe2/Dockerfile
+44
-0
No files found.
.gitlab-ci.yml
View file @
723842d3
...
...
@@ -41,6 +41,14 @@ integrationMXNetJobLinux:
only
:
-
oneclick_nn_training
integrationCaffe2JobLinux
:
stage
:
linux
image
:
registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/caffe2:v0.0.1
script
:
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml -Dtest=IntegrationCaffe2Test
only
:
-
oneclick_nn_training
masterJobWindows
:
stage
:
windows
script
:
...
...
src/test/resources/docker/caffe2/Dockerfile
0 → 100644
View file @
723842d3
FROM
maven:3-jdk-8
RUN
apt-get update
RUN
apt-get
install
-y
--no-install-recommends
\
build-essential
\
cmake
\
git
\
libgoogle-glog-dev
\
libgtest-dev
\
libiomp-dev
\
libleveldb-dev
\
liblmdb-dev
\
libopencv-dev
\
libopenmpi-dev
\
libsnappy-dev
\
libprotobuf-dev
\
openmpi-bin
\
openmpi-doc
\
protobuf-compiler
\
python-dev
\
python-pip
RUN
apt-get
install
-y
--no-install-recommends
python-setuptools
RUN
pip
install
\
future
\
numpy
\
protobuf
RUN
apt-get
install
-y
--no-install-recommends
libgflags-dev
ENV
NAME World
ENV
PYTHONPATH="/usr/local"
ENV
PYTHONPATH="${PYTHONPATH}:/pytorch/build"
ENV
PYTHONPATH="${PYTHONPATH}:/usr/bin/python"
ENV
LD_LIBRARY_PATH="/usr/local/lib"
RUN
git clone
--recursive
https://github.com/pytorch/pytorch.git
&&
cd
pytorch
RUN
cd
pytorch
&&
git checkout v0.4.0
RUN
cd
pytorch
&&
git submodule update
--init
RUN
cd
pytorch
&&
mkdir
build
&&
cd
build
RUN
cd
pytorch
&&
cd
build
&&
cmake
-DUSE_MPI
=
OFF ..
RUN
cd
pytorch
&&
cd
build
&&
make
install
RUN
python
-c
'from caffe2.python import core'
2>/dev/null
&&
echo
"Success"
||
echo
"Failure"
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