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
@@ -19,9 +19,9 @@ int table_copy_fill(const RadFile& file, const uint8_t* src, int64_t n, int64_t
|
||||
if (!why || !src || !buf || n <= 0) return RAD_E_INVAL;
|
||||
const int64_t huge = (int64_t)2 << 20;
|
||||
|
||||
/* A reader per hardware thread up to sixteen, each reading its own contiguous span in pieces of
|
||||
* 64 MiB: a drive serves sixteen queued reads at full rate, and the span keeps each reader's
|
||||
* reads sequential on the file. */
|
||||
/* One reader per hardware thread up to 16, each reading its own contiguous span in 64 MiB
|
||||
* pieces: a drive serves 16 queued reads at full rate, and spans keep each reader
|
||||
* sequential. */
|
||||
const int nt = (int)std::max(1u, std::min(16u, std::thread::hardware_concurrency()));
|
||||
const int64_t piece = (int64_t)64 << 20;
|
||||
const int64_t span = ((n + nt - 1) / nt + huge - 1) & ~(huge - 1);
|
||||
|
||||
Reference in new issue
Block a user