Archived
radiance 1.9.0
New models: - LTX-2.5 (base and distilled): video with a stereo soundtrack from text or from text and a first frame, on one card, with its duration head, tiled VAE decoding, the diffusion decoder and the x2 latent upsampler - Krea 2 Raw and Turbo, and FLUX.3 [klein] and its base: text to image, and for FLUX.3 edits from up to ten reference pictures, on one card - GLM-5.3-Flash from AMD's Quark MXFP4 export, on eight cards (John McDonough, Nunze) - Gemma 3 / TranslateGemma 27B with an optional DFlash2 drafter (mici81) Engine: - --kv-cache-dtype fp8_v4 and k6_v4 for Gemma 3 and Qwen3.8-Flash-Next (mici81) - the rotated int8 trunk (i8a8h) for Qwen3.8-27B (eddie168168) - eight-rank all-reduce bands, weighted shards and pieces (Nunze); --host-headroom-mib (sfjes) - the dashboard shows the single-stream decode floor and its most recent window (Memoria) Fixes: prefix-cache reservations kept until their save lands (baKon), tool calls in Responses namespaces (#119), system messages merged when a template refuses several (#137), a prefill continued with no open step (#127), calibration of a Gram accumulation (#122), JSON Schema patterns read unanchored (davetha), GLM-style tool calls, the KV floor counting every sequence's state. Plugin ABI 24.
This commit is contained in:
1 parent
778cbf315e
commit
685ec5bd85
136 files changed
+18917
-3821
No files matched your search
@@ -4,19 +4,12 @@
|
||||
#ifndef RAD_TP_SPLIT_H
|
||||
#define RAD_TP_SPLIT_H
|
||||
#include "rad_arch.h"
|
||||
#include <cstdlib>
|
||||
|
||||
namespace rad {
|
||||
namespace arch {
|
||||
/* Rows from which a replicated F32 projection splits its columns over the ranks
|
||||
* (RADIANCE_GLM_TP_SPLIT_ROWS, 0 never). Below it the collective's latency outweighs the
|
||||
* saved arithmetic, so decode keeps the replicated form. */
|
||||
inline int64_t glm_tp_split_rows() {
|
||||
const char* e = std::getenv("RADIANCE_GLM_TP_SPLIT_ROWS");
|
||||
if (!e || !*e) return 256;
|
||||
const long long v = std::strtoll(e, nullptr, 10);
|
||||
return v > 0 ? (int64_t)v : 0;
|
||||
}
|
||||
/* Rows from which a replicated F32 projection splits its columns over the ranks. Below it the
|
||||
* collective's latency outweighs the saved arithmetic, so decode keeps the replicated form. */
|
||||
constexpr int64_t kGlmTpSplitRows = 256;
|
||||
|
||||
/* The split's ops are declared whatever the step size, and each gather's message as a range of
|
||||
* rows: the engine's arena levels declare again at a smaller max_tok and must get the same graph
|
||||
@@ -33,8 +26,8 @@ struct SplitF32Proj {
|
||||
|
||||
int declare(RadBuilder* b, Names& nm, const Geom& g, const char* name, int64_t rows, int64_t n,
|
||||
int64_t width, rad_weight weight, rad_buf input, rad_buf output) {
|
||||
min_rows = glm_tp_split_rows();
|
||||
if (g.world < 2 || !min_rows || n % g.world || (n / g.world * 4) % 16) {
|
||||
min_rows = kGlmTpSplitRows;
|
||||
if (g.world < 2 || n % g.world || (n / g.world * 4) % 16) {
|
||||
min_rows = 0;
|
||||
return RAD_OK;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user