helloadhavan/github_issues huggingface dataset:
Repository: nodejs/node
Pull request: deps: update timezone to 2025b

Notable changes from https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/6JVHNHLB6I2WAYTQ75L6KEPEQHFXAJK3/:

```
Timezone data has been updated to 2025b:
- New zone (America/Coyhaique) for Aysén Region in Chile which moves from -04/-03 to -03.
- Iran switched from +04 to +0330 on 1978-11-10 at 24:00, not at year end.
```

----------

This PR was generated by tools/timezone-update.yml.

Updates the ICU files as per the instructions present in https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-icu.md#time-zone-data

To test, build node off this branch & log the version of tz using
```js
console.log(process.versions.tz)
```

Changed files:
filename: test/fixtures/tz-version.txt
patch: @@ -1 +1 @@
-2025a
+2025b
Repository: facebook/react
Pull request: feat:-Added a delete all filters action and added title to the add filter a…

### changes

1. A small action added to delete all filters,  it can be useful to delete when someone has a bunch of them rather than clicking on them selectively.

2.There was no title on the `add filter` button so added the same

https://github.com/facebook/react/assets/72331432/af6c0725-05b6-4f46-b8c9-8079bd933a8e



review @hoxyq 

Changed files:
filename: packages/react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js
patch: @@ -218,6 +218,10 @@ export default function ComponentsSettings(_: {}): React.Node {
     });
   }, []);
 
+  const removeAllFilter = () => {
+    setComponentFilters([]);
+  };
+
   const toggleFilterIsEnabled = useCallback(
     (componentFilter: ComponentFilter, isEnabled: boolean) => {
       setComponentFilters(prevComponentFilters => {
@@ -434,11 +438,16 @@ export default function ComponentsSettings(_: {}): React.Node {
           ))}
         </tbody>
       </table>
-
-      <Button onClick={addFilter}>
+      <Button onClick={addFilter} title="Add filter">
         <ButtonIcon className={styles.ButtonIcon} type="add" />
         Add filter
       </Button>
+      {componentFilters.length > 0 && (
+        <Button onClick={removeAllFilter} title="Delete all filters">
+          <ButtonIcon className={styles.ButtonIcon} type="delete" />
+          Delete all filters
+        </Button>
+      )}
     </div>
   );
 }
Repository: facebook/react
Pull request: [Fizz] Don't bail out of flushing if we still have pending root tasks

The idea for this check is that we shouldn't flush anything before we flush the shell. That may or may not hold true in future formats like RN.

It is a problem for resuming because with resuming it's possible to have root tasks that are used for resuming but the shell was already flushed so we can have completed boundaries before the shell has fully resumed. What matters is whether the parent has already flushed or not.

It's not technically necessary to bail early because there won't be anything in partialBoundaries or completedBoundaries because nothing gets added there unless the parent has already flushed.

It's not exactly slow to have to check the length of three arrays so it's probably not a big deal.

Flush partials in an early preamble needs further consideration regardless.



Changed files:
filename: packages/react-server/src/ReactFizzServer.js
patch: @@ -3778,9 +3778,6 @@ function flushCompletedQueues(
         // We haven't flushed the root yet so we don't need to check any other branches further down
         return;
       }
-    } else if (request.pendingRootTasks > 0) {
-      // We have not yet flushed the root segment so we early return
-      return;
     }
 
     if (enableFloat) {
Repository: vercel/next.js
Pull request: Turbopack: @next/mdx extension option is supported

## What?

@wbinnssmith added support for this option some time ago.

Closes PACK-4936

Changed files:
filename: docs/01-app/02-guides/mdx.mdx
patch: @@ -70,8 +70,6 @@ const withMDX = createMDX({
 })
 ```
 
-> **Good to know**: [Turbopack](/docs/app/api-reference/turbopack) does not currently support the `extension` option and therefore does not support `.md` files.
-
 ## Add an `mdx-components.tsx` file
 
 Create an `mdx-components.tsx` (or `.js`) file in the root of your project to define global MDX Components. For example, at the same level as `pages` or `app`, or inside `src` if applicable.
Repository: ggml-org/llama.cpp
Pull request: fix target include directories

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*

1. There's no llava directory in the tools directory.
2. Because the command `target_include_directories(mtmd PUBLIC .)` is used in the `mtmd` CMakeLists.txt file, other targets that link against `mtmd` automatically include the `mtmd` directory as a search path for header files. Therefore, you can remove `target_include_directories(${TARGET} PRIVATE ../llava`` or use `target_include_directories(${TARGET} PRIVATE ../mtmd`` to explicitly require the `llama-server` target to use header files from `mtmd`.

Changed files:
filename: tools/server/CMakeLists.txt
patch: @@ -33,7 +33,7 @@ endforeach()
 add_executable(${TARGET} ${TARGET_SRCS})
 install(TARGETS ${TARGET} RUNTIME)
 
-target_include_directories(${TARGET} PRIVATE ../llava)
+target_include_directories(${TARGET} PRIVATE ../mtmd)
 target_include_directories(${TARGET} PRIVATE ${CMAKE_SOURCE_DIR})
 target_link_libraries(${TARGET} PRIVATE common mtmd ${CMAKE_THREAD_LIBS_INIT})
Repository: huggingface/transformers
Pull request: fix audio classification pipeline fp16 test on xpu

Fix #36340 

Changed files:
filename: tests/pipelines/test_pipelines_audio_classification.py
patch: @@ -144,18 +144,21 @@ def test_small_model_pt_fp16(self):
         audio = np.ones((8000,))
         output = audio_classifier(audio, top_k=4)
 
+        # Expected outputs are collected running the test on torch 2.6 in few scenarios.
+        # Running on CUDA T4/A100 and on XPU PVC (note: using stock torch xpu, NOT using IPEX):
         EXPECTED_OUTPUT = [
+            {"score": 0.0833, "label": "go"},
+            {"score": 0.0833, "label": "off"},
+            {"score": 0.0833, "label": "stop"},
+            {"score": 0.0833, "label": "on"},
+        ]
+        # Running on CPU:
+        EXPECTED_OUTPUT_PT_2 = [
             {"score": 0.0839, "label": "no"},
             {"score": 0.0837, "label": "go"},
             {"score": 0.0836, "label": "yes"},
             {"score": 0.0835, "label": "right"},
         ]
-        EXPECTED_OUTPUT_PT_2 = [
-            {"score": 0.0845, "label": "stop"},
-            {"score": 0.0844, "label": "on"},
-            {"score": 0.0841, "label": "right"},
-            {"score": 0.0834, "label": "left"},
-        ]
         self.assertIn(nested_simplify(output, decimals=4), [EXPECTED_OUTPUT, EXPECTED_OUTPUT_PT_2])
 
         audio_dict = {"array": np.ones((8000,)), "sampling_rate": audio_classifier.feature_extractor.sampling_rate}
Repository: nodejs/node
Pull request: Update std::vector<v8::Local<T>> to use v8::LocalVector<T> (Part 3)

A follow up of https://github.com/nodejs/node/pull/57578 to replace all std::vector<v8::Local<T>> to use v8::LocalVector<T>

Changed files:
filename: src/node_process_methods.cc
patch: @@ -50,6 +50,7 @@ using v8::HeapStatistics;
 using v8::Integer;
 using v8::Isolate;
 using v8::Local;
+using v8::LocalVector;
 using v8::Maybe;
 using v8::NewStringType;
 using v8::Number;
@@ -289,7 +290,7 @@ static void Uptime(const FunctionCallbackInfo<Value>& args) {
 static void GetActiveRequests(const FunctionCallbackInfo<Value>& args) {
   Environment* env = Environment::GetCurrent(args);
 
-  std::vector<Local<Value>> request_v;
+  LocalVector<Value> request_v(env->isolate());
   for (ReqWrapBase* req_wrap : *env->req_wrap_queue()) {
     AsyncWrap* w = req_wrap->GetAsyncWrap();
     if (w->persistent().IsEmpty())
@@ -306,7 +307,7 @@ static void GetActiveRequests(const FunctionCallbackInfo<Value>& args) {
 void GetActiveHandles(const FunctionCallbackInfo<Value>& args) {
   Environment* env = Environment::GetCurrent(args);
 
-  std::vector<Local<Value>> handle_v;
+  LocalVector<Value> handle_v(env->isolate());
   for (auto w : *env->handle_wrap_queue()) {
     if (!HandleWrap::HasRef(w))
       continue;
@@ -318,7 +319,7 @@ void GetActiveHandles(const FunctionCallbackInfo<Value>& args) {
 
 static void GetActiveResourcesInfo(const FunctionCallbackInfo<Value>& args) {
   Environment* env = Environment::GetCurrent(args);
-  std::vector<Local<Value>> resources_info;
+  LocalVector<Value> resources_info(env->isolate());
 
   // Active requests
   for (ReqWrapBase* req_wrap : *env->req_wrap_queue()) {
@@ -336,14 +337,17 @@ static void GetActiveResourcesInfo(const FunctionCallbackInfo<Value>& args) {
   }
 
   // Active timeouts
-  resources_info.insert(resources_info.end(),
-                        env->timeout_info()[0],
-                        FIXED_ONE_BYTE_STRING(env->isolate(), "Timeout"));
+  Local<Value> timeout_str = FIXED_ONE_BYTE_STRING(env->isolate(), "Timeout");
+  for (int i = 0; i < env->timeout_info()[0]; ++i) {
+    resources_info.push_back(timeout_str);
+  }
 
   // Active immediates
-  resources_info.insert(resources_info.end(),
-                        env->immediate_info()->ref_count(),
-                        FIXED_ONE_BYTE_STRING(env->isolate(), "Immediate"));
+  Local<Value> immediate_str =
+      FIXED_ONE_BYTE_STRING(env->isolate(), "Immediate");
+  for (uint32_t i = 0; i < env->immediate_info()->ref_count(); ++i) {
+    resources_info.push_back(immediate_str);
+  }
 
   args.GetReturnValue().Set(
       Array::New(env->isolate(), resources_info.data(), resources_info.size()));
Repository: denoland/deno
Pull request: fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_readv.ts`

Towards #24236

Changed files:
filename: ext/node/polyfills/_fs/_fs_readv.ts
patch: @@ -1,8 +1,5 @@
 // Copyright 2018-2025 the Deno authors. MIT license.
 
-// TODO(petamoriken): enable prefer-primordials for node polyfills
-// deno-lint-ignore-file prefer-primordials
-
 import {
   ERR_INVALID_ARG_TYPE,
   type ErrnoException,
@@ -16,6 +13,9 @@ import { validateInteger } from "ext:deno_node/internal/validators.mjs";
 import * as io from "ext:deno_io/12_io.js";
 import { op_fs_seek_async, op_fs_seek_sync } from "ext:core/ops";
 import process from "node:process";
+import { primordials } from "ext:core/mod.js";
+
+const { PromisePrototypeThen, TypedArrayPrototypeGetByteLength } = primordials;
 
 type Callback = (
   err: ErrnoException | null,
@@ -70,7 +70,7 @@ export function readv(
         break;
       }
       readInBuf += nread;
-      if (readInBuf === buf.byteLength) {
+      if (readInBuf === TypedArrayPrototypeGetByteLength(buf)) {
         readTotal += readInBuf;
         readInBuf = 0;
         bufIdx += 1;
@@ -82,12 +82,9 @@ export function readv(
     return readTotal;
   };
 
-  innerReadv(fd, buffers, pos).then(
-    (numRead) => {
-      cb(null, numRead, buffers);
-    },
-    (err) => cb(err, -1, buffers),
-  );
+  PromisePrototypeThen(innerReadv(fd, buffers, pos), (numRead) => {
+    cb(null, numRead, buffers);
+  }, (err) => cb(err, -1, buffers));
 }
 
 export function readvSync(
@@ -118,7 +115,7 @@ export function readvSync(
       break;
     }
     readInBuf += nread;
-    if (readInBuf === buf.byteLength) {
+    if (readInBuf === TypedArrayPrototypeGetByteLength(buf)) {
       readTotal += readInBuf;
       readInBuf = 0;
       bufIdx += 1;
Repository: ggml-org/llama.cpp
Pull request: lookahead : add sample command to readme

fix #15445

Changed files:
filename: examples/lookahead/README.md
patch: @@ -5,3 +5,9 @@ Demonstration of lookahead decoding technique:
 https://lmsys.org/blog/2023-11-21-lookahead-decoding/
 
 More info: https://github.com/ggml-org/llama.cpp/pull/4207
+
+Sample command:
+
+```bash
+llama-lookahead -hf ggml-org/Qwen2.5-Coder-3B-Q8_0-GGUF -p "// network server implemented in C\n// author: Peter Hacker\n\n#include" -e -ngl 99 -t 4 -n 512 -c 4096 -kvu
+```
Repository: facebook/react
Pull request: useFormState: Only emit markers if postback state is provided

This is an optimization where useFormState will only emit extra comment markers if a form state is passed at the root. If no state is passed, we don't need to emit anything because none of the hooks will match.

Changed files:
filename: packages/react-reconciler/src/ReactFiberHooks.js
patch: @@ -2015,13 +2015,18 @@ function mountFormState<S, P>(
 ): [S, (P) => void] {
   let initialState = initialStateProp;
   if (getIsHydrating()) {
-    const isMatching = tryToClaimNextHydratableFormMarkerInstance(
-      currentlyRenderingFiber,
-    );
     const root: FiberRoot = (getWorkInProgressRoot(): any);
     const ssrFormState = root.formState;
-    if (ssrFormState !== null && isMatching) {
-      initialState = ssrFormState[0];
+    // If a formState option was passed to the root, there are form state
+    // markers that we need to hydrate. These indicate whether the form state
+    // matches this hook instance.
+    if (ssrFormState !== null) {
+      const isMatching = tryToClaimNextHydratableFormMarkerInstance(
+        currentlyRenderingFiber,
+      );
+      if (isMatching) {
+        initialState = ssrFormState[0];
+      }
     }
   }
   const initialStateThenable: Thenable<S> = {

filename: packages/react-server/src/ReactFizzServer.js
patch: @@ -1193,11 +1193,10 @@ function finishFunctionComponent(
   formStateMatchingIndex: number,
 ) {
   let didEmitFormStateMarkers = false;
-  if (formStateCount !== 0) {
+  if (formStateCount !== 0 && request.formState !== null) {
     // For each useFormState hook, emit a marker that indicates whether we
-    // rendered using the form state passed at the root.
-    // TODO: As an optimization, Fizz should only emit these markers if form
-    // state is passed at the root.
+    // rendered using the form state passed at the root. We only emit these
+    // markers if form state is passed at the root.
     const segment = task.blockedSegment;
     if (segment === null) {
       // Implies we're in reumable mode.
Repository: denoland/deno
Pull request: fix(ext/node): use primordials in `ext/node/polyfills/_fs/_fs_realpath.ts`

Towards #24236

Changed files:
filename: ext/node/polyfills/_fs/_fs_realpath.ts
patch: @@ -1,13 +1,13 @@
 // Copyright 2018-2025 the Deno authors. MIT license.
 
-// TODO(petamoriken): enable prefer-primordials for node polyfills
-// deno-lint-ignore-file prefer-primordials
-
 import { promisify } from "ext:deno_node/internal/util.mjs";
+import { primordials } from "ext:core/mod.js";
 
 type Options = { encoding: string };
 type Callback = (err: Error | null, path?: string) => void;
 
+const { PromisePrototypeThen, Error } = primordials;
+
 export function realpath(
   path: string,
   options?: Options | Callback,
@@ -19,7 +19,8 @@ export function realpath(
   if (!callback) {
     throw new Error("No callback function supplied");
   }
-  Deno.realPath(path).then(
+  PromisePrototypeThen(
+    Deno.realPath(path),
     (path) => callback!(null, path),
     (err) => callback!(err),
   );
Repository: nodejs/node
Pull request: src: update std::vector<v8::Local<T>> to use v8::LocalVector<T>

According to V8's public API documentation, local handles (i.e., objects of type v8::Local<T>) "should never be allocated on the heap". This replaces the usage of heap-allocated data structures containing instances of `v8::Local`, specifically the `std::vector<v8::Local<v8::String>>` with recently introduced `v8::LocalVector<T>`.

This is first of the series of commits to replace all `std::vector<v8::Local<T>>` to use `v8::LocalVector<T>`.



Changed files:
filename: src/node_builtins.cc
patch: @@ -19,6 +19,7 @@ using v8::FunctionCallbackInfo;
 using v8::IntegrityLevel;
 using v8::Isolate;
 using v8::Local;
+using v8::LocalVector;
 using v8::MaybeLocal;
 using v8::Name;
 using v8::NewStringType;
@@ -262,7 +263,7 @@ void BuiltinLoader::AddExternalizedBuiltin(const char* id,
 MaybeLocal<Function> BuiltinLoader::LookupAndCompileInternal(
     Local<Context> context,
     const char* id,
-    std::vector<Local<String>>* parameters,
+    LocalVector<String>* parameters,
     Realm* optional_realm) {
   Isolate* isolate = context->GetIsolate();
   EscapableHandleScope scope(isolate);
@@ -386,8 +387,8 @@ void BuiltinLoader::SaveCodeCache(const char* id, Local<Function> fun) {
 MaybeLocal<Function> BuiltinLoader::LookupAndCompile(Local<Context> context,
                                                      const char* id,
                                                      Realm* optional_realm) {
-  std::vector<Local<String>> parameters;
   Isolate* isolate = context->GetIsolate();
+  LocalVector<String> parameters(isolate);
   // Detects parameters of the scripts based on module ids.
   // internal/bootstrap/realm: process, getLinkedBinding,
   //                           getInternalBinding, primordials
@@ -502,7 +503,7 @@ MaybeLocal<Value> BuiltinLoader::CompileAndCall(Local<Context> context,
 MaybeLocal<Function> BuiltinLoader::LookupAndCompile(
     Local<Context> context,
     const char* id,
-    std::vector<Local<String>>* parameters,
+    LocalVector<String>* parameters,
     Realm* optional_realm) {
   return LookupAndCompileInternal(context, id, parameters, optional_realm);
 }

filename: src/node_builtins.h
patch: @@ -101,7 +101,7 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
   v8::MaybeLocal<v8::Function> LookupAndCompile(
       v8::Local<v8::Context> context,
       const char* id,
-      std::vector<v8::Local<v8::String>>* parameters,
+      v8::LocalVector<v8::String>* parameters,
       Realm* optional_realm);
 
   v8::MaybeLocal<v8::Value> CompileAndCall(v8::Local<v8::Context> context,
@@ -159,7 +159,7 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
   v8::MaybeLocal<v8::Function> LookupAndCompileInternal(
       v8::Local<v8::Context> context,
       const char* id,
-      std::vector<v8::Local<v8::String>>* parameters,
+      v8::LocalVector<v8::String>* parameters,
       Realm* optional_realm);
   void SaveCodeCache(const char* id, v8::Local<v8::Function> fn);
Repository: denoland/deno
Pull request: ci: set NODE_SKIP_FLAG_CHECK=1 in node_compat_test workflow

`node_compat_test` workflow currently fails on linux because of being killed by OOM killer.

The issue seems happening [here](https://github.com/nodejs/node/blob/186bbf7dfdce4e8b5963fce1ab9567ba0ce04488/test/common/index.js#L88-L116) in `test/common/index.js`, where it checks the flags given to Node.js CLI and respwan the runtime with corrected set of flags if wrong ones are given. This correction of flags doesn't work for Deno because we [map](https://github.com/denoland/deno/blob/2b4de21ea0904148dfa7c28d4e77c7b3838322f8/ext/node/polyfills/internal/child_process.ts#L1064-L1111) node.js flags to Deno's, and this leads to the infinite loop of respawning for some cases.

This PR avoid the above situation by passing `NODE_SKIP_FLAG_CHECK` env var, which skips the above re-spawn behavior.

Changed files:
filename: tests/node_compat/run_all_test_unmodified.ts
patch: @@ -222,6 +222,7 @@ async function runSingle(testPath: string, retry = 0): Promise<SingleResult> {
       ],
       env: {
         NODE_TEST_KNOWN_GLOBALS: "0",
+        NODE_SKIP_FLAG_CHECK: "1",
         NO_COLOR: "1",
       },
       stdout: "piped",
Repository: huggingface/transformers
Pull request: fix low-precision audio classification pipeline

Fix low-precision usage for audio-classification pipeline.

Require test

Changed files:
filename: src/transformers/pipelines/audio_classification.py
patch: @@ -212,6 +212,8 @@ def preprocess(self, inputs):
         processed = self.feature_extractor(
             inputs, sampling_rate=self.feature_extractor.sampling_rate, return_tensors="pt"
         )
+        if self.torch_dtype is not None:
+            processed = processed.to(dtype=self.torch_dtype)
         return processed
 
     def _forward(self, model_inputs):

filename: tests/pipelines/test_pipelines_audio_classification.py
patch: @@ -17,7 +17,11 @@
 import numpy as np
 from huggingface_hub import AudioClassificationOutputElement
 
-from transformers import MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING, TF_MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING
+from transformers import (
+    MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING,
+    TF_MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING,
+    is_torch_available,
+)
 from transformers.pipelines import AudioClassificationPipeline, pipeline
 from transformers.testing_utils import (
     compare_pipeline_output_to_hub_spec,
@@ -32,6 +36,10 @@
 from .test_pipelines_common import ANY
 
 
+if is_torch_available():
+    import torch
+
+
 @is_pipeline_test
 class AudioClassificationPipelineTests(unittest.TestCase):
     model_mapping = MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING
@@ -127,6 +135,33 @@ def test_small_model_pt(self):
         output = audio_classifier(audio_dict, top_k=4)
         self.assertIn(nested_simplify(output, decimals=4), [EXPECTED_OUTPUT, EXPECTED_OUTPUT_PT_2])
 
+    @require_torch
+    def test_small_model_pt_fp16(self):
+        model = "anton-l/wav2vec2-random-tiny-classifier"
+
+        audio_classifier = pipeline("audio-classification", model=model, torch_dtype=torch.float16)
+
+        audio = np.ones((8000,))
+        output = audio_classifier(audio, top_k=4)
+
+        EXPECTED_OUTPUT = [
+            {"score": 0.0839, "label": "no"},
+            {"score": 0.0837, "label": "go"},
+            {"score": 0.0836, "label": "yes"},
+            {"score": 0.0835, "label": "right"},
+        ]
+        EXPECTED_OUTPUT_PT_2 = [
+            {"score": 0.0845, "label": "stop"},
+            {"score": 0.0844, "label": "on"},
+            {"score": 0.0841, "label": "right"},
+            {"score": 0.0834, "label": "left"},
+        ]
+        self.assertIn(nested_simplify(output, decimals=4), [EXPECTED_OUTPUT, EXPECTED_OUTPUT_PT_2])
+
+        audio_dict = {"array": np.ones((8000,)), "sampling_rate": audio_classifier.feature_extractor.sampling_rate}
+        output = audio_classifier(audio_dict, top_k=4)
+        self.assertIn(nested_simplify(output, decimals=4), [EXPECTED_OUTPUT, EXPECTED_OUTPUT_PT_2])
+
     @require_torch
     @slow
     def test_large_model_pt(self):