Archived
radiance 1.0.11
- The n-gram embedding table (Qwen3.8-Flash-Next's per-layer embedding) can be gathered on the card. libr4d gains a row for embed_lookup_q whose output is the host gather's to the bit, and --ngram-placement uses it: ram keeps a pinned copy in RAM that the cards read in place over the link, so a step has no host work in it; vram puts the whole table on every card that holds it; disk reads it from the container on the host, as before. auto takes the first of the three that holds the table and prints why it passed over the others. Without a device kernel for the gather, ram is the locked copy the host gather reads and vram is refused, as in 1.0.10. - The pinned copy is not charged to RLIMIT_MEMLOCK; the host gather's locked copy still is, so --ulimit memlock=-1 matters only on a run without the cards. - The idea and a first kernel for the device gather came from Code000.
This commit is contained in:
1 parent
e466fa07e2
commit
469441d90f
24 files changed
+848
-247
No files matched your search
+5
-4
@@ -88,10 +88,11 @@ Every one of these options is needed:
|
||||
without this the model cannot serve. The profile also refuses the NUMA binding calls the ROCm
|
||||
runtime makes for host memory.
|
||||
- **`--init`**: the engine is not PID 1. It finishes its step and releases the cards on SIGTERM.
|
||||
- **`--ulimit memlock=-1`**: `--ngram-placement ram` locks a copy of the n-gram table in RAM
|
||||
(47.7 GiB for Qwen3.8-Flash-Next), far past Docker's default memlock limit. Without it `auto`
|
||||
reads the table from the container and `ram` refuses the start. `deploy/compose/common.yaml`
|
||||
sets it.
|
||||
- **`--ulimit memlock=-1`**: where no device kernel gathers the n-gram table (a run on the host
|
||||
backend), `--ngram-placement ram` locks a copy of it in RAM -- 47.7 GiB for
|
||||
Qwen3.8-Flash-Next, far past Docker's default memlock limit -- and without the limit raised
|
||||
`auto` reads it from the container and `ram` refuses the start. On the cards the copy is pinned
|
||||
memory the cards read, which the limit does not count. `deploy/compose/common.yaml` sets it.
|
||||
- **`--network host`**: the server binds the host's addresses directly, IPv4 and IPv6, with no
|
||||
NAT in front of it.
|
||||
|
||||
|
||||
Reference in new issue
Block a user