Skip to content

Update fw_utils.py - support 2.0.1 container for DDP and Torch distri… #4127

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

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

gilinachum
Copy link
Contributor

Update fw_utils.py - support 2.0.1 container for DDP and Torch distributed.

Issue #, if available:

Description of changes:
Update fw_utils.py - add support 2.0.1 container for DDP and Torch distruted.
2.0.1 exist and it works well with DDP and Torch Distributed, so allowing clients to use this combination.
see 763104351884.dkr.ecr.us-east-1.amazonaws.com/pytorch-training:2.0.1-gpu-py310-cu118-ubuntu20.04-sagemaker in https://github.com/aws/deep-learning-containers/blob/master/available_images.md

Testing done: Changed fw_utils locally and saw it works fine with DDP and Torch Distributed.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • I have read the CONTRIBUTING doc
  • I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
  • I used the commit message format described in CONTRIBUTING
  • [x I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gilinachum gilinachum requested a review from a team as a code owner September 19, 2023 08:42
@gilinachum gilinachum requested review from mufaddal-rohawala and removed request for a team September 19, 2023 08:42
…buted

2.0.1 exist and it works well with DDP and Torch Distributed, so allowing clients to use this combination.
Copy link
Contributor

@knikure knikure left a comment

Choose a reason for hiding this comment

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

/bot run all

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-local-mode-tests
  • Commit ID: c4fc659
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-notebook-tests
  • Commit ID: c4fc659
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-unit-tests
  • Commit ID: c4fc659
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-pr
  • Commit ID: c4fc659
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2023

Codecov Report

Patch coverage: 80.00% and project coverage change: -0.05% ⚠️

Comparison is base (c1af5d7) 90.40% compared to head (c4fc659) 90.35%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4127      +/-   ##
==========================================
- Coverage   90.40%   90.35%   -0.05%     
==========================================
  Files         990      312     -678     
  Lines       87099    28688   -58411     
==========================================
- Hits        78739    25921   -52818     
+ Misses       8360     2767    -5593     
Files Changed Coverage Δ
src/sagemaker/chainer/model.py 96.49% <ø> (ø)
src/sagemaker/estimator.py 92.95% <ø> (ø)
src/sagemaker/huggingface/model.py 88.75% <ø> (ø)
src/sagemaker/model.py 93.59% <ø> (ø)
src/sagemaker/mxnet/model.py 98.41% <ø> (ø)
src/sagemaker/pipeline.py 86.41% <ø> (ø)
src/sagemaker/pytorch/model.py 96.82% <ø> (ø)
src/sagemaker/sklearn/model.py 92.98% <ø> (ø)
src/sagemaker/tensorflow/model.py 96.36% <ø> (ø)
src/sagemaker/workflow/step_collections.py 97.95% <ø> (ø)
... and 4 more

... and 1288 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-slow-tests
  • Commit ID: c4fc659
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@knikure knikure left a comment

Choose a reason for hiding this comment

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

/bot run pr

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-pr
  • Commit ID: c4fc659
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@knikure knikure merged commit d6f58b3 into aws:master Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants