https://github.com/GPflow/GPflow
Revision 61088fd9496ee8f574dbadeb4f067719a696f1c7 authored by st-- on 19 June 2018, 13:19:35 UTC, committed by Artem Artemev on 19 June 2018, 13:19:35 UTC
Notebooks are slow to execute. Additional utility functions help to detect where notebook are run and control number of iterations (optimization, standard loops and cetera), therefore minimizing spent time on running notebook integration tests.
1 parent bb08f22
Raw File
Tip revision: 61088fd9496ee8f574dbadeb4f067719a696f1c7 authored by st-- on 19 June 2018, 13:19:35 UTC
Speed up notebooks (#789)
Tip revision: 61088fd
Dockerfile
# Copyright 2016 The GPflow authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#USAGE:
#To run from prebuilt version use:
#docker run -it -p 8888:8888 gpflow/gpflow

#To replicate build use:
#docker build -t gpflow/gpflow .
#Assumes you are running from within cloned repo.

#Uses official Tensorflow docker for cpu only.
FROM tensorflow/tensorflow:1.0.0
COPY ./ /usr/local/GPflow/
RUN cd /usr/local/GPflow && \
    python setup.py develop && \
    rm /notebooks/*  && \
    apt-get clean  && \
    rm -rf /var/lib/apt/lists/*
COPY doc/source/notebooks/ LICENSE README.md /notebooks/
back to top