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

[TensorFlow] TF2.11 EC2 release #2381

Merged
merged 45 commits into from
Nov 30, 2022
Merged

[TensorFlow] TF2.11 EC2 release #2381

merged 45 commits into from
Nov 30, 2022

Conversation

ohadkatz
Copy link
Contributor

@ohadkatz ohadkatz commented Nov 2, 2022

GitHub Issue #, if available:

Note: If merging this PR should also close the associated Issue, please also add that Issue # to the Linked Issues section on the right.

Description

This PR is to release EC2 TF2.11 Images for Training. This will not release SM as that is a separate Currency Release

PR Checklist

  • I've prepended PR tag with frameworks/job this applies to : [mxnet, tensorflow, pytorch] | [ei/neuron/graviton] | [build] | [test] | [benchmark] | [ec2, ecs, eks, sagemaker]
  • If the PR changes affects SM test, I've modified dlc_developer_config.toml in my PR branch by setting sagemaker_tests = true and efa_tests = true
  • If this PR changes existing code, the change fully backward compatible with pre-existing code. (Non backward-compatible changes need special approval.)
  • [X ] (If applicable) I've documented below the DLC image/dockerfile this relates to
  • [X ] (If applicable) I've documented below the tests I've run on the DLC image
  • [ X] (If applicable) I've reviewed the licenses of updated and new binaries and their dependencies to make sure all licenses are on the Apache Software Foundation Third Party License Policy Category A or Category B license list. See https://www.apache.org/legal/resolved.html.
  • [X ] (If applicable) I've scanned the updated and new binaries to make sure they do not have vulnerabilities associated with them.

Benchmark Testing Checklist

  • When creating a PR:
  • I've modified dlc_developer_config.toml in my PR branch by setting benchmark_mode = true

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

@aws-deep-learning-containers-ci aws-deep-learning-containers-ci bot added build Reflects file change in build folder Size:S Determines the size of the PR tensorflow Reflects file change in tensorflow folder labels Nov 2, 2022
@ohadkatz ohadkatz marked this pull request as ready for review November 3, 2022 19:18
@ohadkatz ohadkatz requested review from a team as code owners November 3, 2022 19:18
@aws-deep-learning-containers-ci aws-deep-learning-containers-ci bot added sanity Reflects file change in dlc_tests/sanity folder test Reflects file change in test folder labels Nov 7, 2022
@aws-deep-learning-containers-ci aws-deep-learning-containers-ci bot added the ec2 Reflects file change in dlc_tests/ec2 folder label Nov 8, 2022
@tejaschumbalkar
Copy link
Contributor

Please update PR description

@ohadkatz
Copy link
Contributor Author

ohadkatz commented Nov 29, 2022

Backwards Compat Test on 2.10 on f2683e5

TF2.11 Successful on 495a227

@ohadkatz ohadkatz closed this Nov 29, 2022
@ohadkatz ohadkatz reopened this Nov 29, 2022

ARG OPEN_MPI_PATH=/opt/amazon/openmpi
ARG EFA_PATH=/opt/amazon/efa
ARG EFA_VERSION=1.17.2
Copy link
Contributor

@saimidu saimidu Nov 29, 2022

Choose a reason for hiding this comment

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

Why 1.17? Could we get confirmation from other stakeholders that rely on the EFA installed within the TF DLC that this version works for them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We had agreed upon keeping EFA as is to mimic TF2.10. There has been no pushback on this EFA version

Comment on lines +96 to +103
# The 'apt-get install' of nvinfer-runtime-trt-repo-ubuntu1804-5.0.2-ga-cuda10.0
# adds a new list which contains libnvinfer library, so it needs another
# 'apt-get update' to retrieve that list before it can actually install the
# library.
# We don't install libnvinfer-dev since we don't need to build against TensorRT,
# and libnvinfer4 doesn't contain libnvinfer.a static library.
# nvinfer-runtime-trt-repo doesn't have a 1804-cuda10.1 version yet. see:
# https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64/
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this still applicable after having moved to TF 2.11 and CUDA 11.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this still needed for TF2.11? If this is for CUDA 10?

Copy link
Contributor

Choose a reason for hiding this comment

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

Just an avenue for further exploration. Not a blocker to merging this PR.

@ohadkatz ohadkatz merged commit 7b7e8d3 into aws:master Nov 30, 2022
@ohadkatz ohadkatz deleted the tf2.11_ec2_release branch November 30, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Reflects file change in build folder ec2 Reflects file change in dlc_tests/ec2 folder sanity Reflects file change in dlc_tests/sanity folder Size:S Determines the size of the PR tensorflow Reflects file change in tensorflow folder test Reflects file change in test folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants