File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,6 @@ conda activate moss
143143pip install -r requirements.txt
144144```
145145
146- 4 . (可选) 4/8-bit 量化环境
147-
148- ``` bash
149- pip install triton
150- ```
151-
152146其中` torch ` 和` transformers ` 版本不建议低于推荐版本。
153147
154148目前triton仅支持Linux及WSL,暂不支持Windows及Mac OS,请等待后续更新。
@@ -365,7 +359,7 @@ Search("黑暗荣耀 主演") =>
365359
366360** Streamlit**
367361
368- 我们提供了一个基于[ Streamlit] ( https://streamlit.io/ ) 实现的网页Demo,您可以通过 ` pip install streamlit ` 来安装Streamlit,并运行本仓库中的 [ moss_web_demo_streamlit.py] ( https://github.com/OpenLMLab/MOSS/blob/main/moss_web_demo_streamlit.py ) 来打开网页Demo:
362+ 我们提供了一个基于[ Streamlit] ( https://streamlit.io/ ) 实现的网页Demo,您可以运行本仓库中的 [ moss_web_demo_streamlit.py] ( https://github.com/OpenLMLab/MOSS/blob/main/moss_web_demo_streamlit.py ) 来打开网页Demo:
369363
370364``` bash
371365streamlit run moss_web_demo_streamlit.py --server.port 8888
@@ -383,7 +377,7 @@ streamlit run moss_web_demo_streamlit.py --server.port 8888 -- --model_name fnlp
383377
384378** Gradio**
385379
386- 感谢[ Pull Request] ( https://github.com/OpenLMLab/MOSS/pull/25 ) 提供的基于Gradio的网页Demo,您可以在安装Gradio后运行本仓库的 [ moss_web_demo_gradio.py] ( https://github.com/OpenLMLab/MOSS/blob/main/moss_web_demo_gradio.py ) :
380+ 感谢[ Pull Request] ( https://github.com/OpenLMLab/MOSS/pull/25 ) 提供的基于 [ Gradio ] ( https://gradio.app/ ) 的网页Demo,您可以运行本仓库中的 [ moss_web_demo_gradio.py] ( https://github.com/OpenLMLab/MOSS/blob/main/moss_web_demo_gradio.py ) :
387381
388382``` bash
389383python moss_web_demo_gradio.py
Original file line number Diff line number Diff line change 55accelerate
66matplotlib
77huggingface_hub
8+ triton
9+ streamlit
810gradio
911mdtex2html
You can’t perform that action at this time.
0 commit comments