forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 3
[26.06] Ray Release: Documentation setup #5
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
Open
anisha-amd
wants to merge
24
commits into
release/2.55.1
Choose a base branch
from
docs/26.06
base: release/2.55.1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f603775
[26.06] Ray Release: Documentation setup
anisha-amd 857ff89
Doc setup and version
anisha-amd eeb173e
updated the ray install for 26.06
spolifroni-amd 57685a4
Potential fix for pull request finding
spolifroni-amd 497b264
Update ray-install.rst
spolifroni-amd 1986ede
rolled backcopilot autofix
spolifroni-amd 968e7ca
fixed alignment.
spolifroni-amd 54137c7
Apply suggestions from code review
demandal25 87ac175
Merge pull request #6 from ROCm/spolifroni-amd/26.06-additions
spolifroni-amd 0feb522
updated based on review comments
spolifroni-amd 7efb8cf
updated my-rocm-ray -> rocm-ray
spolifroni-amd 6bc2e30
revert one my-rocm-ray -> rocm-ray
spolifroni-amd 24345ec
Update amd-docs/conf.py
anisha-amd bc743e2
26.06 docs nomenclature update
anisha-amd 664573b
Update conf.py
anisha-amd b8854c9
Update ray-install.rst
anisha-amd 3f3ffb6
Update ray-install.rst
anisha-amd 36dba20
Update ray-install.rst
anisha-amd e58d8ae
Update ray-install.rst
anisha-amd e77c01a
Update ray-install.rst
anisha-amd 4afcd12
Update ray-install.rst
anisha-amd b24e915
ray updates
anisha-amd 9dd96cf
Update LICENSE
anisha-amd ac5f558
Update LICENSE
anisha-amd 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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| rocm_setup_version(VERSION 2.55.1) | ||
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
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,21 @@ | ||
| # Read the Docs configuration file | ||
| # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
|
||
| version: 2 | ||
|
|
||
| sphinx: | ||
| configuration: amd-docs/conf.py | ||
|
|
||
| # RTD by default builds html only | ||
| # Additional formats available for extra build time: htmlzip, pdf, epub | ||
| formats: [] | ||
|
|
||
| python: | ||
| install: | ||
| - requirements: amd-docs/sphinx/requirements.txt | ||
|
|
||
| # Defines build environment | ||
| build: | ||
| os: ubuntu-24.04 | ||
| tools: | ||
| python: "3.12" |
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,12 @@ | ||
| .. meta:: | ||
| :description: Ray license | ||
| :keywords: Ray, reinforcement learning, ROCm, developer, reference, python | ||
|
|
||
| .. _license: | ||
|
|
||
| ****************************************** | ||
| License | ||
| ****************************************** | ||
|
|
||
| .. include:: ../../LICENSE | ||
| :literal: |
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,58 @@ | ||
| # Configuration file for the Sphinx documentation builder. | ||
| # | ||
| # This file only contains a selection of the most common options. For a full | ||
| # list see the documentation: | ||
| # https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
|
||
| import re | ||
|
spolifroni-amd marked this conversation as resolved.
|
||
|
|
||
| ''' | ||
| html_theme is usually unchanged (rocm_docs_theme). | ||
| flavor defines the site header display, select the flavor for the corresponding portals | ||
| flavor options: rocm, rocm-docs-home, rocm-blogs, rocm-ds, instinct, ai-developer-hub, local, generic | ||
| ''' | ||
| html_theme = "rocm_docs_theme" | ||
| html_theme_options = {"flavor": "rocm-llmext", "repository_url": "https://github.com/AMD-Ecosystem/ray/"} | ||
|
|
||
| ''' | ||
| docs_header_version is used to manually configure the version in the header. If | ||
| there exists a non-null value mapped to docs_header_version, then the header in | ||
| the documentation page will contain the given version string. | ||
| ''' | ||
| html_context = { | ||
| "docs_header_version": "26.06" | ||
| } | ||
|
spolifroni-amd marked this conversation as resolved.
|
||
|
|
||
|
|
||
| # This section turns on/off article info | ||
| setting_all_article_info = True | ||
| all_article_info_os = ["linux"] | ||
| all_article_info_author = "" | ||
|
|
||
| # Dynamically extract component version | ||
| with open('../CMakeLists.txt', encoding='utf-8') as f: | ||
| pattern = r'.*\brocm_setup_version\(VERSION\s+([0-9A-Za-z._-]+)' # Update according to each component's CMakeLists.txt | ||
| match = re.search(pattern, | ||
| f.read()) | ||
| if not match: | ||
| raise ValueError("VERSION not found!") | ||
| version_number = match[1] | ||
|
spolifroni-amd marked this conversation as resolved.
|
||
|
|
||
| # for PDF output on Read the Docs | ||
| project = "Ray" | ||
| author = "Advanced Micro Devices, Inc." | ||
| copyright = "Copyright (c) 2026 Advanced Micro Devices, Inc. All rights reserved." | ||
| version = version_number | ||
| release = version_number | ||
|
|
||
| external_toc_path = "./sphinx/_toc.yml" # Defines Table of Content structure definition path | ||
|
spolifroni-amd marked this conversation as resolved.
|
||
|
|
||
| # Add more additional packages accordingly | ||
| extensions = [ | ||
| "rocm_docs", | ||
| "sphinx.ext.autodoc", # for Python docstrings | ||
| ] | ||
|
|
||
| html_title = f"{project} {version_number} documentation" | ||
|
|
||
| external_projects_current_project = "Ray" | ||
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 @@ | ||
| .. meta:: | ||
| :description: Ray documentation | ||
| :keywords: Ray, ROCm, documentation, reinforcement learning, deep learning, framework, GPU | ||
|
|
||
| .. _ray-documentation-index: | ||
|
|
||
| ******************************************************************** | ||
| Ray on ROCm documentation | ||
| ******************************************************************** | ||
|
|
||
| Use Ray on ROCm to orchestrate distributed GPU workloads across AMD Instinct | ||
| clusters, enabling elastic hyperparameter tuning, reinforcement learning, | ||
| and scalable end-to-end machine learning pipelines. | ||
|
|
||
| Ray is a unified framework, consisting of `a core distributed | ||
| runtime <https://docs.ray.io/en/latest/ray-core/walkthrough.html>`__ and a set of | ||
| `AI libraries <https://docs.ray.io/en/latest/ray-air/getting-started.html>`__ for | ||
| simplifying machine learning computations. | ||
|
|
||
| Ray is part of the `AMD LLM Extension toolkit | ||
| <https://rocm.docs.amd.com/projects/rocm-llmext/en/docs-26.02/>`__. | ||
|
|
||
| The Ray public repository is located at `https://github.com/AMD-Ecosystem/ray <https://github.com/AMD-Ecosystem/ray>`__. | ||
|
|
||
| .. grid:: 2 | ||
| :gutter: 3 | ||
|
|
||
| .. grid-item-card:: Install | ||
|
|
||
| * :doc:`Install Ray <install/ray-install>` | ||
|
|
||
| .. grid-item-card:: Examples | ||
|
|
||
| * `Ray examples (upstream) <https://docs.ray.io/en/latest/ray-overview/examples/index.html>`__ | ||
| * `Ray use cases (upstream) <https://docs.ray.io/en/latest/ray-overview/use-cases.html>`__ | ||
|
|
||
| .. grid-item-card:: Reference | ||
|
|
||
| * `Get started with Ray (upstream) <https://docs.ray.io/en/latest/ray-overview/getting-started.html>`__ | ||
| * `Ray Core API (upstream) <https://docs.ray.io/en/latest/ray-core/api/index.html>`__ | ||
|
|
||
| To contribute to the documentation, refer to | ||
| `Contributing to Ray <https://github.com/AMD-Ecosystem/ray/blob/master/CONTRIBUTING.rst>`__. | ||
|
|
||
| You can find licensing information on the :doc:`Licensing <about/license>` page. |
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.
Uh oh!
There was an error while loading. Please reload this page.