Commit Graph

566 Commits

Author SHA1 Message Date
harisreedhar a347c6081c update exception 2026-03-17 14:02:16 +01:00
harisreedhar 26a950e595 update test 2026-03-17 14:02:16 +01:00
harisreedhar 7affeb7e3b process image 2026-03-17 14:02:16 +01:00
Harisreedhar 08653f85ff Feat/refactor args (#1045)
* follow the new argument naming convention

* revert

* use get_xxx_arguments

* Simple fix Args

* Fix more stuff

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-03-17 14:02:16 +01:00
henryruhs 2e78cf4617 fix args store 2026-03-17 14:02:16 +01:00
henryruhs c21725f0a8 bump dependencies 2026-03-17 14:02:16 +01:00
henryruhs 2b447503d5 allow register_arguments to be nested, fix types, adjust processors 2026-03-17 14:02:16 +01:00
harisreedhar f36ae318fd reformat test_api_state.py 2026-03-17 14:02:16 +01:00
harisreedhar a94209507d introduce type ArgumentSet 2026-03-17 14:02:16 +01:00
harisreedhar 8dba29ef18 remove unwanted assertions 2026-03-17 14:02:16 +01:00
harisreedhar eb72ec461b remove value None as default 2026-03-17 14:02:16 +01:00
harisreedhar 298dbc80f3 remove value None as default 2026-03-17 14:02:16 +01:00
harisreedhar 4ab2d81580 add test_api_capabilities.py 2026-03-17 14:02:16 +01:00
henryruhs eae6d41540 add get_xxx_set to args store 2026-03-17 14:02:16 +01:00
henryruhs 05a15b937e fix spacing quite a bit 2026-03-17 14:02:16 +01:00
harisreedhar fb75fb894d conditional choices, speaking Alias ArgumentValue, different formatting for program.py 2026-03-17 14:02:13 +01:00
harisreedhar 4fae6af88d fix test 2026-03-17 14:02:13 +01:00
harisreedhar 88b3241b61 add capabilities 2026-03-17 14:02:13 +01:00
henryruhs cd2e09aa02 remove unused method 2026-03-17 14:02:07 +01:00
harisreedhar ceedde9994 add capabilities endpoint 2026-03-17 14:02:07 +01:00
harisreedhar b39af57f22 hopefully fix CI 2026-03-17 14:02:07 +01:00
harisreedhar ce0f989c28 remove has methods 2026-03-17 14:02:07 +01:00
harisreedhar ceab5c4a63 add has_amd_execution_provider and has_nvidia_execution_provider 2026-03-17 14:02:07 +01:00
harisreedhar ea0df867e1 fix cache 2026-03-17 14:02:07 +01:00
harisreedhar b4138a8f12 remove try block, make detect_graphic_devices stateless, cosmetics 2026-03-17 14:02:07 +01:00
harisreedhar d23e0123a5 fix test 2026-03-17 14:02:07 +01:00
harisreedhar 70414fa456 add amd metric 2026-03-17 14:02:07 +01:00
harisreedhar d529b7faf7 move detect_execution_devices to system.py 2026-03-17 14:02:01 +01:00
harisreedhar 0bc6a545bf add processor metric 2026-03-17 14:01:57 +01:00
harisreedhar fa82d87302 add network metrics 2026-03-17 14:01:57 +01:00
harisreedhar 75858c8636 fix test 2026-03-17 14:01:57 +01:00
harisreedhar 997712e739 add memory metrics 2026-03-17 14:01:57 +01:00
harisreedhar e4c0f162a9 add memory metrics 2026-03-17 14:01:54 +01:00
harisreedhar 91a1e7bc34 move metrics.py to endpoints 2026-03-17 14:01:54 +01:00
harisreedhar e4bd360577 some cosmetics 2026-03-17 14:01:54 +01:00
harisreedhar 671eb7129d add disk to metric test 2026-03-17 14:01:54 +01:00
harisreedhar deb3932547 change unit to GB 2026-03-17 14:01:54 +01:00
harisreedhar 49cc14385d add drive_path 2026-03-17 14:01:54 +01:00
harisreedhar d83659ae96 make detect_disk_metrics stateless 2026-03-17 14:01:54 +01:00
harisreedhar c527673846 add disk metric 2026-03-17 14:01:54 +01:00
harisreedhar d7c4be226c cleanup 2026-03-17 14:01:54 +01:00
harisreedhar bb852ac06b add pytest-mock 2026-03-17 14:01:54 +01:00
harisreedhar 995804410b improve test 2026-03-17 14:01:54 +01:00
harisreedhar ff0bf31c86 remove instance check 2026-03-17 14:01:54 +01:00
harisreedhar bac8befad7 fix test 2026-03-17 14:01:54 +01:00
harisreedhar b2c4e38362 add metrics 2026-03-17 14:01:54 +01:00
harisreedhar 3d852b4aec add metrics 2026-03-17 14:01:54 +01:00
henryruhs d632ad1b4c simplify code - no need for helper methods at this point 2026-03-17 14:01:54 +01:00
Harisreedhar a477b66d36 Remove xml parsing for gpu metrics (#1030)
* remove xml parsing

* remove aitop
2026-03-17 14:01:54 +01:00
Henry Ruhs ba8093e844 Revisit and cleanup ffprobe integration (#1027)
* Revisit and cleanup ffprobe integration

* Revisit and cleanup ffprobe integration
2026-03-17 14:01:49 +01:00