Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

fix: regression of the logic in getting the container stats per period #577

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

adrysn
Copy link
Member

@adrysn adrysn commented Apr 13, 2022

  • List every needed columns in querying kernels information.
  • Look up the last_stat first and falls back to the raw_stat from Redis.
  • Change the location of NVIDI GPU's smp and allocated memory stats in the last_stat.

- List every needed columns in querying kernels information.
- Look up the `last_stat` first and falls back to the `raw_stat` from Redis.
- Change the location of NVIDI GPU's smp and allocated memory stats in the `last_stat`.
@adrysn adrysn self-assigned this Apr 13, 2022
@adrysn adrysn requested a review from achimnol April 13, 2022 03:17
@adrysn adrysn added the bug label Apr 13, 2022
@adrysn adrysn added this to the 22.03 milestone Apr 13, 2022
@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #577 (44cc365) into main (7cee2f5) will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #577      +/-   ##
==========================================
+ Coverage   48.55%   48.66%   +0.10%     
==========================================
  Files          53       53              
  Lines        9126     9126              
==========================================
+ Hits         4431     4441      +10     
+ Misses       4695     4685      -10     
Impacted Files Coverage Δ
src/ai/backend/manager/models/utils.py 82.26% <0.00%> (+7.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cee2f5...44cc365. Read the comment docs.

@achimnol achimnol merged commit 58272a7 into main Apr 18, 2022
@achimnol achimnol deleted the fix/logic-in-getting-container-stat-per-period branch April 18, 2022 07:37
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants