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
161 stars 83 forks source link

Enabling the support for Pytorch 1.9 #501

Closed leleamol closed 3 years ago

leleamol commented 3 years ago

Description of changes:

The change enables support for PyTorch 1.9

The autograd based detailed profiling can not be supported . Ran the integration tests with PT1.9 binary.

Style and formatting:

I have run pre-commit install 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 3 years ago

Codecov Report

Merging #501 (522e2a0) into master (c5f5292) will decrease coverage by 1.52%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #501      +/-   ##
==========================================
- Coverage   76.08%   74.55%   -1.53%     
==========================================
  Files         126      116      -10     
  Lines       10855    10511     -344     
==========================================
- Hits         8259     7837     -422     
- Misses       2596     2674      +78     
Impacted Files Coverage Δ
smdebug/pytorch/utils.py 45.23% <66.66%> (-37.27%) :arrow_down:
smdebug/xgboost/utils.py 0.00% <0.00%> (-14.76%) :arrow_down:
smdebug/core/reduction_config.py 88.31% <0.00%> (-7.80%) :arrow_down:
smdebug/core/singleton_utils.py 79.41% <0.00%> (-5.89%) :arrow_down:
smdebug/profiler/hvd_trace_file_rotation.py 89.39% <0.00%> (-4.55%) :arrow_down:
smdebug/core/access_layer/s3.py 91.54% <0.00%> (-4.23%) :arrow_down:
smdebug/core/reader.py 85.18% <0.00%> (-3.71%) :arrow_down:
smdebug/core/logger.py 76.38% <0.00%> (-2.78%) :arrow_down:
smdebug/exceptions.py 65.47% <0.00%> (-2.39%) :arrow_down:
... and 21 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 c5f5292...522e2a0. Read the comment docs.