Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #1195

Closed
wants to merge 15 commits into from
Closed

Dev #1195

wants to merge 15 commits into from

Conversation

arjunsuresh
Copy link
Contributor

No description provided.

@arjunsuresh arjunsuresh requested a review from a team as a code owner April 11, 2024 09:44
Copy link

github-actions bot commented Apr 11, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@@ -1716,6 +1723,16 @@ def _run(self, i):
if verbose or show_time:
print (recursion_spaces+' - running time of script "{}": {:.2f} sec.'.format(','.join(found_script_tags), elapsed_time))


if not recursion and (verbose or show_space):
stop_disk_stats = shutil.disk_usage("/")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be a problem on huge NFS mounts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be a problem on huge NFS mounts?

Very good point. Could be! I changed this line and calculate space only if explicitly requested by --space flag. It's still a very useful feature when I test scripts for datasets and models - it's now very easy to see the used space consumed by the script ...

@gfursin
Copy link
Contributor

gfursin commented Apr 12, 2024

I will close it for now and will reopen later since I need to do more fixes ...

@gfursin gfursin closed this Apr 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants