Archived
radiance 1.0.9
- Pinned host memory is locked in pieces of at most 1 GiB (issue 13): an Intel VT-d host in scalable mode that refuses any single pin above about 2.5 GiB now takes the host pool with IOMMU translation, and peer-to-peer access, left on. - Four-rank all-reduce (PR 11 by keptn42): the tiered-int8 wire serves in-place calls, so --tp 4 --tp-wire wht6 runs. At four and eight ranks the exact all-reduce is one-shot up to 524288 elements and two-shot above, chosen by the selector, so the band report names the kernel that runs. The docs and the startup warning describe the four-rank lossy wire; eight ranks have none. - A VRAM allocation the card cannot take is refused, saying what the card has left and which processes hold memory on it. ROCm 7.2's runtime crashes on such an allocation once a queue has been destroyed, which every startup does. - rad-convert --changed FILE: with --reuse, converts only the weights that read a changed checkpoint tensor and copies the rest.
This commit is contained in:
1 parent
3e0c114cd7
commit
20d6c2119f
24 files changed
+707
-134
No files matched your search
@@ -24,6 +24,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
namespace rad {
|
||||
@@ -147,6 +148,15 @@ struct CkptWeight {
|
||||
int ckpt_resolve(Checkpoint& ck, const Program& prog, const std::string& name, bool optional,
|
||||
CkptWeight* out, std::string* why);
|
||||
|
||||
/* The checkpoint tensor a piece or scale reads: its name without the "[index]" a slice of a
|
||||
* stacked tensor carries, so an expert reads the stack it was cut from. */
|
||||
std::string ckpt_tensor_of(const SrcTensor& t);
|
||||
|
||||
/* Whether `w` reads any tensor named in `names` (checkpoint names, as ckpt_tensor_of gives them),
|
||||
* through a piece or a scale. Each name it reads is added to `hit` when that is given. */
|
||||
bool ckpt_reads_any(const CkptWeight& w, const std::unordered_set<std::string>& names,
|
||||
std::unordered_set<std::string>* hit = nullptr);
|
||||
|
||||
/* Logical rows [r0, r0 + nr) of `w` as f32 [nr, cols], whatever the pieces are stored as: a
|
||||
* plain float widened, FP8 times its block scale, a GGUF block type dequantised. */
|
||||
int ckpt_rows_f32(const CkptWeight& w, int64_t r0, int64_t nr, float* out, std::string* why);
|
||||
|
||||
Reference in new issue
Block a user