Commit 70485d52 authored by Sidney233's avatar Sidney233
Browse files

docs: 修复api.md无序列表,修改logo

parent 63b2384b
docs/images/logo.png

12 KB | W: | H:

docs/images/logo.png

8.52 KB | W: | H:

docs/images/logo.png
docs/images/logo.png
docs/images/logo.png
docs/images/logo.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -16,9 +16,8 @@ ...@@ -16,9 +16,8 @@
``` ```
在浏览器中访问 http://127.0.0.1:7860 使用 Gradio WebUI 或访问 http://127.0.0.1:7860/?view=api 使用 Gradio API。 在浏览器中访问 http://127.0.0.1:7860 使用 Gradio WebUI 或访问 http://127.0.0.1:7860/?view=api 使用 Gradio API。
> [!TIP] > [!TIP]
> 以下是一些使用sglang加速模式的建议和注意事项: > - 以下是一些使用sglang加速模式的建议和注意事项:
> - sglang加速模式目前支持在最低8G显存的Turing架构显卡上运行,但在显存<24G的显卡上可能会遇到显存不足的问题, 可以通过使用以下参数来优化显存使用: > - sglang加速模式目前支持在最低8G显存的Turing架构显卡上运行,但在显存<24G的显卡上可能会遇到显存不足的问题, 可以通过使用以下参数来优化显存使用:
> - 如果您使用单张显卡遇到显存不足的情况时,可能需要调低KV缓存大小,`--mem-fraction-static 0.5`,如仍出现显存不足问题,可尝试进一步降低到`0.4`或更低。 > - 如果您使用单张显卡遇到显存不足的情况时,可能需要调低KV缓存大小,`--mem-fraction-static 0.5`,如仍出现显存不足问题,可尝试进一步降低到`0.4`或更低。
> - 如您有两张以上显卡,可尝试通过张量并行(TP)模式简单扩充可用显存:`--tp-size 2` > - 如您有两张以上显卡,可尝试通过张量并行(TP)模式简单扩充可用显存:`--tp-size 2`
......
...@@ -29,7 +29,7 @@ theme: ...@@ -29,7 +29,7 @@ theme:
toggle: toggle:
icon: material/brightness-4 icon: material/brightness-4
name: Switch to system preference name: Switch to system preference
logo: images/MinerU-logo.png logo: images/logo.png
favicon: images/logo.svg favicon: images/logo.svg
features: features:
- content.tabs.link - content.tabs.link
...@@ -55,7 +55,8 @@ nav: ...@@ -55,7 +55,8 @@ nav:
- usage/index.md - usage/index.md
- API Calls or Visual Invocation: usage/api.md - API Calls or Visual Invocation: usage/api.md
- Extending MinerU Functionality Through Configuration Files: usage/config.md - Extending MinerU Functionality Through Configuration Files: usage/config.md
- FAQ: FAQ.md - FAQ:
- FAQ: FAQ/index.md
- Output File Format: output_file.md - Output File Format: output_file.md
- Known Issues: known_issues.md - Known Issues: known_issues.md
- TODO: todo.md - TODO: todo.md
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment