Fix #363: pass results_dir to collect_cluster_info#366
Open
idevasena wants to merge 1 commit intomlcommons:mainfrom
Open
Fix #363: pass results_dir to collect_cluster_info#366idevasena wants to merge 1 commit intomlcommons:mainfrom
idevasena wants to merge 1 commit intomlcommons:mainfrom
Conversation
Signed-off-by: Devasena Inupakutika <devasena.i@samsung.com>
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
FileSystemGuy
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benchmark._collect_cluster_informationcalledcollect_cluster_info()without the required results_dir argument, causing a TypeError that was swallowed by the broad exception handler. The resulting None ClusterInformation cascaded into a downstream 'NoneType has no attribute total_memory_bytes' failure during report generation.Fixes #363"
Changes
mlpstorage_py/benchmarks/base.py: passresults_dir=self.run_result_output. Also threadssh_usernameandshared_staging_dirthrough fromself.argsfor parity with the SSH path.mlpstorage_py/tests/test_benchmarks.py: updatetest_calls_collect_cluster_info_with_correct_paramsto match the corrected signature, and addTestCollectClusterInfoSignatureBindingwith two regression tests:test_call_binds_to_real_collect_cluster_info_signature— binds the kwargs againstinspect.signature(collect_cluster_info)so future signature drift fails at unit-test time.test_warning_message_from_issue_363_is_not_emitted— asserts the verbatim warning string from the issue is no longer produced.Testing