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
@@ -0,0 +1,48 @@
|
||||
/* abi_c_test.c -- abi/ as a C plugin sees it.
|
||||
*
|
||||
* Every header is included in one translation unit compiled as strict C11 (-pedantic-errors, see
|
||||
* tests/CMakeLists.txt), so a header that only C++ accepts fails the build. The struct layouts a
|
||||
* C compiler gives them, and rad_yarn.h's C definitions, are handed to abi_layout_test.cpp, which
|
||||
* compares them with its own. */
|
||||
#include "rad_abi.h"
|
||||
#include "rad_builder.h"
|
||||
#include "rad_device.h"
|
||||
#include "rad_encoding.h"
|
||||
#include "rad_format.h"
|
||||
#include "rad_philox.h"
|
||||
#include "rad_planes.h"
|
||||
#include "rad_plugin.h"
|
||||
#include "rad_quant.h"
|
||||
#include "rad_runtime.h"
|
||||
#include "rad_sample.h"
|
||||
#include "rad_types.h"
|
||||
#include "rad_yarn.h"
|
||||
|
||||
#include "abi_layout.h"
|
||||
|
||||
const AbiRow abi_c_rows[] = {
|
||||
#define ABI_STRUCT(T) { #T, "", 0, sizeof(T) },
|
||||
#define ABI_FIELD(T, f) { #T, #f, offsetof(T, f), sizeof(((T*)0)->f) },
|
||||
#include "abi_layout_rows.h"
|
||||
#undef ABI_STRUCT
|
||||
#undef ABI_FIELD
|
||||
};
|
||||
const size_t abi_c_n_rows = sizeof abi_c_rows / sizeof abi_c_rows[0];
|
||||
|
||||
float abi_c_yarn_frequency(float factor, float low, float high, float magnitude, float inv, int i) {
|
||||
RadYarn y;
|
||||
y.factor = factor;
|
||||
y.low = low;
|
||||
y.high = high;
|
||||
y.magnitude = magnitude;
|
||||
return rad_yarn_frequency(&y, inv, i);
|
||||
}
|
||||
|
||||
int abi_c_yarn_valid(float factor, float low, float high, float magnitude) {
|
||||
RadYarn y;
|
||||
y.factor = factor;
|
||||
y.low = low;
|
||||
y.high = high;
|
||||
y.magnitude = magnitude;
|
||||
return rad_yarn_valid(&y);
|
||||
}
|
||||
Reference in new issue
Block a user