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
@@ -1,8 +1,8 @@
|
||||
/* tests/r4d_emu: expert_scale (r4d_expert_scale_bf16.hip) on the host SIMT emulator, against the chain it
|
||||
* replaces -- embed_lookup of the [n_expert, 1] scale table by the ids, then mul into the weights --
|
||||
* and against ref_host.cpp, bit for bit: one product rounded once has no other answer. Ids outside
|
||||
* the table (a negative pad, one past the end) read a zero scale; rows past M and the pitch's
|
||||
* padding stay untouched. */
|
||||
/* tests/r4d_emu: expert_scale (r4d_expert_scale_bf16.hip) on the host SIMT emulator, checked bit
|
||||
* for bit against the chain it replaces (embed_lookup of the [n_expert, 1] scale table by the
|
||||
* ids, then mul into the weights) and against ref_host.cpp; one product rounded once has a single
|
||||
* correct result. Ids outside the table (a negative pad, one past the end) read a zero scale;
|
||||
* rows past M and the pitch's padding stay untouched. */
|
||||
#include "rad_abi.h"
|
||||
#include "rad_plugin.h"
|
||||
#include "r4d_plugin.h"
|
||||
@@ -13,9 +13,6 @@
|
||||
#include <random>
|
||||
#include <vector>
|
||||
|
||||
static float b2f(uint16_t h) { uint32_t u = (uint32_t)h << 16; float f; std::memcpy(&f, &u, 4); return f; }
|
||||
static uint16_t f2b(float f) { uint32_t u; std::memcpy(&u, &f, 4); return (uint16_t)((u + 0x7fffu + ((u >> 16) & 1u)) >> 16); }
|
||||
|
||||
int main() {
|
||||
std::mt19937 rng(5);
|
||||
std::normal_distribution<float> nd(0.f, 1.f);
|
||||
|
||||
Reference in new issue
Block a user