Giter VIP home page Giter VIP logo

hb-pytorch-apps's Introduction

PyTorch Logo


This repo hosts workloads for PyTorch HammerBlade port

You may refer to the template workload as a code style guideline ;)

Ported Workloads

  • Multilayer Perceptron for MNIST (mlp_mnist)
  • Autoencoder Based Recommendation (Recsys)

kernel developer flow


  1. identify a kernel to port
  2. (possibly) register the kernel with PyTorch
  3. add host code, tests, kernel device code
  4. test using emulation
  5. test using cosim
  6. optimize

workload developer flow


  1. identify a workload to port
  2. develop workload in pytorch-apps following coding conventions
  3. test serial native version (determine kernels not ported to HB)
    • if any kernels not ported yet, goto kernel developer flow
  4. test on HB emulation (possibly full workload, maybe one batch)
  5. profile parallel native version
  6. identify key kernels using native profiling data
  7. develop workload kernel file with reduced chunks
  8. test workload kernels on emulation
  9. test workload kernels on cosim
  10. profile workload kernels natively for baseline kernel results
  11. profile workload kernels on cosim
  12. combine full workload profile data + workload kernel data to estimate speedup of full workload on HB vs baseline

hb-pytorch-apps's People

Contributors

yodada avatar vb000 avatar xingyaozhang avatar zzy82518996 avatar neiladit avatar ipreslav avatar sampsyo avatar jweber97 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.