Archived
- 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
20 lines
834 B
C++
20 lines
834 B
C++
/* lq_autoround.h -- AutoRound's rounding descent, as a routine ParoQuant's second stage reuses. */
|
|
#pragma once
|
|
#include "lq_grid.h"
|
|
|
|
#include <string>
|
|
|
|
namespace lq {
|
|
|
|
/* Can AutoRound run on this grid? Integer codes, symmetric or with a zero, one scale level, blocks
|
|
* of one row. Empty when it can, the reason when not. */
|
|
std::string autoround_refusal(const Grid& g);
|
|
|
|
/* Run `iters` descent steps at learning rate `lr` on rows [0, N) of `w` [N, K], already in the
|
|
* grid's (transformed) domain, against H (K x K) or, when H is null, the diagonal `diag` (K).
|
|
* Writes the resulting scales and codes into `planes` (the grid's). */
|
|
void autoround_rows(const Grid& g, const float* w, int64_t N, int64_t K, const float* H,
|
|
const float* diag, int iters, double lr, const Planes& planes);
|
|
|
|
} /* namespace lq */
|