Skip to content

Conversation

AlirezaShamsoshoara
Copy link
Member

The changes mainly addresses the installation issue for users without SUDO access (Conda users) or Ubuntu users.

Changes:

  • add log warning
  • Don't exit if user does not have sudo
  • Consider Ubuntu packages in case user wants to install them with sudo
  • Consider conda-forge as a channel for conda installation
  • gh will be installed at the conda level for users without sudo access

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 4, 2025
Copy link
Contributor

@allenwang28 allenwang28 left a comment

Choose a reason for hiding this comment

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

awesome, thanks @AlirezaShamsoshoara for the fixes! Could you remove the *_only and check this in?

# Check sudo access
check_sudo() {
# Check sudo access only
check_sudo_only() {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you remove this and install_systems_packages_sudo_only?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @allenwang28 for quickly review that. Just removed those two _only functions from the script.

@allenwang28
Copy link
Contributor

looks great, thanks!

@allenwang28 allenwang28 merged commit 2a65c9d into meta-pytorch:main Sep 4, 2025
5 checks passed
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 Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants