Selected changesmerged Nov 19, 2026
fix(speechlm2): find vLLM 0.33's chat parser for the prompt contractPython · 37 + / 8 −
Introduces 3 new declarations in nemo/collections/speechlm2/vllm/salm/runtime_compat.py.
Adds new language design rather than adjusting what was there. Tests changed with it, with code of their own.
nemo/collections/speechlm2/vllm/salm/runtime_compat.py ↗ · 2 files
@@ -176,14 +184,35 @@ def _parse_chat_message_content_parts( ) _parse_chat_message_content_parts._nemo_speechlm_exact_training_prompt = True- chat_utils._parse_chat_message_content_parts = _parse_chat_message_content_parts+ setattr(chat_utils, parser_name, _parse_chat_message_content_parts) -def install_prompt_contract() -> None:- """Install the SpeechLM-only vLLM chat rendering adapter."""+def _locate_chat_parser() -> tuple[Any, str]:+ """Return the module and attribute through which vLLM's chat path finds the content-part parser.++ The parser keeps its signature across releases but has moved twice:++ * vLLM 0.33 split ``vllm.renderers.chat_utils`` into a package and made the+ parser public as ``chat_message.parse_chat_message_content_parts``;+ ``parse_chat_message_content`` calls it as a global of ``chat_message``, so+ that module is the one to patch (the package re-export is a separate name).+ * vLLM 0.32 has ``vllm.renderers.chat_utils._parse_chat_message_content_parts``.+ * Earlier releases have ``vllm.entrypoints.chat_utils._parse_chat_message_content_parts``.+ """+ try:+ from vllm.renderers.chat_utils import chat_message # vLLM >= 0.33+ except ImportError:+ chat_message = None+ if callable(getattr(chat_message, _PUBLIC_PARSER_NAME, None)):+ return chat_message, _PUBLIC_PARSER_NAME+ try: from vllm.renderers import chat_utils # vLLM 0.32 except ImportError: from vllm.entrypoints import chat_utils+ return chat_utils, _LEGACY_PARSER_NAME
Share trace-style truncation and gzip the Request Insights journalTypeScript · 434 + / 277 −
Introduces 6 new declarations in packages/next/src/server/lib/trace/request-insights-journal.ts.
Adds new framework internals rather than adjusting what was there. Tests changed with it, with code of their own.
packages/next/src/server/lib/trace/request-insights-journal.ts ↗ · 9 files
@@ -161,159 +224,230 @@ class RequestInsightsJournal { if (!this.summaries.has(key) && !this.pendingRequests.has(key)) { return false }- this.appendUpdate(identity, update)+ this.appendUpdate(identity, update, { kind: 'archived' }) return true } appendUpdate( identity: Pick<RequestInsight, 'requestId' | 'kind'>, update: RequestInsightUpdate,- request?: RequestInsight+ source: UpdateInput ): void {- this.pendingAppends = undefined const key = getRequestInsightKey(identity)- // The live arrays keep growing while writes wait, so capture their lengths.- const snapshot = request && { ...request }- const filter = {- requestId: identity.requestId,- kind: getRequestInsightKind(identity),+ if (source.kind === 'live') {+ const { request } = source+ this.enqueue({+ kind: 'live',+ identity,+ key,+ update,+ request: { ...request },+ // Live arrays grow while queued writes wait; retain exact boundaries.+ spanCount: request.spans.length,+ fetchCount: request.fetches.length,+ })
Add Dory model supportPython · 1165 + / 0 −
Introduces 67 new declarations in src/transformers/models/dory/modeling_dory.py.
Adds new core implementation rather than adjusting what was there. Tests changed with it, with code of their own.
src/transformers/models/dory/modeling_dory.py ↗ · 13 files
@@ -0,0 +1,609 @@+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨+# This file was automatically generated from src/transformers/models/dory/modular_dory.py.+# Do NOT edit this file manually as any edits will be overwritten by the generation of+# the file from the modular. If any change should be done, please apply the change to the+# modular_dory.py file directly. One of our CI enforces this.+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨+# Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++import copy+from collections.abc import Callable++import torch+from torch import nn++from ... import initialization as init+from ...activations import ACT2FN+from ...cache_utils import Cache, DynamicCache+from ...generation import GenerationMixin+from ...integrations import use_kernel_forward_from_hub, use_kernelized_func+from ...masking_utils import create_causal_mask, create_sliding_window_causal_mask+from ...modeling_layers import GradientCheckpointingLayer
KEP-6283: add service-serving signerGo · 1181 + / 5 −
Introduces 55 new declarations in pkg/controller/certificates/podcertssigner/podcertssigner.go.
Adds new systems design rather than adjusting what was there. Tests changed with it, with code of their own.
pkg/controller/certificates/podcertssigner/podcertssigner.go ↗ · 37 files
@@ -0,0 +1,613 @@+/*+Copyright The Kubernetes Authors.++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.+*/++package podcertssigner++import (+ "context"+ "crypto/rand"+ "crypto/rsa"+ "crypto/x509"+ "crypto/x509/pkix"+ "encoding/pem"+ "errors"+ "fmt"+ "math"+ "math/big"+ "strings"+ "sync"+ "time"+
fix: Lay out nested plots before laying out a React child figureTypeScript · 40 + / 1 −
Introduces 2 new declarations in panel/models/layout.ts.
Adds new framework internals rather than adjusting what was there. Tests changed with it, with code of their own.
panel/models/layout.ts ↗ · 3 files
@@ -14,6 +15,36 @@ import { render_resource_error, } from "./resources" +function* unmanaged_layout_views(view: View): Generator<LayoutDOMView> {+ for (const child of view.children()) {+ if (child instanceof LayoutDOMView && !(view instanceof LayoutDOMView)) {+ yield child+ }+ yield* unmanaged_layout_views(child)+ }+}++/**+ * Lays out the layout views nested in `view` that no layout manages, e.g.+ * the internal plot of a `SizeBar`, if they have not been laid out yet.+ *+ * Such a view only builds its layout in its own `after_render`, but the view+ * containing it may read that layout in its `update_layout`, which here can+ * run first. Once the view has been laid out it builds a fresh layout on+ * every `after_render`, so the caller must lay out `view` again if any of+ * the returned views ends up with a different layout. Can be removed once+ * https://github.com/bokeh/bokeh/issues/15794 is fixed.+ */+export function prepare_nested_layouts(view: View): LayoutDOMView[] {+ const nested = [...unmanaged_layout_views(view)]+ for (const nested_view of nested) {+ if (nested_view.layout == null) {+ nested_view.update_layout()+ }+ }+ return nested+}+