helloadhavan/github_issues huggingface dataset:
Repository: vuejs/vue
Pull request: Fastcoding Inc broken icon

I've recently send a PR to vuejs.org with a .png version of the Fastcoding Inc logo. When/if it's merged, change this .svg link to .png.

**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:**

- [ ] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [ ] 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:**
It's just one logo-link in the README that's a svg, all other are png.


Changed files:
filename: README.md
patch: @@ -208,8 +208,8 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
       <td align="center" valign="middle">
-        <a href="https://fastcoding.jp/javascript/ " target="_blank">
-          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fastcoding_inc.svg">
+        <a href="https://fastcoding.jp/javascript/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fastcoding_inc.png">
         </a>
       </td>
     </tr><tr></tr>
Repository: ggml-org/llama.cpp
Pull request: webui: improve tooltip wording for attachment requirements

## Summary
- Reword image attachment tooltip: "Images require vision models to be processed" → "Image processing requires a vision model"
- Reword audio attachment tooltip: "Audio files require audio models to be processed" → "Audio files processing requires an audio model"

## Test plan
- [ ] Open the web UI with a non-vision model loaded and hover over the image attachment icon to verify the updated tooltip
- [ ] Open the web UI with a non-audio model loaded and hover over the audio attachment icon to verify the updated tooltip

Changed files:
filename: tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActionAttachmentsDropdown.svelte
patch: @@ -148,7 +148,7 @@
 					</Tooltip.Trigger>
 
 					<Tooltip.Content side="right">
-						<p>Images require vision models to be processed</p>
+						<p>Image processing requires a vision model</p>
 					</Tooltip.Content>
 				</Tooltip.Root>
 			{/if}
@@ -173,7 +173,7 @@
 					</Tooltip.Trigger>
 
 					<Tooltip.Content side="right">
-						<p>Audio files require audio models to be processed</p>
+						<p>Audio files processing requires an audio model</p>
 					</Tooltip.Content>
 				</Tooltip.Root>
 			{/if}
Repository: facebook/react
Pull request: [DevTools] Add column to vscode editor preset

We should jump to the right column.

Unfortunately, the way presets are set up now you have to switch off and switch to the preset for this to take effect.

Changed files:
filename: packages/react-devtools-shared/src/devtools/views/Editor/utils.js
patch: @@ -16,7 +16,7 @@ export function checkConditions(
   try {
     const url = new URL(editorURL);
 
-    const [, sourceURL, line] = source;
+    const [, sourceURL, line, column] = source;
     let filePath;
 
     // Check if sourceURL is a correct URL, which has a protocol specified
@@ -47,12 +47,15 @@ export function checkConditions(
     }
 
     const lineNumberAsString = String(line);
+    const columnNumberAsString = String(column);
 
     url.href = url.href
       .replace('{path}', filePath)
       .replace('{line}', lineNumberAsString)
+      .replace('{column}', columnNumberAsString)
       .replace('%7Bpath%7D', filePath)
-      .replace('%7Bline%7D', lineNumberAsString);
+      .replace('%7Bline%7D', lineNumberAsString)
+      .replace('%7Bcolumn%7D', columnNumberAsString);
 
     return {url, shouldDisableButton: false};
   } catch (e) {

filename: packages/react-devtools-shared/src/devtools/views/Settings/CodeEditorOptions.js
patch: @@ -17,7 +17,7 @@ import {getDefaultOpenInEditorURL} from 'react-devtools-shared/src/utils';
 
 import styles from './SettingsShared.css';
 
-const vscodeFilepath = 'vscode://file/{path}:{line}';
+const vscodeFilepath = 'vscode://file/{path}:{line}:{column}';
 
 export default function CodeEditorOptions({
   environmentNames,
Repository: facebook/react
Pull request: [DevTools] Rerender when the browser theme changes

When the browser theme changes, we don't immediately rerender the UI so we don't pick up the new theme if the React devtools are set to auto.

This picks up the change immediately.


Changed files:
filename: packages/react-devtools-extensions/src/main/index.js
patch: @@ -530,3 +530,16 @@ if (__IS_FIREFOX__) {
 connectExtensionPort();
 
 mountReactDevToolsWhenReactHasLoaded();
+
+function onThemeChanged(themeName) {
+  // Rerender with the new theme
+  render();
+}
+
+if (chrome.devtools.panels.setThemeChangeHandler) {
+  // Chrome
+  chrome.devtools.panels.setThemeChangeHandler(onThemeChanged);
+} else if (chrome.devtools.panels.onThemeChanged) {
+  // Firefox
+  chrome.devtools.panels.onThemeChanged.addListener(onThemeChanged);
+}
Repository: ollama/ollama
Pull request: ollamarunner: Temporarily disable worst case graph preallocation

When we later have a large batch running purely on a CPU, this results the error:
GGML_ASSERT(talloc->buffer_id >= 0)

Disabling this means that we will incrementally reallocate memory as the graph grows.

Fixes #10410

Changed files:
filename: runner/ollamarunner/runner.go
patch: @@ -723,7 +723,9 @@ func (m *multiLPath) String() string {
 	return strings.Join(*m, ", ")
 }
 
-func (s *Server) reserveWorstCaseGraph() error {
+// TODO(jessegross): This is causing tensor allocation failures with large batches when not offloaded
+// to the GPU
+/*func (s *Server) reserveWorstCaseGraph() error {
 	ctx := s.model.Backend().NewContext()
 	defer ctx.Close()
 
@@ -766,7 +768,7 @@ func (s *Server) reserveWorstCaseGraph() error {
 	}
 
 	return nil
-}
+}*/
 
 func (s *Server) loadModel(
 	ctx context.Context,
@@ -803,10 +805,10 @@ func (s *Server) loadModel(
 	s.seqs = make([]*Sequence, s.parallel)
 	s.seqsSem = semaphore.NewWeighted(int64(s.parallel))
 
-	err = s.reserveWorstCaseGraph()
+	/*err = s.reserveWorstCaseGraph()
 	if err != nil {
 		panic(err)
-	}
+	}*/
 
 	s.status = llm.ServerStatusReady
 	s.ready.Done()
Repository: electron/electron
Pull request: ci: use squash merge for apply patches workflow

Backport of #49667

See that PR for details.


Notes: none <!-- 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 -->


Changed files:
filename: .github/workflows/apply-patches.yml
patch: @@ -56,16 +56,16 @@ jobs:
         path: src/electron
         fetch-depth: 0
         persist-credentials: false
-        ref: ${{ github.event.pull_request.head.sha }}
-    - name: Rebase onto Base Branch
+        ref: ${{ github.event.pull_request.base.ref }}
+    - name: Merge PR HEAD
       working-directory: src/electron
       env:
-        BASE_REF: ${{ github.event.pull_request.base.ref }}
+        PR_NUMBER: ${{ github.event.pull_request.number }}
       run: |
         git config user.email "electron@github.com"
         git config user.name "Electron Bot"
-        git fetch origin ${BASE_REF}
-        git rebase origin/${BASE_REF}
+        git fetch origin refs/pull/${PR_NUMBER}/head
+        git merge --squash FETCH_HEAD
     - name: Checkout & Sync & Save
       uses: ./src/electron/.github/actions/checkout
       with:
Repository: huggingface/transformers
Pull request: Fix for #43530

#43530 fails because the test I wrote for verifying correct downloads fails on image files, which might have UTF-8 illegal bytes. Opening the file in `b` mode fixes it. This doesn't show up in the CI because the script is run when recreating docker workers!

Changed files:
filename: utils/fetch_hub_objects_for_ci.py
patch: @@ -71,10 +71,10 @@ def parse_hf_url(url):
 
 
 def validate_downloaded_content(filepath):
-    with open(filepath, "r") as f:
+    with open(filepath, "rb") as f:
         header = f.read(32)
 
-    for bad_sig in ["<!doctype", "<html", '{"error', '{"message']:
+    for bad_sig in [b"<!doctype", b"<html", b'{"error', b'{"message']:
         if header.lower().startswith(bad_sig):
             raise ValueError(
                 f"Downloaded file appears to be an HTML error page, not a valid media file. "
Repository: vercel/next.js
Pull request: Turbopack: Remove unused argument

## What?

Found this argument was unused and only being passed around.

Changed files:
filename: crates/next-core/src/pages_structure.rs
patch: @@ -209,7 +209,6 @@ async fn get_pages_structure_for_root_directory(
                                 get_pages_structure_for_directory(
                                     dir_project_path.clone(),
                                     next_router_path.join(name)?,
-                                    1,
                                     page_extensions,
                                 )
                                 .to_resolved()
@@ -222,7 +221,6 @@ async fn get_pages_structure_for_root_directory(
                                 get_pages_structure_for_directory(
                                     dir_project_path.clone(),
                                     next_router_path.join(name)?,
-                                    1,
                                     page_extensions,
                                 ),
                             ));
@@ -325,7 +323,6 @@ async fn get_pages_structure_for_root_directory(
 async fn get_pages_structure_for_directory(
     project_path: FileSystemPath,
     next_router_path: FileSystemPath,
-    position: u32,
     page_extensions: Vc<Vec<RcStr>>,
 ) -> Result<Vc<PagesDirectoryStructure>> {
     let span = tracing::info_span!(
@@ -368,7 +365,6 @@ async fn get_pages_structure_for_directory(
                             get_pages_structure_for_directory(
                                 dir_project_path.clone(),
                                 next_router_path.join(name)?,
-                                position + 1,
                                 page_extensions,
                             ),
                         ));
Repository: ollama/ollama
Pull request: lower default num parallel to 2

this is in part to "pay" for #10452, which doubled the default context length. The combination isn't fully neutral though, because even though the old 4x2k limit and the new 2x4k limit are memory equivalent, the 1x fallback is larger with 4k

Changed files:
filename: server/sched.go
patch: @@ -58,7 +58,7 @@ var defaultModelsPerGPU = 3
 // Default automatic value for parallel setting
 // Model will still need to fit in VRAM.  If this setting won't fit
 // we'll back off down to 1 to try to get it to fit
-var defaultParallel = 4
+var defaultParallel = 2
 
 var ErrMaxQueue = errors.New("server busy, please try again.  maximum pending requests exceeded")
Repository: ggml-org/llama.cpp
Pull request: tests: enable kv_unified for test-backend-sampler

While running tests to ensure that my local server is ready to be onboard as a GGML CI runner, I ran into an odd CUDA OOM error for the dist sampling test as shown:

```console
2026-03-15T15:43:18.5103166Z ggml_backend_cuda_buffer_type_alloc_buffer: allocating 5320.00 MiB on device 0: cudaMalloc failed: out of memory
2026-03-15T15:43:18.5103360Z alloc_tensor_range: failed to allocate CUDA0 buffer of size 5578424320
2026-03-15T15:43:18.5103633Z llama_init_from_model: failed to initialize the context: failed to allocate buffer for kv cache
2026-03-15T15:43:18.5103764Z Error running test 'dist': failed to create context
```

~Comparing the dist sampling test across all the other available tests, I noticed that `seq_id = 0` has been used everywhere except `test_backend_dist_sampling`. Setting `seq_id` from `189` to `0` seem to have solved the OOM error.~

~cc: @danbev; please let me know if `seq_id = 189` was intentional or if there is another approach to solving this :)~

Edit: PR has been updated to change only `kv_unified = true` as suggested https://github.com/ggml-org/llama.cpp/pull/20645#issuecomment-4068454078.


Changed files:
filename: tests/test-backend-sampler.cpp
patch: @@ -89,6 +89,7 @@ struct test_context {
         cparams.n_batch = 512;
         cparams.samplers = configs.data();
         cparams.n_samplers = configs.size();
+        cparams.kv_unified = true;
 
         // If n_seq_max is not specified, calculate it from configs
         if (n_seq_max < 0) {
Repository: ollama/ollama
Pull request: config: update default context length to 4096


Changed files:
filename: docs/faq.md
patch: @@ -20,7 +20,7 @@ Please refer to the [GPU docs](./gpu.md).
 
 ## How can I specify the context window size?
 
-By default, Ollama uses a context window size of 2048 tokens. 
+By default, Ollama uses a context window size of 4096 tokens. 
 
 This can be overridden with the `OLLAMA_CONTEXT_LENGTH` environment variable. For example, to set the default context window to 8K, use: 
 

filename: envconfig/config.go
patch: @@ -169,7 +169,7 @@ var (
 	// Enable the new Ollama engine
 	NewEngine = Bool("OLLAMA_NEW_ENGINE")
 	// ContextLength sets the default context length
-	ContextLength = Uint("OLLAMA_CONTEXT_LENGTH", 2048)
+	ContextLength = Uint("OLLAMA_CONTEXT_LENGTH", 4096)
 )
 
 func String(s string) func() string {
@@ -255,7 +255,7 @@ func AsMap() map[string]EnvVar {
 		"OLLAMA_ORIGINS":           {"OLLAMA_ORIGINS", AllowedOrigins(), "A comma separated list of allowed origins"},
 		"OLLAMA_SCHED_SPREAD":      {"OLLAMA_SCHED_SPREAD", SchedSpread(), "Always schedule model across all GPUs"},
 		"OLLAMA_MULTIUSER_CACHE":   {"OLLAMA_MULTIUSER_CACHE", MultiUserCache(), "Optimize prompt caching for multi-user scenarios"},
-		"OLLAMA_CONTEXT_LENGTH":    {"OLLAMA_CONTEXT_LENGTH", ContextLength(), "Context length to use unless otherwise specified (default: 2048)"},
+		"OLLAMA_CONTEXT_LENGTH":    {"OLLAMA_CONTEXT_LENGTH", ContextLength(), "Context length to use unless otherwise specified (default: 4096)"},
 		"OLLAMA_NEW_ENGINE":        {"OLLAMA_NEW_ENGINE", NewEngine(), "Enable the new Ollama engine"},
 
 		// Informational

filename: envconfig/config_test.go
patch: @@ -279,8 +279,8 @@ func TestVar(t *testing.T) {
 
 func TestContextLength(t *testing.T) {
 	cases := map[string]uint{
-		"":     2048,
-		"4096": 4096,
+		"":     4096,
+		"2048": 2048,
 	}
 
 	for k, v := range cases {
Repository: electron/electron
Pull request: ci: use squash merge for apply patches workflow

#### Description of Change

<!--
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
-->

The initial implementation here did a `git rebase` to rebase the PR onto the base branch before applying patches. In practice this has turned out to be a problem, as some PRs may have a commit history which cannot cleanly rebase onto the base branch, but would be fine if squashed.

This PR refactors to align with how we actually merge PRs in practice, with a squash merge. As such it has changed to check out the base branch, and then squash merge in the PR. It leaves the changes staged rather than committing them since it's just for checking purposes.

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included

#### Release Notes

Notes: none <!-- 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 -->


Changed files:
filename: .github/workflows/apply-patches.yml
patch: @@ -56,16 +56,16 @@ jobs:
         path: src/electron
         fetch-depth: 0
         persist-credentials: false
-        ref: ${{ github.event.pull_request.head.sha }}
-    - name: Rebase onto Base Branch
+        ref: ${{ github.event.pull_request.base.ref }}
+    - name: Merge PR HEAD
       working-directory: src/electron
       env:
-        BASE_REF: ${{ github.event.pull_request.base.ref }}
+        PR_NUMBER: ${{ github.event.pull_request.number }}
       run: |
         git config user.email "electron@github.com"
         git config user.name "Electron Bot"
-        git fetch origin ${BASE_REF}
-        git rebase origin/${BASE_REF}
+        git fetch origin refs/pull/${PR_NUMBER}/head
+        git merge --squash FETCH_HEAD
     - name: Checkout & Sync & Save
       uses: ./src/electron/.github/actions/checkout
       with:
Repository: nodejs/node
Pull request: sqlite: create options benchmarks

Adds an options config to the `sqlite` benchmarks to measure the performance impact of different database configurations.

Changed files:
filename: benchmark/sqlite/sqlite-prepare-select-all-options.js
patch: @@ -0,0 +1,51 @@
+'use strict';
+const common = require('../common.js');
+const sqlite = require('node:sqlite');
+const assert = require('assert');
+
+const bench = common.createBenchmark(main, {
+  n: [1e5],
+  tableSeedSize: [1e5],
+  statement: [
+    'SELECT * FROM foo LIMIT 1',
+    'SELECT * FROM foo LIMIT 100',
+  ],
+  options: ['none', 'readBigInts', 'returnArrays', 'readBigInts|returnArrays'],
+});
+
+function main(conf) {
+  const optionsObj = conf.options === 'none' ? {} : conf.options.split('|').reduce((acc, key) => {
+    acc[key] = true;
+    return acc;
+  }, {});
+
+  const db = new sqlite.DatabaseSync(':memory:', optionsObj);
+
+  db.exec(
+    'CREATE TABLE foo (text_column TEXT, integer_column INTEGER, real_column REAL, blob_column BLOB)',
+  );
+
+  const fooInsertStatement = db.prepare(
+    'INSERT INTO foo (text_column, integer_column, real_column, blob_column) VALUES (?, ?, ?, ?)',
+  );
+
+  for (let i = 0; i < conf.tableSeedSize; i++) {
+    fooInsertStatement.run(
+      crypto.randomUUID(),
+      Math.floor(Math.random() * 100),
+      Math.random(),
+      Buffer.from('example blob data'),
+    );
+  }
+
+  let i;
+  let deadCodeElimination;
+
+  const stmt = db.prepare(conf.statement);
+
+  bench.start();
+  for (i = 0; i < conf.n; i += 1) deadCodeElimination = stmt.all();
+  bench.end(conf.n);
+
+  assert.ok(deadCodeElimination !== undefined);
+}

filename: benchmark/sqlite/sqlite-prepare-select-get-options.js
patch: @@ -0,0 +1,50 @@
+'use strict';
+const common = require('../common.js');
+const sqlite = require('node:sqlite');
+const assert = require('assert');
+
+const bench = common.createBenchmark(main, {
+  n: [1e5],
+  tableSeedSize: [1e5],
+  statement: [
+    'SELECT * FROM foo LIMIT 1',
+  ],
+  options: ['none', 'readBigInts', 'returnArrays', 'readBigInts|returnArrays'],
+});
+
+function main(conf) {
+  const optionsObj = conf.options === 'none' ? {} : conf.options.split('|').reduce((acc, key) => {
+    acc[key] = true;
+    return acc;
+  }, {});
+
+  const db = new sqlite.DatabaseSync(':memory:', optionsObj);
+
+  db.exec(
+    'CREATE TABLE foo (text_column TEXT, integer_column INTEGER, real_column REAL, blob_column BLOB)',
+  );
+
+  const fooInsertStatement = db.prepare(
+    'INSERT INTO foo (text_column, integer_column, real_column, blob_column) VALUES (?, ?, ?, ?)',
+  );
+
+  for (let i = 0; i < conf.tableSeedSize; i++) {
+    fooInsertStatement.run(
+      crypto.randomUUID(),
+      Math.floor(Math.random() * 100),
+      Math.random(),
+      Buffer.from('example blob data'),
+    );
+  }
+
+  let i;
+  let deadCodeElimination;
+
+  const stmt = db.prepare(conf.statement);
+
+  bench.start();
+  for (i = 0; i < conf.n; i += 1) deadCodeElimination = stmt.get();
+  bench.end(conf.n);
+
+  assert.ok(deadCodeElimination !== undefined);
+}
Repository: ollama/ollama
Pull request: fix build

#10382 changed the interface which wasn't caught in #10141

Changed files:
filename: model/models/llama4/model.go
patch: @@ -39,7 +39,7 @@ func New(c fs.Config) (model.Model, error) {
 				`[^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]*[\p{Ll}\p{Lm}\p{Lo}\p{M}]+(?i:'s|'t|'re|'ve|'m|'ll|'d)?|[^\r\n\p{L}\p{N}]?[\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{M}]+[\p{Ll}\p{Lm}\p{Lo}\p{M}]*(?i:'s|'t|'re|'ve|'m|'ll|'d)?|\p{N}{1,3}| ?[^\s\p{L}\p{N}]+[\r\n/]*|\s*[\r\n]+|\s+(?!\S)|\s+`),
 			&model.Vocabulary{
 				Values: c.Strings("tokenizer.ggml.tokens"),
-				Types:  c.Uints("tokenizer.ggml.token_type"),
+				Types:  c.Ints("tokenizer.ggml.token_type"),
 				Merges: c.Strings("tokenizer.ggml.merges"),
 				BOS:    int32(c.Uint("tokenizer.ggml.bos_token_id")),
 				AddBOS: c.Bool("tokenizer.ggml.add_bos_token", true),
Repository: vuejs/vue
Pull request: fix(mergeData): skip recursive call if values are identical

**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
- [ ] 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

**Other information:**
Fixes https://github.com/vuetifyjs/vuetify/issues/5633

I've been unable to reproduce this in isolation, but have run into it several times in the past. This check should also reduce unnecessary calls to `mergeData`, I noticed thousands of instances of identical objects being merged that didn't cause errors. 


Changed files:
filename: src/core/util/options.js
patch: @@ -55,7 +55,11 @@ function mergeData (to: Object, from: ?Object): Object {
     fromVal = from[key]
     if (!hasOwn(to, key)) {
       set(to, key, fromVal)
-    } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {
+    } else if (
+      toVal !== fromVal &&
+      isPlainObject(toVal) &&
+      isPlainObject(fromVal)
+    ) {
       mergeData(toVal, fromVal)
     }
   }