Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tf-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zoe-apps
tf-gpu
Commits
dcb393fa
Commit
dcb393fa
authored
Sep 12, 2017
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable custom tensorflow, too many errors compiling
parent
2fabaf6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
28 deletions
+28
-28
.gitlab-ci.yml
.gitlab-ci.yml
+19
-19
docker/tensorflow/Dockerfile
docker/tensorflow/Dockerfile
+9
-9
No files found.
.gitlab-ci.yml
View file @
dcb393fa
...
...
@@ -4,25 +4,25 @@ stages:
variables
:
VERSION
:
$CI_BUILD_ID
standalone
:
image
:
docker:latest
stage
:
deploy
before_script
:
-
mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
-
cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
-
mkdir -p $HOME/.docker
-
echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
-
apk update
-
apk add python findutils bash curl
script
:
-
bash build_all.sh
-
python gen_json_standalone.py
-
bash validate_all.sh
artifacts
:
paths
:
-
"
*.json"
only
:
-
master
#
standalone:
#
image: docker:latest
#
stage: deploy
#
before_script:
#
- mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
#
- cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
#
- mkdir -p $HOME/.docker
#
- echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
#
- apk update
#
- apk add python findutils bash curl
#
script:
#
- bash build_all.sh
#
- python gen_json_standalone.py
#
- bash validate_all.sh
#
artifacts:
#
paths:
#
- "*.json"
#
only:
#
- master
google
:
image
:
python:alpine
...
...
docker/tensorflow/Dockerfile
View file @
dcb393fa
...
...
@@ -8,8 +8,8 @@ ENV DEBIAN_FRONTEND noninteractive
# BASELINE
##################################################
RUN
apt-get update
&&
apt-get
install
-y
--force-yes
--no-install-recommends
\
python-pip
\
python-dev
\
python
3
-pip
\
python
3
-dev
\
software-properties-common
\
curl
\
pkg-config
\
...
...
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y --force-yes --no-install-recommends \
swig
\
&&
apt-get clean
RUN
python
-m
pip
install
--upgrade
pip
RUN
python
3
-m
pip
install
--upgrade
pip
##################################################
# JAVA
...
...
@@ -46,7 +46,7 @@ RUN apt-get upgrade -y --force-yes --no-install-recommends bazel
##################################################
# Make sure important packages are installed
##################################################
RUN
pip
install
--upgrade
numpy pandas matplotlib
RUN
pip
3
install
--upgrade
numpy pandas matplotlib
# Running bazel inside a `docker build` command causes trouble, cf:
# https://github.com/bazelbuild/bazel/issues/134
...
...
@@ -79,16 +79,16 @@ WORKDIR /tensorflow
# more difficult to experiment with local changes. Instead, just add
# the built directory to the path.
ENV
CI_BUILD_PYTHON python
ENV
CI_BUILD_PYTHON python
3
RUN
pip
--no-cache-dir
install
wheel
RUN
pip
3
--no-cache-dir
install
wheel
RUN
sed
-i
'\@https://github.com/google/protobuf/archive/0b059a3d8a8f8aa40dde7bea55edca4ec5dfea66.tar.gz@d'
tensorflow/workspace.bzl
RUN
tensorflow/tools/ci_build/builds/configured CPU
\
bazel build
-c
opt
--cxxopt
=
"-D_GLIBCXX_USE_CXX11_ABI=0"
\
tensorflow/tools/pip_package:build_pip_package
&&
\
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/pip
&&
\
pip
--no-cache-dir
install
--upgrade
/tmp/pip/tensorflow-
*
.whl
&&
\
pip
3
--no-cache-dir
install
--upgrade
/tmp/pip/tensorflow-
*
.whl
&&
\
rm
-rf
/tmp/pip
&&
\
rm
-rf
/root/.cache
# Clean up pip wheel and Bazel cache when done.
...
...
@@ -105,7 +105,7 @@ RUN tensorflow/tools/ci_build/builds/configured CPU \
##################################################
# GPy
##################################################
RUN
pip
install
--upgrade
GPy paramz
RUN
pip
3
install
--upgrade
GPy paramz
##################################################
# GPFlow
...
...
@@ -113,7 +113,7 @@ RUN pip install --upgrade GPy paramz
WORKDIR
/opt
RUN
git clone https://github.com/GPflow/GPflow.git
WORKDIR
/opt/GPflow
RUN
python setup.py
install
RUN
python
3
setup.py
install
##################################################
# SETUP ZOE APP
...
...
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