Skip to content

Commit

Permalink
Add docs for the accelerator test
Browse files Browse the repository at this point in the history
Signed-off-by: bharathappali <abharath@redhat.com>
  • Loading branch information
bharathappali committed Oct 15, 2024
1 parent 43e2b78 commit 5cb0c0c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/scripts/local_monitoring_tests/Local_monitoring_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,19 @@ Local monitoring tests can also be run without using the test_autotune.sh. To do

Note: You can check the report.html for the results as it provides better readability


### Accelerator Test:

Kruize 0.1 supports the Accelerator Recommendations which provide right sized MIG config as recommendations.

The test `test_list_recommendations.py::test_accelerator_recommendation_if_exists` is created to check if the accelerator recommendations are in expected format.

#### Prerequisites to run the test:

In addition to the pre-requisites mentioned above we need to make sure that a workload with name `human-eval-benchmark` is running in the namespace `unpartitioned` and has the accelerator usage data.

Else, you can change the workload name and namespace name in the test to match with your workload.


Note: The test will fail if it's run as is if there are no matching workloads that the test looks for. This test result can be ignored in case of a non-gpu workload

0 comments on commit 5cb0c0c

Please sign in to comment.