helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: fix[devtools]: still show overlay, if getClientRects is not implemented

Follow-up to https://github.com/facebook/react/pull/34653.

React Native doesn't implement `getClientRect`, since this is applicable to CSS box, which is not a concept for Native (maybe yet).

I am loosening the condition that gates `showOverlay()` call to pass if `getClientRect` is not implemented.

Conceptually, everything that is inside `react-devtools-shared/backend` should be Host-agnostic, because both on Web and Native it is installed inside the Host JavaScript runtime, be it main frame of the page, or RN instance. Since overlay & highlighting logic also lives there, it should also follow these principles.

Changed files:
filename: packages/react-devtools-shared/src/backend/views/Highlighter/index.js
patch: @@ -202,13 +202,12 @@ export default function setupHighlighter(
           typeof node.getClientRects === 'function'
             ? node.getClientRects()
             : [];
-        // If this is currently display: none, then try another node.
-        // This can happen when one of the host instances is a hoistable.
         if (
-          nodeRects.length > 0 &&
-          (nodeRects.length > 2 ||
-            nodeRects[0].width > 0 ||
-            nodeRects[0].height > 0)
+          typeof node.getClientRects === 'undefined' || // If Host doesn't implement getClientRects, try to show the overlay.
+          (nodeRects.length > 0 && //                      If this is currently display: none, then try another node.
+            (nodeRects.length > 2 || //                    This can happen when one of the host instances is a hoistable.
+              nodeRects[0].width > 0 ||
+              nodeRects[0].height > 0))
         ) {
           // $FlowFixMe[method-unbinding]
           if (scrollIntoView && typeof node.scrollIntoView === 'function') {
Repository: nodejs/node
Pull request: doc: clarify fs.ReadStream and fs.WriteStream are not constructable

Add explicit wording that `fs.ReadStream` and `fs.WriteStream`
should not be constructed directly, matching the existing pattern
used by `fs.Stats` ("not to be created directly using the `new`
keyword"). The factory functions `fs.createReadStream()` and
`fs.createWriteStream()` are the supported API.

Verified against `lib/internal/fs/streams.js` — the constructors
exist as plain functions with `new` guards, but are not documented
as public constructors.

Fixes: https://github.com/nodejs/node/issues/40546

Changed files:
filename: doc/api/fs.md
patch: @@ -7155,8 +7155,8 @@ added: v0.1.93
 
 * Extends: {stream.Readable}
 
-Instances of {fs.ReadStream} are created and returned using the
-[`fs.createReadStream()`][] function.
+Instances of {fs.ReadStream} cannot be constructed directly. They are created and
+returned using the [`fs.createReadStream()`][] function.
 
 #### Event: `'close'`
 
@@ -7926,8 +7926,8 @@ added: v0.1.93
 
 * Extends {stream.Writable}
 
-Instances of {fs.WriteStream} are created and returned using the
-[`fs.createWriteStream()`][] function.
+Instances of {fs.WriteStream} cannot be constructed directly. They are created and
+returned using the [`fs.createWriteStream()`][] function.
 
 #### Event: `'close'`
Repository: rust-lang/rust
Pull request: Reexport types from `c_size_t` in `std`

These are unstably available in `core` and should be in `std` too, but are not currently reexported. Resolve this here.

Tracking issue: https://github.com/rust-lang/rust/issues/88345

Changed files:
filename: library/std/src/ffi/mod.rs
patch: @@ -178,6 +178,8 @@ pub use core::ffi::{
     c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint,
     c_ulong, c_ulonglong, c_ushort,
 };
+#[unstable(feature = "c_size_t", issue = "88345")]
+pub use core::ffi::{c_ptrdiff_t, c_size_t, c_ssize_t};
 
 #[doc(inline)]
 #[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
Repository: facebook/react
Pull request: Attach instance handle to DOM in DEV for enableInternalInstanceMap

Continue attaching `internalInstanceKey` to DOM nodes in DEV. This prevents breaking some internal dev tooling while we experiment with the broader change. Note that this does not reference the DOM handle within the flag, just attaches it and deletes it. Internals tracking is still done through the private map.


Changed files:
filename: packages/react-dom-bindings/src/client/ReactDOMComponentTree.js
patch: @@ -75,6 +75,9 @@ export function detachDeletedInstance(node: Instance): void {
     delete (node: any)[internalEventHandlerListenersKey];
     delete (node: any)[internalEventHandlesSetKey];
     delete (node: any)[internalRootNodeResourcesKey];
+    if (__DEV__) {
+      delete (node: any)[internalInstanceKey];
+    }
     return;
   }
   // TODO: This function is only called on host components. I don't think all of
@@ -97,6 +100,9 @@ export function precacheFiberNode(
 ): void {
   if (enableInternalInstanceMap) {
     internalInstanceMap.set(node, hostInst);
+    if (__DEV__) {
+      (node: any)[internalInstanceKey] = hostInst;
+    }
     return;
   }
   (node: any)[internalInstanceKey] = hostInst;
Repository: vercel/next.js
Pull request: [devtools] Make instant navs panel draggable

You need to be able to see the link to have it use the cookie since we remove the cookie once you exit the panel.
Now you can drag it around after you openend the menu instead of having to close, drag, and open again.


https://github.com/user-attachments/assets/f6d19f3d-2c9f-45ce-84d9-cd89089ce84b



Changed files:
filename: packages/next/src/next-devtools/dev-overlay/menu/panel-router.tsx
patch: @@ -261,6 +261,8 @@ export const PanelRouter = () => {
         <PanelRoute name="instant-navs">
           <DynamicPanel
             sharePanelSizeGlobally={false}
+            sharePanelPositionGlobally={false}
+            draggable
             sizeConfig={{
               kind: 'fixed',
               height: 300 / state.scale,
Repository: huggingface/transformers
Pull request: Fix pegasus conversion

Fixes #44448 



Changed files:
filename: src/transformers/convert_slow_tokenizer.py
patch: @@ -1290,6 +1290,28 @@ def vocab(self, proto):
         vocab += [(piece.piece, piece.score) for piece in proto.pieces[2:]]
         return vocab
 
+    @classmethod
+    def convert_from_spm(cls, vocab=None, **kwargs):
+        pad_token = str(kwargs.get("pad_token", "<pad>"))
+        eos_token = str(kwargs.get("eos_token", "
"))
+        mask_token = str(kwargs.get("mask_token", "<mask_1>"))
+        mask_token_sent = str(kwargs.get("mask_token_sent", "<mask_2>"))
+
+        vocab_list = [
+            (pad_token, 0.0),
+            (eos_token, 0.0),
+        ]
+        if mask_token != "None":
+            vocab_list.append((mask_token, 0.0))
+        if mask_token_sent != "None" and mask_token_sent != mask_token:
+            vocab_list.append((mask_token_sent, 0.0))
+
+        vocab_list.extend([(f"<unk_{i}>", -100.0) for i in range(2, kwargs.get("offset", 103))])
+        if vocab is not None:
+            vocab_list.extend(list(vocab)[2:])
+        kwargs["vocab"] = vocab_list
+        return kwargs
+
     def unk_id(self, proto):
         return proto.trainer_spec.unk_id + self.original_tokenizer.offset
 

filename: src/transformers/models/pegasus/tokenization_pegasus.py
patch: @@ -92,9 +92,11 @@ def __init__(
     ):
         self.offset = offset
 
-        if additional_special_tokens is None:
+        if additional_special_tokens is None or mask_token_sent not in additional_special_tokens:
             additional_special_tokens = [mask_token_sent] if mask_token_sent is not None else []
-            additional_special_tokens += [f"<unk_{i}>" for i in range(2, self.offset)]
+        else:
+            additional_special_tokens = []
+        additional_special_tokens += [f"<unk_{i}>" for i in range(2, self.offset)]
 
         if vocab is None:
             vocab = [(str(unk_token), 0.0), (str(pad_token), 0.0), (str(eos_token), 0.0), (str(mask_token), 0.0)]
Repository: nodejs/node
Pull request: stream: promote DEP0201 to runtime deprecation

Refs: #61632

Changed files:
filename: doc/api/deprecations.md
patch: @@ -4431,12 +4431,15 @@ import { opendir } from 'node:fs/promises';
 
 <!-- YAML
 changes:
+  - version: REPLACEME
+    pr-url: https://github.com/nodejs/node/pull/62173
+    description: Runtime deprecation.
   - version: v25.7.0
     pr-url: https://github.com/nodejs/node/pull/61632
     description: Documentation-only deprecation.
 -->
 
-Type: Documentation-only
+Type: Runtime
 
 Passing the `type` option to [`Duplex.toWeb()`][] is deprecated. To specify the
 type of the readable half of the constructed readable-writable pair, use the

filename: lib/internal/webstreams/adapters.js
patch: @@ -71,6 +71,7 @@ const {
 } = require('internal/errors');
 
 const {
+  getDeprecationWarningEmitter,
   kEmptyObject,
   normalizeEncoding,
 } = require('internal/util');
@@ -650,6 +651,12 @@ function newStreamReadableFromReadableStream(readableStream, options = kEmptyObj
   return readable;
 }
 
+const emitDEP0201 = getDeprecationWarningEmitter(
+  'DEP0201',
+  "Passing 'options.type' to Duplex.toWeb() is deprecated. " +
+      "To specify the ReadableStream type, use 'options.readableType'.",
+  newReadableWritablePairFromDuplex);
+
 /**
  * @typedef {import('./readablestream').ReadableWritablePair
  * } ReadableWritablePair
@@ -677,10 +684,15 @@ function newReadableWritablePairFromDuplex(duplex, options = kEmptyObject) {
 
   const readableOptions = {
     __proto__: null,
-    // DEP0201: 'options.type' is a deprecated alias for 'options.readableType'
-    type: options.readableType ?? options.type,
+    type: options.readableType,
   };
 
+  if (options.readableType == null && options.type != null) {
+    // 'options.type' is a deprecated alias for 'options.readableType'
+    emitDEP0201();
+    readableOptions.type = options.type;
+  }
+
   if (isDestroyed(duplex)) {
     const writable = new WritableStream();
     const readable = new ReadableStream({ type: readableOptions.type });

filename: test/parallel/test-stream-duplex.js
patch: @@ -157,4 +157,6 @@ process.on('exit', () => {
   // Ensure that the originally-named `options.type` still works as an alias for `options.readableType`
   // `getReader({ mode: 'byob' })` throws if the underlying ReadableStream is not a byte stream
   Duplex.toWeb(duplex, { type: 'bytes' }).readable.getReader({ mode: 'byob' });
+  common.expectWarning('DeprecationWarning',
+                       [/Passing 'options\.type' to Duplex\.toWeb\(\) is deprecated/, 'DEP0201']);
 }
Repository: rust-lang/rust
Pull request: std_detect on AArch64 Darwin: Detect FEAT_SVE_B16B16

This is now exposed via `sysctl` as of macOS "Tahoe" 26.4 (or possibly earlier).

<!-- homu-ignore:start -->
<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r? <reviewer name>
-->
<!-- homu-ignore:end -->


Changed files:
filename: library/std_detect/src/detect/os/darwin/aarch64.rs
patch: @@ -81,6 +81,7 @@ pub(crate) fn detect_features() -> cache::Initializer {
     let sme_f64f64 = _sysctlbyname(c"hw.optional.arm.FEAT_SME_F64F64");
     let sme_i16i64 = _sysctlbyname(c"hw.optional.arm.FEAT_SME_I16I64");
     let ssbs = _sysctlbyname(c"hw.optional.arm.FEAT_SSBS");
+    let sve_b16b16 = _sysctlbyname(c"hw.optional.arm.FEAT_SVE_B16B16");
     let wfxt = _sysctlbyname(c"hw.optional.arm.FEAT_WFxT");
 
     // The following features are not exposed by `is_aarch64_feature_detected`,
@@ -160,6 +161,7 @@ pub(crate) fn detect_features() -> cache::Initializer {
     enable_feature(Feature::sme_f64f64, sme_f64f64);
     enable_feature(Feature::sme_i16i64, sme_i16i64);
     enable_feature(Feature::ssbs, ssbs);
+    enable_feature(Feature::sve_b16b16, sve_b16b16);
     enable_feature(Feature::wfxt, wfxt);
 
     value
Repository: vercel/next.js
Pull request: Narrow the opengraph-image function return type

### What?

Change the `opengraph-image` return type to only `Response`.

### Why?

This function must return a `Response` object. The other documented types cause Next.js builds to fail. I found this out the hard way by following the documentation.

### How?



Changed files:
filename: docs/01-app/03-api-reference/03-file-conventions/01-metadata/opengraph-image.mdx
patch: @@ -250,7 +250,7 @@ export default async function Image({ params }) {
 
 ### Returns
 
-The default export function should return a `Blob` | `ArrayBuffer` | `TypedArray` | `DataView` | `ReadableStream` | `Response`.
+The default export function should return a `Response`.
 
 > **Good to know**: `ImageResponse` satisfies this return type.
Repository: ollama/ollama
Pull request: imagegen: respect OLLAMA_MODELS for manifests and blobs

Image generation previously resolved manifests and blobs using a hard-coded
path based on $HOME (e.g., $HOME/.ollama/models). When OLLAMA_MODELS is
overridden (for example under systemd with a custom models dir), the image
runner would still fall back to the default path, leading to failures
like:

    open /usr/share/ollama/.ollama/models/manifests/...: no such file

This change updates imagegen to use envconfig.Models(), aligning it with
classic model behavior so that OLLAMA_MODELS is correctly respected
for both manifests and blobs.

A regression test is included that simulates a packaged/systemd
environment (HOME=/usr/share/ollama) and asserts the correct paths.

Fixes: #13795

Changed files:
filename: x/imagegen/manifest.go
patch: @@ -6,8 +6,9 @@ import (
 	"io"
 	"os"
 	"path/filepath"
-	"runtime"
 	"strings"
+
+	"github.com/ollama/ollama/envconfig"
 )
 
 // ManifestLayer represents a layer in the manifest.
@@ -32,31 +33,15 @@ type ModelManifest struct {
 	BlobDir  string
 }
 
-// DefaultBlobDir returns the default blob storage directory.
 func DefaultBlobDir() string {
-	home, err := os.UserHomeDir()
-	if err != nil {
-		home = "."
-	}
-	switch runtime.GOOS {
-	case "darwin":
-		return filepath.Join(home, ".ollama", "models", "blobs")
-	case "linux":
-		return filepath.Join(home, ".ollama", "models", "blobs")
-	case "windows":
-		return filepath.Join(home, ".ollama", "models", "blobs")
-	default:
-		return filepath.Join(home, ".ollama", "models", "blobs")
-	}
+	return filepath.Join(envconfig.Models(), "blobs")
 }
 
-// DefaultManifestDir returns the default manifest storage directory.
+// DefaultManifestDir returns the manifest storage directory.
+// Respects OLLAMA_MODELS.
+
 func DefaultManifestDir() string {
-	home, err := os.UserHomeDir()
-	if err != nil {
-		home = "."
-	}
-	return filepath.Join(home, ".ollama", "models", "manifests")
+	return filepath.Join(envconfig.Models(), "manifests")
 }
 
 // LoadManifest loads a manifest for the given model name.

filename: x/imagegen/manifest_test.go
patch: @@ -0,0 +1,26 @@
+package imagegen
+
+import (
+	"path/filepath"
+	"testing"
+)
+
+func TestManifestAndBlobDirsRespectOLLAMAModels(t *testing.T) {
+	modelsDir := filepath.Join(t.TempDir(), "models")
+
+	// Simulate packaged/systemd environment
+	t.Setenv("OLLAMA_MODELS", modelsDir)
+	t.Setenv("HOME", "/usr/share/ollama")
+
+	// Manifest dir must respect OLLAMA_MODELS
+	wantManifest := filepath.Join(modelsDir, "manifests")
+	if got := DefaultManifestDir(); got != wantManifest {
+		t.Fatalf("DefaultManifestDir() = %q, want %q", got, wantManifest)
+	}
+
+	// Blob dir must respect OLLAMA_MODELS
+	wantBlobs := filepath.Join(modelsDir, "blobs")
+	if got := DefaultBlobDir(); got != wantBlobs {
+		t.Fatalf("DefaultBlobDir() = %q, want %q", got, wantBlobs)
+	}
+}
Repository: facebook/react
Pull request: [eprh] Enable enableUseKeyedState and enableVerboseNoSetStateInEffect


Temporarily enables these 2 flags for internal testing.


Changed files:
filename: packages/eslint-plugin-react-hooks/src/shared/RunReactCompiler.ts
patch: @@ -39,6 +39,9 @@ const COMPILER_OPTIONS: PluginOptions = {
     validateNoCapitalizedCalls: [],
     validateHooksUsage: true,
     validateNoDerivedComputationsInEffects: true,
+    // Temporarily enabled for internal testing
+    enableUseKeyedState: true,
+    enableVerboseNoSetStateInEffect: true,
   },
 };
Repository: huggingface/transformers
Pull request: Fix repo-check bot

# What does this PR do?

Some checks (for example, modular checks) really require the installation from PR branch.

Changed files:
filename: .github/workflows/pr-repo-consistency-bot.yml
patch: @@ -172,6 +172,13 @@ jobs:
           cp utils/check_docstrings.py pr-repo/utils/check_docstrings.py
           cp utils/add_dates.py pr-repo/utils/add_dates.py
 
+      - name: Install editable transformers from PR branch with copied scripts
+        run: |
+          # Run commands in PR directory (with the copied trusted scripts)
+          cd pr-repo
+
+          pip install -e .
+
       - name: Run repo consistency checks with trusted script
         id: run_repo_checks
         if: startsWith(github.event.comment.body, '@bot /repo')
Repository: ollama/ollama
Pull request: test: add lfm2.5-thinking coverage


Changed files:
filename: integration/utils_test.go
patch: @@ -38,6 +38,7 @@ var (
 
 	// Note: add newer models at the top of the list to test them first
 	ollamaEngineChatModels = []string{
+		"lfm2.5-thinking",
 		"ministral-3",
 		"qwen3-coder:30b",
 		"gpt-oss:20b",
@@ -143,6 +144,7 @@ var (
 		"granite3.3",
 		"hermes3",
 		"internlm2",
+		"lfm2.5-thinking",
 		"llama-guard3",
 		"llama-pro",
 		"llama2-chinese",
@@ -263,6 +265,7 @@ var (
 		"snowflake-arctic-embed2",
 	}
 	libraryToolsModels = []string{
+		"lfm2.5-thinking",
 		"qwen3-vl",
 		"gpt-oss:20b",
 		"gpt-oss:120b",
Repository: nodejs/node
Pull request: tools: update nixpkgs-unstable to f82ce7af0b79ac154b12e27ed800aeb9741

This is an automated update of nixpkgs-unstable to f82ce7af0b79ac154b12e27ed800aeb9741.

Changed files:
filename: tools/nix/pkgs.nix
patch: @@ -1,10 +1,10 @@
 arg:
 let
   repo = "https://github.com/NixOS/nixpkgs";
-  rev = "e38213b91d3786389a446dfce4ff5a8aaf6012f2";
+  rev = "f82ce7af0b79ac154b12e27ed800aeb97413723c";
   nixpkgs = import (builtins.fetchTarball {
     url = "${repo}/archive/${rev}.tar.gz";
-    sha256 = "0nrbkm95nl6y96l0f95hraapp7zx10c01b8m95zj8056z57dlv65";
+    sha256 = "0dkkyyk3y8g1a7fs4rv3lqrsmxf60vrk3q93wl7yl6ggjgds79id";
   }) arg;
 in
 nixpkgs
Repository: facebook/react
Pull request: Run CI for backport releases

By adding a trigger to pushes of tags for versions.

Changed files:
filename: .github/workflows/runtime_build_and_test.yml
patch: @@ -3,6 +3,10 @@ name: (Runtime) Build and Test
 on:
   push:
     branches: [main]
+    tags:
+      # To get CI for backport releases.
+      # This will duplicate CI for releases from main which is acceptable
+      - "v*"
   pull_request:
     paths-ignore:
       - compiler/**
Repository: rust-lang/rust
Pull request: Add regression test for TransmuteFrom ICE with min_generic_const_args

Regression test for rust-lang/rust#150457.

The wfcheck ICE with TransmuteFrom + min_generic_const_args was fixed by rust-lang/rust#150707 but didn't get a test.

Closes rust-lang/rust#150457

Changed files:
filename: tests/ui/transmutability/transmute-from-const-args-ice-150457.rs
patch: @@ -0,0 +1,31 @@
+//! Ensure `TransmuteFrom` with `min_generic_const_args` doesn't ICE
+//! during well-formedness checking.
+//!
+//! Regression test for <https://github.com/rust-lang/rust/issues/150457>.
+
+//@ check-pass
+
+#![feature(transmutability)]
+#![feature(min_generic_const_args)]
+
+use std::mem::{Assume, TransmuteFrom};
+
+struct W<'a>(&'a ());
+
+fn test<'a>()
+where
+    W<'a>: TransmuteFrom<
+        (),
+        {
+            Assume {
+                alignment: const { true },
+                lifetimes: const { true },
+                safety: const { true },
+                validity: true,
+            }
+        },
+    >,
+{
+}
+
+fn main() {}
Repository: vercel/next.js
Pull request: [ci] Disable test-level retries during flakiness detection


Previously, test-level retries (`jest.retryTimes(1)`) were active during flakiness detection in `start` and `deploy` modes. This allowed flaky tests that failed once but passed on retry to be marked as passing, silently hiding intermittent failures and defeating the purpose of flakiness detection.

We now disable test-level retries during flakiness detection.

[Cursor thread](https://cursor.com/agents/bc-240f7a2c-66b5-4014-8d53-6b56da738a94)


Changed files:
filename: scripts/test-new-tests.mjs
patch: @@ -160,6 +160,7 @@ async function main() {
           NEXT_TEST_MODE: testMode,
           NEXT_TEST_VERSION: nextTestVersion,
           NEXT_EXTERNAL_TESTS_FILTERS,
+          NEXT_FLAKE_DETECTION: '1',
           IS_TURBOPACK_TEST: '1',
           TURBOPACK_BUILD:
             testMode === 'start' || testMode === 'deploy' ? '1' : undefined,

filename: test/lib/e2e-utils/index.ts
patch: @@ -126,7 +126,7 @@ if (!e2eGlobal.__NEXT_E2E_TEST_CONFIG_PATCHED__) {
       global.test = wrapJestTestFn(global.test) as jest.It
     }
 
-    if (process.env.NEXT_TEST_CI) {
+    if (process.env.NEXT_TEST_CI && !process.env.NEXT_FLAKE_DETECTION) {
       jest.retryTimes(1)
     }
   }
Repository: huggingface/transformers
Pull request: Remove `is_causal` from `EuroBertConfig`

# What does this PR do?

Remove `is_causal` from `EuroBertConfig`

Changed files:
filename: src/transformers/models/eurobert/configuration_eurobert.py
patch: @@ -34,8 +34,6 @@ class EuroBertConfig(LlamaConfig):
         Mask token id.
     classifier_pooling (`str`, *optional*, defaults to `"late"`):
         The pooling strategy to use for the classifier. Can be one of ['bos', 'mean', 'late'].
-    is_causal (`bool`, *optional*, defaults to `False`):
-        Whether to use causal attention masking. Set to `False` for bidirectional attention.
 
     ```python
     >>> from transformers import EuroBertModel, EuroBertConfig
@@ -74,7 +72,6 @@ class EuroBertConfig(LlamaConfig):
     mlp_bias: bool = False
     head_dim: int | None = None
     classifier_pooling: str = "late"
-    is_causal: bool = False
 
     def __post_init__(self, **kwargs):
         if self.num_key_value_heads is None:

filename: src/transformers/models/eurobert/modular_eurobert.py
patch: @@ -36,8 +36,6 @@ class EuroBertConfig(LlamaConfig):
         Mask token id.
     classifier_pooling (`str`, *optional*, defaults to `"late"`):
         The pooling strategy to use for the classifier. Can be one of ['bos', 'mean', 'late'].
-    is_causal (`bool`, *optional*, defaults to `False`):
-        Whether to use causal attention masking. Set to `False` for bidirectional attention.
 
     ```python
     >>> from transformers import EuroBertModel, EuroBertConfig
@@ -76,7 +74,6 @@ class EuroBertConfig(LlamaConfig):
     mlp_bias: bool = False
     head_dim: int | None = None
     classifier_pooling: str = "late"
-    is_causal: bool = False
 
     def __post_init__(self, **kwargs):
         if self.num_key_value_heads is None: