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
@@ -522,6 +522,26 @@ std::string scale_name(const std::string& codes) { return codes + "_scale_inv";
|
||||
|
||||
} /* namespace */
|
||||
|
||||
std::string ckpt_tensor_of(const SrcTensor& t) {
|
||||
const size_t br = t.name.size() && t.name.back() == ']' ? t.name.rfind('[') : std::string::npos;
|
||||
return br == std::string::npos ? t.name : t.name.substr(0, br);
|
||||
}
|
||||
|
||||
bool ckpt_reads_any(const CkptWeight& w, const std::unordered_set<std::string>& names,
|
||||
std::unordered_set<std::string>* hit) {
|
||||
bool any = false;
|
||||
for (const auto* list : { &w.pieces, &w.scales })
|
||||
for (const SrcTensor* t : *list) {
|
||||
if (!t) continue;
|
||||
const std::string n = ckpt_tensor_of(*t);
|
||||
if (names.count(n)) {
|
||||
any = true;
|
||||
if (hit) hit->insert(n);
|
||||
}
|
||||
}
|
||||
return any;
|
||||
}
|
||||
|
||||
int ckpt_resolve(Checkpoint& ck, const Program& prog, const std::string& name, bool optional,
|
||||
CkptWeight* out, std::string* why) {
|
||||
auto refuse = [&](int rc, std::string m) {
|
||||
|
||||
Reference in new issue
Block a user