Skip to content

feat(engine): --adapter, LoRA adapters merged at load - #52

Merged
rkinas merged 3 commits into
rkinas:mainfrom
pawelkiszczak:feat/engine-adapter-upstream
Nov 2, 2026
Merged

rkinas merged 3 commits into
rkinas:mainfrom
pawelkiszczak:feat/engine-adapter-upstream

Conversation

@pawelkiszczak

@pawelkiszczak pawelkiszczak commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What

  • --adapter DIR on basal-serve, basal-calibrate (in process; with --url it records the server's adapter) and basal-bench: a LoRA adapter loaded with the model.
  • basal-fuse-adapter --model M --adapter DIR --out FUSED writes the merged checkpoint for the engines that cannot take --adapter (then basal-export-gguf as usual). Tokenizer, template and basal.json are copied. The adapter's CALIBRATION*.json files are copied with fitted_on naming the merged model and fused_from keeping the origin; files fitted with another adapter, and the base model's own files, are left out.
  • New module basal/adapter.py: reading, canonical keys, merges for torch / MLX / numpy, PEFT export, and the fuse CLI.

Formats

format files scale
mlx-lm adapter_config.json (fine_tune_type lora or absent) + adapters.safetensors (<path>.lora_a [in, r], .lora_b [r, out]) lora_parameters.scale
PEFT adapter_config.json (peft_type LORA) + adapter_model.safetensors (…lora_A.weight [r, in], …lora_B.weight [out, r]) lora_alpha / r, or / sqrt(r) with use_rslora

These are refused with --adapter <name>: <reason>:

  • DoRA, full, and PEFT types other than LORA
  • rank_pattern / alpha_pattern, fan_in_fan_out
  • missing files, a factor without its partner, factor shapes that don't chain, keys outside the decoder layers
  • modules that aren't in the model or aren't linear, weight / delta shape mismatches

The merge is mlx-lm's LoRALinear.fuse on every framework: (scale * B) @ A in fp32, cast to the weight's dtype, added in the weight's dtype. Modules are looked up only under the decoder's layers, so vision towers never match.

Per engine

engine adapter
eager, mps, fast, fast-nocompile, fast-exit, fp8 / nvfp4 via --quant, Qwen3.5 graph, strix merged into the bf16 weights right after from_pretrained, before the projection merge, PLE offload and torchao quantisation
mlx, mlx-q8 merged after load_model, before q8; on the lazy q8 load only the adapter's layers are materialised
-MLX-8bit exports dequantised, merged and re-quantised with the layer's group size / bits / mode (mlx-lm's fuse(dequantize=False))
tpu merged into the numpy weights before stacking
vllm enable_lora, max_loras=1, max_lora_rank = next power of two ≥ rank (min 8, ranks > 512 refused), LoRARequest on every generate
sglang enable_lora, lora_paths={"adapter": <peft dir>}, max_loras_per_batch=2, lora_path on every generate
gguf, ollama, llamacpp refused before anything is downloaded, pointing to basal-fuse-adapter + basal-export-gguf
ModelOpt FP8 checkpoints refused (serve the bf16 repository with --quant fp8)

vLLM and SGLang get the adapter's own PEFT directory. An mlx-lm adapter is converted to a PEFT copy in $TMPDIR, which is removed at exit. For a multimodal model an mlx-lm adapter is refused, because its module names wouldn't match. At start-up one probe prompt runs with and without the LoRA; identical log-probabilities refuse to start rather than serve the base model under the adapter's name.

Serving and calibration

  • Name and identity: the served name is <model>+<adapter> unless --name. GET /v1/models adds "adapter": "<name>@<sha256(adapter_config.json + weights)[:12]>", so a rescaled adapter is a different adapter.
  • Start-up line: adds adapter <name> (<n> layers) and the calibration file applied (or uncalibrated).
  • basal-calibrate: writes fitted_on.adapter and adds --adapter <name> to the engine string.
  • Mismatch check: calibration_mismatch compares fitted_on.adapter with the served adapter; either side may be none. A mismatch warns, or exits with --strict-calibration.
  • File selection: without --calibration, any CALIBRATION[.<engine>][.<layout>].json in the adapter directory comes first, and is checked as above. Otherwise the model's file belongs to the base model: it is loaded for its temperatures only (no thresholds / multi / task thresholds), and answers are marked "calibration": "unvalidated", the same handling as a file of another layout or option order.

Verification (Apple M4 Max, basal-2.0-mini bf16 and -MLX-8bit)

Adapter: a rank-16 LoRA (scale 2.0) on all 7 projections of layers 16–31, i.e. 112 linear layers, in mlx-lm format. 40 Polish documents were sent through basal-run --concurrency 1.

check result
--mode mlx --adapter: merged weights vs python -m mlx_lm fuse bit-identical, 515 of 515 tensors
basal-fuse-adapter (torch) vs mlx_lm fuse bit-identical, 515 of 515 tensors
--mode mlx --adapter vs the mlx-lm-fused checkpoint, served (this branch) max |Δp| 0.00000, top 40/40
--mode mps --adapter (PyTorch) vs mlx max |Δp| 0.0100, top 40/40
-MLX-8bit --adapter vs bf16 --adapter max |Δp| 0.0324, top 37/40
the base model without the adapter vs --adapter (the adapter is applied) max |Δp| 0.546, top 10/40
basal-bench --adapter --modes mlx --n 44 acc 0.727

Under concurrent requests, adapter vs fused differed by max |Δp| 0.0043. That equals the fused server's own run-to-run difference under batching, so it comes from batching, not the adapter.

Calibration checks:

  • basal-calibrate --adapter wrote the same identity that /v1/models reports.
  • A file in the adapter directory loads without a warning.
  • Without one, the model's file loads unvalidated.
  • That file passed with --calibration but without --adapter warns, and --strict-calibration exits 1; a file with a stale identity is refused the same way.
  • The fused checkpoint served with its copied calibration starts under --strict-calibration without a warning.

Refusals: --mode gguf|ollama|llamacpp --adapter and basal-bench --modes gguf --adapter exit before loading, and a DoRA adapter exits with its reason.

pytest tests/ (without e2e) on this branch: 784 passed, 53 skipped. The new tests/test_adapter.py covers:

  • both formats reading to the same deltas, including the rsLoRA scale; the identity covering the config; the PEFT round trip
  • refusals; the multimodal torch root
  • the torch merge, exact in bf16; numpy merge = torch merge
  • the MLX merge bit-identical to mlx-lm's fuse (full and 8-bit) and to the formula; mlx-q8 merging before quantising
  • the server's calibration rules, /v1/models, GGUF refusals, basal-fuse-adapter's calibration provenance
  • the vLLM / SGLang start-up probes against fake engines

Follow-up (993d378), while waiting for 2.5

Changes:

  • --mode fast-exit refuses --adapter: its exit heads and thresholds were trained on the base model's hidden states. An "evidence": true request under an adapter answers 422 for the same reason (the evidence head).
  • Adapter keys must belong to the text decoder ([base_model|model|language_model.]*layers.N.…). Before this, a tensor of a vision or audio tower's layers.N was mapped to the decoder's layer N; now it refuses the adapter (Gemma 4 multimodal test).
  • SGLang ignores use_rslora (it uses lora_alpha / r, sglang/srt/lora/lora.py:64 in 0.5.10). An rsLoRA PEFT adapter is therefore passed as a copy stating the same scale as lora_alpha / r, with its tensors linked unchanged.
  • The "unvalidated" warning for the base model's calibration file under an adapter now says to fit a file with basal-calibrate --adapter.

Checks run here:

check result
without --adapter: this branch vs 2.4.1 (b20f0f9), basal-2.0-mini, 84 requests, mlx / mps / eager answers byte-identical, 84/84 in each mode
--adapter vs PEFT merge_and_unload() checkpoint, 1,066 readouts (1,022 human_pl/en documents + 44 bundled), mlx top 1059/1066 (99.34%); 7 flips, all at reference margin ≤ 0.0034; 0 flips at margin ≥ 0.05
same, mps (PyTorch merge) top 1059/1066 (99.34%); 7 flips, margins ≤ 0.005; 0 at ≥ 0.05
noise floor: the same PEFT weights served by mlx vs mps also 1059/1066, 7 flips, margins ≤ 0.0138
weights: our merge vs PEFT's (bf16) 112 adapted tensors differ in 2.2% of elements by 1 bf16 ulp (the fp32 product is rounded once in both, in a different order); all other tensors identical
PEFT merge_and_unload parity, tiny models (fp32, rsLoRA, all 7 projections) equal within 1e-6 on Llama, Gemma 4 E4B-like (KV-shared layers, per-layer inputs), 31B-like (k = v) and multimodal Gemma 4 (decoder only, vision / audio towers untouched); these tests skip without peft
vLLM argument names vs the vLLM 0.11.2 source; SGLang vs 0.5.10.post1 all confirmed (keywords, LoRARequest order, rank set {1,8,…,512}, logprob structures, a partial-layer adapter accepted, max_loras_per_batch=2 needed for the base probe)
--mode vllm --adapter on vLLM 0.32 + vllm-metal 0.32 (Apple M4 Max) start-up probe passed (112 modules activated); vs the fused checkpoint: top 40/40, max |Δp| 0.0156; vs base: 10/40

A note on the 99.5% bar of the PEFT criterion: on this data set, 20 of the 1,066 readouts are near-ties (margin < 0.005). Two engines serving identical weights already disagree on 7 of them, so 99.34% is the noise floor here, not a merge error. Counting the bar over readouts above a small margin, or against the same-engine floor, would separate the two.

Suite on this branch: 790 passed, 53 skipped (with peft installed).

Follow-up 2 (00fa51d): --adapter = basal-fuse-adapter on every engine

The second criterion of the 2.5.1 check (--adapter DIR vs the basal-fuse-adapter checkpoint, bit-identical probabilities) did not hold by construction on CUDA. The graph engines merged after .cuda(), so the update came from the GPU's fp32 GEMM, while basal-fuse-adapter computes it on the CPU; the two can round differently.

Now the update (scale · B) @ A is computed once on the CPU for every merge: torch on any device, MLX, the TPU's numpy weights, and basal-fuse-adapter. The graph engines and strix merge before .cuda(), which also avoids moving the deltas to the GPU. On the CPU it costs about 0.1 s for basal-2.0-mini's 112 modules (269 GFLOP/s); for a rank-16 adapter on every linear of a 31B model, roughly 1 TFLOP, a few seconds.

check result
--adapter vs the basal-fuse-adapter checkpoint, basal-2.0-mini, 84 requests one at a time byte-identical in mlx, mps and eager
basal-fuse-adapter vs mlx_lm fuse still bit-identical, 515/515 tensors
new test: the same bf16 weights from a CPU merge, an MPS merge and the MLX merge identical
new test: mlx-lm's Gemma 4 (E4B-like, 31B-like) vs PEFT merge_and_unload equal within 1e-6

Bit-identical probabilities need the same request order: concurrent requests are batched differently from run to run, which moves bf16 probabilities by ~1e-3 on any model (0.0043 on basal-2.0-mini between two runs of the same server). For the comparison, send the requests one at a time (basal-run --concurrency 1) or use --deterministic.

Suite: 791 passed, 53 skipped.

Not tested here

There is no CUDA here. vLLM ran through vllm-metal (above), SGLang did not run, and both were checked against their source. On CUDA, basal-serve --mode vllm --adapter … should agree with the mlx run on the top answer for ≥ 38 of 40. The CUDA graph engines, strix and tpu use the same merge_torch / merge_numpy as the tested paths, but did not run here.

Summary by Sourcery

Add end-to-end LoRA adapter support with consistent loading, serving, calibration, and checkpoint-fusion workflows.

New Features:

  • Add --adapter support for serving, calibration, and benchmarking with mlx-lm and PEFT LoRA adapters across supported engines.
  • Add basal-fuse-adapter to produce merged checkpoints for engines that cannot load adapters directly.
  • Expose adapter identity and adapter-aware model naming and metadata through the serving API.

Bug Fixes:

  • Prevent unsupported, malformed, mismatched, or ineffective adapters from being served as if they were applied.
  • Ensure multimodal adapters cannot accidentally target non-text decoder layers.

Enhancements:

  • Add adapter-aware calibration selection, validation, provenance, and mismatch handling.
  • Support native LoRA serving for vLLM and SGLang, including adapter conversion and startup application checks.
  • Apply consistent LoRA merging across Torch, MLX, NumPy, quantized MLX, and TPU weights.

Build:

  • Register the new basal-fuse-adapter command-line entry point.

Documentation:

  • Document adapter formats, supported engines, calibration behavior, refusals, and checkpoint fusion.

Tests:

  • Add comprehensive coverage for adapter parsing, validation, framework merges, quantized MLX behavior, calibration rules, engine refusals, native vLLM/SGLang handling, and fused checkpoints.

…u; vLLM / SGLang natively; basal-fuse-adapter)
@sourcery-ai

sourcery-ai Bot commented Oct 26, 2026

Copy link
Copy Markdown

Reviewer's Guide

Adds end-to-end LoRA adapter support: adapters can be validated and merged at load across in-process engines, served natively by vLLM/SGLang, or fused into checkpoints for unsupported engines, with adapter identity, calibration matching, provenance, CLI wiring, documentation, and comprehensive framework-level tests.

Sequence diagram for adapter-aware model startup

sequenceDiagram
    participant CLI
    participant Server
    participant Adapter as adapter.read
    participant Backend
    participant Model
    CLI->>Server: start with --adapter DIR
    Server->>Adapter: read(DIR)
    Adapter-->>Server: validated Adapter identity and deltas
    Server->>Backend: construct backend with adapter
    alt in-process engine
        Backend->>Model: from_pretrained
        Backend->>Model: merge_torch / merge_mlx / merge_numpy
    else vLLM or SGLang
        Backend->>Backend: peft_dir(adapter)
        Backend->>Backend: generate with LoRA request
        Backend->>Backend: probe with and without adapter
    end
    Server->>Server: load_calibration(adapter)
    Server-->>CLI: serve adapter-qualified model
Loading

Entity relationship diagram for adapter calibration identity

erDiagram
    ADAPTER {
        string name
        string identity
        int rank
        float scale
    }
    CALIBRATION {
        string fitted_on_model
        string fitted_on_adapter
        string fused_from
    }
    SERVED_MODEL {
        string name
        string adapter_identity
    }
    ADAPTER ||--o{ CALIBRATION : fits
    ADAPTER ||--o| SERVED_MODEL : identifies
    SERVED_MODEL ||--o{ CALIBRATION : validates
Loading

Flow diagram for fusing an adapter into an unsupported checkpoint

flowchart TD
    Start["basal-fuse-adapter --model M --adapter DIR --out FUSED"] --> Read["read and validate adapter"]
    Read --> Load["load base model"]
    Load --> Merge["merge_torch into decoder linear layers"]
    Merge --> Save["save merged checkpoint and copy tokenizer/template metadata"]
    Save --> Calibration["copy compatible CALIBRATION files with fused provenance"]
    Calibration --> Export["basal-export-gguf"]
Loading

File-Level Changes

Change Details Files
Introduces a shared LoRA adapter pipeline that validates mlx-lm and PEFT directories, canonicalizes decoder-layer keys, computes fp32 deltas, identifies adapter revisions, merges weights across supported frameworks, converts adapters for native serving, and provides a checkpoint-fusing CLI.
  • Rejects unsupported adapter types, layouts, modules, ranks, and shape mismatches with actionable errors.
  • Implements torch, MLX/quantized MLX, and numpy merges with framework-specific load and quantization ordering.
  • Adds PEFT export for vLLM/SGLang and basal-fuse-adapter checkpoint creation with tokenizer and calibration provenance handling.
basal/adapter.py
pyproject.toml
tests/test_adapter.py
Adds --adapter integration across serving and benchmarking engines, either merging into weights at load or passing the adapter natively to vLLM/SGLang.
  • Threads adapter loading through basal-serve and basal-bench, including early refusal for GGUF, Ollama, llama.cpp, and ModelOpt FP8 checkpoints.
  • Merges before projection/offload/quantization for torch, MLX, TPU, graph, MPS, Strix, and related engines; preserves lazy MLX-q8 behavior.
  • Configures vLLM and SGLang LoRA requests, rank limits, temporary PEFT conversion, and per-request adapter selection.
  • Runs startup probes to refuse serving when a native engine produces identical base and adapter results.
basal/engine.py
basal/server.py
basal/bench.py
basal/gdn_graph.py
basal/strix.py
basal/tpu.py
Adds adapter-aware model identity, calibration selection, validation, and provenance throughout serving and calibration workflows.
  • Names served models with the adapter and exposes the hashed adapter identity through /v1/models.
  • Records adapter identity in calibration output and warns or fails on adapter/model calibration mismatches.
  • Prioritizes adapter calibration files, treats base-model calibration as unvalidated under an adapter, and preserves provenance when fusing checkpoints.
  • Updates startup diagnostics and calibration documentation for adapter application.
basal/server.py
basal/calibrate.py
docs/CALIBRATION.md
docs/SERVING.md
docs/WHATS_NEW.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@rkinas

rkinas commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Thank you, Paweł! This is a really useful feature. It also fits well with basal-finetune, which is coming in 2.5: it writes its LoRA to --out/lora, so with --adapter people could serve their fine-tune without keeping a merged copy. The adapter identity in the calibration file, the refusals and basal-fuse-adapter for GGUF / llama.cpp are exactly what I'd want.
I scheduling it for 2.5.1 rather than 2.5. 2.5 is closed to changes that have already passed our checks, and this one touches every engine path. A change that size gets its own test run, and there isn't time before the release.

When 2.5 is out, could you rebase on it? Two things are new there and need to work with adapters:

  1. Prepared start directories (basal/prepared.py): the prepared key should include the adapter identity, so a base model's prepared directory is never used with an adapter (or with a different one).
  2. --quant-load cpu (CPU-side quantising load for the 31B on smaller cards): the adapter needs to be merged before that quantisation, like the --quant path in your table.

It would also be good to have a test that --adapter /lora on a basal-finetune output answers the same as the merged model.

The check I'll run for 2.5.1, set in advance:

  • without --adapter: answers byte-identical to 2.5;
  • --adapter DIR vs the basal-fuse-adapter checkpoint, same mode: bit-identical probabilities;
  • vs a PEFT merge_and_unload() reference: the same top answer on ≥ 99.5% of readouts, with no flip where the margin is ≥ 0.05;
  • covering fast, eager, mlx / -MLX-8bit exports, --quant fp8, and vllm with its native LoRA, on an rsLoRA adapter for Gemma 4 E4B and 31B, plus a basal-finetune output.

I'll come back here with the results. Thanks again!

@pawelkiszczak

Copy link
Copy Markdown
Contributor Author

Thanks, @rkinas. 2.5.1 makes sense, and having the check fixed in advance is very helpful.

Once 2.5 is out I'll rebase on it and add:

  1. Prepared start directories: the adapter identity goes into the prepared key. That identity is name@sha256(adapter_config.json + weights)[:12], so a rescaled or retrained adapter also gets its own key. A base model's prepared directory is then never reused with an adapter, or with a different one, and there's a test for both cases.
  2. --quant-load cpu: the adapter is merged into the bf16 weights before the CPU-side quantisation, as on the --quant path. There's a test that the merge-then-quantise result equals quantising the basal-fuse-adapter checkpoint.
  3. basal-finetune: a test that --adapter <out>/lora answers the same as the merged <out>. Does <out>/lora use the PEFT layout or the mlx-lm one? Both are read, but I'd like the test to use the real format.

I'll also fix two things I found myself. Exit heads and the evidence head were trained on the base model's hidden states:

  • --mode fast-exit with --adapter will be refused.
  • Evidence spans under an adapter will be marked unvalidated, the same way the base model's calibration file is.

Your check covers what I couldn't run here: the vLLM / SGLang paths have only been tested against fake engines (no CUDA on my side), and Gemma 4 hasn't run at all. If the vLLM start-up probe or the PEFT conversion causes problems with the Gemma 4 rsLoRA adapter, post the message and I'll fix it.

One question about your third criterion: for the PEFT merge_and_unload() reference, do you merge in bf16 or in fp32? Our merge computes the delta in fp32 and adds it in the weight dtype, as mlx-lm does. That makes it bit-identical to mlx_lm fuse (checked on basal-2.0-mini). PEFT's own merge works in the weight dtype, which explains any small differences against that reference.

…oder keys only, rsLoRA copy for SGLang; PEFT and Gemma 4 parity tests
…ore .cuda()), so --adapter equals basal-fuse-adapter bit for bit; MLX Gemma 4 parity test
@pawelkiszczak

Copy link
Copy Markdown
Contributor Author

A follow-up on my earlier comment, now that the advance work is in (commits 993d378 and 00fa51d; details in the PR description):

  • Evidence under --adapter is refused (HTTP 422) rather than marked unvalidated: spans from a head trained on the base model's states shouldn't be served. --mode fast-exit with --adapter is refused as planned.
  • Correction on PEFT: on the CPU it also computes the delta in fp32. Against our merge, the only difference is the order ((B@A)·scale vs (scale·B)@A): one bf16 ulp on 2.2% of the adapted weights. Over 1,066 readouts that gives 7 flips, all at margins ≤ 0.005. Two engines serving identical weights flip on the same 7, so on this set 99.34% is the noise floor.
  • Your second criterion now holds by construction on every engine: the update is computed once on the CPU (the graph engines merge before .cuda()). For bit-identical probabilities, send requests one at a time or use --deterministic, since batching moves bf16 probabilities by ~1e-3.
  • vLLM's LoRA path has run on vLLM 0.32 through vllm-metal: the start-up probe passed and it matched the fused checkpoint on 40/40 top answers. SGLang and CUDA are still yours to run.

Also in these commits:

  • adapter tensors outside the text decoder (a vision or audio tower's layers.N) are refused instead of landing in the decoder's layer N;
  • an rsLoRA adapter is passed to SGLang as a copy stating its scale as lora_alpha / r, because SGLang does not read use_rslora;
  • new tests against PEFT merge_and_unload on tiny Llama and Gemma 4 (E4B-like, 31B-like, multimodal), in PyTorch and MLX; they skip without peft.

@rkinas

rkinas commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Thank you, Paweł, for the follow-up. As agreed, --adapter is planned for basal 2.5.1: we will review it against the 2.5 branch right after 2.5 is published.

@rkinas
rkinas merged commit 010a489 into rkinas:main Nov 2, 2026
@rkinas

rkinas commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Thank you, Paweł: --adapter ships in basal 2.5.0, with your three commits as they were. Before the release we measured it per mode: the answers with --adapter equal the fused checkpoint's and PEFT's merge_and_unload bit for bit (Gemma 4 E4B and 31B rsLoRA on an H100 in fast, eager, fp8 and vllm; E4B in mlx on a Mac; a basal-finetune adapter of basal-omni-pico).

What we changed on top: --mode vllm / sglang serve a merged copy of the checkpoint (a native LoRA computes x@W + (x@A)@b and cannot be bit-identical to the fused weights; the copy costs the weights' size on disk and is refused before writing when the disk is too small); the merge uses PEFT's arithmetic (an fp32 delta, one rounding); nvfp4, int8 and vllm for Qwen3.5 models refuse --adapter with a message. Docs: SERVING.md ("LoRA adapters" under "Serving modes") and WHATS_NEW 2.5.

rkinas added a commit that referenced this pull request Nov 2, 2026
rkinas added a commit that referenced this pull request Nov 2, 2026
rkinas added a commit that referenced this pull request Nov 2, 2026
… version

CONTRIBUTING.md credits the 2.5 pull requests as the release notes' community line lists them (Paweł Kiszczak
#52, #62, #64, #66, #68, #71, #73, #75; Marcin Brzeżański #56; Grzegorz Brzezinka #76, #78) and adds Dariusz
Koryto (#53, #58, #59, #60 and #55); the README's list names him too. docs/changes/README.md and the
changelog.py help use 2.5.1, the next release, as the example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants