awslabs / sagemaker-debugger

Amazon SageMaker Debugger provides functionality to save tensors during training of machine learning jobs and analyze those tensors
Apache License 2.0
158 stars 82 forks source link

Back Port Changes from 1.0.12 To Master #522

Closed NihalHarish closed 2 years ago

NihalHarish commented 2 years ago

Description of changes:

Style and formatting:

I have run pre-commit install && pre-commit run --all-files to ensure that auto-formatting happens with every commit.

Issue number, if available

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 2 years ago

Codecov Report

Merging #522 (b6a420b) into master (b4dd4c1) will decrease coverage by 9.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #522      +/-   ##
==========================================
- Coverage   77.60%   68.56%   -9.04%     
==========================================
  Files         127      117      -10     
  Lines       11111    10585     -526     
==========================================
- Hits         8623     7258    -1365     
- Misses       2488     3327     +839     
Impacted Files Coverage Δ
smdebug/pytorch/utils.py 45.23% <100.00%> (-35.72%) :arrow_down:
smdebug/mxnet/__init__.py 0.00% <0.00%> (-100.00%) :arrow_down:
smdebug/mxnet/singleton_utils.py 0.00% <0.00%> (-100.00%) :arrow_down:
...debug/profiler/analysis/notebook_utils/__init__.py 0.00% <0.00%> (-100.00%) :arrow_down:
smdebug/mxnet/hook.py 0.00% <0.00%> (-84.85%) :arrow_down:
smdebug/mxnet/utils.py 0.00% <0.00%> (-78.13%) :arrow_down:
smdebug/rules/action/message_action.py 13.25% <0.00%> (-75.91%) :arrow_down:
smdebug/mxnet/collection.py 0.00% <0.00%> (-73.34%) :arrow_down:
smdebug/rules/action/stop_training_action.py 12.50% <0.00%> (-68.75%) :arrow_down:
smdebug/rules/action/action.py 30.61% <0.00%> (-67.35%) :arrow_down:
... and 60 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b4dd4c1...b6a420b. Read the comment docs.