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

upgrade metadata call to use IMDSv2, only supported version soon #180

Closed
wants to merge 1 commit into from

Conversation

wdvr
Copy link
Contributor

@wdvr wdvr commented Nov 1, 2024

Summary:
Soon we will only support metadata fetching for EC2 instances via IMDSv2 - this upgrades the existing v1 call to a v2 call - no functional changes

Test plan:
testing if the run_tests.yaml correctly fetches the instance metadata

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 1, 2024
@wdvr
Copy link
Contributor Author

wdvr commented Nov 1, 2024

Metadata correctly reported in run_tests.yaml / gpu_unit_tests , see here: https://github.com/pytorch/torchsnapshot/actions/runs/11636091112/job/32406789495?pr=180#step:6:19

wdvr added a commit to pytorch/test-infra that referenced this pull request Nov 1, 2024
this is a follow up on PR #5783 that enabled IMDSv2. We're about to
remove support for IMDSv1 on our AWS account globally

This is part of an effort to move all our calls across all pytorch repos
to v2.

See also:
pytorch/FBGEMM#3297
pytorch/pytorch#138286
pytorch/torchsnapshot#180
pytorch/torchrec#2532
pytorch/torcheval#210
@facebook-github-bot
Copy link
Contributor

@wdvr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@wdvr merged this pull request in 0139a68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants