-
Notifications
You must be signed in to change notification settings - Fork 120
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
Dev #1195
Conversation
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("/") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 ...
…" XYZ to create virtual env
(as suggested by Arjun)
I will close it for now and will reopen later since I need to do more fixes ... |
No description provided.