Commit 3c596961 authored by laibao's avatar laibao
Browse files

更新镜像,更新环境变量(包含绑卡顺序,同流推理)

parent c628c3aa
FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.2-py3.10
ENV LANG C.UTF-8
\ No newline at end of file
FROM image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.3.0-ubuntu22.04-dtk24.04.3-py3.10
ENV LANG C.UTF-8
......@@ -39,7 +39,7 @@ LLaVA(Large Language and Vision Assistant)的算法原理主要包括以下
提供[光源](https://www.sourcefind.cn/#/image/dcu/custom)拉取推理的docker镜像:
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu20.04-dtk24.04.2-py3.10
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.3.0-ubuntu22.04-dtk24.04.3-py3.10
# <Image ID>用上面拉取docker镜像的ID替换
# <Host Path>主机端路径
# <Container Path>容器映射路径
......@@ -77,6 +77,18 @@ conda create -n llava_vllm python=3.10
* python: python3.10
`Tips:需先安装相关依赖,最后安装vllm包`
环境变量:
export ALLREDUCE_STREAM_WITH_COMPUTE=1
export VLLM_RANK0_NUMA=0
export VLLM_RANK1_NUMA=1
export VLLM_RANK2_NUMA=4
export VLLM_RANK3_NUMA=5
export VLLM_RANK4_NUMA=2
export VLLM_RANK5_NUMA=3
export VLLM_RANK6_NUMA=6
export VLLM_RANK7_NUMA=7
## 数据集
......
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