Skip to content

Commit

Permalink
Merge pull request #558 from GATEOverflow/mlperf-inference
Browse files Browse the repository at this point in the history
Fix the saving of console logs in benchmark-program - fixes #533
  • Loading branch information
arjunsuresh authored Nov 16, 2024
2 parents 155cf61 + 4081528 commit e456b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-scc24-sdxl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: MLPerf inference SDXL (SCC)

on:
schedule:
- cron: "08 18 * * *"
- cron: "25 00 * * *"

jobs:
build_reference:
Expand Down
2 changes: 1 addition & 1 deletion script/benchmark-program/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def preprocess(i):

if os_info['platform'] != 'windows' and str(env.get('CM_SAVE_CONSOLE_LOG', True)).lower() not in [ "no", "false", "0"]:
logs_dir = env.get('CM_LOGS_DIR', env['CM_RUN_DIR'])
env['CM_RUN_CMD'] += r" 2>&1 ; echo \$? > exitstatus | tee " + q+ os.path.join(logs_dir, "console.out") + q
env['CM_RUN_CMD'] += r" 2>&1 | tee " + q+ os.path.join(logs_dir, "console.out") + q + r" echo \${PIPESTATUS[0]} > exitstatus"

# additional arguments and tags for measuring system informations(only if 'CM_PROFILE_NVIDIA_POWER' is 'on')
if env.get('CM_PROFILE_NVIDIA_POWER', '') == "on":
Expand Down

0 comments on commit e456b44

Please sign in to comment.