helloadhavan/github_issues huggingface dataset:
Repository: electron/electron
Pull request: fix: disable NSAutoFillHeuristicController on macOS 26

Backport of #48379

See that PR for details.


Notes: fix high CPU usage with `<input>` tag on macOS 26

Changed files:
filename: patches/chromium/.patches
patch: @@ -144,3 +144,4 @@ fix_add_macos_memory_query_fallback_to_avoid_crash.patch
 fix_resolve_dynamic_background_material_update_issue_on_windows_11.patch
 feat_add_support_for_embedder_snapshot_validation.patch
 band-aid_over_an_issue_with_using_deprecated_nsopenpanel_api.patch
+disable_nsautofillheuristiccontroller_on_macos_26.patch

filename: patches/chromium/disable_nsautofillheuristiccontroller_on_macos_26.patch
patch: @@ -0,0 +1,53 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Perry <perryuwang@tencent.com>
+Date: Wed, 24 Sep 2025 09:56:23 -0700
+Subject: Disable NSAutoFillHeuristicController on macOS 26
+
+The reason for this issue is that NSAutoFillHeuristicController is
+enabled by default on macOS 26. In pages with <input> tags, browser
+process sends synchronized IPC messages to renderer process. At this
+point, if the renderer process also sends synchronized IPC messages to
+the browser process, it will cause a deadlock.
+
+This bug can be reproduced on many websites. From the perspective of
+user experience, we should first disable this feature on macOS 26.
+
+Bug: 446070423, 446481994
+Change-Id: I2d3855648980a22678548e373756fc156e28ecd7
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6965487
+Reviewed-by: Mark Mentovai <mark@chromium.org>
+Commit-Queue: Mark Mentovai <mark@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1520058}
+
+diff --git a/content/app/mac_init.mm b/content/app/mac_init.mm
+index 603c25a1bd4a11b9dbe57ac6add81647302e63be..963f45a8936850b59013390faf7890bc4215f2d9 100644
+--- a/content/app/mac_init.mm
++++ b/content/app/mac_init.mm
+@@ -6,6 +6,7 @@
+ 
+ #import <Cocoa/Cocoa.h>
+ 
++#include "base/mac/mac_util.h"
+ #include "content/common/mac/system_policy.h"
+ 
+ namespace content {
+@@ -29,6 +30,19 @@ void InitializeMac() {
+     @"NSAppSleepDisabled" : @YES,
+   }];
+ 
++  if (base::mac::MacOSVersion() >= 26'00'00) {
++    [NSUserDefaults.standardUserDefaults registerDefaults:@{
++      // Disable NSAutoFillHeuristicController on macOS 26. On macOS 26, the
++      // browser process sends synchronized IPC messages to the renderer process
++      // on pages with <input> tags. At this point, if the renderer process
++      // sends a synchronized IPC message to the browser process, it will cause
++      // a deadlock.
++      // https://crbug.com/446070423
++      // https://crbug.com/446481994
++      @"NSAutoFillHeuristicControllerEnabled" : @NO,
++    }];
++  }
++
+   SetSystemPolicyCrashKeys();
+ }
+
Repository: ggml-org/llama.cpp
Pull request: add linux to index

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*


Changed files:
filename: docs/backend/OPENCL.md
patch: @@ -8,6 +8,7 @@
 - [CMake Options](#cmake-options)
 - [Android](#android)
 - [Windows 11 Arm64](#windows-11-arm64)
+- [Linux](#Linux)
 - [Known Issue](#known-issues)
 - [TODO](#todo)
Repository: huggingface/transformers
Pull request: Fix processor test for glm

# What does this PR do?

As per title, seems like the wrong arg name was passed to processor 

Changed files:
filename: tests/models/glm46v/test_processor_glm46v.py
patch: @@ -215,7 +215,7 @@ def test_apply_chat_template_video_frame_sampling(self):
             add_generation_prompt=True,
             tokenize=True,
             return_dict=True,
-            video_fps=video_fps,
+            fps=video_fps,
         )
         self.assertTrue(self.videos_input_name in out_dict_with_video)
         self.assertEqual(len(out_dict_with_video[self.videos_input_name]), 8)
Repository: facebook/react
Pull request: Remove comment syntax from ReactNativeTypes

# Summary

I'm working to get the main `react-native` package parsable by modern Flow tooling (both `flow-bundler`, `flow-api-translator`).

This diff trivially removes some redundant Flow comment syntax in `ReactNativeTypes.js`, which fixes parsing under these newer tools.

## How did you test this change?

Files were pasted into `react-native-github` under fbsource, where Flow validates ✅.


Changed files:
filename: packages/react-native-renderer/src/ReactNativeTypes.js
patch: @@ -132,9 +132,10 @@ declare const ensureNativeMethodsAreSynced: NativeMethods;
 (ensureNativeMethodsAreSynced: INativeMethods);
 
 export type HostInstance = NativeMethods;
-/*::
-export type HostComponent<Config: {...}> = component(ref: React$RefSetter<HostInstance>, ...Config);
-*/
+export type HostComponent<Config: {...}> = component(
+  ref: React$RefSetter<HostInstance>,
+  ...Config
+);
 
 type InspectorDataProps = $ReadOnly<{
   [propName: string]: string,
@@ -205,9 +206,7 @@ export type ReactNativeType = {
     componentOrHandle: ?(ElementRef<TElementType> | number),
   ): ?number,
   isChildPublicInstance(
-    // eslint-disable-next-line no-undef
     parent: PublicInstance | HostComponent<empty>,
-    // eslint-disable-next-line no-undef
     child: PublicInstance | HostComponent<empty>,
   ): boolean,
   dispatchCommand(
Repository: ollama/ollama
Pull request: Add Kerlig AI, an app for macOS


Changed files:
filename: README.md
patch: @@ -293,6 +293,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [OllamaSpring](https://github.com/CrazyNeil/OllamaSpring) (Ollama Client for macOS)
 - [LLocal.in](https://github.com/kartikm7/llocal) (Easy to use Electron Desktop Client for Ollama)
 - [Ollama with Google Mesop](https://github.com/rapidarchitect/ollama_mesop/) (Mesop Chat Client implementation with Ollama)
+- [Kerlig AI](https://www.kerlig.com/) (AI writing assistant for macOS)
 
 ### Terminal
Repository: electron/electron
Pull request: fix: disable NSAutoFillHeuristicController on macOS 26

Backport of #48379

See that PR for details.


Notes: fix high CPU usage with `<input>` tag on macOS 26

Changed files:
filename: patches/chromium/.patches
patch: @@ -141,3 +141,4 @@ chore_add_electron_objects_to_wrappablepointertag.patch
 chore_expose_isolate_parameter_in_script_lifecycle_observers.patch
 revert_partial_remove_unused_prehandlemouseevent.patch
 allow_electron_to_depend_on_components_os_crypt_sync.patch
+disable_nsautofillheuristiccontroller_on_macos_26.patch

filename: patches/chromium/disable_nsautofillheuristiccontroller_on_macos_26.patch
patch: @@ -0,0 +1,53 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Perry <perryuwang@tencent.com>
+Date: Wed, 24 Sep 2025 09:56:23 -0700
+Subject: Disable NSAutoFillHeuristicController on macOS 26
+
+The reason for this issue is that NSAutoFillHeuristicController is
+enabled by default on macOS 26. In pages with <input> tags, browser
+process sends synchronized IPC messages to renderer process. At this
+point, if the renderer process also sends synchronized IPC messages to
+the browser process, it will cause a deadlock.
+
+This bug can be reproduced on many websites. From the perspective of
+user experience, we should first disable this feature on macOS 26.
+
+Bug: 446070423, 446481994
+Change-Id: I2d3855648980a22678548e373756fc156e28ecd7
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6965487
+Reviewed-by: Mark Mentovai <mark@chromium.org>
+Commit-Queue: Mark Mentovai <mark@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1520058}
+
+diff --git a/content/app/mac_init.mm b/content/app/mac_init.mm
+index 603c25a1bd4a11b9dbe57ac6add81647302e63be..963f45a8936850b59013390faf7890bc4215f2d9 100644
+--- a/content/app/mac_init.mm
++++ b/content/app/mac_init.mm
+@@ -6,6 +6,7 @@
+ 
+ #import <Cocoa/Cocoa.h>
+ 
++#include "base/mac/mac_util.h"
+ #include "content/common/mac/system_policy.h"
+ 
+ namespace content {
+@@ -29,6 +30,19 @@ void InitializeMac() {
+     @"NSAppSleepDisabled" : @YES,
+   }];
+ 
++  if (base::mac::MacOSVersion() >= 26'00'00) {
++    [NSUserDefaults.standardUserDefaults registerDefaults:@{
++      // Disable NSAutoFillHeuristicController on macOS 26. On macOS 26, the
++      // browser process sends synchronized IPC messages to the renderer process
++      // on pages with <input> tags. At this point, if the renderer process
++      // sends a synchronized IPC message to the browser process, it will cause
++      // a deadlock.
++      // https://crbug.com/446070423
++      // https://crbug.com/446481994
++      @"NSAutoFillHeuristicControllerEnabled" : @NO,
++    }];
++  }
++
+   SetSystemPolicyCrashKeys();
+ }
+
Repository: vuejs/vue
Pull request: do not call shift if the key already exists

if the cache size is equal to cache limit and now we put a new entry with an existed key (not the head key), the result is we removed the head entry and updated an existed entry. the cache size will be limit-1. so we need to move the if-statement inside


Changed files:
filename: src/cache.js
patch: @@ -33,12 +33,12 @@ var p = Cache.prototype
 
 p.put = function (key, value) {
   var removed
-  if (this.size === this.limit) {
-    removed = this.shift()
-  }
 
   var entry = this.get(key, true)
   if (!entry) {
+    if (this.size === this.limit) {
+      removed = this.shift()
+    }
     entry = {
       key: key
     }
Repository: electron/electron
Pull request: build: update build tools to get siso for forks fix

Backport of #48345

See that PR for details.


Notes: <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->none

Changed files:
filename: .github/actions/build-electron/action.yml
patch: @@ -44,14 +44,6 @@ runs:
     - name: Add Clang problem matcher
       shell: bash
       run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json"
-    - name: Setup Siso for fork pull requests
-      if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
-      shell: bash
-      run: |
-        # Use Local Execution, Remote Caching (LERC). Checks the remote cache for action
-        # matches and uses existing results if a match is found. If not, execution of the
-        # action is performed locally.
-        echo "RBE_exec_strategy=local" >> $GITHUB_ENV
     - name: Build Electron ${{ inputs.step-suffix }}
       shell: bash
       run: |

filename: .github/actions/install-build-tools/action.yml
patch: @@ -15,7 +15,7 @@ runs:
         git config --global core.preloadindex true
         git config --global core.longpaths true
       fi
-      export BUILD_TOOLS_SHA=8559e5d325d61f195a255f41077ffc9e5b70b0e5
+      export BUILD_TOOLS_SHA=c13f4bdb50e65da46a4703f8f882079dd21fd99e
       npm i -g @electron/build-tools
       # Update depot_tools to ensure python
       e d update_depot_tools
Repository: electron/electron
Pull request: build: update build tools to get siso for forks fix

#### Description of Change
- Followup to https://github.com/electron/electron/pull/48319. Unfortunately that change was not sufficient to fix running siso from fork PRS.  This PR updates build-tools to pull in https://github.com/electron/build-tools/pull/751, which will pass `-re_exec_enable=false` to autoninja when a user doesn't have execute rights on the RBE cluster. 

This change has been verified via https://github.com/electron/electron/actions/runs/17773115669/job/50514256655?pr=48331, which is a copy of of #48293 where there are build issues because fork PRs can't write to the RBE cluster.
<!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.

Contributors guide: https://github.com/electron/electron/blob/main/CONTRIBUTING.md
-->

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [ ] `npm test` passes
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: <!-- Please add a one-line description for app developers to read in the release notes, or 'none' if no notes relevant to app developers. Examples and help on special cases: https://github.com/electron/clerk/blob/main/README.md#examples -->none


Changed files:
filename: .github/actions/build-electron/action.yml
patch: @@ -44,14 +44,6 @@ runs:
     - name: Add Clang problem matcher
       shell: bash
       run: echo "::add-matcher::src/electron/.github/problem-matchers/clang.json"
-    - name: Setup Siso for fork pull requests
-      if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
-      shell: bash
-      run: |
-        # Use Local Execution, Remote Caching (LERC). Checks the remote cache for action
-        # matches and uses existing results if a match is found. If not, execution of the
-        # action is performed locally.
-        echo "RBE_exec_strategy=local" >> $GITHUB_ENV
     - name: Build Electron ${{ inputs.step-suffix }}
       shell: bash
       run: |

filename: .github/actions/install-build-tools/action.yml
patch: @@ -15,7 +15,7 @@ runs:
         git config --global core.preloadindex true
         git config --global core.longpaths true
       fi
-      export BUILD_TOOLS_SHA=fb34fbad068586d9a6e2bb4e4950bdcf9aaee862
+      export BUILD_TOOLS_SHA=c13f4bdb50e65da46a4703f8f882079dd21fd99e
       npm i -g @electron/build-tools
       # Update depot_tools to ensure python
       e d update_depot_tools
Repository: nodejs/node
Pull request: src: stop using deprecated v8::Context::GetIsolate

Refs: https://github.com/nodejs/node/commit/5623194a6b16192084d2753a80c350c4ae3dec24

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->


Changed files:
filename: src/util-inl.h
patch: @@ -359,7 +359,7 @@ v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
                                     std::u16string_view str,
                                     v8::Isolate* isolate) {
-  if (isolate == nullptr) isolate = context->GetIsolate();
+  if (isolate == nullptr) isolate = v8::Isolate::GetCurrent();
   if (str.length() >= static_cast<size_t>(v8::String::kMaxLength))
       [[unlikely]] {
     // V8 only has a TODO comment about adding an exception when the maximum
Repository: ollama/ollama
Pull request: Workaround broken ROCm p2p copy

Enable the build flag for llama.cpp to use CPU copy for multi-GPU scenarios.

~~Marking draft until I can validate this doesn't cause a significant performance hit for single GPU ROCm scenarios.~~

Update: perf results look good - no regressions detected in my testing.

Fixes #5087 #5450

Changed files:
filename: llm/generate/gen_linux.sh
patch: @@ -254,7 +254,7 @@ if [ -z "${OLLAMA_SKIP_ROCM_GENERATE}" -a -d "${ROCM_PATH}" ]; then
         ROCM_VARIANT=_v$(ls ${ROCM_PATH}/lib/librocblas.so.*.*.????? | cut -f5 -d. || true)
     fi
     init_vars
-    CMAKE_DEFS="${COMMON_CMAKE_DEFS} ${CMAKE_DEFS} -DGGML_HIPBLAS=on -DCMAKE_C_COMPILER=$ROCM_PATH/llvm/bin/clang -DCMAKE_CXX_COMPILER=$ROCM_PATH/llvm/bin/clang++ -DAMDGPU_TARGETS=$(amdGPUs) -DGPU_TARGETS=$(amdGPUs)"
+    CMAKE_DEFS="${COMMON_CMAKE_DEFS} ${CMAKE_DEFS} -DGGML_HIPBLAS=on -DLLAMA_CUDA_NO_PEER_COPY=on -DCMAKE_C_COMPILER=$ROCM_PATH/llvm/bin/clang -DCMAKE_CXX_COMPILER=$ROCM_PATH/llvm/bin/clang++ -DAMDGPU_TARGETS=$(amdGPUs) -DGPU_TARGETS=$(amdGPUs)"
     # Users building from source can tune the exact flags we pass to cmake for configuring llama.cpp
     if [ -n "${OLLAMA_CUSTOM_ROCM_DEFS}" ]; then
         echo "OLLAMA_CUSTOM_ROCM_DEFS=\"${OLLAMA_CUSTOM_ROCM_DEFS}\""

filename: llm/generate/gen_windows.ps1
patch: @@ -366,6 +366,7 @@ function build_rocm() {
             "-DCMAKE_C_COMPILER=clang.exe",
             "-DCMAKE_CXX_COMPILER=clang++.exe",
             "-DGGML_HIPBLAS=on",
+            "-DLLAMA_CUDA_NO_PEER_COPY=on",
             "-DHIP_PLATFORM=amd",
             "-DGGML_AVX=on",
             "-DGGML_AVX2=off",
Repository: vuejs/vue
Pull request: Fixed #2988

Make rendering of undefined and null in one-time binding mode as same as reactive binding.


Changed files:
filename: src/compiler/compile.js
patch: @@ -5,6 +5,7 @@ import { parseText, tokensToExp } from '../parsers/text'
 import { parseDirective } from '../parsers/directive'
 import { parseTemplate } from '../parsers/template'
 import {
+  _toString,
   resolveAsset,
   toArray,
   warn,
@@ -446,7 +447,7 @@ function makeTextNodeLinkFn (tokens, frag) {
           if (token.html) {
             replace(node, parseTemplate(value, true))
           } else {
-            node.data = value
+            node.data = _toString(value)
           }
         } else {
           vm._bindDir(token.descriptor, node, host, scope)
Repository: huggingface/transformers
Pull request: calls `AttentionMaskConverter._unmask_unattended` for xpu device before

@ydshieh @IlyasMoutawwakil pls help review, thx!

Changed files:
filename: src/transformers/modeling_attn_mask_utils.py
patch: @@ -408,7 +408,7 @@ def _prepare_4d_causal_attention_mask_for_sdpa(
         # Attend to all tokens in masked rows from the causal_mask, for example the relevant first rows when
         # using left padding. This is required by F.scaled_dot_product_attention memory-efficient attention path.
         # Details: https://github.com/pytorch/pytorch/issues/110213
-        if not is_tracing_ and expanded_4d_mask.device.type == "cuda":
+        if not is_tracing_ and expanded_4d_mask.device.type in ["cuda", "xpu"]:
             expanded_4d_mask = AttentionMaskConverter._unmask_unattended(
                 expanded_4d_mask, min_dtype=torch.finfo(inputs_embeds.dtype).min
             )
Repository: ggml-org/llama.cpp
Pull request: jinja : add missing tojson filter for bool

Boolean type was missing `tojson`.

Add more literal tests.

Changed files:
filename: common/jinja/value.cpp
patch: @@ -698,6 +698,7 @@ const func_builtins & value_bool_t::get_builtins() const {
             bool val = args.get_pos(0)->as_bool();
             return mk_val<value_string>(val ? "True" : "False");
         }},
+        {"tojson", tojson},
     };
     return builtins;
 }

filename: tests/test-jinja.cpp
patch: @@ -540,6 +540,66 @@ static void test_literals(testing & t) {
         json::object(),
         "1"
     );
+
+    test_template(t, "integer|abs",
+        "{{ -42 | abs }}",
+        json::object(),
+        "42"
+    );
+
+    test_template(t, "integer|float",
+        "{{ 42 | float }}",
+        json::object(),
+        "42.0"
+    );
+
+    test_template(t, "integer|tojson",
+        "{{ 42 | tojson }}",
+        json::object(),
+        "42"
+    );
+
+    test_template(t, "float|abs",
+        "{{ -3.14 | abs }}",
+        json::object(),
+        "3.14"
+    );
+
+    test_template(t, "float|int",
+        "{{ 3.14 | int }}",
+        json::object(),
+        "3"
+    );
+
+    test_template(t, "float|tojson",
+        "{{ 3.14 | tojson }}",
+        json::object(),
+        "3.14"
+    );
+
+    test_template(t, "string|tojson",
+        "{{ 'hello' | tojson }}",
+        json::object(),
+        "\"hello\""
+    );
+
+    test_template(t, "boolean|int",
+        "{{ true | int }}",
+        json::object(),
+        "1"
+    );
+
+    test_template(t, "boolean|float",
+        "{{ true | float }}",
+        json::object(),
+        "1.0"
+    );
+
+    test_template(t, "boolean|tojson",
+        "{{ true | tojson }}",
+        json::object(),
+        "true"
+    );
 }
 
 static void test_comments(testing & t) {
Repository: vuejs/vue
Pull request: Added the missing break

Break the loop when condition is fulfilled.


Changed files:
filename: src/compiler/directives/ref.js
patch: @@ -8,6 +8,7 @@ export default function ref (el: ASTElement, dir: ASTDirective) {
     while (parent) {
       if (parent.for !== undefined) {
         el.refInFor = true
+        break
       }
       parent = parent.parent
     }