- 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
27 lines
744 B
C++
27 lines
744 B
C++
/* wtab.cpp -- issuing a weight-table patch. See wtab.h. */
|
|
#include "wtab.h"
|
|
|
|
#include "device/device.h"
|
|
#include "rad_internal.h"
|
|
|
|
namespace rad {
|
|
|
|
int wtab_patch(const WtabPatch& p, RadStream s) {
|
|
if (p.n == 0) return RAD_OK;
|
|
/* A host stream is a queue with a worker: write only after its queued work, which may read
|
|
* the old table (same reason as step_advance). */
|
|
if (device_is_host()) {
|
|
RAD_TRY(rad_stream_sync(s));
|
|
for (uint32_t i = 0; i < p.n; ++i) *p.dst[i] = p.val[i];
|
|
return RAD_OK;
|
|
}
|
|
#if defined(RAD_HAVE_HIP) && RAD_HAVE_HIP
|
|
return rad_wtab_patch_launch(&p, (void*)s) == 0 ? RAD_OK : RAD_E_DEVICE;
|
|
#else
|
|
(void)s;
|
|
return RAD_E_UNSUPPORTED;
|
|
#endif
|
|
}
|
|
|
|
} /* namespace rad */
|