helloadhavan/github_issues huggingface dataset:
Repository: ggml-org/llama.cpp
Pull request: cuda: Add cublasLt_static linking when GGML_STATIC is enabled

Prior to this change, we faced undefined cublasLt references when attempting to compile 'llama-cli' with GGML_STATIC=ON on Linux. See: https://github.com/ggml-org/llama.cpp/issues/15620

We add linking with CUDA::cublasLt_static when CUDA version is greater than 10.1.

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*


Changed files:
filename: ggml/src/ggml-cuda/CMakeLists.txt
patch: @@ -94,7 +94,11 @@ if (CUDAToolkit_FOUND)
             # As of 12.3.1 CUDA Toolkit for Windows does not offer a static cublas library
             target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas)
         else ()
-            target_link_libraries(ggml-cuda PRIVATE  CUDA::cudart_static CUDA::cublas_static)
+            if (CUDAToolkit_VERSION VERSION_GREATER_EQUAL "10.1")
+                target_link_libraries(ggml-cuda PRIVATE  CUDA::cudart_static CUDA::cublas_static CUDA::cublasLt_static)
+            else()
+                target_link_libraries(ggml-cuda PRIVATE  CUDA::cudart_static CUDA::cublas_static)
+            endif()
         endif()
     else()
         target_link_libraries(ggml-cuda PRIVATE CUDA::cudart CUDA::cublas)
Repository: electron/electron
Pull request: build: bump actions/cache past deprecated version

Backport of #45192

See that PR for details.


Notes: none


Changed files:
filename: .github/actions/checkout/action.yml
patch: @@ -45,7 +45,7 @@ runs:
       curl --unix-socket /var/run/sas/sas.sock --fail "http://foo/$DEPSHASH.tar" > sas-token
   - name: Save SAS Key
     if: ${{ inputs.generate-sas-token == 'true' }}
-    uses: actions/cache/save@v4
+    uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
     with:
       path: |
         sas-token

filename: .github/actions/install-dependencies/action.yml
patch: @@ -7,7 +7,7 @@ runs:
     shell: bash
     id: yarn-cache-dir-path
     run: echo "dir=$(node src/electron/script/yarn cache dir)" >> $GITHUB_OUTPUT
-  - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
+  - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
     id: yarn-cache
     with:
       path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

filename: .github/actions/restore-cache-azcopy/action.yml
patch: @@ -5,14 +5,14 @@ runs:
   steps:
   - name: Obtain SAS Key
     continue-on-error: true
-    uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
+    uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
     with:
       path: |
         sas-token
       key: sas-key-${{ github.run_number }}-1
   - name: Obtain SAS Key
     continue-on-error: true
-    uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
+    uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
     with:
       path: |
         sas-token
Repository: ggml-org/llama.cpp
Pull request: cmake : fix undefined reference errors for std::filesystem in ggml (#12092)

#12092 

This modification has been tested in centos8, centos9 and ubuntu22.04.

Changed files:
filename: ggml/src/CMakeLists.txt
patch: @@ -236,7 +236,7 @@ add_library(ggml
 target_link_libraries(ggml PUBLIC ggml-base)
 
 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
-    target_link_libraries(ggml PRIVATE dl)
+    target_link_libraries(ggml PRIVATE dl stdc++fs)
 endif()
 
 function(ggml_add_backend_library backend)
Repository: facebook/react
Pull request: Support Flow `as` expressions in ESLint rules

Support Flow `as` expressions in ESLint rules, e.g. `<expr> as <type>`. This is the same syntax as TypeScript as expressions. I just looked for any place referencing `TSAsExpression` (the TS node) or `TypeCastExpression` (the previous Flow syntax) and added a case for `AsExpression` as well. 

Changed files:
filename: packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
patch: @@ -177,7 +177,7 @@ export default {
         if (init == null) {
           return false;
         }
-        while (init.type === 'TSAsExpression') {
+        while (init.type === 'TSAsExpression' || init.type === 'AsExpression') {
           init = init.expression;
         }
         // Detect primitive constants
@@ -1525,7 +1525,7 @@ function getConstructionExpressionType(node) {
       }
       return null;
     case 'TypeCastExpression':
-      return getConstructionExpressionType(node.expression);
+    case 'AsExpression':
     case 'TSAsExpression':
       return getConstructionExpressionType(node.expression);
   }

filename: scripts/eslint-rules/safe-string-coercion.js
patch: @@ -291,7 +291,11 @@ function checkBinaryExpression(context, node) {
     (isEmptyLiteral(node.left) || isEmptyLiteral(node.right))
   ) {
     let valueToTest = isEmptyLiteral(node.left) ? node.right : node.left;
-    if (valueToTest.type === 'TypeCastExpression' && valueToTest.expression) {
+    if (
+      (valueToTest.type === 'TypeCastExpression' ||
+        valueToTest.type === 'AsExpression') &&
+      valueToTest.expression
+    ) {
       valueToTest = valueToTest.expression;
     }
Repository: huggingface/transformers
Pull request: Fix broken SAM after #39120

Was going crazy with tests failing on Sam2 after merging with main, turns out there's a typo in SAM after https://github.com/huggingface/transformers/pull/39120 

Cc @ArthurZucker 

Changed files:
filename: src/transformers/models/sam/modeling_sam.py
patch: @@ -364,7 +364,7 @@ def forward(
         keys = keys + attn_out
 
         keys = self.layer_norm4(keys)
-        return query, keys, attn_out
+        return queries, keys, attn_out
 
 
 class SamTwoWayTransformer(nn.Module):

filename: src/transformers/models/sam_hq/modeling_sam_hq.py
patch: @@ -787,7 +787,7 @@ def forward(
         keys = keys + attn_out
 
         keys = self.layer_norm4(keys)
-        return query, keys, attn_out
+        return queries, keys, attn_out
 
 
 class SamHQTwoWayTransformer(nn.Module):
Repository: electron/electron
Pull request: test: disable unexpectedly quit dialog on macOS

Backport of #45553

See that PR for details.

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


Changed files:
filename: .github/workflows/pipeline-segment-electron-test.yml
patch: @@ -113,6 +113,9 @@ jobs:
             configure_sys_tccdb "$values"
           fi
         done
+    - name: Turn off the unexpectedly quit dialog on macOS
+      if: ${{ inputs.target-platform == 'macos' }}
+      run: defaults write com.apple.CrashReporter DialogType server
     - name: Checkout Electron
       uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
       with:
Repository: ggml-org/llama.cpp
Pull request: server: higher timeout for tests

When I tried running the server tests locally they would fail because the server would try downloading the test models but be unable to finish the download for TinyStories 15m in the 12 second timeout window. This PR increases the timeout to 30 seconds.

Changed files:
filename: tools/server/tests/utils.py
patch: @@ -26,10 +26,7 @@
 import wget
 
 
-DEFAULT_HTTP_TIMEOUT = 12
-
-if "LLAMA_SANITIZE" in os.environ or "GITHUB_ACTION" in os.environ:
-    DEFAULT_HTTP_TIMEOUT = 30
+DEFAULT_HTTP_TIMEOUT = 30
 
 
 class ServerResponse:
Repository: vercel/next.js
Pull request: Add regression test for conflicting search and route params

Follow-up to https://github.com/vercel/next.js/pull/81209

Changed files:
filename: test/e2e/app-dir/conflicting-search-and-route-params/app/api/[id]/route.ts
patch: @@ -0,0 +1,14 @@
+import { NextRequest } from 'next/server'
+
+export async function GET(
+  request: NextRequest,
+  { params }: { params: Promise<{ id: string }> }
+) {
+  const { id: routeId } = await params
+  const searchId = request.nextUrl.searchParams.get('id')
+
+  return Response.json({
+    routeParam: routeId,
+    searchParam: searchId,
+  })
+}

filename: test/e2e/app-dir/conflicting-search-and-route-params/app/layout.tsx
patch: @@ -0,0 +1,9 @@
+import { ReactNode } from 'react'
+
+export default function Root({ children }: { children: ReactNode }) {
+  return (
+    <html>
+      <body>{children}</body>
+    </html>
+  )
+}

filename: test/e2e/app-dir/conflicting-search-and-route-params/app/render/[id]/page.tsx
patch: @@ -0,0 +1,34 @@
+import { Suspense } from 'react'
+
+async function SearchAndRouteParams({
+  searchParams,
+  params,
+}: {
+  searchParams: Promise<{ id?: string }>
+  params: Promise<{ id: string }>
+}) {
+  const { id: searchId } = await searchParams
+  const { id: routeId } = await params
+
+  return (
+    <div>
+      <h1>Search and Route Parameters</h1>
+      <p id="route-param">Route param id: {routeId}</p>
+      <p id="search-param">Search param id: {searchId || 'not provided'}</p>
+    </div>
+  )
+}
+
+export default function Page({
+  searchParams,
+  params,
+}: {
+  searchParams: Promise<{ id?: string }>
+  params: Promise<{ id: string }>
+}) {
+  return (
+    <Suspense fallback={<div>Loading...</div>}>
+      <SearchAndRouteParams searchParams={searchParams} params={params} />
+    </Suspense>
+  )
+}

filename: test/e2e/app-dir/conflicting-search-and-route-params/conflicting-search-and-route-params.test.ts
patch: @@ -0,0 +1,28 @@
+import { nextTestSetup } from 'e2e-utils'
+
+describe('conflicting-search-and-route-params', () => {
+  const { next } = nextTestSetup({
+    files: __dirname,
+  })
+
+  it('should handle conflicting search and route params on page', async () => {
+    const browser = await next.browser('/render/123?id=456')
+
+    const routeParamText = await browser.elementByCss('#route-param').text()
+    expect(routeParamText).toContain('Route param id: 123')
+
+    const searchParamText = await browser.elementByCss('#search-param').text()
+    expect(searchParamText).toContain('Search param id: 456')
+  })
+
+  it('should handle conflicting search and route params on API route', async () => {
+    // Test with route param "789" and search param "abc"
+    const response = await next.fetch('/api/789?id=abc')
+    const data = await response.json()
+
+    expect(data).toEqual({
+      routeParam: '789',
+      searchParam: 'abc',
+    })
+  })
+})

filename: test/e2e/app-dir/conflicting-search-and-route-params/next.config.js
patch: @@ -0,0 +1,6 @@
+/**
+ * @type {import('next').NextConfig}
+ */
+const nextConfig = {}
+
+module.exports = nextConfig
Repository: electron/electron
Pull request: test: disable unexpectedly quit dialog on macOS

#### Description of Change
In researching #45435, I noticed that sometimes on macOS [the keyboard lock test fails ](https://github.com/electron/electron/actions/runs/13229401223/job/36925369357)so I added a screenshot before that test and saw the following unexpectedly quit dialog:
![dialog](https://github.com/user-attachments/assets/d10816e6-ab01-41ec-a633-c84809cc2572)

I'm not 100% sure that this is why the keyboard lock test fails, but either way we should disable this dialog on macOS so that it doesn't interfere with testing on macOS.
<!--
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
-->

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [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: <!-- 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 -->none


Changed files:
filename: .github/workflows/pipeline-segment-electron-test.yml
patch: @@ -113,6 +113,9 @@ jobs:
             configure_sys_tccdb "$values"
           fi
         done
+    - name: Turn off the unexpectedly quit dialog on macOS
+      if: ${{ inputs.target-platform == 'macos' }}
+      run: defaults write com.apple.CrashReporter DialogType server
     - name: Checkout Electron
       uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
       with:
Repository: nodejs/node
Pull request: doc: fix formatting of `import.meta.filename` section

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->


Changed files:
filename: doc/api/esm.md
patch: @@ -356,8 +356,9 @@ changes:
     description: This property is no longer experimental.
 -->
 
-* {string} The directory name of the current module. This is the same as the
-  [`path.dirname()`][] of the [`import.meta.filename`][].
+* {string} The directory name of the current module.
+
+This is the same as the [`path.dirname()`][] of the [`import.meta.filename`][].
 
 > **Caveat**: only present on `file:` modules.
 
@@ -375,8 +376,8 @@ changes:
 
 * {string} The full absolute path and filename of the current module, with
   symlinks resolved.
-* This is the same as the [`url.fileURLToPath()`][] of the
-  [`import.meta.url`][].
+
+This is the same as the [`url.fileURLToPath()`][] of the [`import.meta.url`][].
 
 > **Caveat** only local modules support this property. Modules not using the
 > `file:` protocol will not provide it.
Repository: ggml-org/llama.cpp
Pull request: common : add -m to bash completion for --model [no ci]

This commit updates the bash completion script to include the -m short option for the --model argument.

The motivation for this is that currently tab completion only works the full --model option, and it is nice to have it work for the short option as well.


Changed files:
filename: common/arg.cpp
patch: @@ -1106,7 +1106,7 @@ static void common_params_print_completion(common_params_context & ctx_arg) {
     printf("\"\n\n");
 
     printf("    case \"$prev\" in\n");
-    printf("        --model)\n");
+    printf("        --model|-m)\n");
     printf("            COMPREPLY=( $(compgen -f -X '!*.gguf' -- \"$cur\") $(compgen -d -- \"$cur\") )\n");
     printf("            return 0\n");
     printf("            ;;\n");
Repository: denoland/deno
Pull request: fix(ext/node): represent sqlite blob as Uint8Array


Changed files:
filename: ext/node/ops/sqlite/statement.rs
patch: @@ -155,10 +155,10 @@ impl StatementSync {
           let size = ffi::sqlite3_column_bytes(self.inner, index);
           let value =
             std::slice::from_raw_parts(value as *const u8, size as usize);
-          let value =
-            v8::ArrayBuffer::new_backing_store_from_vec(value.to_vec())
-              .make_shared();
-          v8::ArrayBuffer::with_backing_store(scope, &value).into()
+          let bs = v8::ArrayBuffer::new_backing_store_from_vec(value.to_vec())
+            .make_shared();
+          let ab = v8::ArrayBuffer::with_backing_store(scope, &bs);
+          v8::Uint8Array::new(scope, ab, 0, size as _).unwrap().into()
         }
         ffi::SQLITE_NULL => v8::null(scope).into(),
         _ => v8::undefined(scope).into(),

filename: tests/unit_node/sqlite_test.ts
patch: @@ -1,6 +1,6 @@
 // Copyright 2018-2025 the Deno authors. MIT license.
 import { DatabaseSync } from "node:sqlite";
-import { assertEquals, assertThrows } from "@std/assert";
+import { assert, assertEquals, assertThrows } from "@std/assert";
 
 Deno.test("[node/sqlite] in-memory databases", () => {
   const db1 = new DatabaseSync(":memory:");
@@ -63,3 +63,12 @@ Deno.test("[node/sqlite] StatementSync read bigints are supported", () => {
   stmt.setReadBigInts(true);
   assertEquals(stmt.get(), { key: 1n, __proto__: null });
 });
+
+Deno.test("[node/sqlite] StatementSync blob are Uint8Array", () => {
+  const db = new DatabaseSync(":memory:");
+  const obj = db.prepare("select cast('test' as blob)").all();
+
+  assertEquals(obj.length, 1);
+  const row = obj[0] as Record<string, Uint8Array>;
+  assert(row["cast('test' as blob)"] instanceof Uint8Array);
+});
Repository: denoland/deno
Pull request: fix: use proper version for v2.3.0-rc.0

Unfortunately https://github.com/denoland/deno/commit/c1e037b8161a3901fe062045b030f8562cadfe6f built as v2.1.11 because I missed that this file needs to be updated as well. 

Changed files:
filename: cli/lib/version.txt
patch: @@ -1 +1 @@
-2.2.11
\ No newline at end of file
+2.3.0-rc.0
\ No newline at end of file
Repository: huggingface/transformers
Pull request: Fix typo: langauge -> language

Hello!

## Pull Request overview
* Fix typo: langauge -> language

## Details
I noticed this typo on the [T5Gemma docs](https://huggingface.co/docs/transformers/model_doc/t5gemma), should speak for itself 🤗 

Documentation: @stevhliu

P.s. these don't seem to be working correctly: `<hfoptions id="usage"> <hfoption id="Pipeline">`
![image](https://github.com/user-attachments/assets/705bdeac-4204-43a1-822d-00f5bc436347)


- Tom Aarsen

Changed files:
filename: docs/source/en/model_doc/t5gemma.md
patch: @@ -24,7 +24,7 @@ rendered properly in your Markdown viewer.
 
 # T5Gemma
 
-T5Gemma (aka encoder-decoder Gemma) was proposed in a [research paper](https://arxiv.org/abs/2504.06225) by Google. It is a family of encoder-decoder large langauge models, developed by adapting pretrained decoder-only models into encoder-decoder. T5Gemma includes pretrained and instruction-tuned variants. The architecture is based on transformer encoder-decoder design following T5, with improvements from Gemma 2: GQA, RoPE, GeGLU activation, RMSNorm, and interleaved local/global attention.
+T5Gemma (aka encoder-decoder Gemma) was proposed in a [research paper](https://arxiv.org/abs/2504.06225) by Google. It is a family of encoder-decoder large language models, developed by adapting pretrained decoder-only models into encoder-decoder. T5Gemma includes pretrained and instruction-tuned variants. The architecture is based on transformer encoder-decoder design following T5, with improvements from Gemma 2: GQA, RoPE, GeGLU activation, RMSNorm, and interleaved local/global attention.
 
 T5Gemma has two groups of model sizes: 1) [Gemma 2](https://ai.google.dev/gemma/docs/core/model_card_2) sizes (2B-2B, 9B-2B, and 9B-9B), which are based on the offical Gemma 2 models (2B and 9B); and 2) [T5](https://arxiv.org/abs/1910.10683) sizes (Small, Base, Large, and XL), where are pretrained under the Gemma 2 framework following T5 configuration. In addition, we also provide a model at ML size (medium large, ~2B in total), which is in-between T5 Large and T5 XL.
Repository: ggml-org/llama.cpp
Pull request: HIP: Enable support for ggml_backend_cuda_register_host_buffer


Changed files:
filename: ggml/src/ggml-cuda/ggml-cuda.cu
patch: @@ -3106,7 +3106,7 @@ bool ggml_backend_cuda_register_host_buffer(void * buffer, size_t size) {
         return false;
     }
 
-#if CUDART_VERSION >= 11010 || defined(GGML_USE_MUSA)
+#if CUDART_VERSION >= 11010 || defined(GGML_USE_MUSA) || defined(GGML_USE_HIP)
     cudaError_t err = cudaHostRegister(buffer, size, cudaHostRegisterPortable | cudaHostRegisterReadOnly);
     if (err != cudaSuccess) {
         // clear the error
Repository: denoland/deno
Pull request: v2.3.0-rc.0


Changed files:
filename: Cargo.lock
patch: @@ -1450,7 +1450,7 @@ dependencies = [
 
 [[package]]
 name = "deno"
-version = "2.2.11"
+version = "2.3.0-rc.0"
 dependencies = [
  "anstream",
  "async-trait",

filename: cli/Cargo.toml
patch: @@ -2,7 +2,7 @@
 
 [package]
 name = "deno"
-version = "2.2.11"
+version = "2.3.0-rc.0"
 authors.workspace = true
 default-run = "deno"
 edition.workspace = true
Repository: electron/electron
Pull request: build: make gen-libc++-filenames.js produce the same results on Windows

Backport of #45556

See that PR for details.


Notes: no-notes


Changed files:
filename: script/gen-libc++-filenames.js
patch: @@ -7,6 +7,7 @@ const check = process.argv.includes('--check');
 
 function findAllHeaders (basePath) {
   const allFiles = fs.readdirSync(basePath);
+  allFiles.sort();
   const toReturn = [];
   for (const file of allFiles) {
     const absPath = path.resolve(basePath, file);
@@ -48,7 +49,7 @@ for (const folder of ['libc++', 'libc++abi']) {
   const libcxxIncludeDir = path.resolve(__dirname, '..', '..', 'third_party', folder, 'src', 'include');
   const gclientPath = `third_party/${folder}/src/include`;
 
-  const headers = findAllHeaders(libcxxIncludeDir).map(absPath => path.relative(path.resolve(__dirname, '../..', gclientPath), absPath));
+  const headers = findAllHeaders(libcxxIncludeDir).map(absPath => path.relative(path.resolve(__dirname, '../..', gclientPath), absPath).replaceAll('\\', '/'));
 
   const newHeaders = headers.map(f => `//${path.posix.join(gclientPath, f)}`);
   const content = `${prettyName}_headers = [