Skip to content

Conversation

@wdvr
Copy link
Contributor

@wdvr wdvr commented Oct 18, 2024

No description provided.

@vercel
Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
torchci ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 11:43pm

@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 Oct 18, 2024
@wdvr wdvr marked this pull request as ready for review October 18, 2024 18:38
2024-07-08T16:51:04.0872992Z  echo "Runner is from Google Cloud Platform, No info on ec2 metadata"
2024-07-08T16:51:04.0873605Z  else
2024-07-08T16:51:04.0874108Z  curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2024-07-08T16:51:04.0874108Z  curl -H "X-aws-ec2-metadata-token: $(curl -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 30")" -fsSL "http://169.254.169.254/latest/meta-data/${category}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is log now historically inaccurate, lol

Copy link
Contributor Author

Choose a reason for hiding this comment

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

reverted the log change ;)

})
// convert these two curls:
// curl -H "X-aws-ec2-metadata-token: $(curl -s -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 30")" -fsSL "http://169.254.169.254/latest/meta-data/${category}"
const tokenResponse = await http.put(
Copy link
Contributor

Choose a reason for hiding this comment

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

this bit could be tested by identifying a workflow that uses it and modifying the reference to point to this PR's branch. Let me know if you need help with that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wdvr wdvr merged commit 29dc85d into main Oct 30, 2024
21 checks passed
wdvr added a commit 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
meta-pytorch/torchsnapshot#180
meta-pytorch/torchrec#2532
meta-pytorch/torcheval#210
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants