Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the proper way to write a rule.yaml for result summary? #666

Open
DK-DARKmatter opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@DK-DARKmatter
Copy link

DK-DARKmatter commented Nov 18, 2024

What's the issue, what's expected?:
Trying to write a result summary yaml for the resnet101 raw data generated from tutorial. But get the following warning:
RuleBase: get metrics failed - model-benchmarks
Here's the summary_rule.yaml:

version: v0.11
superbench:
  rules:
    resnet:
      statistics:
        - mean
        - p90
        - min
        - max
      aggregate: False
      categories: Models
      metrics:
        - model-benchmarks/pytorch-resnet101/float16_train_step_time

How to reproduce it?:
sb result summary --data-file results-summary.jsonl --rule-file summary_rule.yaml --output-file-format md --output-dir ${something}

Log message or shapshot?:
[rule_base.py:75][WARNING] RuleBase: get metrics failed - model-benchmarks

Additional information:

@DK-DARKmatter
Copy link
Author

DK-DARKmatter commented Nov 18, 2024

OK, it turns out the correct metrics should be resnet_models/pytorch-resnet101/fp16_train_step_time.
Can I get a result summary for each single node and each single GPU if I have multple nodes and GPUs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant