Skip to content

Commit eb0d2e2

Browse files
JimyMaHuWen7
andauthored
Bump to 0.1.5 (#103)
* 0.1.5 * release: v0.1.5 * fix pypi build * release: v0.1.6 * fix pypi build * release: v0.1.7 --------- Co-authored-by: HuWen7 <330508983@qq.com>
1 parent c7b5d16 commit eb0d2e2

10 files changed

Lines changed: 46 additions & 15 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Triggers:
44
# - Push to main / master -> publish `:edge` (and the commit SHA)
5-
# - Push of a tag like v0.1.4 -> publish `:0.1.4`, `:0.1`, `:latest`
5+
# - Push of a tag like v0.1.7 -> publish `:0.1.7`, `:0.1`, `:latest`
66
# - Manual workflow_dispatch -> custom tag via input
77
#
88
# No external secrets needed — uses the built-in GITHUB_TOKEN for auth.

.github/workflows/pypi-publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,37 @@ jobs:
5656
CMAKE_ARGS=-DBUILD_RDMA=ON -DBUILD_PYTHON=ON
5757
-DBUILD_NVLINK=OFF -DBUILD_TORCH_PLUGIN=OFF
5858
-DBUILD_ASCEND_DIRECT=OFF -DBUILD_TEST=OFF
59+
# Don't try to bundle libibverbs / libnuma into the wheel:
60+
# they're system-level libraries (provided by the rdma-core / numactl
61+
# packages on the user's host) and are NOT in the manylinux policy
62+
# whitelist, so auditwheel would otherwise fail with
63+
# `auditwheel repair ... failed with code 1`.
64+
# auditwheel must skip two classes of libraries:
65+
# 1. System RDMA / NUMA stack — provided by the user's rdma-core
66+
# install, NOT in the manylinux policy allowlist, must not be
67+
# vendored or wheels would conflict with host kernel modules.
68+
# 2. DLSlime's own sibling shared libs (lib_slime_rdma.so,
69+
# lib_slime_obs.so) — they're already installed next to
70+
# _slime_c.so inside the wheel and resolved at runtime via the
71+
# $ORIGIN rpath baked in by CMake. auditwheel doesn't know how to
72+
# look "inside the wheel" so we tell it to leave them alone.
73+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: >-
74+
auditwheel repair
75+
--exclude libibverbs.so.1
76+
--exclude libnuma.so.1
77+
--exclude libmlx5.so.1
78+
--exclude libmlx4.so.1
79+
--exclude librdmacm.so.1
80+
--exclude libibumad.so.3
81+
--exclude libefa.so.1
82+
--exclude lib_slime_topology.so
83+
--exclude lib_slime_engine.so
84+
--exclude lib_slime_device.so
85+
--exclude lib_slime_obs.so
86+
--exclude lib_slime_rdma.so
87+
--exclude lib_slime_nvlink.so
88+
--exclude libascend_direct.so
89+
-w {dest_dir} {wheel}
5990
with:
6091
package-dir: dlslime
6192
output-dir: dist

dlslime-ctrl/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dlslime-ctrl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dlslime-ctrl"
3-
version = "0.1.4"
3+
version = "0.1.7"
44
edition = "2021"
55
description = "DLSlime control plane server"
66
license = "MIT"

dlslime-ctrl/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "dlslime-ctrl"
7-
version = "0.1.4"
7+
version = "0.1.7"
88
description = "DLSlime control-plane server (Redis-backed service registry and peer-agent coordinator)"
99
requires-python = ">=3.10"
1010
# The Python client lives in the `dlslime` package as `dlslime.ctrl.NanoCtrlClient`.

dlslime/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ description = "DLSlime Transfer Engine"
2525
name = "dlslime"
2626
readme = "README.md"
2727
requires-python = ">=3.8"
28-
version = "0.1.4"
28+
version = "0.1.7"
2929
dependencies = [
3030
"pydantic>=2.0",
3131
"pyzmq>=25.0",

docker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ DLSLIME_CTRL_RUST_LOG=info
2727

2828
# By default both compose files build the image locally from ctrl.Dockerfile.
2929
# To pull a pre-built image from GitHub Container Registry (GHCR) instead:
30-
# DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.4
30+
# DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.7
3131
# DLSLIME_CTRL_PULL_POLICY=missing

docker/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Why GHCR rather than Docker Hub:
104104

105105
```bash
106106
cat >> docker/.env <<'EOF'
107-
DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.4
107+
DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.7
108108
DLSLIME_CTRL_PULL_POLICY=missing
109109
EOF
110110

@@ -127,7 +127,7 @@ The workflow [`.github/workflows/docker-publish.yml`](../.github/workflows/docke
127127
| Trigger | Tags published |
128128
| -------------------------- | --------------------------------------- |
129129
| Push to `main` / `master` | `edge`, `sha-<short>` |
130-
| Push tag `v0.1.4` | `0.1.4`, `0.1`, `latest`, `sha-<short>` |
130+
| Push tag `v0.1.7` | `0.1.7`, `0.1`, `latest`, `sha-<short>` |
131131
| Manual `workflow_dispatch` | optional extra tag from the input |
132132

133133
One-time setup after the **first** successful workflow run, in the GitHub UI:
@@ -141,12 +141,12 @@ Releasing a new version:
141141
```bash
142142
# bump versions in:
143143
# Cargo.toml, dlslime-ctrl/pyproject.toml, dlslime/pyproject.toml, pyproject.toml
144-
git commit -am "release: v0.1.4"
145-
git tag v0.1.4
144+
git commit -am "release: v0.1.7"
145+
git tag v0.1.7
146146
git push origin main --tags
147147
```
148148

149-
The workflow will build `linux/amd64` + `linux/arm64` and push `0.1.4`, `0.1`, `latest`.
149+
The workflow will build `linux/amd64` + `linux/arm64` and push `0.1.7`, `0.1`, `latest`.
150150

151151
### Manual push (without CI)
152152

@@ -162,7 +162,7 @@ echo "$GHCR_PAT" | docker login ghcr.io -u <your-github-username> --password-std
162162
# 3. Build multi-arch and push.
163163
docker buildx create --use --name dlslime-builder 2>/dev/null || docker buildx use dlslime-builder
164164

165-
VERSION=0.1.4
165+
VERSION=0.1.7
166166
docker buildx build \
167167
--platform linux/amd64,linux/arm64 \
168168
-f docker/ctrl.Dockerfile \

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ services:
4141
# listening on 127.0.0.1 on the host (e.g. http_proxy=127.0.0.1:7890).
4242
network: host
4343
# Defaults to a locally-built tag. Override to a published GHCR image
44-
# (e.g. `ghcr.io/deeplink-org/dlslime-ctrl:0.1.4`) to skip the local build:
45-
# echo "DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.4" >> docker/.env
44+
# (e.g. `ghcr.io/deeplink-org/dlslime-ctrl:0.1.7`) to skip the local build:
45+
# echo "DLSLIME_CTRL_IMAGE=ghcr.io/deeplink-org/dlslime-ctrl:0.1.7" >> docker/.env
4646
# echo "DLSLIME_CTRL_PULL_POLICY=missing" >> docker/.env
4747
image: ${DLSLIME_CTRL_IMAGE:-dlslime-ctrl:local}
4848
pull_policy: ${DLSLIME_CTRL_PULL_POLICY:-build}

docs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dlslime-docs"
3-
version = "0.1.4"
3+
version = "0.1.7"
44
description = "Documentation site tooling for DLSlime"
55
requires-python = ">=3.10"
66
dependencies = [

0 commit comments

Comments
 (0)