-
Notifications
You must be signed in to change notification settings - Fork 54
remote ray client example #833
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
base: main
Are you sure you want to change the base?
remote ray client example #833
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #833 +/- ##
=======================================
Coverage 92.45% 92.45%
=======================================
Files 24 24
Lines 1419 1419
=======================================
Hits 1312 1312
Misses 107 107 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
other than comment about token formatting, lgtm
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.
Can you change the language to Python instead of plain text?
dcbe579
to
a89a19e
Compare
Co-authored-by: bkeane <[email protected]> Co-authored-by: chipspeak <[email protected]> Co-authored-by: Bobbins <[email protected]>
a89a19e
to
7a38136
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kryanbeane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
"# Setup Authentication Configuration \n", | ||
"\n", | ||
"header = {\n", | ||
" 'Authorization': f'Bearer {\"<auth-token>\"}'\n", |
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.
Maybe something like this would be clearer:
auth_token = "XXXX" # Your OpenShift authentication token
header = {
'Authorization': f'Bearer {auth_token}'
}
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# Submit an a job using the RayJobClient\n", |
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.
# Submit a job using the RayJobClient
"# Import pieces from codeflare-sdk\n", | ||
"from codeflare_sdk import Cluster, ClusterConfiguration, TokenAuthentication, RayJobClient\n", | ||
"\n", | ||
"# Gather the dashboard URL\n", |
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.
For the sake of clarity might we say:
# Gather the dashboard URL (provided by the RayCluster creator)
No description provided.