won81 / accelergy-timeloop-infrastructure

Linux docker for the DNN accelerator exploration infrastructure composed of Accelergy and Timeloop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accelergy-Timeloop Infrastructure

This docker aims to provide an experimental environment for easy plug-and-play of examples that run on the accelergy-timeloop DNN accelerator evaluation infrastructure.

This docker is modified based on: https://github.com/jsemer/timeloop-accelergy-tutorial

Start the container

  • Put the docker-compose.yaml file in an otherwise empty directory
  • Cd to the directory containing the file
  • Edit USER_UID and USER_GID in the file to the desired owner of your files (echo $UID, echo $GID)
  • Run the following command:
      % docker-compose run infrastructure 
  • Follow the instructions in the REAME directory to get public examples for this infrastructure

Refresh the container

To update the Docker container run:

     % docker-compose pull

Build the image

      % git clone --recurse-submodules https://github.com/Accelergy-Project/accelergy-timeloop-infrastucture.git
      % cd accelergy-timeloop-infrastucture
      % export DOCKER_EXE=<name of docker program, e.g., docker>
      % make build [BUILD_FLAGS="<Docker build flags, e.g., --no-cache>"]

Push the image to docker hub

      % cd accelergy-timeloop-infrastucture
      % export DOCKER_NAME=<name of user with push privileges>
      % export DOCKER_PASS=<password of user with push privileges>
      % make push

About

Linux docker for the DNN accelerator exploration infrastructure composed of Accelergy and Timeloop

License:MIT License


Languages

Language:Dockerfile 55.6%Language:Shell 28.5%Language:Makefile 15.9%