Commit Graph

528 Commits

Author SHA1 Message Date
Henry Ruhs c25e0a2f88 rename args store to capability store (#1048)
* rename args store to capability store

* fix lint and remove unused types
2026-03-17 14:02:16 +01:00
Harisreedhar cd3023b9e1 Improve tests (#1047)
* improve tests

* does it hurt someone to have crazy numbers?

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-03-17 14:02:16 +01:00
harisreedhar d90b796b51 fix pre-check issue 2026-03-17 14:02:16 +01:00
harisreedhar b3afacf670 remove pre_check 2026-03-17 14:02:16 +01:00
harisreedhar 2d1269e5e6 remove program 2026-03-17 14:02:16 +01:00
harisreedhar 6152ecc973 remove while True and websocket code 2026-03-17 14:02:16 +01:00
harisreedhar 7957640f61 hopefully fix test 2026-03-17 14:02:16 +01:00
harisreedhar 2ee01b38ee pre_check() on test instead 2026-03-17 14:02:16 +01:00
harisreedhar c35cf5a607 pre_check() when command == api 2026-03-17 14:02:16 +01:00
harisreedhar 7a105a4c8d fix naming and remove unwanted state initialization 2026-03-17 14:02:16 +01:00
harisreedhar 1fc87c275e init 'face_selector_mode' to many 2026-03-17 14:02:16 +01:00
harisreedhar 1412820c34 remove temp storing to disk 2026-03-17 14:02:16 +01:00
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