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

added runningtime and hwinfo recorder (as universal params) #237

Merged
merged 4 commits into from
Jul 22, 2024

Conversation

keighrim
Copy link
Member

@keighrim keighrim commented Jul 6, 2024

addresses #236

Sample output;

  "views": [                                                                                                                                 
    {
      "id": "v_0",
      "metadata": {
        "runtime": {
          "runningTime": "0:00:05.466913",    # runningTime=True
          "architecture": "x86_64",           # hwFetch=True
          "cuda": [
            "NVIDIA RTX A6000 (49140 MiB)",
            "NVIDIA RTX A6000 (49140 MiB)",
            "NVIDIA RTX A6000 (49140 MiB)",
            "NVIDIA RTX A6000 (49140 MiB)"
          ]
        },
        "timestamp": "2024-07-05T21:00:07.408801",
        "app": "http://apps.clams.ai/swt-detection/v5.1-9-g6b12498",
        "contains": {
          "http://mmif.clams.ai/vocabulary/TimePoint/v4": {
            ...
          },
          "http://mmif.clams.ai/vocabulary/TimeFrame/v5": {
            ...
          },
          "http://mmif.clams.ai/vocabulary/Annotation/v5": {
            ...
          }
        },
        "parameters": {
          "pretty": "",
          "stopAt": "120000",
          "hwFetch": "",
          "runningTime": ""
        },
        "appConfiguration": {
          ...
        }
      }
    }
  ]

Copy link

codecov bot commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 55.00000% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@edd9af5). Learn more about missing BASE report.

Files Patch % Lines
clams/app/__init__.py 55.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #237   +/-   ##
==========================================
  Coverage           ?   72.89%           
==========================================
  Files              ?        9           
  Lines              ?      808           
  Branches           ?        0           
==========================================
  Hits               ?      589           
  Misses             ?      219           
  Partials           ?        0           
Flag Coverage Δ
unittests 72.89% <55.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@keighrim keighrim merged commit 9c5e1bd into develop Jul 22, 2024
3 checks passed
@keighrim keighrim deleted the 236-hwfetch branch July 22, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant