Skip to content
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

Bitbucket GPU examples #410

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Bitbucket GPU examples #410

wants to merge 3 commits into from

Conversation

casperdcl
Copy link
Contributor

@casperdcl casperdcl commented Dec 1, 2022

@casperdcl casperdcl added documentation Markdown files p1-important High priority C: ref Content of /doc/*-reference C: guide Content of /doc/user-guide labels Dec 1, 2022
@casperdcl casperdcl self-assigned this Dec 1, 2022
@shcheklein shcheklein temporarily deployed to cml-dev-bitbucket-gpu-cq41tx1c December 1, 2022 14:45 Inactive
@casperdcl casperdcl changed the title home: bitbucket GPU demo Bitbucket GPU examples Dec 1, 2022
@casperdcl casperdcl mentioned this pull request Dec 1, 2022
13 tasks
)
# Wait for cloud training to finish
leo read $LEO_OPTIONS --follow "$leo_id"
sleep 45 # TODO: explain
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/CC @dacbd

Copy link
Contributor

Choose a reason for hiding this comment

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

Best to have a grace time to allow for the workdir to finish its last syncing to the cloud. In practice, I think it's probably best to have something here. For small tasks it's certinly not required.

<div> <span>--script=&quot;$(cat ./leo-script.sh)&quot;</span></div>
<div> <span>)</span></div>
<div> <span>leo read $LEO_OPTIONS --follow &quot;$leo_id&quot;</span></div>
<div> <span>sleep 45 # TODO: explain</span></div>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/CC @dacbd

@casperdcl casperdcl marked this pull request as ready for review December 1, 2022 14:49
@casperdcl casperdcl requested a review from a team as a code owner December 1, 2022 14:49
@github-actions
Copy link

github-actions bot commented Dec 1, 2022

f4b28cf

Link Check Report

All 9 links passed!

@casperdcl casperdcl requested review from dacbd and a team December 1, 2022 15:02
</Tooltip>
<Code filename="bitbucket-pipelines.yml" repo="https://bitbucket.org/iterative-ai/cml-cloud-case">
<div><span># Use LEO instead of CML to force GPU support on Bitbucket</span></div>
<div><span># (<a href="/doc/ref/runner#bitbucket">https://cml.dev/doc/ref/runner#bitbucket</a>)</span></div>
Copy link
Contributor Author

@casperdcl casperdcl Dec 1, 2022

Choose a reason for hiding this comment

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

link colours don't render well, maybe better to remove?

Suggested change
<div><span># (<a href="/doc/ref/runner#bitbucket">https://cml.dev/doc/ref/runner#bitbucket</a>)</span></div>

Comment on lines +152 to +157
([cml#1015](https://github.com/iterative/cml/issues/1015),
[BCLOUD-21459](https://jira.atlassian.com/browse/BCLOUD-21459)). A work-around
is to directly use
[TPI](https://github.com/iterative/terraform-provider-iterative) (the library
which CML `runner` uses internally). TPI includes a CLI-friendly helper called
LEO (launch, execute, orchestrate), used below:
Copy link
Contributor

Choose a reason for hiding this comment

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

worth noting that this should be considered experimental until we decide what a Leo release looks like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: guide Content of /doc/user-guide C: ref Content of /doc/*-reference documentation Markdown files p1-important High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add Bitbucket to home page
3 participants