Skip to content

Commit 9164685

Browse files
committed
Fix logging
1 parent 9e99a68 commit 9164685

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/_linux-nightly-h100.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
cd /workspace/tritonbench
4545
bash ./.ci/tritonbench/test-nightly.sh
46-
cp -r ./.benchmark/nightly benchmark-output
46+
cp -r ./.benchmarks/nightly benchmark-output
4747
- name: Upload result to GH Actions Artifact
4848
uses: actions/upload-artifact@v4
4949
with:

benchmarks/nightly/run.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
from os.path import abspath, exists
1111

1212
logger = logging.getLogger(__name__)
13-
logger.setLevel(logging.DEBUG)
14-
13+
logging.basicConfig(level=logging.INFO)
1514

1615
def setup_tritonbench_cwd():
1716
original_dir = abspath(os.getcwd())
@@ -87,6 +86,7 @@ def reduce(run_timestamp, output_dir, output_files, args):
8786
result_json_path = os.path.join(output_dir, "result.json")
8887
with open(result_json_path, "w") as fp:
8988
json.dump(aggregated_obj, fp, indent=4)
89+
return result_json_path
9090

9191

9292
def run():
@@ -102,7 +102,6 @@ def run():
102102
# Run each operator
103103
output_files = []
104104
for op_bench in OPERATOR_BENCHMARKS:
105-
logger.info(f"[nightly] running operator benchmark: {op_bench}")
106105
op_args = OPERATOR_BENCHMARKS[op_bench]
107106
output_file = output_dir.joinpath(f"{op_bench}.json")
108107
op_args.extend(["--output-json", str(output_file.absolute())])

0 commit comments

Comments
 (0)