Skip to content

Commit

Permalink
- [Docs]: Minor edits in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschmidt85 committed Aug 4, 2023
1 parent abd428b commit 9ad2910
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/examples/stable-diffusion-xl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SDXL with FastAPI
# Serving SDXL with FastAPI

Stable Diffusion XL (SDXL) 1.0 is the latest version of the open-source model that is capable
of generating high-quality images from text.
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/text-generation-inference.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Serving with TGI
# Serving LLMs with TGI

Serving LLMs can be slow, even on expensive hardware. This example demonstrates how to utilize
[Text Generation Inference](https://github.com/huggingface/text-generation-inference) (TGI) to serve LLMs with
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/vllm.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Serving with vLLM
# Serving LLMs with vLLM

Serving LLMs can be slow, even on expensive hardware. This example demonstrates how to utilize the
[`vllm`](https://vllm.ai/) library to serve LLMs with optimized performance.
Expand Down
10 changes: 5 additions & 5 deletions docs/overrides/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ <h2>Examples</h2>
</svg>
</div>
<h3>
SDXL 1.0 with FastAPI
Serving SDXL with FastAPI
</h3>

<p>
Using <strong>Stable Diffusion XL 1.0</strong> and <strong>FastAPI</strong>, create a REST
endpoint that generates and refines images.
Serving <strong>Stable Diffusion XL</strong> with <strong>FastAPI</strong> to generate
and refine images via a REST endpoint.
</p>
</div>
</a>
Expand All @@ -35,7 +35,7 @@ <h3>
</svg>
</div>
<h3>
Serving with vLLM
Serving LLMs with vLLM
</h3>

<p>
Expand All @@ -54,7 +54,7 @@ <h3>
</svg>
</div>
<h3>
Serving with TGI
Serving LLMs with TGI
</h3>

<p>
Expand Down
17 changes: 8 additions & 9 deletions docs/overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,12 @@ <h2>Featured examples</h2>
</svg>
</div>
<h3>
SDXL 1.0 with FastAPI
Serving SDXL with FastAPI
</h3>

<p>
Using <strong>Stable Diffusion XL 1.0</strong> and <strong>FastAPI</strong>, create a REST
endpoint that generates and refines
images.
Serving <strong>Stable Diffusion XL</strong> with <strong>FastAPI</strong> to generate
and refine images via a REST endpoint.
</p>
</div>
</a>
Expand All @@ -293,12 +292,12 @@ <h3>
</svg>
</div>
<h3>
Serving with vLLM
Serving LLMs with vLLM
</h3>

<p>
Serve open-source LLMs as OpenAI-compatible APIs with up to 24 times higher throughput using
the vLLM library.
the <strong>vLLM</strong> library.
</p>
</div>
</a>
Expand All @@ -311,7 +310,7 @@ <h3>
</svg>
</div>
<h3>
Serving with TGI
Serving LLMs with TGI
</h3>

<p>
Expand All @@ -334,8 +333,8 @@ <h3>
</h3>

<p>
Run an open-source LLM of your choice, either as a Gradio app or as a Discord bot, with
internet search capability.
Run an open-source LLM of your choice, either as a <strong>Gradio</strong> app or as a
<strong>Discord</strong> bot, with internet search capability.
</p>
</div>
</a>
Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ nav:
- Examples:
- examples/index.md
- Examples:
- SDXL with FastAPI: examples/stable-diffusion-xl.md
- Serving with TGI: examples/text-generation-inference.md
- Serving with vLLM: examples/vllm.md
- Serving SDXL with FastAPI: examples/stable-diffusion-xl.md
- Serving LLMs with vLLM: examples/vllm.md
- Serving LLMs with TGI: examples/text-generation-inference.md
- LLM as Chatbot: examples/llmchat.md
- Blog:
- blog/index.md
Expand Down

0 comments on commit 9ad2910

Please sign in to comment.