helloadhavan/github_issues huggingface dataset:
Repository: ggml-org/llama.cpp
Pull request: ci : remove missing reranker model files

This commit removes jina-reranker-v1-tiny-en model files that are no longer present on Hugging Face.

The motivation for this that it clears up the CI logs from 404 errors which can be a little confusing when looking at the logs the first time.

Refs: https://github.com/ggml-org/llama.cpp/actions/runs/18070620247/job/51419855630#step:5:2649


Changed files:
filename: ci/run.sh
patch: @@ -512,12 +512,7 @@ function gg_run_rerank_tiny {
     gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/tokenizer_config.json
     gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/special_tokens_map.json
     gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/resolve/main/pytorch_model.bin
-    gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/sentence_bert_config.json
-    gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/vocab.txt
-    gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/modules.json
-    gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/config.json
-
-    gg_wget models-mnt/rerank-tiny/1_Pooling https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/1_Pooling/config.json
+    gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/vocab.json
 
     path_models="../models-mnt/rerank-tiny"
Repository: electron/electron
Pull request: fix: crash when drag-dropping some files

Backport of #46253

See that PR for details.


Notes: Fixed a crash that could occur when dragging and dropping files into the browser.


Changed files:
filename: shell/renderer/api/electron_api_context_bridge.cc
patch: @@ -687,17 +687,26 @@ v8::MaybeLocal<v8::Object> CreateProxyForAPI(
           continue;
         }
       }
-      v8::Local<v8::Value> value;
-      if (!api.Get(key, &value))
-        continue;
-
-      auto passed_value = PassValueToOtherContextInner(
-          source_context, source_execution_context, destination_context, value,
-          api.GetHandle(), object_cache, support_dynamic_properties,
-          recursion_depth + 1, error_target);
-      if (passed_value.IsEmpty())
-        return {};
-      proxy.Set(key, passed_value.ToLocalChecked());
+
+      {
+        v8::Context::Scope source_context_scope(source_context);
+        v8::Local<v8::Value> value;
+        if (!api.Get(key, &value))
+          continue;
+
+        auto passed_value = PassValueToOtherContextInner(
+            source_context, source_execution_context, destination_context,
+            value, api.GetHandle(), object_cache, support_dynamic_properties,
+            recursion_depth + 1, error_target);
+        if (passed_value.IsEmpty())
+          return {};
+
+        {
+          v8::Context::Scope inner_destination_context_scope(
+              destination_context);
+          proxy.Set(key, passed_value.ToLocalChecked());
+        }
+      }
     }
 
     return proxy.GetHandle();
Repository: ollama/ollama
Pull request: windows: fix model pulling

There are two issues preventing pull from working as expected in Windows.

1. Windows dislikes `os.Rename` when the file is still open. One approach is to close the file before calling rename. The approach taken in this PR is to call `os.Symlink` instead
2. Windows errors when file paths contain `:` so replace the `:` in the digest name with `-`, e.g. `sha256:0123456789abcdef...` with `sha256-0123456789abcdef...`. This is done _only_ for the blob file path. Non-file path instances of this string are unchanged

Changed files:
filename: server/images.go
patch: @@ -854,6 +854,10 @@ func downloadBlob(mp ModelPath, digest string, username, password string, fn fun
 		})
 
 		if completed >= total {
+			if err := out.Close(); err != nil {
+				return err
+			}
+
 			if err := os.Rename(fp+"-partial", fp); err != nil {
 				fn(api.ProgressResponse{
 					Status:    fmt.Sprintf("error renaming file: %v", err),

filename: server/modelpath.go
patch: @@ -4,6 +4,7 @@ import (
 	"fmt"
 	"os"
 	"path/filepath"
+	"runtime"
 	"strings"
 )
 
@@ -106,6 +107,10 @@ func GetBlobsPath(digest string) (string, error) {
 		return "", err
 	}
 
+	if runtime.GOOS == "windows" {
+		digest = strings.ReplaceAll(digest, ":", "-")
+	}
+
 	path := filepath.Join(home, ".ollama", "models", "blobs", digest)
 	if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil {
 		return "", err
Repository: nodejs/node
Pull request: tools: use a configurable value for number of open Dependabot PRs

This way, we can disable all dependabot PRs from private forks – I'm fed up with the flow of useless notifications coming from our nodejs-private org.

<!--
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/dependabot.yml
patch: @@ -8,15 +8,15 @@ updates:
       interval: monthly
     commit-message:
       prefix: meta
-    open-pull-requests-limit: 10
+    open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
 
   - package-ecosystem: npm
     directory: /tools/eslint
     schedule:
       interval: monthly
     commit-message:
       prefix: tools
-    open-pull-requests-limit: 10
+    open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
     groups:
       eslint:
         applies-to: version-updates
@@ -29,7 +29,7 @@ updates:
       interval: monthly
     commit-message:
       prefix: tools
-    open-pull-requests-limit: 10
+    open-pull-requests-limit: ${{secrets.OPEN_PR_LIMIT}}
     groups:
       lint-md:
         applies-to: version-updates
Repository: ollama/ollama
Pull request: verify blob digest


Changed files:
filename: server/images.go
patch: @@ -615,6 +615,13 @@ func PullModel(name, username, password string, fn func(api.ProgressResponse)) e
 		}
 	}
 
+	fn(api.ProgressResponse{Status: "verifying sha256 digest"})
+	for _, layer := range layers {
+		if err := verifyBlob(layer.Digest); err != nil {
+			return err
+		}
+	}
+
 	fn(api.ProgressResponse{Status: "writing manifest"})
 
 	manifestJSON, err := json.Marshal(manifest)
@@ -909,3 +916,23 @@ func makeRequest(method, url string, headers map[string]string, body io.Reader,
 
 	return resp, nil
 }
+
+func verifyBlob(digest string) error {
+	fp, err := GetBlobsPath(digest)
+	if err != nil {
+		return err
+	}
+
+	f, err := os.Open(fp)
+	if err != nil {
+		return err
+	}
+	defer f.Close()
+
+	fileDigest, _ := GetSHA256Digest(f)
+	if digest != fileDigest {
+		return fmt.Errorf("digest mismatch: want %s, got %s", digest, fileDigest)
+	}
+
+	return nil
+}
Repository: ggml-org/llama.cpp
Pull request: ggml : fix unaligned access in AMX code

The AMX backend produces garbage with `Q4_0` and `Q4_1` quantizations:

https://github.com/ggml-org/llama.cpp/actions/runs/18070620247/job/51419855639#step:3:13646

Repro:

```bash
./bin/llama-perplexity -hf ggml-org/Qwen3-0.6B-GGUF:Q4_0 -f wikitext-2-raw/wiki.test.raw -c 2048 -b 2048 --chunks 2
```

The only problem that I was able to find using the address sanitizer is this unaligned access of the quants. However, this does not fix the incorrect results - there is some remaining issue somewhere.

cc @mingfeima 

Changed files:
filename: ggml/src/ggml-cpu/amx/amx.cpp
patch: @@ -149,6 +149,7 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {
         if (op->op == GGML_OP_MUL_MAT && is_contiguous_2d(op->src[0]) &&  // src0 must be contiguous
             is_contiguous_2d(op->src[1]) &&                               // src1 must be contiguous
             op->src[0]->buffer && op->src[0]->buffer->buft == ggml_backend_amx_buffer_type() &&
+            op->src[0]->ne[0] % (TILE_K * 2 * 32) == 0 && // TODO: not sure if correct (https://github.com/ggml-org/llama.cpp/pull/16315)
             op->ne[0] % (TILE_N * 2) == 0 &&                              // out_features is 32x
             (qtype_has_amx_kernels(op->src[0]->type) || (op->src[0]->type == GGML_TYPE_F16))) {
             // src1 must be host buffer
Repository: denoland/deno
Pull request: ci: try to make running node compat tests a little more reliable on CI


Changed files:
filename: tests/node_compat/run_all_test_unmodified.ts
patch: @@ -22,10 +22,10 @@ import {
   usesNodeTestModule,
 } from "./common.ts";
 
-// The timeout ms for single test execution. If a single test didn't finish in this timeout milliseconds, the test is considered as failure
-const TIMEOUT = 5000;
 const testDirUrl = new URL("runner/suite/test/", import.meta.url).href;
 const IS_CI = !!Deno.env.get("CI");
+// The timeout ms for single test execution. If a single test didn't finish in this timeout milliseconds, the test is considered as failure
+const TIMEOUT = IS_CI ? 10_000 : 5000;
 
 // The metadata of the test report
 export type TestReportMetadata = {
@@ -359,7 +359,11 @@ async function main() {
   }
   // Runs parallel tests
   for await (
-    const _ of pooledMap(navigator.hardwareConcurrency, parallel, run)
+    const _ of pooledMap(
+      Math.max(1, navigator.hardwareConcurrency - 1),
+      parallel,
+      run,
+    )
   ) {
     // pass
   }
Repository: vercel/next.js
Pull request: Turbopack: ensure max merge segments is respected accros families

### What?

We try to limit the maximum number of merge jobs with the `max_merge_segment_count` option. But as we run `get_merge_segments` for every key family it only limits the merge jobs per family. This results in much more merge jobs then configured.

This change applied the limits across families. Lower number families will be compacted first, which is a new behavior, so maybe we want to reorder the key families to improve the order (see enum KeySpace)

Closes PACK-5162

Changed files:
filename: turbopack/crates/turbo-persistence/src/compaction/selector.rs
patch: @@ -104,6 +104,7 @@ pub fn compute_metrics<T: Compactable>(
 }
 
 /// Configuration for the compaction algorithm.
+#[derive(Clone)]
 pub struct CompactConfig {
     /// The minimum number of files to merge at once.
     pub min_merge_count: usize,

filename: turbopack/crates/turbo-persistence/src/db.rs
patch: @@ -787,16 +787,28 @@ impl TurboPersistence {
             keys_written: u64,
         }
 
+        let mut compact_config = compact_config.clone();
+        let merge_jobs = sst_by_family
+            .iter()
+            .map(|ssts_with_ranges| {
+                if compact_config.max_merge_segment_count == 0 {
+                    return Vec::new();
+                }
+                let merge_jobs = get_merge_segments(ssts_with_ranges, &compact_config);
+                compact_config.max_merge_segment_count -= merge_jobs.len();
+                merge_jobs
+            })
+            .collect::<Vec<_>>();
+
         let result = sst_by_family
             .into_par_iter()
+            .zip(merge_jobs.into_par_iter())
             .with_min_len(1)
             .enumerate()
-            .map(|(family, ssts_with_ranges)| {
+            .map(|(family, (ssts_with_ranges, merge_jobs))| {
                 let family = family as u32;
                 let _span = span.clone().entered();
 
-                let merge_jobs = get_merge_segments(&ssts_with_ranges, compact_config);
-
                 if merge_jobs.is_empty() {
                     return Ok(PartialResultPerFamily {
                         new_meta_file: None,
Repository: ollama/ollama
Pull request: ctrl+c on empty line exits


Changed files:
filename: cmd/cmd.go
patch: @@ -276,6 +276,10 @@ func generateInteractive(cmd *cobra.Command, model string) error {
 		case errors.Is(err, io.EOF):
 			return nil
 		case errors.Is(err, readline.ErrInterrupt):
+			if line == "" {
+				return nil
+			}
+
 			continue
 		case err != nil:
 			return err
Repository: ollama/ollama
Pull request: Update images.go


Changed files:
filename: server/images.go
patch: @@ -156,7 +156,6 @@ func GetModel(name string) (*Model, error) {
 
 			model.System = string(bts)
 		case "application/vnd.ollama.image.prompt":
-			log.Printf("PROMPT is deprecated. Please use TEMPLATE and SYSTEM instead.")
 			bts, err := os.ReadFile(filename)
 			if err != nil {
 				return nil, err
Repository: ggml-org/llama.cpp
Pull request: removed metal for nix

Fixes: https://github.com/ggml-org/llama.cpp/issues/16096

Tested working on AMD 395 with gpt-oss 120b.

Can any mac users try this? I presume it'll be safe as the underlying file is gone, and there is be no reason why this would break anything if the previous commit hasn't.

Changed files:
filename: .devops/nix/package.nix
patch: @@ -128,10 +128,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
   };
 
   postPatch = ''
-    substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
-      --replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
-    substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
-      --replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
   '';
 
   # With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,
Repository: electron/electron
Pull request: perf: avoid redundant map lookup in `WebContents::DevToolsIndexPath()`

Backport of #46254

See that PR for details.


Notes: none.

Changed files:
filename: shell/browser/api/electron_api_web_contents.cc
patch: @@ -4213,8 +4213,11 @@ void WebContents::DevToolsIndexPath(
     OnDevToolsIndexingDone(request_id, file_system_path);
     return;
   }
-  if (devtools_indexing_jobs_.contains(request_id))
+
+  auto& indexing_job = devtools_indexing_jobs_[request_id];
+  if (indexing_job)
     return;
+
   std::vector<std::string> excluded_folders;
   std::optional<base::Value> parsed_excluded_folders =
       base::JSONReader::Read(excluded_folders_message);
@@ -4224,19 +4227,18 @@ void WebContents::DevToolsIndexPath(
         excluded_folders.push_back(folder_path.GetString());
     }
   }
-  devtools_indexing_jobs_[request_id] =
-      scoped_refptr<DevToolsFileSystemIndexer::FileSystemIndexingJob>(
-          devtools_file_system_indexer_->IndexPath(
-              file_system_path, excluded_folders,
-              base::BindRepeating(
-                  &WebContents::OnDevToolsIndexingWorkCalculated,
-                  weak_factory_.GetWeakPtr(), request_id, file_system_path),
-              base::BindRepeating(&WebContents::OnDevToolsIndexingWorked,
-                                  weak_factory_.GetWeakPtr(), request_id,
-                                  file_system_path),
-              base::BindRepeating(&WebContents::OnDevToolsIndexingDone,
-                                  weak_factory_.GetWeakPtr(), request_id,
-                                  file_system_path)));
+
+  indexing_job = devtools_file_system_indexer_->IndexPath(
+      file_system_path, excluded_folders,
+      base::BindRepeating(&WebContents::OnDevToolsIndexingWorkCalculated,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path),
+      base::BindRepeating(&WebContents::OnDevToolsIndexingWorked,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path),
+      base::BindRepeating(&WebContents::OnDevToolsIndexingDone,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path));
 }
 
 void WebContents::DevToolsStopIndexing(int request_id) {
Repository: denoland/deno
Pull request: feat(process): add detached option to `Deno.Command`

Closes #5501.

Now that we support detached processes on all platforms, we can support this!

TODO: add a test

Changed files:
filename: cli/tsc/dts/lib.deno.ns.d.ts
patch: @@ -3809,6 +3809,20 @@ declare namespace Deno {
      *
      * @default {false} */
     windowsRawArguments?: boolean;
+
+    /** Whether to detach the spawned process from the current process.
+     * This allows the spawned process to continue running after the current
+     * process exits.
+     *
+     * Note: In order to allow the current process to exit, you need to ensure
+     * you call `unref()` on the child process.
+     *
+     * In addition, the stdio streams – if inherited or piped – may keep the
+     * current process from exiting until the streams are closed.
+     *
+     * @default {false}
+     */
+    detached?: boolean;
   }
 
   /**

filename: ext/node/polyfills/internal/child_process.ts
patch: @@ -57,7 +57,6 @@ import { StreamBase } from "ext:deno_node/internal_binding/stream_wrap.ts";
 import { Pipe, socketType } from "ext:deno_node/internal_binding/pipe_wrap.ts";
 import { Socket } from "node:net";
 import {
-  kDetached,
   kExtraStdio,
   kInputOption,
   kIpc,
@@ -286,9 +285,9 @@ export class ChildProcess extends EventEmitter {
         stdout: toDenoStdio(stdout),
         stderr: toDenoStdio(stderr),
         windowsRawArguments: windowsVerbatimArguments,
+        detached,
         [kIpc]: ipc, // internal
         [kExtraStdio]: extraStdioNormalized,
-        [kDetached]: detached,
         // deno-lint-ignore no-explicit-any
         [kNeedsNpmProcessState]: (options ?? {} as any)[kNeedsNpmProcessState],
       }).spawn();

filename: ext/process/40_process.js
patch: @@ -162,7 +162,6 @@ function run({
 
 export const kExtraStdio = Symbol("extraStdio");
 export const kIpc = Symbol("ipc");
-export const kDetached = Symbol("detached");
 export const kNeedsNpmProcessState = Symbol("needsNpmProcessState");
 
 const illegalConstructorKey = Symbol("illegalConstructorKey");
@@ -179,7 +178,7 @@ function spawnChildInner(command, apiName, {
   stdout = "piped",
   stderr = "piped",
   windowsRawArguments = false,
-  [kDetached]: detached = false,
+  detached = false,
   [kExtraStdio]: extraStdio = [],
   [kIpc]: ipc = -1,
   [kNeedsNpmProcessState]: needsNpmProcessState = false,
Repository: electron/electron
Pull request: perf: avoid redundant map lookup in `WebContents::DevToolsIndexPath()`

#### Description of Change

Another remove-redundant-map-lookups PR. This one fixes a double-lookup in `WebContents::DevToolsIndexPath()`.

#### Checklist

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: none.

Changed files:
filename: shell/browser/api/electron_api_web_contents.cc
patch: @@ -4139,8 +4139,11 @@ void WebContents::DevToolsIndexPath(
     OnDevToolsIndexingDone(request_id, file_system_path);
     return;
   }
-  if (devtools_indexing_jobs_.contains(request_id))
+
+  auto& indexing_job = devtools_indexing_jobs_[request_id];
+  if (indexing_job)
     return;
+
   std::vector<std::string> excluded_folders;
   std::optional<base::Value> parsed_excluded_folders =
       base::JSONReader::Read(excluded_folders_message);
@@ -4150,19 +4153,18 @@ void WebContents::DevToolsIndexPath(
         excluded_folders.push_back(folder_path.GetString());
     }
   }
-  devtools_indexing_jobs_[request_id] =
-      scoped_refptr<DevToolsFileSystemIndexer::FileSystemIndexingJob>(
-          devtools_file_system_indexer_->IndexPath(
-              file_system_path, excluded_folders,
-              base::BindRepeating(
-                  &WebContents::OnDevToolsIndexingWorkCalculated,
-                  weak_factory_.GetWeakPtr(), request_id, file_system_path),
-              base::BindRepeating(&WebContents::OnDevToolsIndexingWorked,
-                                  weak_factory_.GetWeakPtr(), request_id,
-                                  file_system_path),
-              base::BindRepeating(&WebContents::OnDevToolsIndexingDone,
-                                  weak_factory_.GetWeakPtr(), request_id,
-                                  file_system_path)));
+
+  indexing_job = devtools_file_system_indexer_->IndexPath(
+      file_system_path, excluded_folders,
+      base::BindRepeating(&WebContents::OnDevToolsIndexingWorkCalculated,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path),
+      base::BindRepeating(&WebContents::OnDevToolsIndexingWorked,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path),
+      base::BindRepeating(&WebContents::OnDevToolsIndexingDone,
+                          weak_factory_.GetWeakPtr(), request_id,
+                          file_system_path));
 }
 
 void WebContents::DevToolsStopIndexing(int request_id) {