Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
381789999f | ||
|
|
7ff7d77e7b | ||
|
|
2b502ecc94 | ||
|
|
24f861c882 |
No files matched your search
@@ -11,8 +11,19 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
# ⚠️ 与「已知可用版本」的唯一差异:本仓库是 **private**,
|
||||
# 裸 `git clone`(无凭据)会被服务端拒绝(remote: Unauthorized, rc=128)。
|
||||
# 用 `gitea.token`(runner 注入的仓库 token,长度 40)走 x-access-token。
|
||||
# 公开仓库不需要这一行;私有仓库必须。
|
||||
# 2026-11-10 实测:bare=128 / token=0(见 commit status `probe2`)。
|
||||
env:
|
||||
GITEA_TOKEN: ${{ gitea.token }}
|
||||
run: |
|
||||
git clone "${{ gitea.server_url }}/${{ gitea.repository }}.git" .
|
||||
HOST="${GITHUB_SERVER_URL:-${{ gitea.server_url }}}"
|
||||
HOST="${HOST#https://}"
|
||||
HOST="${HOST#http://}"
|
||||
HOST="${HOST%/}"
|
||||
git clone "https://x-access-token:${GITEA_TOKEN}@${HOST}/${{ gitea.repository }}.git" .
|
||||
git checkout "${{ gitea.ref_name }}"
|
||||
|
||||
- name: Set image metadata
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
ARG BASE_IMAGE=registry.iluvatar.com.cn:10443/customer/sz/vllm0.17.0-4.4.0-x86:v7
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ARG IMAGE_VERSION=v0.1.0
|
||||
ARG IMAGE_VERSION=v0.1.1
|
||||
|
||||
LABEL org.opencontainers.image.title="pplx-decider-bi150" \
|
||||
org.opencontainers.image.description="pplx-decider-flash-v1.2 base LM on Iluvatar BI-V150 with vLLM 0.17.0+corex" \
|
||||
|
||||
@@ -30,7 +30,26 @@ ValueError: There is no module or parameter named 'embed_tokens' in Qwen3_5ForCa
|
||||
|
||||
## 2. 构建
|
||||
|
||||
BI-150 只在宿主机有 docker(容器内没有):
|
||||
**推荐:CI(已跑通)**
|
||||
|
||||
```bash
|
||||
git tag v0.1.1 && git push origin v0.1.1
|
||||
```
|
||||
|
||||
产物:
|
||||
|
||||
```text
|
||||
harbor.4pd.io/modelhubxc/xiejiahao/pplx-decider-bi150:v0.1.1
|
||||
digest sha256:e6d3cb591ac137b41510ed2c50b7663d57a49de094ac2ef83ce4fdff8de76a4a
|
||||
(amd64 manifest sha256:29e201f7dbee1efda15fe89903b6608a4686c82c8e1512e2fcc79f2fc00a8bbc)
|
||||
```
|
||||
|
||||
CI 环境:5 step 全过,耗时 1m5s。**注意本仓库是 private**,
|
||||
workflow 的 clone 步骤必须带 `${{ gitea.token }}`(裸 clone 返回 rc=128,
|
||||
`v0.1.0` 就是这样失败的)。详见
|
||||
`docs/deploy/bi150-22-54/pplx-decider-flash-v1.2_部署测试报告.md` §12.2。
|
||||
|
||||
**本地构建**(BI-150 只在宿主机有 docker,容器内没有):
|
||||
|
||||
```bash
|
||||
nsenter -t 1 -m -p -- bash -c 'cd /root/xjh/pplx-decider-bi150 && ./build.sh'
|
||||
@@ -72,9 +91,20 @@ docker run -d --name pplx-decider-flash \
|
||||
--restart unless-stopped \
|
||||
--entrypoint /usr/local/bin/pplx-entrypoint.sh \
|
||||
--workdir /opt/pplx \
|
||||
pplx-decider-bi150:local
|
||||
harbor.4pd.io/modelhubxc/xiejiahao/pplx-decider-bi150:v0.1.1
|
||||
```
|
||||
|
||||
| 项 | 值 |
|
||||
|---|---|
|
||||
| 交付镜像 | `harbor.4pd.io/modelhubxc/xiejiahao/pplx-decider-bi150:v0.1.1`(**CI 产物**) |
|
||||
| digest | `sha256:e6d3cb591ac137b41510ed2c50b7663d57a49de094ac2ef83ce4fdff8de76a4a` |
|
||||
| 大小 | 31.7 GB |
|
||||
| 冷启动 | 144 s(CI 镜像首启,含 SUDNN JIT) |
|
||||
| 验证 | `curl -s http://127.0.0.1:24396/health` + `/v1/models` |
|
||||
|
||||
> **不要用 `pplx-decider-bi150:local` / `:v0.1.0` 作交付 tag**——那是本地开发镜像
|
||||
> (`sha256:0a4ddc60…`),只用于 `e6` 那次实启动记录。交付一律用 CI 的 `v0.1.1`。
|
||||
|
||||
entrypoint 自动补:
|
||||
|
||||
```text
|
||||
@@ -112,6 +142,7 @@ MODEL_PATH=/mnt/disk0/models/_adapt/pplx-decider-flash-v1.2 DRY_RUN=1 \
|
||||
| 4 并发 2k prompt | wall 1.20 s | `e4` |
|
||||
| **连续 32 次 7057-token** | **0/32**(MBT 8192 与 2048 都是 0/32) | `e3` / `e5` |
|
||||
| chat completions | 正常返回(thinking 结构) | `e3` |
|
||||
| **CI 镜像复测** | `v0.1.1`:health=1(144 s),**0/32**,`docker inspect` 全项符合 | `e7` |
|
||||
|
||||
结论:**`--max-num-batched-tokens` 在 BI-150 上不是正确性必需**(2048 也 0/32),
|
||||
但 8192 让 8 并发吞吐从 170 tok/s 升到 225 tok/s,所以默认保留 8192。
|
||||
|
||||
@@ -38,7 +38,10 @@ docker run --rm --entrypoint /bin/bash "${IMAGE}" -c \
|
||||
|
||||
cat <<EOF
|
||||
|
||||
=== 配套的 docker run(可直接粘贴) ===
|
||||
=== 配套的 docker run(本地镜像,仅供开发/验证) ===
|
||||
# ⚠️ 上面打印的是本地构建镜像;**交付请用 CI 产物**:
|
||||
# harbor.4pd.io/modelhubxc/xiejiahao/pplx-decider-bi150:v0.1.1
|
||||
# (digest sha256:e6d3cb591ac137b41510ed2c50b7663d57a49de094ac2ef83ce4fdff8de76a4a)
|
||||
|
||||
docker run -d --name pplx-decider-flash \\\\
|
||||
--privileged --pid host --ipc host \\\\
|
||||
|
||||
Reference in new issue
Block a user