-
Notifications
You must be signed in to change notification settings - Fork 80
Merge Documentation changes to main for Launch #196
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f3d5978
Update documentation-with-new-changes branch with latest changes from…
rsareddy0329 a615b61
Documentation Fixes (#191)
rsareddy0329 c9fa876
update documentation with new changes branch with latest changes (#194)
rsareddy0329 a98202a
Documentation Fixes (#195)
rsareddy0329 e9aea5c
Documentation Fixes (#197)
rsareddy0329 e7a4ae7
Documentation Fixes (#198)
rsareddy0329 e223364
Documentation fixes (#199)
rsareddy0329 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ __pycache__/ | |
| /.mypy_cache | ||
|
|
||
| /doc/_apidoc/ | ||
| doc/_build/ | ||
| /build | ||
|
|
||
| /sagemaker-hyperpod/build | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| version: 2 | ||
|
|
||
| build: | ||
| os: ubuntu-22.04 | ||
| tools: | ||
| python: "3.9" | ||
|
|
||
| python: | ||
| install: | ||
| - method: pip | ||
| path: . | ||
| - requirements: doc/requirements.txt | ||
|
|
||
| sphinx: | ||
| configuration: doc/conf.py | ||
| fail_on_warning: false | ||
|
|
||
| formats: | ||
| - epub |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Minimal makefile for Sphinx documentation | ||
| # | ||
|
|
||
| # You can set these variables from the command line. | ||
| SPHINXOPTS = | ||
| SPHINXBUILD = python3 -msphinx | ||
| SPHINXPROJ = sagemaker | ||
| SOURCEDIR = . | ||
| BUILDDIR = _build | ||
|
|
||
| # Put it first so that "make" without argument is like "make help". | ||
| help: | ||
| @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
|
||
| .PHONY: help Makefile | ||
|
|
||
| # Catch-all target: route all unknown targets to Sphinx using the new | ||
| # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
| %: Makefile | ||
| @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| /* Custom styles for SageMaker HyperPod documentation */ | ||
|
|
||
| /* Adjust logo size and alignment */ | ||
| .navbar-brand img { | ||
| max-height: 40px; | ||
| width: auto; | ||
| margin-right: 10px; | ||
| vertical-align: middle; | ||
| } | ||
|
|
||
| .navbar-brand .title { | ||
| font-weight: 800; | ||
| color: #111827; | ||
| } | ||
|
|
||
| /* Ensure logo container doesn't force wrapping */ | ||
| .navbar-brand-box { | ||
| width: auto; | ||
| flex-shrink: 0; | ||
| } | ||
|
|
||
| /* Header styling */ | ||
| header { | ||
| background-color: white; | ||
|
|
||
| box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
| position: sticky; | ||
| top: 0; | ||
| z-index: 50; | ||
| } | ||
|
|
||
| h1 { | ||
| font-size: 1.875rem; | ||
| font-weight: 700; | ||
| color: #111827; | ||
| } | ||
|
|
||
| h2 { | ||
| font-size: 1.5rem; | ||
| font-weight: 700; | ||
| color: #111827; | ||
| } | ||
|
|
||
| h3 { | ||
| font-size: 1.25rem; | ||
| font-weight: 500; | ||
| color: #111827; | ||
| } | ||
|
|
||
| p { | ||
| font-size: 1.0rem; | ||
| color: #4b5563; | ||
| } | ||
|
|
||
| html[data-theme="dark"] .navbar-brand .title { | ||
| color: #f8fafc !important; | ||
| } | ||
|
|
||
| html[data-theme="dark"] p { | ||
| color: #d1d5db !important; | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| .example-badge { | ||
| background-color: #c63340; | ||
| color: white; | ||
| padding: 0.25rem 0.5rem; | ||
| text-align: center; | ||
| border-radius: 5px; | ||
| font-size: 0.8rem; | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .aws-doc-badge { | ||
| background-color: #e18b50; | ||
| color: white; | ||
| padding: 0.25rem 0.5rem; | ||
| text-align: center; | ||
| border-radius: 5px; | ||
| font-size: 0.8rem; | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .sdk-doc-badge { | ||
| background-color: #4c968f; | ||
| color: white; | ||
| padding: 0.25rem 0.5rem; | ||
| text-align: center; | ||
| border-radius: 5px; | ||
| font-size: 0.8rem; | ||
| display: inline-block; | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| (advanced_resources)= | ||
|
|
||
| # Advanced Resources | ||
|
|
||
| ```{toctree} | ||
| :hidden: | ||
| :maxdepth: 2 | ||
|
|
||
| examples | ||
| AWS SageMaker HyperPod Docs<https://docs.aws.amazon.com/sagemaker/latest/dg/hyperpod.html> | ||
| HyperPod Developer Guide<https://catalog.workshops.aws/sagemaker-hyperpod-eks/en-US> | ||
| SageMaker HyperPod Workshop<https://catalog.workshops.aws/sagemaker-hyperpod-eks/en-US> | ||
|
|
||
| ``` | ||
|
|
||
| ## Advanced Resources | ||
|
|
||
| ::::{grid} 1 2 2 2 | ||
| :gutter: 3 | ||
|
|
||
| :::{grid-item-card} Github | ||
| :link: examples | ||
| :link-type: ref | ||
| :class-card: sd-border-secondary | ||
|
|
||
| **Example Notebooks** - Ready-to-use implementation guides | ||
| ::: | ||
|
|
||
| :::{grid-item-card} AWS SageMaker HyperPod Docs | ||
| :link: https://docs.aws.amazon.com/sagemaker/latest/dg/hyperpod.html | ||
| :link-type: url | ||
| :class-card: sd-border-secondary | ||
|
|
||
| **HyperPod Documentation** - Know more about HyperPod | ||
| ::: | ||
|
|
||
| :::{grid-item-card} HyperPod Developer Guide | ||
| :link: https://catalog.workshops.aws/sagemaker-hyperpod-eks/en-US | ||
| :link-type: url | ||
| :class-card: sd-border-secondary | ||
|
|
||
| **Developer Guide** - Refer to this practical development guide | ||
| ::: | ||
|
|
||
| :::{grid-item-card} SageMaker HyperPod Workshop | ||
| :link: https://catalog.workshops.aws/sagemaker-hyperpod-eks/en-US | ||
| :link-type: url | ||
| :class-card: sd-border-secondary | ||
|
|
||
| **Practical Guide** - Refer to the workshop for detailed follow-through steps | ||
| ::: | ||
|
|
||
|
|
||
| :::: |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| ############# | ||
| SDK Reference | ||
| ############# | ||
|
|
||
| .. toctree:: | ||
| :hidden: | ||
| :maxdepth: 2 | ||
|
|
||
| training/hyperpod_pytorch_job | ||
| inference/hp_endpoint | ||
|
|
||
| Complete reference for the SageMaker HyperPod SDK. | ||
|
|
||
| .. container:: | ||
|
|
||
| .. grid:: 1 1 3 3 | ||
| :gutter: 3 | ||
|
|
||
| .. grid-item-card:: Training SDK | ||
| :link: training/hyperpod_pytorch_job | ||
| :link-type: doc | ||
| :class-card: sd-border-secondary | ||
|
|
||
| Training SDK classes, methods and parameters. | ||
|
|
||
| .. grid-item-card:: Inference SDK | ||
| :link: inference/hp_endpoint | ||
| :link-type: doc | ||
| :class-card: sd-border-secondary | ||
|
|
||
| Inference SDK classes, methods and parameters. | ||
|
|
||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| Inference | ||
| =========== | ||
|
|
||
| * `HPEndpointBase`_ | ||
| * `HPEndpoint`_ | ||
| * `HPJumpStartEndpoint`_ | ||
| * `HPEndpoint Configs`_ | ||
|
|
||
|
|
||
| HPEndpointBase | ||
| ------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.inference.hp_endpoint_base | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| HPEndpoint | ||
| ------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.inference.hp_endpoint | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| HPJumpStartEndpoint | ||
| --------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.inference.hp_jumpstart_endpoint | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| HPEndpoint Configs | ||
| ------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.inference.config.hp_endpoint_config | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.inference.config.hp_jumpstart_endpoint_config | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Metadata | ||
| ------------ | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.common.config.metadata | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| Training | ||
| =========== | ||
|
|
||
| * `HyperPodPytorchJob`_ | ||
| * `HyperPodPytorchJob Configs`_ | ||
|
|
||
|
|
||
| HyperPodPytorchJob | ||
| ------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.training.hyperpod_pytorch_job | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
|
|
||
| HyperPodPytorchJob Configs | ||
| --------------------------- | ||
|
|
||
| .. automodule:: sagemaker.hyperpod.training.config.hyperpod_pytorch_job_unified_config | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Does this needs to be
/doc/_build/here?Uh oh!
There was an error while loading. Please reload this page.
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 is mainly to make sure
_buildis ignored in git Version control system