Giter Site home page Giter Site logo

nn-meter-backend-ssh's Introduction

nn-Meter SSH-TFLite backend

Description

  • nn-Meter is a novel and efficient system to accurately predict the inference latency of DNN models on diverse edge devices.
  • While building per-device CNN kernel latency predictor, nn-Meter requires Backend which is responsible of running latency benchmarking on specific device
  • Android-specific latency benchmark backend tflite_cpu was already present on official nn-Meter, but formal SSH backend has not been implemented.

Features

  • TFLite backend which will run over remote SSH
  • Minizes connection overhead by reusing single SSH connection on latency benchmark pipeline
  • Supports

Installation

  1. Install nni==2.7.1, jungin500/nn-Meter (Use my repo with fixes - Highly recommended)
  2. Clone this repository to any directory and remember as $DIRECTORY
  3. Run pip3 install -r requirements.txt (Edit file before run if you want to use your speicific tensorflow version)
  4. Edit ssh_tflite_cpu.yml and replace <CURRENT_DIRECTORY_HERE> to $DIRECTORY
  5. Run nn-meter register --predictor ssh_tflite_cpu.yml
  6. Create workspace using ssh_tflite_cpu backend as described on this guide
  7. Open newly created configs/backend_config.yaml to match your own environment
    • Password and pubkey-based auth supported (Be aware to check permission of private key!)
  8. You can use this backend within latency predictor: Official nn-meter guide

nn-meter-backend-ssh's People

Contributors

jungin500 avatar

Watchers

 avatar  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.