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

Standard format output file #54

Open
adrien-cotte opened this issue Feb 16, 2022 · 0 comments
Open

Standard format output file #54

adrien-cotte opened this issue Feb 16, 2022 · 0 comments

Comments

@adrien-cotte
Copy link

Hello,

First of all, many thanks for this app, it's great!
But, I need to implement an option to get a formatted output.

I would like start by JSON, with a -j <filename.json> option.

Maybe something like that:

{
  "devices": {
    "<DEVICE>": {
      "model": "<GPU_MODEL>",
      "UUID": "<UUID>",
      "<GLFOPS>": [<ARRAY_OF_GLOPS_VALUES>],
      "<ERROS>": [<ARRAY_OF_ERROS_VALUES>],
      "<TEMPS>": [<ARRAY_OF_TEMPS_VALUES>]
     }
  },
  "elapsed": [<ARRAY_OF_SUMMARY_TIMES>]
}

My example with 2 GPUs:

{
  "devices": {
    "GPU 0": {
      "model": "A100-SXM-80GB",
      "UUID": "GPU-3bb11c3f-033a",
      "Gflop/s": ["17668", "17699", "17705", "17704"],
      "errors": ["0", "0", "0", "0"],
      "temps (C)": ["56", "59", "60", "60"]
    },
    "GPU 1": {
      "model": "A100-SXM-80GB",
      "UUID": "GPU-c1aa22c3a-032b",
      "Gflop/s": ["17668", "17699", "17705", "17704"],
      "errors": ["0", "0", "0", "0"],
      "temps(C)": ["56", "59", "60", "60"]
    }
  }
  "elapsed(s)": ["10", "20", "30", "40"]
}

It gonna be easier to analyze and make statistics, with python or jq.

Before starting, what do you think about?

Best,
Adrien

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