mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
This PR only adds the execution of the benchmarks on this PR and print results, following diffs will add checking out head~1 and running it and comparing. to access results goto test pr_time_benchmarks and inspect logs: you should see ``` + echo 'benchmark results on current PR: ' benchmark results on current PR: + cat /var/lib/jenkins/workspace/test/test-reports/pr_time_benchmarks_before.txt update_hint_regression,instruction_count,27971461254 ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/131475 Approved by: https://github.com/ezyang
9 lines
171 B
C++
9 lines
171 B
C++
#pragma once
|
|
#include <torch/csrc/python_headers.h>
|
|
|
|
namespace torch::instruction_counter {
|
|
|
|
void initModule(PyObject* module);
|
|
|
|
} // namespace torch::instruction_counter
|