Translate README to Chinese

This commit is contained in:
2026-04-29 19:42:22 +08:00
parent 938d0854a5
commit 13969be800

View File

@@ -1,21 +1,23 @@
# bi_150-vllm # bi_150-vllm
This repository contains the extracted `vLLM 0.17.0+corex.20260420090923` 本仓库保存的是从镜像中提取出来的
Python package used to overlay the vendor image `vLLM 0.17.0+corex.20260420090923` Python 包代码,
`registry.iluvatar.com.cn:10443/customer/sz/vllm0.17.0-4.4.0-x86:v4.1`. 用于覆盖基础镜像
`registry.iluvatar.com.cn:10443/customer/sz/vllm0.17.0-4.4.0-x86:v4.1`
中的已安装 `vllm` 目录,并重新打包生成新镜像。
## Included files ## 仓库内容
- `vllm/` - `vllm/`
The Python package code copied from the image payload. 从镜像中提取出来的 `vllm` Python 包代码。
- `vllm-0.17.0+corex.20260420090923.dist-info/` - `vllm-0.17.0+corex.20260420090923.dist-info/`
The package metadata extracted from the image. 对应的 Python 包元数据目录。
- `Dockerfile` - `Dockerfile`
Builds a new image by replacing the installed `vllm` package in the vendor base image. 基于厂商基础镜像重新覆盖 `vllm` 代码并打包镜像。
## Build ## 构建镜像
Run the following command from the repository root: 在仓库根目录执行:
```bash ```bash
docker build --pull=false \ docker build --pull=false \
@@ -24,14 +26,14 @@ docker build --pull=false \
. .
``` ```
## Verify ## 验证镜像
```bash ```bash
docker run --rm -it bi_150_vllm:0.17.0 \ docker run --rm -it bi_150_vllm:0.17.0 \
python3 -c "import vllm; print(vllm.__file__); print(vllm.__version__)" python3 -c "import vllm; print(vllm.__file__); print(vllm.__version__)"
``` ```
## Notes ## 说明
- This is an overlay-style repository, not the original upstream git source tree. - 这个仓库是覆盖式发布仓库,不是上游完整的 git 源码仓库。
- The Docker image keeps the vendor runtime stack and only replaces the Python package files. - 镜像构建时保留基础镜像中的 CoreX 运行时环境,只替换 Python 层的 `vllm` 代码和对应元数据。