Repository navigation
Automate creation of GPU images - #10595
Merged
Merged
Conversation
GMNGeoffrey
force-pushed
the
gpu-image
branch
from
September 29, 2022 13:47
79c7ccb to
108a210
Compare
GMNGeoffrey
enabled auto-merge (squash)
September 29, 2022 13:52
ScottTodd
reviewed
Sep 29, 2022
Comment on lines
+205
to
+209
| # -t forces a pseudo-tty which allows us to run tail with a follow | ||
| gcloud compute ssh "${INSTANCE_NAME}" --zone="${ZONE}" \ | ||
| --no-user-output-enabled \ | ||
| --ssh-flag="-t" \ | ||
| --command="tail --follow=name --retry --pid=${startup_pid} /startup.log" \ | ||
| | tee "${log_file}" | ||
| --no-user-output-enabled --ssh-flag="-t" \ | ||
| --command="tail --follow=name --retry --lines=+1 --pid=${startup_pid} /startup.log" | ||
| # | tee "${log_file}" |
Member
There was a problem hiding this comment.
Is the last line here commented out intentionally?
Member
Author
There was a problem hiding this comment.
No! Thanks for catching. I was debugging something being really slow and was trying to narrow down whether it was tee buffering or something
ScottTodd
reviewed
Sep 29, 2022
Co-authored-by: Scott Todd <[email protected]>
GMNGeoffrey
disabled auto-merge
September 29, 2022 16:48
GMNGeoffrey
enabled auto-merge (squash)
September 29, 2022 16:48
ScottTodd
approved these changes
Sep 29, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This just adds some GPU-specific stuff to the same setup as the CPU
image.
Tested: Deployed on test runners ->
#10298
skip-ci