Skip to content

inference: interp-engine 1.8.0 -> 1.11.0, steer with SteerMethod - #245

Merged
hijohnnylin merged 1 commit into
mainfrom
engine-1-11
Sep 18, 2026
Merged

hijohnnylin merged 1 commit into
mainfrom
engine-1-11

Conversation

@hijohnnylin

Copy link
Copy Markdown
Owner
  • Bump apps/inference pin interp-engine[vllm,quant]==1.8.0 to ==1.11.0; relock (only the engine moved).
  • _feature_to_steerspec passes SteerMethod.ORTHOGONAL / SteerMethod.ADDITIVE instead of string literals.
  • Re-pin TestAttentionRecomputeSharding: since 1.10 the engine all-gathers q/k/v across tensor-parallel ranks and no longer refuses recompute_attn_from_payloads on tensor_parallel_size alone. The tests now check that the argument is accepted and that a head-sharded capture is named as a shard. Inference's own pod-level TP gates in engine_adapter.py are unchanged.

Also inherited from 1.9/1.10: vllm==0.28.0 is now an exact pin (already what the lock resolved), and a FlashInfer preflight runs on vLLM start.

Verified: ruff, pyright, unit suite (618), and the eager + vLLM steering integration tests (gpt2 + res-jb).

graph and nla stay on 1.8.0; neither uses steering methods.

1.11.0 names the steering methods once, as `SteerMethod`, and types `SteerSpec.method` with it.
`_feature_to_steerspec` passes the members instead of the strings they equal, so the boundary is
typed on both sides.

Also in the jump: 1.9/1.10 all-gather q/k/v across tensor-parallel ranks, so the engine no longer
refuses attention recompute on `tensor_parallel_size` alone; the contract test that pinned that
refusal now pins what replaced it -- a head-sharded capture is named as one when its width is not
a whole number of heads. Inference's own pod-level gate for sharded attention is unchanged.
1.10 also pins `vllm==0.28.0` exactly, which is what the lock already resolved, and adds a
FlashInfer preflight on vLLM start.

Verified: unit suite, eager and vLLM steering integration tests (gpt2 + res-jb).
Co-authored-by: Cursor <cursoragent@cursor.com>
@hijohnnylin
hijohnnylin merged commit b9cf9cf into main Sep 18, 2026
16 of 17 checks passed
@hijohnnylin
hijohnnylin deleted the engine-1-11 branch September 18, 2026 05:26
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.

1 participant