helloadhavan/github_issues huggingface dataset:
Repository: vuejs/vue
Pull request: fix(scheduler): getNow detection can randomly fail (fix #9632)

The previous detection code compared time stamps based on Date.now()
which are not monotonic, so the check could fail due to clock skew or
adjustments.

This fix changes the check to compare against performance.now() if it is
supported, because it is monotonic (strictly increasing).

<!--
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
- [ ] New/updated tests are included

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**

This is a rebases version of PR #9647, since it was merged incomplete.

See the discussion in #9632 and #9647 for additional info.

This needs to be backported to the 2.6 branch.

Changed files:
filename: src/core/observer/scheduler.js
patch: @@ -51,7 +51,7 @@ if (
   inBrowser &&
   window.performance &&
   typeof performance.now === 'function' &&
-  getNow() > document.createEvent('Event').timeStamp
+  document.createEvent('Event').timeStamp <= performance.now()
 ) {
   // if the event timestamp is bigger than the hi-res timestamp
   // (which is evaluated AFTER) it means the event is using a lo-res timestamp,
Repository: huggingface/transformers
Pull request: fix `pr-repo-consistency-bot.yml`

# What does this PR do?

`check_modular_conversion` needs the repo. has the `main` branch info to compare against the PR changes.

Changed files:
filename: .github/workflows/pr-repo-consistency-bot.yml
patch: @@ -145,6 +145,10 @@ jobs:
           git fetch --depth=1 pr-origin ${PR_HEAD_SHA}
           git checkout ${PR_HEAD_SHA}
 
+          # Also fetch main branch from upstream for comparison (required by `check_modular_conversion`)
+          git remote add upstream https://github.com/${{ github.repository }}.git
+          git fetch --depth=1 upstream main:main
+
       - name: Run checks with trusted script
         id: run_checks
         run: |
Repository: ggml-org/llama.cpp
Pull request: ci : only save openvino caches on github-hosted master

cont #15307

Changed files:
filename: .github/workflows/build-self-hosted.yml
patch: @@ -222,15 +222,7 @@ jobs:
         id: checkout
         uses: actions/checkout@v6
 
-      - name: Use OpenVINO Toolkit Cache
-        uses: actions/cache@v5
-        id: cache-openvino
-        with:
-          path: ./openvino_toolkit
-          key: openvino-toolkit-v${{ env.OPENVINO_VERSION_FULL }}-${{ runner.os }}
-
       - name: Setup OpenVINO Toolkit
-        if: steps.cache-openvino.outputs.cache-hit != 'true'
         uses: ./.github/actions/linux-setup-openvino
         with:
           path: ./openvino_toolkit

filename: .github/workflows/build.yml
patch: @@ -604,10 +604,12 @@ jobs:
           uses: actions/checkout@v6
 
         - name: ccache
+          if: runner.environment == 'github-hosted'
           uses: ggml-org/ccache-action@v1.2.16
           with:
             key: ubuntu-24-openvino-${{ matrix.variant }}-no-preset-v1
             evict-old-files: 1d
+            save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
 
         - name: Dependencies
           id: depends
@@ -617,6 +619,7 @@ jobs:
             sudo apt-get install -y ocl-icd-opencl-dev opencl-headers opencl-clhpp-headers intel-opencl-icd
 
         - name: Use OpenVINO Toolkit Cache
+          if: runner.environment == 'github-hosted'
           uses: actions/cache@v5
           id: cache-openvino
           with:
Repository: ollama/ollama
Pull request: ml: Remove Output from Context interface

Model implementations should use Input for all of their tensors supplied to the model. This includes tensors that relate to the outputs, which is confusing since there is also an Output funciton.

Since Output is only used internally in GGML and not used by any model implementations, we can remove it from the interface to reduce confusion.

Changed files:
filename: kvcache/causal_test.go
patch: @@ -362,7 +362,6 @@ func (c *testContext) FromIntSlice(s []int32, shape ...int) (ml.Tensor, error) {
 }
 
 func (c *testContext) Input() ml.Context    { return c }
-func (c *testContext) Output() ml.Context   { return c }
 func (c *testContext) Layer(int) ml.Context { return c }
 
 func (c *testContext) Forward(...ml.Tensor) ml.Context { return c }

filename: ml/backend.go
patch: @@ -110,12 +110,10 @@ type Context interface {
 	MaxGraphNodes() int
 	Close()
 
-	// Input returns a context appropriate for creating input tensors
+	// Input returns a context appropriate for creating tensors that are
+	// inputs to the model (which includes things like output locations)
 	Input() Context
 
-	// Output returns a context appropriate for creating output tensors
-	Output() Context
-
 	// Layer returns a context appropriate for creating intermediate tensors
 	Layer(int) Context
 }

filename: ml/backend/ggml/ggml.go
patch: @@ -48,9 +48,6 @@ type Backend struct {
 	// input is the backend used for inputs
 	input *C.struct_ggml_backend_buffer_type
 
-	// output is the backend used for outputs
-	output *C.struct_ggml_backend_buffer_type
-
 	// layers is the backend used for repeating layers
 	layers map[int]*C.struct_ggml_backend_buffer_type
 
@@ -400,8 +397,7 @@ func New(ctx context.Context, r *os.File, params ml.BackendParams) (ml.Backend,
 			C.size_t(maxGraphNodes),
 			C._Bool(len(gpus) > 1 && slices.Contains(gpus, output.d)),
 		),
-		input:  deviceBufferTypes[input.d],
-		output: deviceBufferTypes[output.d],
+		input: deviceBufferTypes[input.d],
 		layers: func() map[int]*C.struct_ggml_backend_buffer_type {
 			m := make(map[int]*C.struct_ggml_backend_buffer_type)
 			for i, layer := range layers {
@@ -482,19 +478,6 @@ func (c Context) Input() ml.Context {
 	return &c
 }
 
-func (c Context) Output() ml.Context {
-	if c.b.output != nil {
-		return &Context{
-			b:             c.b,
-			ctx:           c.ctx,
-			buft:          c.b.output,
-			maxGraphNodes: c.maxGraphNodes,
-		}
-	}
-
-	return &c
-}
-
 func (c Context) Layer(i int) ml.Context {
 	if buft, ok := c.b.layers[i]; ok {
 		return &Context{
Repository: ollama/ollama
Pull request: Adds molbal/orca-cli to the Community Integrations section in the readme


Changed files:
filename: README.md
patch: @@ -435,6 +435,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [aichat](https://github.com/sigoden/aichat) All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI tools & agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.
 - [PowershAI](https://github.com/rrg92/powershai) PowerShell module that brings AI to terminal on Windows, including support for Ollama
 - [orbiton](https://github.com/xyproto/orbiton) Configuration-free text editor and IDE with support for tab completion with Ollama.
+- [orca-cli](https://github.com/molbal/orca-cli) Ollama Registry CLI Application - Browse, pull and download models from Ollama Registry in your terminal.
 
 ### Apple Vision Pro
Repository: huggingface/transformers
Pull request: Make `pr-repo-consistency-bot.yml` run complete list of fixes  

# What does this PR do?

Happy for everyone if we can have such complete fixes from the bot instead of just `check_copies`.

Changed files:
filename: .github/workflows/pr-repo-consistency-bot.yml
patch: @@ -148,12 +148,39 @@ jobs:
       - name: Run checks with trusted script
         id: run_checks
         run: |
-          # Copy trusted script to PR directory
+          # Security: Copy trusted scripts from main branch and run commands explicitly (not via make)
+          # to avoid executing potentially malicious Makefile or scripts from the PR
+          cp setup.py pr-repo/setup.py
+          cp utils/custom_init_isort.py pr-repo/utils/custom_init_isort.py
+          cp utils/sort_auto_mappings.py pr-repo/utils/sort_auto_mappings.py
+          cp utils/check_doc_toc.py pr-repo/utils/check_doc_toc.py
           cp utils/check_copies.py pr-repo/utils/check_copies.py
+          cp utils/check_modular_conversion.py pr-repo/utils/check_modular_conversion.py
+          cp utils/check_dummies.py pr-repo/utils/check_dummies.py
+          cp utils/check_pipeline_typing.py pr-repo/utils/check_pipeline_typing.py
+          cp utils/check_doctest_list.py pr-repo/utils/check_doctest_list.py
+          cp utils/check_docstrings.py pr-repo/utils/check_docstrings.py
+          cp utils/add_dates.py pr-repo/utils/add_dates.py
           
-          # Run the trusted script in PR directory
+          # Run commands in PR directory (with the copied trusted scripts)
           cd pr-repo
+          
+          # Run style commands
+          ruff check examples tests src utils scripts benchmark benchmark_v2 setup.py conftest.py --fix
+          ruff format examples tests src utils scripts benchmark benchmark_v2 setup.py conftest.py
+          python utils/custom_init_isort.py
+          python utils/sort_auto_mappings.py
+          
+          # Run fix-repo commands
+          python setup.py deps_table_update
+          python utils/check_doc_toc.py --fix_and_overwrite
           python utils/check_copies.py --fix_and_overwrite
+          python utils/check_modular_conversion.py --fix_and_overwrite
+          python utils/check_dummies.py --fix_and_overwrite
+          python utils/check_pipeline_typing.py --fix_and_overwrite
+          python utils/check_doctest_list.py --fix_and_overwrite
+          python utils/check_docstrings.py --fix_and_overwrite
+          python utils/add_dates.py
           
           # Check if there are changes
           if [ -n "$(git status --porcelain)" ]; then
Repository: ollama/ollama
Pull request: Add Ollamb to the list of Ollama clients

This PR adds OLLAMB to the list of Ollama clients in the README.

OLLAMB is a simple yet rich-in-features, cross-platform client built with Flutter and designed for Ollama. It offers an easy installation process and a smooth user experience.

<img width="1552" alt="OLLAMB" src="https://github.com/user-attachments/assets/132a4120-cd38-435f-a3be-fdef5fd5dd89" />

**Repo:** [hengkysteen/ollamb](https://github.com/hengkysteen/ollamb)  
**Demo:** [Web Demo](https://hengkysteen.github.io/demo/ollamb/)

I appreciate your time in reviewing this PR.

Changed files:
filename: README.md
patch: @@ -394,6 +394,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Reins](https://github.com/ibrahimcetin/reins) (Easily tweak parameters, customize system prompts per chat, and enhance your AI experiments with reasoning model support.)
 - [Ellama](https://github.com/zeozeozeo/ellama) (Friendly native app to chat with an Ollama instance)
 - [screenpipe](https://github.com/mediar-ai/screenpipe) Build agents powered by your screen history
+- [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/).)
 
 ### Cloud
Repository: vuejs/vue
Pull request: fix(scheduler): getNow detection can randomly fail (fix #9632)

The previous detection code compared time stamps based on Date.now()
which are not monotonic, so the check could fail due to clock skew or
adjustments.

This fix changes the check to compare against performance.now() if it is
supported, because it is monotonic (strictly increasing).

<!--
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
- [ ] New/updated tests are included

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**

See the discussion in #9632 for additional info.

This needs to be backported to the 2.6 branch.

Changed files:
filename: src/core/observer/scheduler.js
patch: @@ -47,10 +47,15 @@ let getNow: () => number = Date.now
 // timestamp can either be hi-res (relative to page load) or low-res
 // (relative to UNIX epoch), so in order to compare time we have to use the
 // same timestamp type when saving the flush timestamp.
-if (inBrowser && getNow() > document.createEvent('Event').timeStamp) {
-  // if the low-res timestamp which is bigger than the event timestamp
-  // (which is evaluated AFTER) it means the event is using a hi-res timestamp,
-  // and we need to use the hi-res version for event listeners as well.
+if (
+  inBrowser &&
+  window.performance &&
+  typeof performance.now === 'function' &&
+  getNow() > document.createEvent('Event').timeStamp
+) {
+  // if the event timestamp is bigger than the hi-res timestamp
+  // (which is evaluated AFTER) it means the event is using a lo-res timestamp,
+  // and we need to use the lo-res version for event listeners as well.
   getNow = () => performance.now()
 }
Repository: vercel/next.js
Pull request: Turbopack: change invalidator and immutable to data category

### What?

save a few bits

Changed files:
filename: turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
patch: @@ -2091,7 +2091,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
         if let Some(dependencies) = task_dependencies_for_immutable
             && dependencies
                 .iter()
-                .all(|&task_id| ctx.task(task_id, TaskDataCategory::Meta).immutable())
+                .all(|&task_id| ctx.task(task_id, TaskDataCategory::Data).immutable())
         {
             is_now_immutable = true;
         }

filename: turbopack/crates/turbo-tasks-backend/src/backend/storage_schema.rs
patch: @@ -133,11 +133,11 @@ struct TaskStorageSchema {
     // Persisted flags come first, then transient flags.
     // =========================================================================
     /// Whether the task has an invalidator.
-    #[field(storage = "flag", category = "meta")]
+    #[field(storage = "flag", category = "data")]
     invalidator: bool,
 
     /// Whether the task output is immutable (persisted).
-    #[field(storage = "flag", category = "meta")]
+    #[field(storage = "flag", category = "data")]
     immutable: bool,
 
     /// Whether clean in current session (transient flag).
Repository: nodejs/node
Pull request: events: remove redundant todo

As [said by the person who put the todo in the first place](https://github.com/nodejs/node/pull/55312#discussion_r1798472632), it has been redundant for a while now

We have `kWeakHandler: this` now

PR removes it to prevent confusion

Changed files:
filename: lib/internal/event_target.js
patch: @@ -639,8 +639,6 @@ class EventTarget {
         if (signal.aborted) {
           return;
         }
-        // TODO(benjamingr) make this weak somehow? ideally the signal would
-        // not prevent the event target from GC.
         signal.addEventListener('abort', () => {
           this.removeEventListener(type, listener, options);
         }, { __proto__: null, once: true, [kWeakHandler]: this, [kResistStopPropagation]: true });
Repository: huggingface/transformers
Pull request: Fix in-place modification of inputs_embeds in Kosmos-2.5 forward

# What does this PR do?

Fixes a PyTorch autograd error when fine-tuning `Kosmos2_5ForConditionalGeneration` with PEFT (LoRA).

The model forward pass performed an in-place assignment on `inputs_embeds`, which can be a leaf tensor with `requires_grad=True` during training. This caused the following runtime error:

RuntimeError: a leaf Variable that requires grad is being used in an in-place operation


This PR avoids the in-place modification by cloning the tensor before assignment, allowing training to proceed correctly while preserving existing behavior.

I have verified the fix using the reproduction script I provided in the issue; the RuntimeError is resolved and training proceeds as expected.

Fixes #43416

cc @zucchini-nlp


Changed files:
filename: src/transformers/models/kosmos2_5/modeling_kosmos2_5.py
patch: @@ -1091,8 +1091,9 @@ def forward(
 
         # Ignore copy
         if image_embeds is not None:
+            inputs_embeds = inputs_embeds.clone()
             inputs_embeds[image_embeds_position_mask == 1] = image_embeds.to(inputs_embeds.device).view(
-                -1, image_embeds.size(-1)
+                -1, image_embeds.shape[-1]
             )
 
         inputs_embeds = inputs_embeds * self.embed_scale
Repository: vuejs/vue
Pull request: Fix #9641: v-bind object should be overridable by single bindings

<!--
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

If adding a **new feature**, the PR's description includes:
- [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Other information:**


Changed files:
filename: src/core/instance/render-helpers/bind-object-props.js
patch: @@ -7,7 +7,8 @@ import {
   isObject,
   toObject,
   isReservedAttribute,
-  camelize
+  camelize,
+  hyphenate
 } from 'core/util/index'
 
 /**
@@ -45,12 +46,13 @@ export function bindObjectProps (
             : data.attrs || (data.attrs = {})
         }
         const camelizedKey = camelize(key)
-        if (!(key in hash) && !(camelizedKey in hash)) {
+        const hyphenatedKey = hyphenate(key)
+        if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
           hash[key] = value[key]
 
           if (isSync) {
             const on = data.on || (data.on = {})
-            on[`update:${camelizedKey}`] = function ($event) {
+            on[`update:${key}`] = function ($event) {
               value[key] = $event
             }
           }

filename: test/unit/features/directives/bind.spec.js
patch: @@ -234,7 +234,7 @@ describe('Directive v-bind', () => {
       template: `<test v-bind="test" data-foo="foo" dataBar="bar"/>`,
       components: {
         test: {
-          template: '<div :data-foo="dataFoo" :data-bar="dataBar"></div>',
+          template: '<div>{{ dataFoo }} {{ dataBar }}</div>',
           props: ['dataFoo', 'dataBar']
         }
       },
@@ -245,8 +245,7 @@ describe('Directive v-bind', () => {
         }
       }
     }).$mount()
-    expect(vm.$el.getAttribute('data-foo')).toBe('foo')
-    expect(vm.$el.getAttribute('data-bar')).toBe('bar')
+    expect(vm.$el.textContent).toBe('foo bar')
   })
 
   it('.sync modifier with bind object', done => {
Repository: ollama/ollama
Pull request: Added useful args to linux command

Added --follow and --pager-end to monitor the output as well as jump to the end of the output.

Changed files:
filename: docs/troubleshooting.md
patch: @@ -9,7 +9,7 @@ cat ~/.ollama/logs/server.log
 On **Linux** systems with systemd, the logs can be found with this command:
 
 ```shell
-journalctl -u ollama --no-pager
+journalctl -u ollama --no-pager --follow --pager-end 
 ```
 
 When you run Ollama in a **container**, the logs go to stdout/stderr in the container:
Repository: facebook/react
Pull request: [Flight] Don't assume _debugStack and _owner is defined for prod elements

We generally treat these types of fields as optional on ReactDebugInfo and should on ReactElement too.

That way we can consume prod payloads from third parties.

Changed files:
filename: packages/react-client/src/ReactFlightClient.js
patch: @@ -928,8 +928,8 @@ function createElement(
   type: mixed,
   key: mixed,
   props: mixed,
-  owner: null | ReactComponentInfo, // DEV-only
-  stack: null | ReactStackTrace, // DEV-only
+  owner: ?ReactComponentInfo, // DEV-only
+  stack: ?ReactStackTrace, // DEV-only
   validated: number, // DEV-only
 ):
   | React$Element<any>
@@ -942,7 +942,7 @@ function createElement(
       type,
       key,
       props,
-      _owner: owner,
+      _owner: owner === undefined ? null : owner,
     }: any);
     Object.defineProperty(element, 'ref', {
       enumerable: false,
@@ -984,7 +984,7 @@ function createElement(
       configurable: false,
       enumerable: false,
       writable: true,
-      value: stack,
+      value: stack === undefined ? null : stack,
     });
     Object.defineProperty(element, '_debugTask', {
       configurable: false,