Bundle StrixLink 0.3.3 and document direct GPU transport
Browse filesAdd the exact GitHub release archive and checksum. Update installation and paired-control documentation, initialize the HF CLI before its first use, and document the measured microsecond NHI collective latency and source boundaries.
README.md
CHANGED
|
@@ -57,7 +57,7 @@ existing compatible USB4 setup.
|
|
| 57 |
| Acceleration | Strix-specific integer kernels and **DFlash2 with five draft tokens** |
|
| 58 |
| Runtime | Custom vLLM on ROCm 10, with TP2 and PP1 |
|
| 59 |
| Connection | Direct USB4/NHI; USB4 networking compatibility mode also included |
|
| 60 |
-
| Operator console | **CiruStrixLink 0.3.
|
| 61 |
| Applications | Local chat, reasoning, coding, and OpenAI-compatible tool use |
|
| 62 |
| Serving profile | One active request at a time; text only |
|
| 63 |
|
|
@@ -199,6 +199,22 @@ to applications and sends matching requests to both workers. You can keep your
|
|
| 199 |
own transport tooling, but generation requests must still go through the
|
| 200 |
frontend—not directly to just one worker.
|
| 201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
## Hardware and software
|
| 203 |
|
| 204 |
- **Two Strix Halo systems with 128 GiB unified memory each**, connected over
|
|
@@ -230,17 +246,27 @@ configuration, and paired startup.
|
|
| 230 |
| **Your existing direct-NHI setup** | Keep your own endpoint and service-management tooling |
|
| 231 |
| **Portable USB4 networking** | Unprivileged compatibility fallback; performance may differ |
|
| 232 |
|
| 233 |
-
### Install CiruStrixLink 0.3.
|
| 234 |
|
|
|
|
|
|
|
| 235 |
The model repository includes the qualified static Linux amd64 release. Install
|
| 236 |
the same version on both model hosts:
|
| 237 |
|
| 238 |
```bash
|
| 239 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
mkdir -p /tmp/ciru-strixlink-release
|
| 241 |
"$HF" download jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4 \
|
| 242 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
|
|
|
| 243 |
--local-dir /tmp/ciru-strixlink-model-release
|
|
|
|
|
|
|
| 244 |
tar -xzf \
|
| 245 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 246 |
-C /tmp/ciru-strixlink-release
|
|
@@ -287,13 +313,13 @@ ssh -N -L 7749:127.0.0.1:7749 USER@CONSOLE_MODEL_HOST
|
|
| 287 |
|
| 288 |
The desktop needs neither the binary nor model-host privileges. When a helper
|
| 289 |
permission is missing, the Launch page displays a copyable host-specific NixOS
|
| 290 |
-
or generic Linux setup. The controller
|
| 291 |
-
|
| 292 |
through the frontend, and rolls both ranks back if loading fails. Unload runs
|
| 293 |
rank 1 before rank 0. Context can only change while the pair is unloaded.
|
| 294 |
|
| 295 |
See the complete
|
| 296 |
-
[StrixLink 0.3.
|
| 297 |
[model integration guide](./docs/CiruStrixLink-GLM5.3-Flash-CIRU-STRIX-IU4.md),
|
| 298 |
and [security model](https://github.com/ciru-ai/CiruStrixLink/blob/master/SECURITY.md).
|
| 299 |
|
|
@@ -461,7 +487,7 @@ Keep the endpoint private or add authentication before exposing it remotely.
|
|
| 461 |
| [rank-0](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/rank-0), [rank-1](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/rank-1) | Eleven execution-ready weight shards per machine and their manifests |
|
| 462 |
| [config](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/config) | Model configuration, tokenizer, chat template, sampling defaults |
|
| 463 |
| [runtime](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/runtime) | Pinned runtime, GPU binaries and source, API frontend |
|
| 464 |
-
| [tools](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/tools) | Bundled CiruStrixLink 0.3.
|
| 465 |
| [systemd](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/systemd), [context profiles](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/context-profiles) | Service templates and selectable context/memory configurations |
|
| 466 |
| [Installation guide](./docs/INSTALLATION.md) | Full connection, service, and operational instructions |
|
| 467 |
| [Benchmark reports](./benchmarks/README.md) | Saved results, exact protocols, and technical validation history |
|
|
|
|
| 57 |
| Acceleration | Strix-specific integer kernels and **DFlash2 with five draft tokens** |
|
| 58 |
| Runtime | Custom vLLM on ROCm 10, with TP2 and PP1 |
|
| 59 |
| Connection | Direct USB4/NHI; USB4 networking compatibility mode also included |
|
| 60 |
+
| Operator console | **CiruStrixLink 0.3.3** with paired Launch control |
|
| 61 |
| Applications | Local chat, reasoning, coding, and OpenAI-compatible tool use |
|
| 62 |
| Serving profile | One active request at a time; text only |
|
| 63 |
|
|
|
|
| 199 |
own transport tooling, but generation requests must still go through the
|
| 200 |
frontend—not directly to just one worker.
|
| 201 |
|
| 202 |
+
### Direct GPU transport in microseconds
|
| 203 |
+
|
| 204 |
+
The direct NHI adapter exports dedicated uncached HIP allocations as DMA-BUF
|
| 205 |
+
pools, exchanges them through USB4 hardware rings, then validates sequence and
|
| 206 |
+
epoch footers and sums the received BF16 partials on the GPU. Its exact
|
| 207 |
+
`[8,4096]` / 64-KiB all-reduce component gate measured **109.897–110.807 µs
|
| 208 |
+
median**, versus **340.904–342.745 µs** for the matched RCCL socket control:
|
| 209 |
+
**67.5–67.9% lower completion latency with bit-exact output**. All 80 exchanges
|
| 210 |
+
per rank completed without timeouts, protocol errors or driver failures.
|
| 211 |
+
|
| 212 |
+
This is completed GPU-operation latency, not TCP ping or a claim of 3× model
|
| 213 |
+
speed. The published source contains the synchronous M8 bridge; deferred
|
| 214 |
+
retirement and compressed activation transfers are separate development
|
| 215 |
+
results. See [transport details and measured scope](./docs/STRIXLINK-TRANSPORT.md)
|
| 216 |
+
and [the full microsecond performance report](https://github.com/ciru-ai/CiruStrixLink/blob/master/docs/performance.md).
|
| 217 |
+
|
| 218 |
## Hardware and software
|
| 219 |
|
| 220 |
- **Two Strix Halo systems with 128 GiB unified memory each**, connected over
|
|
|
|
| 246 |
| **Your existing direct-NHI setup** | Keep your own endpoint and service-management tooling |
|
| 247 |
| **Portable USB4 networking** | Unprivileged compatibility fallback; performance may differ |
|
| 248 |
|
| 249 |
+
### Install CiruStrixLink 0.3.3
|
| 250 |
|
| 251 |
+
Version 0.3.3 removes host-specific checks of unrelated applications while
|
| 252 |
+
keeping paired GLM control. It changes no model weights or inference runtime.
|
| 253 |
The model repository includes the qualified static Linux amd64 release. Install
|
| 254 |
the same version on both model hosts:
|
| 255 |
|
| 256 |
```bash
|
| 257 |
+
HF_ENV="${XDG_DATA_HOME:-$HOME/.local/share}/ciru-hf"
|
| 258 |
+
python3 -m venv "$HF_ENV"
|
| 259 |
+
"$HF_ENV/bin/pip" install -U huggingface_hub
|
| 260 |
+
HF="$HF_ENV/bin/hf"
|
| 261 |
+
|
| 262 |
+
VERSION=0.3.3
|
| 263 |
mkdir -p /tmp/ciru-strixlink-release
|
| 264 |
"$HF" download jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4 \
|
| 265 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 266 |
+
"tools/ciru-strixlink-${VERSION}-SHA256SUMS" \
|
| 267 |
--local-dir /tmp/ciru-strixlink-model-release
|
| 268 |
+
(cd /tmp/ciru-strixlink-model-release/tools && \
|
| 269 |
+
sha256sum -c "ciru-strixlink-${VERSION}-SHA256SUMS")
|
| 270 |
tar -xzf \
|
| 271 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 272 |
-C /tmp/ciru-strixlink-release
|
|
|
|
| 313 |
|
| 314 |
The desktop needs neither the binary nor model-host privileges. When a helper
|
| 315 |
permission is missing, the Launch page displays a copyable host-specific NixOS
|
| 316 |
+
or generic Linux setup. The controller prevents the portable and NHI forms of this GLM deployment
|
| 317 |
+
from running together, starts rank 0 before rank 1, verifies the exact context
|
| 318 |
through the frontend, and rolls both ranks back if loading fails. Unload runs
|
| 319 |
rank 1 before rank 0. Context can only change while the pair is unloaded.
|
| 320 |
|
| 321 |
See the complete
|
| 322 |
+
[StrixLink 0.3.3 instructions](https://github.com/ciru-ai/CiruStrixLink#browser-console),
|
| 323 |
[model integration guide](./docs/CiruStrixLink-GLM5.3-Flash-CIRU-STRIX-IU4.md),
|
| 324 |
and [security model](https://github.com/ciru-ai/CiruStrixLink/blob/master/SECURITY.md).
|
| 325 |
|
|
|
|
| 487 |
| [rank-0](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/rank-0), [rank-1](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/rank-1) | Eleven execution-ready weight shards per machine and their manifests |
|
| 488 |
| [config](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/config) | Model configuration, tokenizer, chat template, sampling defaults |
|
| 489 |
| [runtime](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/runtime) | Pinned runtime, GPU binaries and source, API frontend |
|
| 490 |
+
| [tools](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/tools) | Bundled CiruStrixLink 0.3.3 archive |
|
| 491 |
| [systemd](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/systemd), [context profiles](https://huggingface.co/jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4/tree/main/context-profiles) | Service templates and selectable context/memory configurations |
|
| 492 |
| [Installation guide](./docs/INSTALLATION.md) | Full connection, service, and operational instructions |
|
| 493 |
| [Benchmark reports](./benchmarks/README.md) | Saved results, exact protocols, and technical validation history |
|
THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -12,7 +12,7 @@ not cover every file.
|
|
| 12 |
| Ciru mirrored generation frontend | `runtime/generation-frontend/`, launcher, installer, and static service assets | Apache-2.0; the frontend directory includes the full license and notice |
|
| 13 |
| AMD AITER | Packaged gfx1151 integration source | MIT, retaining upstream notices and license |
|
| 14 |
| AMD Composable Kernel | AITER submodule | MIT, retaining upstream notices and license |
|
| 15 |
-
| CiruStrixLink 0.3.
|
| 16 |
| GLM-5.3-Flash-DFlash2 | Required external draft for the packaged production launcher; not included | CC BY-NC-ND 4.0 according to its upstream model card |
|
| 17 |
| Linux thunderbolt UAPI header | Used while building the NHI adapter | GPL-2.0 WITH Linux-syscall-note; the header retains its SPDX notice in the source package |
|
| 18 |
|
|
|
|
| 12 |
| Ciru mirrored generation frontend | `runtime/generation-frontend/`, launcher, installer, and static service assets | Apache-2.0; the frontend directory includes the full license and notice |
|
| 13 |
| AMD AITER | Packaged gfx1151 integration source | MIT, retaining upstream notices and license |
|
| 14 |
| AMD Composable Kernel | AITER submodule | MIT, retaining upstream notices and license |
|
| 15 |
+
| CiruStrixLink 0.3.3 (current; earlier archives retained) | `tools/ciru-strixlink-0.3.3-linux-amd64.tar.gz` | Apache-2.0; its archive includes the license |
|
| 16 |
| GLM-5.3-Flash-DFlash2 | Required external draft for the packaged production launcher; not included | CC BY-NC-ND 4.0 according to its upstream model card |
|
| 17 |
| Linux thunderbolt UAPI header | Used while building the NHI adapter | GPL-2.0 WITH Linux-syscall-note; the header retains its SPDX notice in the source package |
|
| 18 |
|
docs/CiruStrixLink-GLM5.3-Flash-CIRU-STRIX-IU4.md
CHANGED
|
@@ -27,9 +27,12 @@ This is an independent Ciru release. AMD, ROCm, vLLM, Z.ai/GLM, and DFlash2
|
|
| 27 |
names and marks remain the property of their respective owners and are used
|
| 28 |
only to identify compatible hardware and software.
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
## 1. Install the bundled CiruStrixLink release on both hosts
|
| 31 |
|
| 32 |
-
The model repository includes the qualified CiruStrixLink 0.3.
|
| 33 |
isolated Python environment for the Hugging Face CLI, then extract the bundled
|
| 34 |
binary:
|
| 35 |
|
|
@@ -39,12 +42,15 @@ python3 -m venv "$HF_ENV"
|
|
| 39 |
"$HF_ENV/bin/pip" install -U huggingface_hub
|
| 40 |
HF="$HF_ENV/bin/hf"
|
| 41 |
|
| 42 |
-
VERSION=0.3.
|
| 43 |
MODEL_REPO=jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4
|
| 44 |
mkdir -p /tmp/ciru-strixlink-release
|
| 45 |
"$HF" download "$MODEL_REPO" \
|
| 46 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
|
|
|
| 47 |
--local-dir /tmp/ciru-strixlink-model-release
|
|
|
|
|
|
|
| 48 |
tar -xzf \
|
| 49 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 50 |
-C /tmp/ciru-strixlink-release
|
|
@@ -69,7 +75,7 @@ ciru-strixlink agent --token-file TOKEN_FILE
|
|
| 69 |
ciru-strixlink ui --peer PEER_USB4_ADDRESS --token-file TOKEN_FILE
|
| 70 |
```
|
| 71 |
|
| 72 |
-
Version 0.3.
|
| 73 |
deployment.
|
| 74 |
Run the USB4-bound agent on one model host with its fixed rank and the other
|
| 75 |
rank's USB4 address:
|
|
@@ -100,8 +106,8 @@ node files. From a desktop, forward the console port with
|
|
| 100 |
model-host privileges. The Launch page shows the exact NixOS or generic Linux
|
| 101 |
permission instructions when either helper is not authorized.
|
| 102 |
|
| 103 |
-
The paired controller
|
| 104 |
-
profile to both stopped ranks, starts rank 0 before rank 1, and waits for the
|
| 105 |
frontend to report the exact context. Unload stops rank 1 before rank 0. A
|
| 106 |
failed load triggers a two-rank rollback, and closing the browser does not
|
| 107 |
abandon the bounded operation.
|
|
|
|
| 27 |
names and marks remain the property of their respective owners and are used
|
| 28 |
only to identify compatible hardware and software.
|
| 29 |
|
| 30 |
+
See [the transport architecture and microsecond results](STRIXLINK-TRANSPORT.md)
|
| 31 |
+
for the kernel dependency, packet format and measured scope.
|
| 32 |
+
|
| 33 |
## 1. Install the bundled CiruStrixLink release on both hosts
|
| 34 |
|
| 35 |
+
The model repository includes the qualified CiruStrixLink 0.3.3 archive. Use an
|
| 36 |
isolated Python environment for the Hugging Face CLI, then extract the bundled
|
| 37 |
binary:
|
| 38 |
|
|
|
|
| 42 |
"$HF_ENV/bin/pip" install -U huggingface_hub
|
| 43 |
HF="$HF_ENV/bin/hf"
|
| 44 |
|
| 45 |
+
VERSION=0.3.3
|
| 46 |
MODEL_REPO=jcbtc/GLM5.3-Flash-CIRU-STRIX-IU4
|
| 47 |
mkdir -p /tmp/ciru-strixlink-release
|
| 48 |
"$HF" download "$MODEL_REPO" \
|
| 49 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 50 |
+
"tools/ciru-strixlink-${VERSION}-SHA256SUMS" \
|
| 51 |
--local-dir /tmp/ciru-strixlink-model-release
|
| 52 |
+
(cd /tmp/ciru-strixlink-model-release/tools && \
|
| 53 |
+
sha256sum -c "ciru-strixlink-${VERSION}-SHA256SUMS")
|
| 54 |
tar -xzf \
|
| 55 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 56 |
-C /tmp/ciru-strixlink-release
|
|
|
|
| 75 |
ciru-strixlink ui --peer PEER_USB4_ADDRESS --token-file TOKEN_FILE
|
| 76 |
```
|
| 77 |
|
| 78 |
+
Version 0.3.3 includes the opt-in paired Launch tab for this fixed GLM
|
| 79 |
deployment.
|
| 80 |
Run the USB4-bound agent on one model host with its fixed rank and the other
|
| 81 |
rank's USB4 address:
|
|
|
|
| 106 |
model-host privileges. The Launch page shows the exact NixOS or generic Linux
|
| 107 |
permission instructions when either helper is not authorized.
|
| 108 |
|
| 109 |
+
The paired controller prevents the portable and NHI forms of this GLM
|
| 110 |
+
deployment from running together, writes one profile to both stopped ranks, starts rank 0 before rank 1, and waits for the
|
| 111 |
frontend to report the exact context. Unload stops rank 1 before rank 0. A
|
| 112 |
failed load triggers a two-rank rollback, and closing the browser does not
|
| 113 |
abandon the bounded operation.
|
docs/INSTALLATION.md
CHANGED
|
@@ -133,17 +133,25 @@ wheel or omit TileLang; the packaged dependencies are part of the serving path.
|
|
| 133 |
|
| 134 |
## Recommended: StrixLink and NHI
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
### Install StrixLink
|
| 137 |
|
| 138 |
-
The model repository includes CiruStrixLink 0.3.
|
| 139 |
is needed. On both hosts:
|
| 140 |
|
| 141 |
```bash
|
| 142 |
-
VERSION=0.3.
|
| 143 |
mkdir -p /tmp/ciru-strixlink-release
|
| 144 |
"$HF" download "$MODEL_REPO" \
|
| 145 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
|
|
|
| 146 |
--local-dir /tmp/ciru-strixlink-model-release
|
|
|
|
|
|
|
| 147 |
tar -xzf \
|
| 148 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 149 |
-C /tmp/ciru-strixlink-release
|
|
@@ -189,7 +197,7 @@ ciru-strixlink test \
|
|
| 189 |
|
| 190 |
### Optional paired Launch page
|
| 191 |
|
| 192 |
-
StrixLink 0.3.
|
| 193 |
tab. Model control is disabled by default. It requires a mode-0600 token file
|
| 194 |
with the same value on both hosts, complementary fixed ranks, fixed USB4 IPv4
|
| 195 |
peers, a model frontend URL, a loopback-only console, and the narrow packaged
|
|
@@ -230,8 +238,8 @@ for the complete security and sudoers contract.
|
|
| 230 |
|
| 231 |
To change context, unload the pair, choose the same profile for both ranks in
|
| 232 |
the Launch page, and load again. Context controls intentionally remain locked
|
| 233 |
-
while the model is active. Loading
|
| 234 |
-
|
| 235 |
|
| 236 |
### Prepare both NHI endpoints
|
| 237 |
|
|
|
|
| 133 |
|
| 134 |
## Recommended: StrixLink and NHI
|
| 135 |
|
| 136 |
+
The direct GPU path needs the [qualified Linux 7.2.2 patch series](https://github.com/ciru-ai/CiruStrixLink/tree/master/kernel/linux-7.2.2),
|
| 137 |
+
including the DMA-BUF import ABI and MSI-X reliability fix. A stock kernel
|
| 138 |
+
version alone is insufficient. [Transport details and microsecond measurements](STRIXLINK-TRANSPORT.md)
|
| 139 |
+
explain what each component provides.
|
| 140 |
+
|
| 141 |
### Install StrixLink
|
| 142 |
|
| 143 |
+
The model repository includes CiruStrixLink 0.3.3; no separate GitHub checkout
|
| 144 |
is needed. On both hosts:
|
| 145 |
|
| 146 |
```bash
|
| 147 |
+
VERSION=0.3.3
|
| 148 |
mkdir -p /tmp/ciru-strixlink-release
|
| 149 |
"$HF" download "$MODEL_REPO" \
|
| 150 |
--include "tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 151 |
+
"tools/ciru-strixlink-${VERSION}-SHA256SUMS" \
|
| 152 |
--local-dir /tmp/ciru-strixlink-model-release
|
| 153 |
+
(cd /tmp/ciru-strixlink-model-release/tools && \
|
| 154 |
+
sha256sum -c "ciru-strixlink-${VERSION}-SHA256SUMS")
|
| 155 |
tar -xzf \
|
| 156 |
"/tmp/ciru-strixlink-model-release/tools/ciru-strixlink-${VERSION}-linux-amd64.tar.gz" \
|
| 157 |
-C /tmp/ciru-strixlink-release
|
|
|
|
| 197 |
|
| 198 |
### Optional paired Launch page
|
| 199 |
|
| 200 |
+
StrixLink 0.3.3 can coordinate this fixed two-rank model from its third browser
|
| 201 |
tab. Model control is disabled by default. It requires a mode-0600 token file
|
| 202 |
with the same value on both hosts, complementary fixed ranks, fixed USB4 IPv4
|
| 203 |
peers, a model frontend URL, a loopback-only console, and the narrow packaged
|
|
|
|
| 238 |
|
| 239 |
To change context, unload the pair, choose the same profile for both ranks in
|
| 240 |
the Launch page, and load again. Context controls intentionally remain locked
|
| 241 |
+
while the model is active. Loading prevents the portable and NHI forms of this GLM deployment
|
| 242 |
+
from running together. Unrelated applications remain the operator’s responsibility.
|
| 243 |
|
| 244 |
### Prepare both NHI endpoints
|
| 245 |
|
docs/STRIXLINK-TRANSPORT.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CiruStrixLink 0.3.3 and the GLM direct GPU transport
|
| 2 |
+
|
| 3 |
+
The `tools/` folder includes the same **0.3.3 Linux amd64 archive** published
|
| 4 |
+
on GitHub, together with its checksum. This updates the operator console;
|
| 5 |
+
model weights, vLLM, DFlash2, kernels and context profiles are unchanged.
|
| 6 |
+
|
| 7 |
+
Version 0.3.3 manages the packaged GLM pair without inspecting unrelated host
|
| 8 |
+
applications. It still prevents the portable and NHI forms of this same GLM
|
| 9 |
+
deployment from running together. Earlier tool archives remain available as
|
| 10 |
+
historical files; use 0.3.3 for a new installation.
|
| 11 |
+
|
| 12 |
+
## What the fast path does
|
| 13 |
+
|
| 14 |
+
The HIP bridge allocates persistent uncached GPU TX/RX pools, exports them
|
| 15 |
+
as DMA-BUFs and imports them into the patched USB4STREAM driver. USB4 NHI DMA
|
| 16 |
+
rings move their contents across the cable. The GPU packs the outgoing tensor
|
| 17 |
+
and validates/reduces the incoming one, avoiding the TCP/IP payload path and
|
| 18 |
+
CPU payload staging. Host submission and completion work remains.
|
| 19 |
+
|
| 20 |
+
For the published contiguous BF16 `[8,4096]` all-reduce, each rank sends
|
| 21 |
+
65,536 payload bytes plus a 32-byte footer in 17 frames. The footer carries
|
| 22 |
+
rank, epoch, sequence and payload length; its commit word is written last.
|
| 23 |
+
Both ranks exchange simultaneously and compute the exact BF16 sum on the GPU.
|
| 24 |
+
Other collective shapes and control traffic retain their existing backend.
|
| 25 |
+
|
| 26 |
+
## Measured completion latency
|
| 27 |
+
|
| 28 |
+
The component gate used two `gfx1151` hosts, Linux 7.2.2 with the qualified
|
| 29 |
+
patch series, ROCm 10, 16 warmups and 64 measured calls per rank. Timings cover
|
| 30 |
+
the operation with GPU synchronization, not just wire flight time.
|
| 31 |
+
|
| 32 |
+
| Backend | Sozo median, µs | Ciru median, µs | Numerical result |
|
| 33 |
+
|---|---:|---:|---|
|
| 34 |
+
| RCCL over USB4NET | 342.745 | 340.904 | Exact |
|
| 35 |
+
| Direct NHI BF16 | **109.897** | **110.807** | **Exact** |
|
| 36 |
+
|
| 37 |
+
NHI reduced median completion latency by **67.5–67.9%**. All 80 exchanges
|
| 38 |
+
per rank passed with zero timeouts, protocol errors, driver failures or
|
| 39 |
+
dropped driver events.
|
| 40 |
+
|
| 41 |
+
The [full performance report](https://github.com/ciru-ai/CiruStrixLink/blob/master/docs/performance.md)
|
| 42 |
+
also documents a **45.505-µs single-token activation/credit cycle**, T128
|
| 43 |
+
codec experiments, large-tensor collectives, lifecycle/soak evidence, and
|
| 44 |
+
the distinction between component latency and measured model gains. Those
|
| 45 |
+
development experiments do not add shapes or codecs to this release.
|
| 46 |
+
|
| 47 |
+
The published kernel source contains the **synchronous M8 bridge**. The later
|
| 48 |
+
one-deep deferred-retirement comparison was a separate development variant.
|
| 49 |
+
Installing 0.3.3 does not silently install that variant or promise a 3× model
|
| 50 |
+
speedup. Whole-model throughput is recorded separately on the model card.
|
| 51 |
+
|
| 52 |
+
## Installation and use
|
| 53 |
+
|
| 54 |
+
1. Install the [bundled 0.3.3 tool](INSTALLATION.md#install-strixlink) on both
|
| 55 |
+
hosts and verify its checksum.
|
| 56 |
+
2. Configure and test the ordinary USB4 network on both hosts.
|
| 57 |
+
3. For the direct GPU path, install the
|
| 58 |
+
[qualified Linux 7.2.2 patch series](https://github.com/ciru-ai/CiruStrixLink/tree/master/kernel/linux-7.2.2).
|
| 59 |
+
A stock 7.2.2 kernel alone does not supply the required DMA-BUF import ABI.
|
| 60 |
+
4. Prepare both NHI endpoints, reconcile fresh reports, and require
|
| 61 |
+
`nhi_ready=true` and `lease_available=true` before launching.
|
| 62 |
+
5. Install this model's custom runtime and the
|
| 63 |
+
[privileged NHI system service](INSTALLATION.md#privileged-direct-nhi-system-service).
|
| 64 |
+
The importing runtime needs the scoped `CAP_SYS_RAWIO` grant.
|
| 65 |
+
6. Run the peer agent and loopback console, then use the optional paired
|
| 66 |
+
Launch control. Send generation requests through the mirrored frontend.
|
| 67 |
+
|
| 68 |
+
The [complete two-host StrixLink guide](https://github.com/ciru-ai/CiruStrixLink/blob/master/docs/getting-started.md)
|
| 69 |
+
covers checksum-verified downloads, each host's commands, token creation,
|
| 70 |
+
desktop SSH forwarding, ports, runtime environment files and paired launch.
|
| 71 |
+
The [architecture guide](https://github.com/ciru-ai/CiruStrixLink/blob/master/docs/architecture.md)
|
| 72 |
+
documents packet ownership, GPU memory, completion and source identities.
|
| 73 |
+
|
| 74 |
+
The kernel patches retain Linux/GPL-2.0 provenance and the upstream
|
| 75 |
+
`jyatesdotdev/strix-rdma` credit. The HIP bridge retains MIT and its Linux UAPI
|
| 76 |
+
header's syscall-exception notice. The Go utility remains Apache-2.0.
|
tools/ciru-strixlink-0.3.3-SHA256SUMS
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
3cc00b556686e3f41ea7a04a34742fa80e844fb88c5976b18e4ecfacd578b271 ciru-strixlink-0.3.3-linux-amd64.tar.gz
|
tools/ciru-strixlink-0.3.3-linux-amd64.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cc00b556686e3f41ea7a04a34742fa80e844fb88c5976b18e4ecfacd578b271
|
| 3 |
+
size 3617032
|