-
Notifications
You must be signed in to change notification settings - Fork 536
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
[Docs] Restructure doc page and add AI gallery #3331
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
30c1d4b
WIP: AI gallery
concretevitamin 28f8567
test
Michaelvll f634809
Docs
Michaelvll f135502
remove get started
Michaelvll abc7759
fix
Michaelvll 288588c
fixes
Michaelvll 9056f3f
move developer guide
Michaelvll 8183c36
padding
Michaelvll 3435eb4
Add Github
Michaelvll 2dbbd32
Add processing for gallery
Michaelvll 97e436c
add blog and slack to tab
Michaelvll 468c3db
fix hyperlins
Michaelvll 4b7c826
Add more gallery
Michaelvll 58760db
add mistral 7B
Michaelvll a5cc3cf
Fix relative references
Michaelvll 079f942
format
Michaelvll d42b1eb
fix lorax logo
Michaelvll e82d1a0
Basic readme for TGI
Michaelvll 414a3d8
Add text for gallery
Michaelvll 79bc120
bolding
Michaelvll 3623aef
rename
Michaelvll dbea203
Use icon and ux fixes
Michaelvll 15331fd
add redirect
Michaelvll b88dc65
format
Michaelvll e1b6e85
use blank page for home
Michaelvll ca321d7
change to welcome to skypilot
Michaelvll de6e046
rename gallery docs
Michaelvll 4412295
Merge branch 'docs-with-gallery-2' of github.com:skypilot-org/skypilo…
Michaelvll 6fcce9c
Fix cross reference
Michaelvll b3c94e7
Add a cover photo
Michaelvll f9b27bf
Add community
Michaelvll 478c85e
use x for twitter
Michaelvll 9b5ec92
change back to twitter
Michaelvll b8a652c
format
Michaelvll 572e9cb
Fix company
Michaelvll 6463191
remove unused file.
Michaelvll 1b41069
Fix tab movement
Michaelvll f607717
Make plural
Michaelvll c4f352b
Merge branch 'master' of github.com:skypilot-org/skypilot into docs-w…
Michaelvll 6ec9739
fix sidebar drawer
Michaelvll 16ce19b
Address comments
Michaelvll 0c45e64
remove unecessary file
Michaelvll b31331d
same underline
Michaelvll 4550155
Update docs/source/_gallery_original/index.rst
Michaelvll e9f79bf
Update docs/source/_gallery_original/index.rst
Michaelvll 6d8b386
Update docs/source/_gallery_original/index.rst
Michaelvll cf04d96
Update docs/source/_gallery_original/index.rst
Michaelvll 2665a95
Update docs/source/_gallery_original/index.rst
Michaelvll 5ae7fdb
remove remnant
Michaelvll f9cbf67
change cover photo
Michaelvll acb9ec7
Merge branch 'docs-with-gallery-2' of github.com:skypilot-org/skypilo…
Michaelvll c8290e1
address some comments
Michaelvll edb6d5d
address comments
Michaelvll efeb279
remove -X POST
Michaelvll 4041b54
Merge branch 'master' of github.com:skypilot-org/skypilot into docs-w…
Michaelvll 0483fb4
adopt changes from #3330
Michaelvll b16b40c
format
Michaelvll 0bdc200
address comments
Michaelvll 612995a
format
Michaelvll 911270e
address comments
Michaelvll c8aa98b
Merge branch 'master' of github.com:skypilot-org/skypilot into docs-w…
Michaelvll 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 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 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 @@ | ||
gallery/ | ||
This file contains 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 @@ | ||
../../../../llm/localgpt/README.md |
This file contains 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 @@ | ||
../../../../llm/tabby/README.md |
This file contains 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 @@ | ||
../../../../llm/lorax/README.md |
This file contains 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 @@ | ||
../../../../llm/sglang/README.md |
This file contains 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 @@ | ||
../../../../llm/tgi/README.md |
This file contains 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 @@ | ||
../../../../llm/vllm/README.md |
This file contains 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,67 @@ | ||
AI Gallery | ||
==================== | ||
|
||
|
||
AI Gallery is a collection of ready-to-run recipes for popular AI frameworks and AI models. | ||
It provides a simple way to **package**, **share**, and **run** AI projects using the simple interface of SkyPilot. | ||
|
||
You can directly execute the SkyPilot YAMLs on your own infrastructure, such as :ref:`cloud VMs <installation>` or :ref:`Kubernetes <kubernetes-overview>`. | ||
|
||
.. image:: ../images/ai-gallery-cover.png | ||
:alt: AI Gallery | ||
:align: center | ||
|
||
Contents | ||
-------- | ||
|
||
.. Relative paths are not supported in README.md. Instead, we should use GitHub | ||
.. URLs for the references to the files. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Inference Engines | ||
|
||
vLLM <frameworks/vllm> | ||
Hugging Face TGI <frameworks/tgi> | ||
Michaelvll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
SGLang <frameworks/sglang> | ||
LoRAX <frameworks/lorax> | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: LLM Models | ||
|
||
Mixtral (Mistral AI) <llms/mixtral> | ||
Mistral 7B (Mistral AI) <https://docs.mistral.ai/self-deployment/skypilot/> | ||
Llama-2 (Meta) <llms/llama-2> | ||
CodeLlama (Meta) <llms/codellama> | ||
Gemma (Google) <llms/gemma> | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Applications | ||
|
||
Tabby: Coding Assistant <applications/tabby> | ||
LocalGPT: Chat with PDF <applications/localgpt> | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Tutorials | ||
|
||
tutorials/finetuning.md | ||
|
||
|
||
|
||
Adding an Example to the Gallery | ||
-------------------------------- | ||
We welcome contributions from the community. If you would like to contribute, please follow the guidelines below. | ||
|
||
1. Fork the `SkyPilot repository <https://github.com/skypilot-org/skypilot>`__ on GitHub. | ||
2. Create a new folder for your own framework, LLM model, or tutorial under `llm/ <https://github.com/skypilot-org/skypilot/tree/master/llm>`__. | ||
3. Add a README.md, a SkyPilot YAML, and other necessary files to run the AI project. | ||
4. Create a soft link in `docs/source/_gallery_original <https://github.com/skypilot-org/skypilot/blob/master/docs/source/_gallery_original>`__ to the README file in one of the subfolders (frameworks, llms, tutorials), e.g., :code:`cd docs/source/_gallery_original/llms; ln -s ../../llm/mixtral/README.md mixtral.md`. | ||
5. Add the file path to the ``toctree`` above on this page. | ||
6. Create a pull request to the `SkyPilot repository <https://github.com/skypilot-org/skypilot/compare>`__. | ||
|
||
If you have any questions, please feel free to ask in the `SkyPilot Slack <https://slack.skypilot.co>`__. | ||
|
This file contains 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 @@ | ||
../../../../llm/codellama/README.md |
This file contains 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 @@ | ||
../../../../llm/gemma/README.md |
This file contains 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 @@ | ||
../../../../llm/llama-2/README.md |
This file contains 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 @@ | ||
../../../../llm/mixtral/README.md |
This file contains 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 @@ | ||
../../../../llm/vicuna-llama-2/README.md |
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 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 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 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,8 @@ | ||
// Dummy data for testing ReadTheDocs footer insertion | ||
Michaelvll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
// This mimics RTD data for a project that uses both versions + languages | ||
var READTHEDOCS_DATA = { | ||
project: "frc-docs", | ||
version: "latest", | ||
language: "en", | ||
proxied_api_host: "https://readthedocs.org", | ||
}; |
This file contains 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,5 @@ | ||
{% if author %} | ||
<p class="component-author"> | ||
By {{ author }} | ||
</p> | ||
{% endif %} |
This file contains 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,16 @@ | ||
{# Displays the TOC-subtree for pages nested under the currently active top-level TOCtree element. #} | ||
<nav class="bd-docs-nav bd-links" aria-label="{{ _('SkyPilot') }}"> | ||
<!-- <p class="bd-links__title" role="heading" aria-level="1">{{ _("SkyPilot") }}</p> --> | ||
<div class="bd-toc-item navbar-nav"> | ||
{{- generate_toctree_html( | ||
"sidebar", | ||
startdepth=0, | ||
show_nav_level=theme_show_nav_level | int, | ||
maxdepth=theme_navigation_depth | int, | ||
collapse=True, | ||
includehidden=theme_sidebar_includehidden | tobool, | ||
titles_only=True | ||
) | ||
-}} | ||
</div> | ||
</nav> |
This file contains 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,15 @@ | ||
{# Displays the TOC-subtree for pages nested under the currently active top-level TOCtree element. #} | ||
<nav class="bd-docs-nav bd-links" aria-label="{{ _('SkyPilot') }}"> | ||
<!-- <p class="bd-links__title" role="heading" aria-level="1">{{ _("SkyPilot") }}</p> --> | ||
<div class="bd-toc-item navbar-nav"> | ||
{{- generate_toctree_html( | ||
"sidebar", | ||
show_nav_level=theme_show_nav_level | int, | ||
maxdepth=theme_navigation_depth | int, | ||
collapse=theme_collapse_navigation | tobool, | ||
includehidden=theme_sidebar_includehidden | tobool, | ||
titles_only=True | ||
) | ||
-}} | ||
</div> | ||
</nav> |
This file contains 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,13 @@ | ||
{# Logo link generation -#} | ||
{% if not theme_logo.get("link") %} | ||
{% set href = pathto(root_doc) %} | ||
{% elif hasdoc(theme_logo.get("link")) %} | ||
{% set href = pathto(theme_logo.get("link")) %} {# internal page #} | ||
{% else %} | ||
{% set href = theme_logo.get("link") %} {# external url #} | ||
{% endif %} | ||
|
||
{#- Logo HTML and image #} | ||
<a class="navbar-brand logo" href="{{ href }}"> | ||
{{ theme_logo["svg"] }} | ||
</a> |
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.
Is this remnant?
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.
No, this is to avoid generated
gallery/
folder to be included in our git repo, as all the source files should be stay in_gallery_original