Giter Site home page Giter Site logo

epfl-dcsl / ptf-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 27.76 MB

The main PTF repository for the TF core.

License: Apache License 2.0

Python 40.64% Dockerfile 0.04% Shell 0.47% C++ 48.79% C 0.33% LLVM 0.01% CMake 0.20% Java 0.84% Jupyter Notebook 2.59% Makefile 0.05% Objective-C 0.02% Objective-C++ 0.10% Ruby 0.01% C# 0.01% PHP 0.01% Assembly 0.01% HTML 4.69% Go 1.21% Perl 0.01% Batchfile 0.01%

ptf-system's Introduction

PTF System

Repository contents

  • This contains the TensorFlow-based components for PTF and Persona (the components necessary for this application to work).
  • tensorflow/contrib/gate contains the code for the PTF components.
  • tensorflow/contrib/persona contains the Persona-components.
  • The rest of the code is standard TensorFlow, with some additions for building / compiling we added for our own convenience.
  • This is a paper describing the architectural details of this repository’s work and contributions.
  • To get a full picture of this work, check this paper out in addition to the application below that uses this repository.

Building PTF Persona System

  • The easiest way to do this is in Docker container.
  • In order to replicate the steps outside of the Docker container, you may do the steps in the Dockerfile manually.
./build_container.sh
  • This builds the container with a specific name that is needed by PTF Persona (the Python application).

Using Docker for only building

  • It is possible to just use only the final wheel file built in the Docker container and merely copy that out.
  • To do so, it is recommended that you adjust the base image (Ubuntu Bionic by default) to whatever image of Ubuntu you want to use for binary compatibility. You should do this for both the build and run images.
  • Modify the Dockerfile to remove the second non-build image (the executor one).
  • Make sure your base system has all the packages listed in RUNDEPS in the executor image environment variable.
  • Also make sure you do the pip3 install step too so that you have all of the dependencies.
  • Then run the following command to get the wheel file out of the build image.
docker run --rm -it -v "$(pwd)":/host ptf-system "cp /ptf/pip_pkg/*.whl /host"

You can adjust the mount to copy the wheel file to another location.

Accompanying PTF Persona Application

ptf-system's People

Contributors

samwhitlock avatar

Watchers

James Cloos avatar Edouard Bugnion avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.