helloadhavan/github_issues huggingface dataset:
Repository: huggingface/transformers
Pull request: check PR bot permission - part 1

# What does this PR do?



Changed files:
filename: .github/workflows/pr-style-bot.yml
patch: @@ -0,0 +1,18 @@
+# To run this bot, comment "@bot /style" on a PR
+name: Style Bot
+
+on:
+  issue_comment:
+    types: [created]
+
+permissions:
+  pull-requests: write
+
+jobs:
+  style:
+    uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main
+    with:
+      python_quality_dependencies: "[quality]"
+      style_command_type: "default"
+    secrets:
+      bot_token: ${{ secrets.HF_STYLE_BOT_ACTION }}
Repository: ggml-org/llama.cpp
Pull request: vulkan: disable mmvq on Intel Windows driver

Fixes #17628 

@savvadesogle This disables MMVQ entirely on Intel Windows, that should remove the need to use the env var. Please try it.

Changed files:
filename: ggml/src/ggml-vulkan/ggml-vulkan.cpp
patch: @@ -7646,20 +7646,14 @@ static bool ggml_vk_should_use_mmvq(const vk_device& device, uint32_t m, uint32_
             return true;
         }
     case VK_VENDOR_ID_INTEL:
-        if (k < 2048) {
+        if (device->driver_id == vk::DriverId::eIntelProprietaryWindows) {
+            // Intel Windows proprietary driver MMVQ performance is worse than fp16, see
+            // https://github.com/ggml-org/llama.cpp/issues/17628
             return false;
         }
 
-        if (device->driver_id == vk::DriverId::eIntelProprietaryWindows) {
-            // Intel Windows proprietary driver tuning
-            switch (src0_type) {
-            case GGML_TYPE_MXFP4:
-            case GGML_TYPE_Q4_K:
-            case GGML_TYPE_Q5_K:
-                return false;
-            default:
-                return true;
-            }
+        if (k < 2048) {
+            return false;
         }
 
         switch (src0_type) {
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -240,6 +240,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://watchcartoononline.best/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/watchcartoononline.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->

filename: README.md
patch: @@ -245,6 +245,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://watchcartoononline.best/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/watchcartoononline.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->
Repository: ollama/ollama
Pull request: Fix "Stopping..." scheduler hang

This fixes a race condition due to lock inversion which resulted in models failing to unload and reporting "Stopping..." indefinitely until the ollama server was killed.

The primary bug was updateFreeSpace getting stuck while another model was unloading.

Fixes #7606
Fixes #8178 
Fixes #8969 
Fixes #9617
Fixes #10119

Changed files:
filename: server/sched.go
patch: @@ -441,10 +441,9 @@ func (s *Scheduler) load(req *LlmRequest, f *ggml.GGML, gpus discover.GpuInfoLis
 		estimatedVRAM:   llama.EstimatedVRAM(),
 		estimatedTotal:  llama.EstimatedTotal(),
 		loading:         true,
-		refCount:        1,
 	}
 	runner.numParallel = numParallel
-	runner.refMu.Lock()
+	runner.refMu.Lock() // hold lock until running or aborted
 
 	s.loadedMu.Lock()
 	s.loaded[req.model.ModelPath] = runner
@@ -455,13 +454,13 @@ func (s *Scheduler) load(req *LlmRequest, f *ggml.GGML, gpus discover.GpuInfoLis
 		defer runner.refMu.Unlock()
 		if err = llama.WaitUntilRunning(req.ctx); err != nil {
 			slog.Error("error loading llama server", "error", err)
-			runner.refCount--
 			req.errCh <- err
 			slog.Debug("triggering expiration for failed load", "model", runner.modelPath)
 			s.expiredCh <- runner
 			return
 		}
 		slog.Debug("finished setting up runner", "model", req.model.ModelPath)
+		runner.refCount++
 		runner.loading = false
 		go func() {
 			<-req.ctx.Done()
@@ -479,7 +478,12 @@ func (s *Scheduler) updateFreeSpace(allGpus discover.GpuInfoList) {
 	}
 	predMap := map[predKey]uint64{} // Sum up the total predicted usage per GPU for all runners
 	s.loadedMu.Lock()
+	runners := make([]*runnerRef, 0, len(s.loaded))
 	for _, r := range s.loaded {
+		runners = append(runners, r)
+	}
+	s.loadedMu.Unlock()
+	for _, r := range runners {
 		r.refMu.Lock()
 		if r.llama != nil {
 			for _, gpu := range allGpus {
@@ -490,7 +494,6 @@ func (s *Scheduler) updateFreeSpace(allGpus discover.GpuInfoList) {
 		}
 		r.refMu.Unlock()
 	}
-	s.loadedMu.Unlock()
 
 	// Now that we've summed up all the GPU usage predictions across all the loaded runners, update the gpu list
 	for i := range allGpus {
@@ -537,10 +540,8 @@ func (s *Scheduler) filterGPUsWithoutLoadingModels(allGpus discover.GpuInfoList)
 
 // TODO consolidate sched_types.go
 type runnerRef struct {
-	refMu sync.Mutex
-	// refCond   sync.Cond // Signaled on transition from 1 -> 0 refCount
+	refMu    sync.Mutex
 	refCount uint // prevent unloading if > 0
-	// unloading bool      // set to true when we are trying to unload the runner
 
 	llama          llm.LlamaServer
 	loading        bool                 // True only during initial load, then false forever
@@ -811,8 +812,8 @@ func (s *Scheduler) unloadAllRunners() {
 
 func (s *Scheduler) expireRunner(model *Model) {
 	s.loadedMu.Lock()
-	defer s.loadedMu.Unlock()
 	runner, ok := s.loaded[model.ModelPath]
+	s.loadedMu.Unlock()
 	if ok {
 		runner.refMu.Lock()
 		runner.expiresAt = time.Now()
Repository: ollama/ollama
Pull request: Add link to lightweight React frontend client for Ollama

Hi Ollama team 👋

This PR adds a link to a lightweight React.js-based web client I created for interacting with the Ollama API.  
The goal of the project is to provide a simple, minimal-dependency frontend for chatting with local or remote models running via Ollama.

🔗 Project link: [https://github.com/cushydigit/lumina](https://github.com/cushydigit/lumina)

Hope this can be helpful for others in the community!

Thanks for considering!

Changed files:
filename: README.md
patch: @@ -399,6 +399,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Ollamb](https://github.com/hengkysteen/ollamb) (Simple yet rich in features, cross-platform built with Flutter and designed for Ollama. Try the [web demo](https://hengkysteen.github.io/demo/ollamb/).)
 - [Writeopia](https://github.com/Writeopia/Writeopia) (Text editor with integration with Ollama)
 - [AppFlowy](https://github.com/AppFlowy-IO/AppFlowy) (AI collaborative workspace with Ollama, cross-platform and self-hostable)
+- [Lumina](https://github.com/cushydigit/lumina.git) (A lightweight, minimal React.js frontend for interacting with Ollama servers)
 
 ### Cloud
Repository: nodejs/node
Pull request: doc: mention constructor comparison in assert.deepStrictEqual

Updated `assert.deepStrictEqual` docs to explicitly mention that object constructors are included in the comparison. This clarifies behavior consistent with `util.isDeepStrictEqual` and helps prevent confusion when comparing derived objects or proxy instances.

<!--
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: doc/api/assert.md
patch: @@ -427,6 +427,7 @@ are also recursively evaluated by the following rules.
   both sides are {NaN}.
 * [Type tags][Object.prototype.toString()] of objects should be the same.
 * Only [enumerable "own" properties][] are considered.
+* Object constructors are compared when available.
 * {Error} names, messages, causes, and errors are always compared,
   even if these are not enumerable properties.
 * [Object wrappers][] are compared both as objects and unwrapped values.
Repository: facebook/react
Pull request: [Runtime] Fix CI

Matches https://github.com/facebook/react/blob/e985c063dbd20d9d672e88fb41b16ede23fbdb7d/compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts#L244-L275


https://github.com/facebook/react/pull/33800 conflicted with https://github.com/facebook/react/pull/33751/files#diff-97f51f298984cfcdbb6068bbe1985c312017015c9baca674d6daec451a43fe50R247

Not sure if we need to duplicate `packages/eslint-plugin-react-hooks/__tests__/ReactCompilerRule-test.ts` and `compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts`. Ideally we'd only have `compiler/packages/eslint-plugin-react-compiler/__tests__/ReactCompilerRule-test.ts` so that compiler issues don't infect the runtime pipeline. 

A failing runtime pipeline blocks nightly releases.

Changed files:
filename: packages/eslint-plugin-react-hooks/__tests__/ReactCompilerRule-test.ts
patch: @@ -247,9 +247,10 @@ const tests: CompilerTestCases = {
       name: 'Pipeline errors are reported',
       code: normalizeIndent`
         import useMyEffect from 'useMyEffect';
+        import {AUTODEPS} from 'react';
         function Component({a}) {
           'use no memo';
-          useMyEffect(() => console.log(a.b));
+          useMyEffect(() => console.log(a.b), AUTODEPS);
           return <div>Hello world</div>;
         }
       `,
@@ -262,7 +263,7 @@ const tests: CompilerTestCases = {
                   source: 'useMyEffect',
                   importSpecifierName: 'default',
                 },
-                numRequiredArgs: 1,
+                autodepsIndex: 1,
               },
             ],
           },
Repository: huggingface/transformers
Pull request: [Quantization] Fix triton_kernels name after being renamed to gpt-oss-triton-kernels

# What does this PR do?

change `triton_kernels` name to `gpt-oss-triton-kernels`, no new failling tests related to this change

Changed files:
filename: src/transformers/integrations/mxfp4.py
patch: @@ -619,7 +619,7 @@ def replace_with_mxfp4_linear(model, quantization_config=None, modules_to_not_co
     from .hub_kernels import get_kernel
 
     global triton_kernels_hub
-    triton_kernels_hub = get_kernel("kernels-community/triton_kernels")
+    triton_kernels_hub = get_kernel("kernels-community/gpt-oss-triton-kernels")
 
     has_been_replaced = False
     for module_name, module in model.named_modules():

filename: src/transformers/quantizers/quantizer_mxfp4.py
patch: @@ -55,7 +55,7 @@ def _lazy_import_kernels(self):
             try:
                 from ..integrations.hub_kernels import get_kernel
 
-                self.triton_kernels_hub = get_kernel("kernels-community/triton_kernels")
+                self.triton_kernels_hub = get_kernel("kernels-community/gpt-oss-triton-kernels")
             except ImportError:
                 raise ImportError("kernels package is required for MXFP4 quantization")
         return self.triton_kernels_hub
Repository: ggml-org/llama.cpp
Pull request: sync : ggml


Changed files:
filename: scripts/sync-ggml.last
patch: @@ -1 +1 @@
-553552e1d88be2b214b85e5159eedd39a63e2c34
+c044a8eeae2591faa0950c8b5e514cbc4bbfc4ca
Repository: vercel/next.js
Pull request: Turbopack: fix tracking modifications for transient and data

### What?

track modifications on the correct category

Changed files:
filename: turbopack/crates/turbo-tasks-macros/src/derive/task_storage_macro.rs
patch: @@ -2160,8 +2160,7 @@ fn generate_flag_trait_accessor_methods(field: &FieldInfo) -> TokenStream {
 
     // Flags use check_access_call() which handles transient vs non-transient
     let check_access = field.check_access_call();
-    // All flags modify meta category (they're stored in the flags bitfield which is meta)
-    let track_modification = quote! { self.track_modification(crate::backend::storage::SpecificTaskDataCategory::Meta); };
+    let track_modification = field.track_modification_call();
 
     quote! {
         #[doc = "Get the flag value"]
Repository: electron/electron
Pull request: fix: menu state in macOS dock menus

Backport of #49574

See that PR for details.


Notes: Fixed dock menu items not respecting enabled and checked properties on macOS.


Changed files:
filename: shell/browser/mac/electron_application_delegate.mm
patch: @@ -109,7 +109,14 @@ - (void)applicationDidResignActive:(NSNotification*)notification {
 }
 
 - (NSMenu*)applicationDockMenu:(NSApplication*)sender {
-  return menu_controller_ ? menu_controller_.menu : nil;
+  if (!menu_controller_)
+    return nil;
+
+  // Manually refresh menu state since menuWillOpen: is not called
+  // by macOS for dock menus for some reason before they are displayed.
+  NSMenu* menu = menu_controller_.menu;
+  [menu_controller_ refreshMenuTree:menu];
+  return menu;
 }
 
 - (BOOL)application:(NSApplication*)sender openFile:(NSString*)filename {

filename: shell/browser/ui/cocoa/electron_menu_controller.h
patch: @@ -57,6 +57,10 @@ class ElectronMenuModel;
 // Whether the menu is currently open.
 - (BOOL)isMenuOpen;
 
+// Recursively refreshes the menu tree starting from |menu|, applying the
+// model state (enabled, checked, hidden etc) to each menu item.
+- (void)refreshMenuTree:(NSMenu*)menu;
+
 // NSMenuDelegate methods this class implements. Subclasses should call super
 // if extending the behavior.
 - (void)menuWillOpen:(NSMenu*)menu;

filename: shell/browser/ui/cocoa/electron_menu_controller.mm
patch: @@ -493,8 +493,6 @@ - (void)applyStateToMenuItem:(NSMenuItem*)item {
                                              : NSControlStateValueOff;
 }
 
-// Recursively refreshes the menu tree starting from |menu|, applying the
-// model state to each menu item.
 - (void)refreshMenuTree:(NSMenu*)menu {
   for (NSMenuItem* item in menu.itemArray) {
     [self applyStateToMenuItem:item];
Repository: vuejs/vue
Pull request: fix(v-model): add value to $attrs if not defined in props (fix #9330)

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->

**What kind of change does this PR introduce?** (check at least one)

- [x] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**

- [x] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [x] New/updated tests are included

Fixes #9330 , see that for details.

Changed files:
filename: src/core/vdom/create-component.js
patch: @@ -250,7 +250,8 @@ function mergeHook (f1: any, f2: any): Function {
 function transformModel (options, data: any) {
   const prop = (options.model && options.model.prop) || 'value'
   const event = (options.model && options.model.event) || 'input'
-  ;(data.props || (data.props = {}))[prop] = data.model.value
+  const addTo = (options.props && prop in options.props) ? 'props' : 'attrs'
+  ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value
   const on = data.on || (data.on = {})
   const existing = on[event]
   const callback = data.model.callback

filename: test/unit/features/directives/model-component.spec.js
patch: @@ -204,4 +204,30 @@ describe('Directive v-model component', () => {
     expect(triggerCount).toBe(1)
     document.body.removeChild(vm.$el)
   })
+
+  // #9330
+  it('should add value to $attrs if not defined in props', () => {
+    const TestComponent = {
+      inheritAttrs: false,
+      render (h) {
+        return h('div', this.$attrs.value)
+      }
+    }
+
+    const vm = new Vue({
+      components: {
+        TestComponent
+      },
+      template: `
+        <div>
+          <test-component v-model="val"/>
+        </div>
+      `,
+      data: {
+        val: 'foo'
+      }
+    }).$mount()
+
+    expect(vm.$el.innerHTML).toBe('<div>foo</div>');
+  })
 })
Repository: vercel/next.js
Pull request: [backport]: fix: ensure LRU cache items have minimum size of 1 to prevent unbounded growth

Backports:
- #89040

Changed files:
filename: packages/next/errors.json
patch: @@ -786,5 +786,6 @@
   "785": "Request body exceeded %s",
   "786": "Server Actions are not enabled for this application. This request might be from an older or newer deployment.\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action",
   "787": "Failed to find Server Action. This request might be from an older or newer deployment.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action",
-  "788": "Failed to find Server Action%s. This request might be from an older or newer deployment.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action"
+  "788": "Failed to find Server Action%s. This request might be from an older or newer deployment.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action",
+  "789": "LRUCache: calculateSize returned %s, but size must be > 0. Items with size 0 would never be evicted, causing unbounded cache growth."
 }

filename: packages/next/src/server/dev/next-dev-server.ts
patch: @@ -175,7 +175,8 @@ export default class DevServer extends Server {
       // 5MB
       5 * 1024 * 1024,
       function length(value) {
-        return JSON.stringify(value.staticPaths)?.length ?? 0
+        // Ensure minimum size of 1 for LRU eviction to work correctly
+        return JSON.stringify(value.staticPaths)?.length || 1
       }
     )
     this.renderOpts.ampSkipValidation =

filename: packages/next/src/server/lib/lru-cache.ts
patch: @@ -125,6 +125,12 @@ export class LRUCache<T> {
    */
   public set(key: string, value: T): void {
     const size = this.calculateSize?.(value) ?? 1
+    if (size <= 0) {
+      throw new Error(
+        `LRUCache: calculateSize returned ${size}, but size must be > 0. ` +
+          `Items with size 0 would never be evicted, causing unbounded cache growth.`
+      )
+    }
     if (size > this.maxSize) {
       console.warn('Single item size exceeds maxSize')
       return

filename: packages/next/src/server/lib/router-utils/filesystem.ts
patch: @@ -110,7 +110,10 @@ export async function setupFsCheck(opts: {
 }) {
   const getItemsLru = !opts.dev
     ? new LRUCache<FsOutput | null>(1024 * 1024, function length(value) {
-        if (!value) return 0
+        if (!value) {
+          // Null entries (negative cache) still need a non-zero size for LRU eviction
+          return 1
+        }
         return (
           (value.fsPath || '').length +
           value.itemPath.length +
Repository: nodejs/node
Pull request: meta: do not fast-track npm updates

We typically do not fast track deps updates, npm is an odd one out. Looking at [the history](https://github.com/nodejs/node/pulls?q=is:pr+author:npm-cli-bot+is:closed), it's very rare anyone bothers to actually thumb up the fast-track requests, which means that the PR cannot be added to the CQ so more often than not having that fast-track makes the PR lands later rather than sooner.

<!--
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: .github/label-pr-config.yml
patch: @@ -80,7 +80,7 @@ subSystemLabels:
   /^deps\/v8\/tools\/gen-postmortem-metadata\.py/: v8 engine, python, post-mortem
   /^deps\/v8\//: v8 engine
   /^deps\/uvwasi\//: wasi
-  /^deps\/npm\//: npm, fast-track
+  /^deps\/npm\//: npm
   /^deps\/nghttp2\/nghttp2\.gyp/: build, http2
   /^deps\/nghttp2\//: http2
   /^deps\/ngtcp2\//: quic