helloadhavan/github_issues huggingface dataset:
Repository: ollama/ollama
Pull request: Reference ollama integration with Harbor

Harbor runs Ollama as a default LLM backend:
```bash
# Everything is dockerized, User doesn't have to install 
# ollama on their host
harbor up ollama

# Ollama CLI/API is available as is
harbor ollama list
curl $(harbor url ollama)/api/ps
```

On Harbor's end, Ollama is integrated with the supported frontends (currently Open WebUI, LibreChat, Hollama, BionicGPT)

Changed files:
filename: README.md
patch: @@ -300,6 +300,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Sidellama](https://github.com/gyopak/sidellama) (browser-based LLM client)
 - [LLMStack](https://github.com/trypromptly/LLMStack) (No-code multi-agent framework to build LLM agents and workflows)
 - [BoltAI for Mac](https://boltai.com) (AI Chat Client for Mac)
+- [Harbor](https://github.com/av/harbor) (Containerized LLM Toolkit with Ollama as default backend)
 
 ### Terminal
Repository: electron/electron
Pull request: fix: unexpected `openExternal` dialog on macOS Tahoe

#### Description of Change

Closes https://github.com/electron/electron/issues/48455.

Fixes an issue where `shell.openExternal` causes an unexpected dialog to open when there is no app suitable to open the url:

<img width="372" height="462" alt="Screenshot 2025-10-09 at 10 04 37 AM" src="https://github.com/user-attachments/assets/8a641d08-71e9-49b3-81af-70e03492a328" />

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [x] tests are [changed or added](https://github.com/electron/electron/blob/main/docs/development/testing.md)
- [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: Fixed an issue where `shell.openExternal` caused an unexpected dialog to open when there was no app suitable to open the url.

Changed files:
filename: shell/common/platform_util_mac.mm
patch: @@ -148,6 +148,12 @@ void OpenExternal(const GURL& url,
     return;
   }
 
+  // Check this to prevent system dialog from popping up on macOS Tahoe.
+  if (![[NSWorkspace sharedWorkspace] URLForApplicationToOpenURL:ns_url]) {
+    std::move(callback).Run("No application found to open URL");
+    return;
+  }
+
   NSWorkspaceOpenConfiguration* configuration =
       [NSWorkspaceOpenConfiguration configuration];
   configuration.activates = options.activate;

filename: spec/api-shell-spec.ts
patch: @@ -82,6 +82,11 @@ describe('shell module', () => {
       ]);
     });
 
+    ifit(process.platform === 'darwin')('throws when there is no application registered to open the URL', async () => {
+      const url = `unknownscheme-${Date.now()}://test`;
+      await expect(shell.openExternal(url)).to.eventually.be.rejectedWith(/No application found to open URL/);
+    });
+
     it('opens an external link in the renderer', async () => {
       const { url, requestReceived } = await urlOpened();
       const w = new BrowserWindow({ show: false, webPreferences: { sandbox: false, contextIsolation: false, nodeIntegration: true } });
Repository: vuejs/vue
Pull request: Fix using one delay to control all transitions.

Vue transitions have a wrong timing when having CSS like the following:

```
.[transition-name]-enter-active, .[transition-name]-leave-active {
  transition: opacity 0.8s ease, transform 0.7s ease;
  transition-delay: 0.4s;
}
```

Which in turn bubbles errors to the console. This PR fixes the bug.

I have a question though: Is parameter re-assign allowed in Vue? It's not configured in the ESlint setup.


Changed files:
filename: src/platforms/web/runtime/transition-util.js
patch: @@ -131,6 +131,10 @@ export function getTransitionInfo (el: Element, expectedType?: ?string): {
 }
 
 function getTimeout (delays: Array<string>, durations: Array<string>): number {
+  while (delays.length < durations.length) {
+    delays = delays.concat(delays)
+  }
+
   return Math.max.apply(null, durations.map((d, i) => {
     return toMs(d) + toMs(delays[i])
   }))
Repository: huggingface/transformers
Pull request: Allow LayoutLMV3Processor to accept rescale_factor

`test_image_processor_defaults_preserved_by_image_kwargs` is flaky for models that use the `LayoutLMV3Processor`, which causes annoying intermittent CI failures, especially for `UDOP`. The cause is that `LayoutLMV3Processor` expects `rescale_value`, not the standard `rescale_factor`, but the test depends on `rescale_factor` being accepted. This PR allows `LayoutLMV3Processor` to accept `rescale_factor`, but I'm not sure if this is the optimal solution. cc @molbap @yonigozlan @zucchini-nlp 

Note that no other models use `rescale_value` - it's just LayoutLMV3! I suspect this issue was also the cause of several other flaky tests in `test_processing_common`

Changed files:
filename: src/transformers/models/layoutlmv3/image_processing_layoutlmv3.py
patch: @@ -171,7 +171,7 @@ def __init__(
         size: Optional[dict[str, int]] = None,
         resample: PILImageResampling = PILImageResampling.BILINEAR,
         do_rescale: bool = True,
-        rescale_value: float = 1 / 255,
+        rescale_factor: float = 1 / 255,
         do_normalize: bool = True,
         image_mean: Optional[Union[float, Iterable[float]]] = None,
         image_std: Optional[Union[float, Iterable[float]]] = None,
@@ -188,7 +188,9 @@ def __init__(
         self.size = size
         self.resample = resample
         self.do_rescale = do_rescale
-        self.rescale_factor = rescale_value
+        # The standard name is rescale_factor, but this processor accepted rescale_value for a long time,
+        # so allow it as a kwarg for backward compatibility
+        self.rescale_factor = kwargs.get("rescale_value", rescale_factor)
         self.do_normalize = do_normalize
         self.image_mean = image_mean if image_mean is not None else IMAGENET_STANDARD_MEAN
         self.image_std = image_std if image_std is not None else IMAGENET_STANDARD_STD
Repository: vercel/next.js
Pull request: [build] Remove `layers` experiment flag from next-runtime webpack config

The `layers` feature is now enabled by default in Rspack.

<img width="1490" height="580" alt="layers-warning" src="https://github.com/user-attachments/assets/42fd6575-f0d3-4249-a6b2-6073bbd7935d" />


Changed files:
filename: packages/next/next-runtime.webpack-config.js
patch: @@ -297,9 +297,6 @@ module.exports = ({ dev, turbo, bundleType, experimental, ...rest }) => {
       externalsMap,
       externalHandler,
     ],
-    experiments: {
-      layers: true,
-    },
     ...rest,
   }
 }
Repository: vuejs/vue
Pull request: fixed #3942

ensure array's length


Changed files:
filename: src/core/observer/index.js
patch: @@ -186,6 +186,7 @@ export function defineReactive (
  */
 export function set (obj: Array<any> | Object, key: any, val: any) {
   if (Array.isArray(obj)) {
+    obj.length = Math.max(obj.length, key)
     obj.splice(key, 1, val)
     return val
   }
Repository: ollama/ollama
Pull request: Fix download retry issue

Partial downloaded chunks currently resume incorrectly as the code tries to always download the full size of the chunk rather than the remaining size.

Fixes #4520

Changed files:
filename: server/download.go
patch: @@ -221,7 +221,7 @@ func (b *blobDownload) downloadChunk(ctx context.Context, requestURL *url.URL, w
 		}
 		defer resp.Body.Close()
 
-		n, err := io.CopyN(w, io.TeeReader(resp.Body, part), part.Size)
+		n, err := io.CopyN(w, io.TeeReader(resp.Body, part), part.Size-part.Completed)
 		if err != nil && !errors.Is(err, context.Canceled) && !errors.Is(err, io.ErrUnexpectedEOF) {
 			// rollback progress
 			b.Completed.Add(-n)
Repository: facebook/react
Pull request: [playground:ci] Don't install compiler deps twice


The compiler playground already installs the compiler's dependencies in a preinstall step. No need to repeat it in CI.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31995).
* __->__ #31995
* #31994

Changed files:
filename: .github/workflows/compiler_playground.yml
patch: @@ -38,11 +38,7 @@ jobs:
         with:
           path: "**/node_modules"
           key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
-      - name: yarn install compiler
-        run: yarn install --frozen-lockfile
-        working-directory: compiler
-      - name: yarn install playground
-        run: yarn install --frozen-lockfile
+      - run: yarn install --frozen-lockfile
       - run: npx playwright install --with-deps chromium
       - run: CI=true yarn test
       - run: ls -R test-results
Repository: ollama/ollama
Pull request: Fix OpenAI models/{model} URL

I added a note about this after the PR was merged @royjhan.

Changed files:
filename: docs/openai.md
patch: @@ -86,7 +86,7 @@ curl http://localhost:11434/v1/chat/completions \
 
 curl http://localhost:11434/v1/models
 
-curl https://api.openai.com/v1/models/llama3
+curl http://localhost:11434/v1/models/llama3
 
 curl http://localhost:11434/v1/embeddings \
     -H "Content-Type: application/json" \
Repository: ggml-org/llama.cpp
Pull request: ggml-zendnn : update ZenDNN git tag to main branch

This PR is related to ZenDNN removed their zendnnl branch and moved all the code to main

Right now our code is still looking for the old zendnnl branch which no longer exists, so builds break. 

This fixes it by pointing to the new main branch instead

cc: @amukho @avinashcpandey

Changed files:
filename: ggml/src/ggml-zendnn/CMakeLists.txt
patch: @@ -21,7 +21,7 @@ if (NOT ZENDNN_ROOT OR ZENDNN_ROOT STREQUAL "" OR ZENDNN_ROOT STREQUAL "OFF")
     ExternalProject_Add(
         zendnn
         GIT_REPOSITORY https://github.com/amd/ZenDNN.git
-        GIT_TAG zendnnl
+        GIT_TAG 21ce8f7879c86bf3637f707fae6f29e0951db5fe
         PREFIX      ${ZENDNN_PREFIX}
         SOURCE_DIR  ${ZENDNN_SOURCE_DIR}
         BINARY_DIR  ${ZENDNN_BUILD_DIR}
Repository: nodejs/node
Pull request: doc: reserve NMV 143 for Electron 40

<!--
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/abi_version_registry.json
patch: @@ -1,5 +1,6 @@
 {
   "NODE_MODULE_VERSION": [
+    { "modules": 143,"runtime": "electron", "variant": "electron",             "versions": "40" },
     { "modules": 142,"runtime": "node",     "variant": "v8_14.2",              "versions": "26.0.0-pre" },
     { "modules": 141,"runtime": "node",     "variant": "v8_14.1",              "versions": "25.0.0" },
     { "modules": 140,"runtime": "electron", "variant": "electron",             "versions": "39" },
Repository: vercel/next.js
Pull request: Fix telemetry event race condition in webpack worker for @vercel/og detection

Follow up to https://github.com/vercel/next.js/pull/85867

The webpack build uses separate worker processes for edge server compilation. The worker creates its own telemetry instance and the MiddlewarePlugin records `vercelImageGeneration` events to it during the `finishModules` hook.

When `NEXT_TELEMETRY_DEBUG=1`, telemetry logging uses `setTimeout(100ms)` before calling `console.error()` to ensure output is captured. However, the worker was returning immediately after recording telemetry without waiting for the setTimeout to fire. The parent process then terminates the worker, canceling the pending setTimeout and losing the telemetry events.

This adds `await telemetry.flush()` before the worker returns to ensure all queued telemetry promises (including their setTimeout delays) complete before the worker exits. This ensures telemetry is logged to stderr before the worker terminates.

Fixes flaky `test/integration/telemetry/test/config.test.ts` failure for @vercel/og detection.


Changed files:
filename: packages/next/src/build/webpack-build/impl.ts
patch: @@ -414,5 +414,7 @@ export async function workerMain(workerData: {
     result.buildTraceContext!.chunksTrace!.entryNameFilesMap = entryNameFilesMap
   }
   NextBuildContext.nextBuildSpan.stop()
+  await telemetry.flush()
+
   return { ...result, debugTraceEvents: getTraceEvents() }
 }

filename: test/integration/telemetry/test/config.test.ts
patch: @@ -441,6 +441,7 @@ describe('config telemetry', () => {
       ;(process.env.IS_TURBOPACK_TEST ? it.skip : it)(
         'emits telemetry for usage of @vercel/og',
         async () => {
+          // Test vercelImageGeneration telemetry tracking
           const { stderr } = await nextBuild(appDir, [], {
             stderr: true,
             env: { NEXT_TELEMETRY_DEBUG: '1' },
Repository: vuejs/vue
Pull request: Add guide for PR title 

(fix #xxxxx) info needs to be included in PR title for release log if a special issue is resolved.


Changed files:
filename: .github/CONTRIBUTING.md
patch: @@ -45,6 +45,7 @@ Hi! I’m really excited that you are interested in contributing to Vue.js. Befo
   - Provide convincing reason to add this feature. Ideally you should open a suggestion issue first and have it greenlighted before working on it.
 
 - If fixing a bug:
+  - If you are resolving a special issue, add `(fix #xxxx[,#xxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
   - Provide detailed description of the bug in the PR. Live demo preferred.
   - Add appropriate test coverage if applicable.
Repository: huggingface/transformers
Pull request: [loading] Fix device detection

# What does this PR do?

As per the title. We need to sort first by modules, then length otherwise we may not detect the correct device. 
I first wanted to add it in https://github.com/huggingface/transformers/pull/42242, but upstreaming in the meantime as this is an important one (otherwise, param do not follow the device_map, leading to OOMs everywhere potentially etc)

Changed files:
filename: src/transformers/core_model_loading.py
patch: @@ -610,7 +610,7 @@ def convert_and_load_state_dict_in_model(
     tp_plan = tp_plan or {}
     device_map = device_map or {"": "cpu"}
     device_map_regex = re.compile(
-        "|".join(rf"({k})" for k in sorted(device_map.keys(), key=lambda x: x.count("."), reverse=True))
+        "|".join(rf"({k})" for k in sorted(device_map.keys(), key=lambda x: (x.count("."), len(x)), reverse=True))
     )
     dtype_plan = dtype_plan or {}
     weight_mapping = weight_mapping or []
Repository: facebook/react
Pull request: fix: `react-compiler-runtime` should be cjs

## Summary

The move to `esbuild` in https://github.com/facebook/react/pull/31963 is [causing build errors in many of our systems due to the changed output format](https://npmdiff.dev/react-compiler-runtime/19.0.0-beta-55955c9-20241229/19.0.0-beta-63e3235-20250105/):
```bash
perf-studio:build: /vercel/path1/node_modules/.pnpm/react-compiler-runtime@19.0.0-beta-63e3235-20250105_react@18.3.1/node_modules/react-compiler-runtime/dist/index.js:17
perf-studio:build: import * as React from "react";
perf-studio:build: ^^^^^^
perf-studio:build: SyntaxError: Cannot use import statement outside a module
perf-studio:build:     at extensions..js (~/path1/node_modules/.pnpm/esbuild-register@3.6.0_esbuild@0.21.5/node_modules/esbuild-register/dist/node.js:4833:24)
```
`esbuild-register` and `jest` are repeat offenders.

## How did you test this change?

The new output with this change is cjs, which is what it used to be and matches what `react` itself is currently published as.


Changed files:
filename: compiler/packages/react-compiler-runtime/scripts/build.js
patch: @@ -29,7 +29,7 @@ const config = {
   outfile: path.join(__dirname, '../dist/index.js'),
   bundle: true,
   external: ['react'],
-  format: argv.p === 'browser' ? 'esm' : 'cjs',
+  format: 'cjs',
   platform: argv.p,
   target: 'es6',
   banner: {
Repository: vuejs/vue
Pull request: select change event fix

If select binding not changed, then needRest should be set to false, and no **change** event should be emitted. fix #3917 


Changed files:
filename: src/platforms/web/runtime/directives/model.js
patch: @@ -60,7 +60,7 @@ export default {
       // option in the DOM.
       const needReset = el.multiple
         ? binding.value.some(v => hasNoMatchingOption(v, el.options))
-        : hasNoMatchingOption(binding.value, el.options)
+        : binding.value === binding.oldValue ? false : hasNoMatchingOption(binding.value, el.options)
       if (needReset) {
         trigger(el, 'change')
       }

filename: test/unit/features/directives/model-select.spec.js
patch: @@ -161,6 +161,32 @@ describe('Directive v-model select', () => {
     }).then(done)
   })
 
+  it('should work with select which has no default selected options', (done) => {
+    const spy = jasmine.createSpy()
+    const vm = new Vue({
+      data: {
+        id: 4,
+        list: [1, 2, 3],
+        testChange: 5
+      },
+      template:
+        '<div>' +
+          '<select @change="test" v-model="id">' +
+            '<option v-for="item in list" :value="item">{{item}}</option>' +
+          '</select>' +
+          '{{testChange}}' +
+        '</div>',
+      methods: {
+        test: spy
+      }
+    }).$mount()
+    document.body.appendChild(vm.$el)
+    vm.testChange = 10
+    waitForUpdate(() => {
+      expect(spy.calls.count()).toBe(0)
+    }).then(done)
+  })
+
   it('multiple', done => {
     const vm = new Vue({
       data: {
Repository: ggml-org/llama.cpp
Pull request: ci : revert slim runner for winget

Looks like `ubuntu-slim` is missing `cargo` required for this job. While it's possible to install via `rustup` it's better to just revert due to limited testing capabilities.

Changed files:
filename: .github/workflows/winget.yml
patch: @@ -8,7 +8,7 @@ on:
 jobs:
   update:
     name: Update Winget Package
-    runs-on: ubuntu-slim
+    runs-on: ubuntu-latest
     if: github.repository_owner == 'ggml-org'
 
     steps:
Repository: ollama/ollama
Pull request: OpenAI: Add Usage to `v1/embeddings`


Changed files:
filename: openai/openai.go
patch: @@ -164,9 +164,15 @@ type ListCompletion struct {
 }
 
 type EmbeddingList struct {
-	Object string      `json:"object"`
-	Data   []Embedding `json:"data"`
-	Model  string      `json:"model"`
+	Object string         `json:"object"`
+	Data   []Embedding    `json:"data"`
+	Model  string         `json:"model"`
+	Usage  EmbeddingUsage `json:"usage,omitempty"`
+}
+
+type EmbeddingUsage struct {
+	PromptTokens int `json:"prompt_tokens"`
+	TotalTokens  int `json:"total_tokens"`
 }
 
 func NewError(code int, message string) ErrorResponse {
@@ -332,6 +338,10 @@ func toEmbeddingList(model string, r api.EmbedResponse) EmbeddingList {
 			Object: "list",
 			Data:   data,
 			Model:  model,
+			Usage: EmbeddingUsage{
+				PromptTokens: r.PromptEvalCount,
+				TotalTokens:  r.PromptEvalCount,
+			},
 		}
 	}
Repository: huggingface/transformers
Pull request: Fix typo from side_dict to size_dict

# What does this PR do?
fix typo


Changed files:
filename: src/transformers/models/siglip2/image_processing_siglip2_fast.py
patch: @@ -116,8 +116,8 @@ def _preprocess(
                     patch_size=patch_size,
                     max_num_patches=max_num_patches,
                 )
-                side_dict = SizeDict(height=height, width=width)
-                image = self.resize(image=image, size=side_dict, interpolation=interpolation)
+                size_dict = SizeDict(height=height, width=width)
+                image = self.resize(image=image, size=size_dict, interpolation=interpolation)
 
             image = self.rescale_and_normalize(image, do_rescale, rescale_factor, do_normalize, image_mean, image_std)
Repository: vercel/next.js
Pull request: Add postpone handling in app-page handler

This adds the resume postpone handling into the `app-page` handler so it doesn't rely on `base-server`. 

Changed files:
filename: packages/next/src/build/templates/app-page.ts
patch: @@ -51,6 +51,7 @@ import {
   CACHE_ONE_YEAR,
   HTML_CONTENT_TYPE_HEADER,
   NEXT_CACHE_TAGS_HEADER,
+  NEXT_RESUME_HEADER,
 } from '../../lib/constants'
 import type { CacheControl } from '../../server/lib/cache-control'
 import { ENCODED_TAGS } from '../../server/stream-utils/encoded-tags'
@@ -121,6 +122,10 @@ export async function handler(
   if (routeModule.isDev) {
     addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())
   }
+  const isMinimalMode = Boolean(
+    process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode')
+  )
+
   let srcPage = 'VAR_DEFINITION_PAGE'
 
   // turbopack doesn't normalize `/index` in the page name
@@ -135,10 +140,6 @@ export async function handler(
   const multiZoneDraftMode = process.env
     .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean
 
-  const isMinimalMode = Boolean(
-    process.env.MINIMAL_MODE || getRequestMeta(req, 'minimalMode')
-  )
-
   const prepareResult = await routeModule.prepare(req, res, {
     srcPage,
     multiZoneDraftMode,
@@ -219,6 +220,25 @@ export async function handler(
     nextConfig.experimental.ppr
   )
 
+  if (
+    !getRequestMeta(req, 'postponed') &&
+    couldSupportPPR &&
+    req.headers[NEXT_RESUME_HEADER] === '1' &&
+    req.method === 'POST'
+  ) {
+    // Decode the postponed state from the request body, it will come as
+    // an array of buffers, so collect them and then concat them to form
+    // the string.
+
+    const body: Array<Buffer> = []
+    for await (const chunk of req) {
+      body.push(chunk)
+    }
+    const postponed = Buffer.concat(body).toString('utf8')
+
+    addRequestMeta(req, 'postponed', postponed)
+  }
+
   // When enabled, this will allow the use of the `?__nextppronly` query to
   // enable debugging of the static shell.
   const hasDebugStaticShellQuery =