Archived
radiance 1.7.0
- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves every shipped container - Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime - /v1/messages works with Claude Code as it ships (gearwave00001) - a long agent conversation keeps its cached history when the client rewrites its last turn (manueloverride) - a stream's first event goes out with the first token, so llama-benchy measures prefill right - opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42) - four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b) - NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA adapters (baKon) - many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool arguments and the CPU's vision and audio encoders - plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
This commit is contained in:
1 parent
b068190326
commit
1e968f6e1d
739 files changed
+128447
-84632
No files matched your search
+9
-6
@@ -1,19 +1,22 @@
|
||||
/* item.cpp -- the parts of an Item the step path uses, in a unit of their own. The batch builder
|
||||
* links against this and nothing else in core/mm, so a test that fakes the device layer does not
|
||||
* pull the processor -- and through its metadata reader, the real device layer -- in with it. */
|
||||
/* item.cpp -- the parts of Item the step path uses. The batch builder links only this unit from
|
||||
* core/mm, so a test that fakes the device layer does not pull in the processor and, through its
|
||||
* metadata reader, the real device layer. */
|
||||
#include "mm/processor.h"
|
||||
|
||||
namespace rad {
|
||||
namespace mm {
|
||||
|
||||
void Item::coords(int64_t first, int64_t count, int32_t* planes) const {
|
||||
/* AN AUDIO CLIP IS 1-D (RadBatch::enc): the frame's index, whether it is real, the clip's real
|
||||
* frames and its staged ones. */
|
||||
/* An audio clip is 1-D (RadBatch::enc): frame index, whether the frame takes part in the
|
||||
* convolution, the clip's real frame count and its staged frame count. A clip staged in
|
||||
* chunks (AudioFamily::Qwen3ASR) reads each chunk's first `chunk_read` frames; the rest of the
|
||||
* chunk is alignment the encoder reads as zero. */
|
||||
if (kind == Kind::Audio) {
|
||||
for (int64_t k = 0; k < count; ++k) {
|
||||
const int64_t f = first + k;
|
||||
planes[k] = (int32_t)f;
|
||||
planes[count + k] = f < valid ? 1 : 0;
|
||||
planes[count + k] = chunk_staged > 0 ? (f % chunk_staged < chunk_read ? 1 : 0)
|
||||
: (f < valid ? 1 : 0);
|
||||
planes[2 * count + k] = valid;
|
||||
planes[3 * count + k] = grid_h;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user