Skip to content

Commit

Permalink
replacing ^ with | in common.yaml to fix last minute change in SD logs
Browse files Browse the repository at this point in the history
  • Loading branch information
itayhubara authored and pgmpablo157321 committed Oct 5, 2023
1 parent eb8f46c commit 9b25d4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mlperf_logging/compliance_checker/training_3.1.0/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
REQ: AT_LEAST_ONE_OR(epoch_start)
CHECK:
- "s['run_started']"
- "('epoch_count' in v['metadata']) ^ ('step_num' in v['metadata'])"
- "('epoch_count' in v['metadata']) | ('step_num' in v['metadata'])"
- "'first_epoch_num' in v['metadata'] if 'epoch_count' in v['metadata'] else True"
- "v['metadata']['epoch_count'] > 0 if 'epoch_count' in v['metadata'] else True"
- "v['metadata']['step_num'] >= 0 if 'step_num' in v['metadata'] else True"
Expand All @@ -106,7 +106,7 @@
NAME: block_stop
REQ: AT_LEAST_ONE_OR(epoch_stop)
CHECK:
- "('first_epoch_num' in v['metadata']) ^ ('step_num' in v['metadata'])"
- "('first_epoch_num' in v['metadata']) | ('step_num' in v['metadata'])"

- KEY:
NAME: epoch_start
Expand All @@ -125,19 +125,19 @@
NAME: eval_start
REQ: AT_LEAST_ONE_OR(block_start)
CHECK:
- "('epoch_num' in v['metadata']) ^ ('step_num' in v['metadata'])"
- "('epoch_num' in v['metadata']) | ('step_num' in v['metadata'])"

- KEY:
NAME: eval_stop
REQ: AT_LEAST_ONE_OR(block_stop)
CHECK:
- "('epoch_num' in v['metadata']) ^ ('step_num' in v['metadata'])"
- "('epoch_num' in v['metadata']) | ('step_num' in v['metadata'])"

- KEY:
NAME: eval_accuracy
REQ: AT_LEAST_ONE
CHECK:
- "('epoch_num' in v['metadata']) ^ ('step_num' in v['metadata'])"
- "('epoch_num' in v['metadata']) | ('step_num' in v['metadata'])"

- KEY:
NAME: train_samples
Expand Down

0 comments on commit 9b25d4a

Please sign in to comment.