-
Notifications
You must be signed in to change notification settings - Fork 102
Preinstall Nvidia driver during provisioning #4421
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
Conversation
@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
@@ -21,6 +21,12 @@ yum install -y curl jq git | |||
USER_NAME=ec2-user | |||
${install_config_runner} | |||
|
|||
%{ if nvidia_driver_install ~} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In some cases, I have seen the installation fails because of underlying hardware issue right at the beginning, so having try/catch and retry here would be nice. Then, if retrying still fails, the instance would not be added to the runner pool (I assume that it's the behavior when user-data.sh
script fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done added: set +e .. set -e
around this. So that if it fails - we continue executing. The pytorch core will install nvidia-smi during CI in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A better approach IMO would be to have this as part of the AMI, but as we don't have that atm. This is the next best thing.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huydhn's comment makes sense, looks like this is the best solution we have atm?
Preinstall Nvidia driver during provisioning of GPU machines.
Fixes: #4385