Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions examples/mlperf/flux1/megatron/run_and_time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ export RESULTS_DIR RUN_INDEX PRIMUS_SEED MLLOG_OUTPUT_FILE

mkdir -p "${RESULTS_DIR}"

# The MLLOG logger opens this append-only, so a relaunch under the same
# RUN_INDEX concatenates two runs into one file and the compliance checker
# reports every once-per-run key twice. One file is one run.
mkdir -p "$(dirname "${MLLOG_OUTPUT_FILE}")"
: > "${MLLOG_OUTPUT_FILE}"

# --- Cold start -------------------------------------------------------------
# cache_clear is a claim about the machine, so drop the caches here and report
# what actually happened rather than what was requested. Dropping caches needs
Expand Down