-
Notifications
You must be signed in to change notification settings - Fork 300
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
Add docs for the PyTorchJob integration #1048
Add docs for the PyTorchJob integration #1048
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
6679ad7
to
38bc9ae
Compare
38bc9ae
to
fa963b7
Compare
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
fa963b7
to
d3b029a
Compare
Blocked on #995 |
d3b029a
to
80cb611
Compare
Is this still WIP? |
Yes, I need to add a sample to the |
80cb611
to
194577a
Compare
@alculquicondor This PR is ready for review. |
site/content/en/docs/tasks/run_with_kubeflow/run_pytorchjobs.md
Outdated
Show resolved
Hide resolved
194577a
to
0a82b98
Compare
|
||
This example is based on https://github.com/kubeflow/training-operator/blob/855e0960668b34992ba4e1fd5914a08a3362cfb1/examples/pytorch/simple.yaml. | ||
|
||
Note that the minimum requirement training-operator version is v1.7.0. |
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.
This should be said in the "Before you begin" section.
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.
It makes sense.
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.
Done.
eac90cf
to
d05b74f
Compare
site/layouts/shortcodes/include.html
Outdated
```{{ .Get 1 }} | ||
{{ (printf "%s%s" .Page.File.Dir $path) | readFile | replaceRE "^---[\\s\\S]+?---" "" | safeHTML }} | ||
{{ (printf "%s" $path) | readFile | replaceRE "^---[\\s\\S]+?---" "" | safeHTML }} |
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.
{{ (printf "%s" $path) | readFile | replaceRE "^---[\\s\\S]+?---" "" | safeHTML }} | |
{{ $path | readFile | replaceRE "^---[\\s\\S]+?---" "" | safeHTML }} |
?
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.
site/layouts/shortcodes/include.html
Outdated
@@ -1,6 +1,6 @@ | |||
{{ $file := .Get 0 }} | |||
[{{$file}}]({{printf "/examples/%s" $file}}) | |||
{{ $path := (printf "../../static/examples/%s" $file)}} | |||
{{ $path := (printf "/opt/build/repo/site/static/examples/%s" $file)}} |
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.
uhm... this is worrisome. It will work in the bot, but it won't work if someone is trying to build the site locally.
Can you try "site/static/examples/%"
or "static/examples/%"
?
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.
It sounds reasonable. Let me try it.
593f652
to
3e5da71
Compare
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
3e5da71
to
f978bb5
Compare
/lgtm |
@alculquicondor Can you add |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, tenzen-y 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 |
What type of PR is this?
/kind documentation
What this PR does / why we need it:
I added docs for the PyTorchJob integration.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?