-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
filepath=$(readlink -f wheel_build/dist/*.whl) | ||
filename=$(basename $filepath) | ||
variant=$(echo $filename | cut -d'-' -f1 | cut -d'_' -f2 -s) | ||
if [ -z "${variant}" ]; then | ||
variant="cpu" | ||
fi | ||
export PATH=/usr/local/bin:$PATH |
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.
Do you mean that /usr/local/bin
wasn't on the PATH before? Do you know why it worked at all before?
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.
We recently changed the ami used by restricted-mxnetlinux-gpu to update the nvidia driver
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.
Do you think if there is a better place to set PATH?
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.
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.
It's fine to add it here, I'm just trying to understand the reasoning. Can you explain how it's related to AMI? Wouldn't cd_s3_publish
run in a docker container and be independent from the AMI?
#19917
This pr tries to fix ^ this issue. Joe helped update g4 instance to use the new nvidia-460 driver, which should be higher than the minimum requirement of the cu112 docker