Giter Club home page Giter Club logo

autoperf's People

Contributors

awasayintel avatar mejbah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

autoperf's Issues

AutoPerf is not annotating functions

I'm running an "autoperf detect 10" between to branches, but I don't see anything in the "git stash list" after the annotation step has completed; nor does the output show that the annotation step failed at all. Also, the ".autoperf" subdirectory has both *.json files correctly populated with the diffs between the two branches, so it's not like it's unaware of where the annotations should be added. Is there a helpful debugging option or series of recommended troubleshooting steps to see why this annotation isn't happening?

Python version configured via Miniconda3 is 3.8.2. OS is CentOS Linux release 7.8.2003. The baseline branch is "harness_change_only" and the branch I'm benchmarking for regressions is "book_performance".

Here's my config.ini:

[build]
cmd = source ~/.bashrc && cm && m
dir = .

[clean]
cmd =

[workload]
cmd = taskset -c 13 ~/prod/bin/LiveMboBookHarness -c ~/LiveMboBookHarness/config.Harness.optoa.ES
dir = .

[git]
main = harness_change_only

[model]
hidden = [16, 8]
encoding = 4
activation = tanh
filename = trained_network

[training]
epochs = 12
batch_size = 64
optimizer = Adam
learning_rate = 1e-05
loss = mean_squared_error
noise = 0.25
scale_factor = 1.0

[detection]
threshold = 0.05

Here's the output from attempting to run "autoperf detect 10":

mdawson@dev02 (book_performance %=) src $ autoperf detect 10
[14:54:36] WARNING  Checkpoint not found, starting from scratch.                                                                           __init__.py:167
           INFO     State - [DIFF]                                                                                                         __main__.py:178
           DEBUG    Popen(['git', 'diff', 'harness_change_only..book_performance', '-U0', '--diff-filter=M'], cwd=/home/mdawson/prod/whdev,     cmd.py:721
                    universal_newlines=False, shell=None, istream=None)
           INFO     Generating diff between harness_change_only and book_performance branches.                                           annotation.py:404
           INFO     State - [STASH]                                                                                                        __main__.py:178
           DEBUG    Popen(['git', 'stash'], cwd=/home/mdawson/prod/whdev, universal_newlines=False, shell=None, istream=None)                   cmd.py:721
           DEBUG    Popen(['git', 'checkout', 'harness_change_only'], cwd=/home/mdawson/prod/whdev, universal_newlines=False, shell=None,       cmd.py:721
                    istream=None)
           INFO     State - [ANNOTATE]                                                                                                     __main__.py:178
           INFO     Splitting tasks across 14 processes.                                                                                 annotation.py:354
           WARNING                                                                                                                          parsing.py:321
                    No Makefile found.
           INFO     No CFLAGS specified.                                                                                                    parsing.py:323
           INFO     No CFLAGS specified.                                                                                                    parsing.py:323
           INFO     No CFLAGS specified.                                                                                                    parsing.py:323
           INFO     No CFLAGS specified.                                                                                                    parsing.py:323
           INFO     ClangParser initialized.                                                                                             annotation.py:432
           INFO     Injecting AutoPerf annotations.                                                                                      annotation.py:377

â­âââââââââââââââââââââââ Progress âââââââââââââââââââââââââ®
â0/0 ââââââââââââââââââââââââââââââââââââââââ   0% -:--:--â
â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¯
â­ââââââââââââââââââ Directory Structure âââââââââââââââââââ®
ââï¸  src/                                                  â
â°ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¯
           INFO     State - [BUILD]                                                                                                        __main__.py:178

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.