Upgrade pip and change pypi source

This commit is contained in:
KMnO4-zx
2023-11-19 19:21:40 +08:00
parent ab615fbcbe
commit 52ff9fe6f0
6 changed files with 16 additions and 5 deletions
+2
View File
@@ -11,6 +11,8 @@
pip换源和安装依赖包
```shell
# 升级pip
python -m pip install --upgrade pip
# 更换 pypi 源加速库的安装
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
@@ -14,6 +14,9 @@ pip换源和安装依赖包
```bash
# 更换 pypi 源加速库的安装
# 升级pip
python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install modelscope==1.9.5
+2
View File
@@ -13,6 +13,8 @@
pip换源和安装依赖包
```shell
# 升级pip
python -m pip install --upgrade pip
# 更换 pypi 源加速库的安装
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
@@ -5,6 +5,8 @@
选择和第一个 `InternLM` 一样的 `AutoDL` 镜像环境,运行以下命令安装依赖,如果上一个 `InternLM-Chat-7B` 已经配置好环境不需要重复安装.
```shell
# 升级pip
python -m pip install --upgrade pip
# 更换 pypi 源加速库的安装
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
@@ -10,6 +10,8 @@
打开 `jupyter lab` 中的终端,首先运行以下命令安装 `PyTorch 2.0.1`
```shell
# 升级pip
python -m pip install --upgrade pip
pip install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu117
```
+5 -5
View File
@@ -49,9 +49,9 @@
- InternLM
- [ ] InternLM-Chat-7B Transformers 部署调用 @小罗 ddl=11.26
- [ ] InternLM-Chat-7B FastApi 部署调用
- [x] [InternLM-Chat-7B WebDemo](InternLM/01-InternLM-Chat-7B.md) @不要葱姜蒜
- [x] [Lagent+InternLM-Chat-7B-V1.1 WebDemo](InternLM/02-Lagent+InternLM-Chat-7B-V1.1.md) @不要葱姜蒜
- [x] [浦语灵笔图文理解&创作 WebDemo](InternLM/03-浦语灵笔图文理解&创作.md) @不要葱姜蒜
- [x] [InternLM-Chat-7B WebDemo](InternLM/03-InternLM-Chat-7B.md) @不要葱姜蒜
- [x] [Lagent+InternLM-Chat-7B-V1.1 WebDemo](InternLM/04-Lagent+InternLM-Chat-7B-V1.1.md) @不要葱姜蒜
- [x] [浦语灵笔图文理解&创作 WebDemo](InternLM/05-浦语灵笔图文理解&创作.md) @不要葱姜蒜
- [ ] InternLM-Chat-7B 接入 LangChain 框架 @ Logan Zou
- [ ] InternLM-Chat-7B Lora 微调 @ 柯辰 ddl=12.10
- [ ] InternLM-Chat-7B ptuning 微调
@@ -60,8 +60,8 @@
- ChatGLM
- [ ] ChatGLM3-6B Transformers 部署调用 @丁悦 ddl=12.2
- [ ] ChatGLM3-6B FastApi 部署调用 @丁悦 ddl=12.2
- [x] [ChatGLM3-6B chat WebDemo](ChatGLM/01-ChatGLM3-6B-chat.md) @不要葱姜蒜
- [x] [ChatGLM3-6B Code Interpreter WebDemo](ChatGLM/02-ChatGLM3-6B-Code-Interpreter.md) @不要葱姜蒜
- [x] [ChatGLM3-6B chat WebDemo](ChatGLM/03-ChatGLM3-6B-chat.md) @不要葱姜蒜
- [x] [ChatGLM3-6B Code Interpreter WebDemo](ChatGLM/04-ChatGLM3-6B-Code-Interpreter.md) @不要葱姜蒜
- [ ] ChatGLM3-6B 接入 LangChain 框架 @ Logan Zou
- [ ] ChatGLM3-6B Lora 微调 @ Hongru0306 ddl=11.26
- [ ] ChatGLM3-6B ptuning 微调 @ Hongru0306 ddl=11.26