Open
Conversation
casperdcl
commented
Dec 1, 2022
| ) | ||
| # Wait for cloud training to finish | ||
| leo read $LEO_OPTIONS --follow "$leo_id" | ||
| sleep 45 # TODO: explain |
Contributor
There was a problem hiding this comment.
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="$(cat ./leo-script.sh)"</span></div> | ||
| <div> <span>)</span></div> | ||
| <div> <span>leo read $LEO_OPTIONS --follow "$leo_id"</span></div> | ||
| <div> <span>sleep 45 # TODO: explain</span></div> |
Link Check ReportAll 9 links passed! |
casperdcl
commented
Dec 1, 2022
| </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> |
Contributor
Author
There was a problem hiding this comment.
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> |
dacbd
reviewed
Dec 6, 2022
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: |
Contributor
There was a problem hiding this comment.
worth noting that this should be considered experimental until we decide what a Leo release looks like?
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.

leowork-around to https://github.com/iterative/cml/wiki/Backend-Supported-Features