Skip to content

Automate creation of GPU images - #10595

Merged
GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:gpu-image
Sep 29, 2022
Merged

GMNGeoffrey merged 4 commits into
iree-org:mainfrom
GMNGeoffrey:gpu-image

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Sep 29, 2022 •

Copy link
Copy Markdown
Member

This just adds some GPU-specific stuff to the same setup as the CPU
image.

Tested: Deployed on test runners ->
#10298

skip-ci

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}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the last line here commented out intentionally?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No! Thanks for catching. I was debugging something being really slow and was trying to narrow down whether it was tee buffering or something

@GMNGeoffrey
GMNGeoffrey enabled auto-merge (squash) September 29, 2022 16:48
@GMNGeoffrey
GMNGeoffrey merged commit 65f8ce3 into iree-org:main Sep 29, 2022
@GMNGeoffrey
GMNGeoffrey deleted the gpu-image branch September 29, 2022 16:48
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants