repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
23a56e0c28cd828ef0cabb05b30e03cc8cb57dd5
6f6f7f749bd6847278836832542116f371ab3aa6
timers: use only a single TimerWrap instance Hang all timer lists off a single TimerWrap and use the PriorityQueue to manage expiration priorities. This makes the Timers code clearer, consumes significantly less resources and improves performance. PR-URL: https://github.com/nodejs/node/pull/20555 Fixes: https://githu...
[ { "path": "benchmark/timers/timers-cancel-unpooled.js", "patch": "@@ -4,18 +4,26 @@ const assert = require('assert');\n \n const bench = common.createBenchmark(main, {\n n: [1e6],\n+ direction: ['start', 'end']\n });\n \n-function main({ n }) {\n+function main({ n, direction }) {\n \n const timersList ...
2018-05-05T17:50:21
vercel/next.js
eaeb1311e533f0c6b7c2526f829c55ebece6602c
503fc854886eea6ae5c99b8efcf256c83687acf3
Add `prisma` to the external package list (#42323) It uses __dirname in eval and similar things, and can't be bundled correctly. Hence we are adding it to the list of external packages. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link atta...
[ { "path": "packages/next/lib/server-external-packages.ts", "patch": "@@ -1,22 +1,23 @@\n // A list of popular packages that cannot be bundled on the server.\n export const EXTERNAL_PACKAGES = [\n- 'eslint',\n- 'typescript',\n- 'prettier',\n- 'postcss',\n- 'jest',\n- 'autoprefixer',\n- 'tailwindcss',\...
2022-11-02T20:04:40
huggingface/transformers
6a876462c308bd7cd7d3ca8e93abaa7d5b02e90e
8aed0197642c07508c8c85dbe1743a90dad5bb22
Lazy import libraries in `src/transformers/image_utils.py` (#36435) * Lazy import libraries in `src/transformers/image_utils.py` * `make fixup` Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * Protect imports Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --------...
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -74,17 +74,6 @@\n PILImageResampling.LANCZOS: InterpolationMode.LANCZOS,\n }\n \n-if is_decord_available():\n- from decord import VideoReader, cpu\n-\n-if is_av_available():\n- import av\n-\n-if is_cv2_available():\n- imp...
2025-02-27T12:53:42
rust-lang/rust
14ab2453f235ce66074d54e4040ce06febfe54f4
b955cc691e07cbfca8000389cdbeaf587a0be19a
fmod: Add regression tests for subnormal issue From discussion at [1] our loop count calculation is incorrect, causing an issue with subnormal numbers. Add test cases for known failures. [1]: https://github.com/rust-lang/libm/pull/469#discussion_r2012473920
[ { "path": "library/compiler-builtins/libm/crates/libm-test/src/gen/case_list.rs", "patch": "@@ -403,11 +403,33 @@ fn fminimum_numf128_cases() -> Vec<TestCase<op::fminimum_numf128::Routine>> {\n }\n \n fn fmod_cases() -> Vec<TestCase<op::fmod::Routine>> {\n- vec![]\n+ let mut v = vec![];\n+ TestCase...
2025-04-15T04:20:17
golang/go
ca8540affd43580772589263951fd01e04f6ad07
d474b6c824249dcdd6cddfb6bf43366e092df022
cmd/compile: fix buglet in walk convert phase relating to convT64 The function runtime.convT64 accepts a single uint64 argument, but the compiler's rules in the walk phase for determining whether is it ok to pass a value of type T to a call to runtime.convT64 were slightly off. In particular the test was allowing a ty...
[ { "path": "src/cmd/compile/internal/walk/convert.go", "patch": "@@ -14,6 +14,7 @@ import (\n \t\"cmd/compile/internal/ssagen\"\n \t\"cmd/compile/internal/typecheck\"\n \t\"cmd/compile/internal/types\"\n+\t\"cmd/internal/objabi\"\n \t\"cmd/internal/sys\"\n )\n \n@@ -316,6 +317,14 @@ func convFuncName(from, t...
2021-04-07T16:56:43
electron/electron
cc4aeb995bd2f5477367e4cddeee2dfc71af5637
101a7bfa21a65bb6c39522bc739cca26fd7a85f8
Fix cpplint errors in browser_context.cc
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -2,11 +2,12 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE-CHROMIUM file.\n \n-#include \"browser_context.h\"\n+#include \"browser/browser_context.h\"\n \n #include \"browser/download_man...
2013-11-17T22:42:56
nodejs/node
6f6f7f749bd6847278836832542116f371ab3aa6
a5aad244b1fa3a00010eb60e934ce2cd56492f39
lib: add internal PriorityQueue class An efficient JS implementation of a binary heap on top of an array with worst-case O(log n) runtime for all operations, including arbitrary item removal (unlike O(n) for most binary heap array implementations). PR-URL: https://github.com/nodejs/node/pull/20555 Fixes: https://gith...
[ { "path": "benchmark/util/priority-queue.js", "patch": "@@ -0,0 +1,18 @@\n+'use strict';\n+\n+const common = require('../common');\n+\n+const bench = common.createBenchmark(main, {\n+ n: [1e6]\n+}, { flags: ['--expose-internals'] });\n+\n+function main({ n, type }) {\n+ const PriorityQueue = require('inte...
2018-05-05T08:09:44
vercel/next.js
503fc854886eea6ae5c99b8efcf256c83687acf3
a482f06849a393a152b35e24809d72a1b7664aca
Fix typo in app / hello.js template (#42335) Removes the extra `}` in the url <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you'r...
[ { "path": "packages/create-next-app/templates/app/js/pages/api/hello.js", "patch": "@@ -1,4 +1,4 @@\n-// Next.js API route support: https://nextjs.org/docs/api-routes/introduction}\n+// Next.js API route support: https://nextjs.org/docs/api-routes/introduction\n \n export default function handler(req, res) ...
2022-11-02T19:02:43
rust-lang/rust
e1936d22ed6c686bc9f2c92634fba9246bd86b9d
3863018d960ad8bf6dd631f31f9d487e4a9880f1
Remove FIXME that is no longer relevant
[ { "path": "compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs", "patch": "@@ -827,12 +827,6 @@ pub(in crate::solve) fn const_conditions_for_destruct<I: Interner>(\n /// additional step of eagerly folding the associated types in the where\n /// clauses of the impl. In this example, that...
2025-04-14T20:57:46
huggingface/transformers
8aed0197642c07508c8c85dbe1743a90dad5bb22
17792556b21b4da0dbb9e4b59b39fb34aae4047c
[generate] `torch.distributed`-compatible `DynamicCache` (#36373) * test * docstring * prepare distributed cache data * fix cat dim * test mvp * add test checks * like this? * working test and solution * nit * nit * add shape info
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -3,7 +3,7 @@\n import json\n import os\n from dataclasses import dataclass\n-from typing import Any, Dict, List, Optional, Tuple, Union\n+from typing import Any, Dict, Iterable, List, Optional, Tuple, Union\n \n import torch\n from packaging import v...
2025-02-27T11:48:57
golang/go
d474b6c824249dcdd6cddfb6bf43366e092df022
23e1d36a87f55b7e37d969ba3de3a8e1b8147f49
test/abi: clean up test to fix builders go.mod file was not tidy, made builders sad. Updates #40724. Change-Id: I28371a1093108f9ec473eb20bb4d185e35dee67d Reviewed-on: https://go-review.googlesource.com/c/go/+/308590 Trust: David Chase <drchase@google.com> Run-TryBot: David Chase <drchase@google.com> Reviewed-by: Tha...
[ { "path": "test/abi/bad_select_crash.dir/genCaller42/genCaller42.go", "patch": "@@ -1,71 +0,0 @@\n-package genCaller42\n-\n-import \"bad_select_crash.dir/genChecker42\"\n-import \"bad_select_crash.dir/genUtils\"\n-import \"reflect\"\n-\n-\n-func Caller2() {\n- genUtils.BeginFcn()\n- c0 := genChecker42.Str...
2021-04-08T17:09:21
electron/electron
101a7bfa21a65bb6c39522bc739cca26fd7a85f8
43f3d0acdc0713de93766608a92b1fd80ed39e21
Fix cpplint errors in browser_client.cc
[ { "path": "brightray/browser/browser_client.cc", "patch": "@@ -42,18 +42,23 @@ NotificationPresenter* BrowserClient::notification_presenter() {\n return notification_presenter_.get();\n }\n \n-BrowserMainParts* BrowserClient::OverrideCreateBrowserMainParts(const content::MainFunctionParams&) {\n+BrowserMa...
2013-11-17T22:39:01
nodejs/node
a5aad244b1fa3a00010eb60e934ce2cd56492f39
16377146b6ef24130c3a8ae1657328eaafb963ff
test: test about:blank against invalid WHATWG URL > If `failure` is true, parsing `about:blank` against `base` > must give failure. This tests that the logic for converting > base URLs into strings properly fails the whole parsing > algorithm if the base URL cannot be parsed. Fixes: https://github.com/nodejs/node/iss...
[ { "path": "test/fixtures/url-tests.js", "patch": "@@ -2,7 +2,7 @@\n \n /* The following tests are copied from WPT. Modifications to them should be\n upstreamed first. Refs:\n- https://github.com/w3c/web-platform-tests/blob/ed4bb727ed/url/urltestdata.json\n+ https://github.com/w3c/web-platform-tests/b...
2018-05-17T03:35:28
vercel/next.js
a482f06849a393a152b35e24809d72a1b7664aca
cd982d508ba71deee3e5333836e42ccba09f36be
Fix negative lookahead example in middleware.md (#42320) If you don't prefix `static` with `_next`, none of the JS will be able to load. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections ...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -95,10 +95,10 @@ export const config = {\n /*\n * Match all request paths except for the ones starting with:\n * - api (API routes)\n- * - static (static files)\n+ * - _next/static (static files)\n * - favicon.ico (fav...
2022-11-02T18:58:13
rust-lang/rust
3863018d960ad8bf6dd631f31f9d487e4a9880f1
c6aad02ddbc1c6bd01d52a08fa78c737f26abfad
Fix replacing supertrait aliases in ReplaceProjectionWith
[ { "path": "compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs", "patch": "@@ -92,16 +92,20 @@ where\n let ty::Dynamic(bounds, _, _) = goal.predicate.self_ty().kind() else {\n panic!(\"expected object type in `probe_and_consider_object_bound_candidate`\");\n };...
2025-04-16T19:47:56
huggingface/transformers
2d6cc0dfde3316d07a933191127eef50dc03c9e9
549db241e50713609a1de90ea99f3bea4a98d8ec
Add `contents: write` (#36445) fix permission Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/change_pr_to_draft.yml", "patch": "@@ -10,6 +10,7 @@ jobs:\n name: Convert PR to draft\n permissions:\n pull-requests: write\n+ contents: write\n if: github.event.pull_request.draft == false\n steps:\n - name: Convert PR to draft", "additions...
2025-02-27T09:55:37
golang/go
23e1d36a87f55b7e37d969ba3de3a8e1b8147f49
0e09e4143e3d55ac8cbcbf53f1da98b817fc5a58
cmd/go: in 'go list -m', ignore "not found" errors loading updates "Not found" and "no matching version" errors usually indicate the user is offline or the proxy doesn't have a version of go.mod that could provide retractions. 'go list -m -u' should still succeed. We should still report unclassified errors though. Pr...
[ { "path": "src/cmd/go/internal/modload/build.go", "patch": "@@ -11,6 +11,7 @@ import (\n \t\"errors\"\n \t\"fmt\"\n \t\"internal/goroot\"\n+\t\"io/fs\"\n \t\"os\"\n \t\"path/filepath\"\n \t\"strings\"\n@@ -108,7 +109,26 @@ func addUpdate(ctx context.Context, m *modinfo.ModulePublic) {\n \t\treturn\n \t}\n \...
2021-04-01T15:01:19
electron/electron
67dd59638674ef2100fb3e88490a9f7e668c483c
bd0836581bbfbba584ed2c869a956663d62de234
Enable starting crash-reporter without parameters.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -1,7 +1,7 @@\n binding = process.atomBinding 'crash_reporter'\n \n class CrashReporter\n- start: (options) ->\n+ start: (options={}) ->\n {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler} = options\n \n produc...
2013-11-15T03:00:48
nodejs/node
16377146b6ef24130c3a8ae1657328eaafb963ff
e3166554684ccba7f4a16fc827f8cd048e2d2c84
test: fix tests that fail under coverage Make test runner capable of skipping tests, which makes it possible to skip the failing test/message/core_line_numbers.js test. Make nyc no longer generate compact instrumentation (this causes significantly different code output, which leads to failing test assertions). PR-UR...
[ { "path": ".nycrc", "patch": "@@ -2,5 +2,6 @@\n \"exclude\": [\n \"**/internal/process/write-coverage.js\"\n ],\n+ \"compact\": false,\n \"reporter\": [\"html\", \"text\"]\n }", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "Makefile", "patch": "@@ -23...
2018-05-17T01:03:53
vercel/next.js
aef04a9850f282b98f8e1fdfa948f10a2f6351c2
8715fe03607c3275ee347b049120e46610e63a55
Ensure edge runtime doesn't propagate `cache` on fetch as Cloudflare doesn't support it. (#42362) Ensures `cache` property is removed. We'll want to move this handling into the `edge-runtime` package though. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -39,6 +39,8 @@ import { HeadManagerContext } from '../shared/lib/head-manager-context'\n import { Writable } from 'stream'\n import stringHash from 'next/dist/compiled/string-hash'\n \n+const isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge'\n+...
2022-11-02T18:51:40
rust-lang/rust
01cfa9aad5d8de34f968f41ef196e0cb0292a942
ee53c26b41a74eb0ecf785e8cfac98e5aa980756
Add hard error for `extern` without explicit ABI
[ { "path": "compiler/rustc_ast_passes/messages.ftl", "patch": "@@ -79,6 +79,10 @@ ast_passes_extern_types_cannot = `type`s inside `extern` blocks cannot have {$de\n .suggestion = remove the {$remove_descr}\n .label = `extern` block begins here\n \n+ast_passes_extern_without_abi = `extern` declaration...
2025-04-08T02:30:21
huggingface/transformers
549db241e50713609a1de90ea99f3bea4a98d8ec
a8e4fe45fd9dfe517365a59814d220c48352f639
Fix another permission (#36444) * fix permission * fix permission --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/change_pr_to_draft.yml", "patch": "@@ -8,6 +8,8 @@ jobs:\n convert_pr_to_draft:\n runs-on: ubuntu-22.04\n name: Convert PR to draft\n+ permissions:\n+ pull-requests: write\n if: github.event.pull_request.draft == false\n steps:\n - name: Convert P...
2025-02-27T09:29:06
golang/go
0e09e4143e3d55ac8cbcbf53f1da98b817fc5a58
31d2556273795ae10709d3bc157ec5d3f0e070a2
cmd/go: assume Go 1.16 semantics uniformly for unversioned modules However, still only trigger -mod=vendor automatically (and only apply the more stringent Go 1.14 vendor consistency checks) if the 'go' version is explicit. This provides maximal compatibility with Go 1.16 and earlier: Go 1.11 modules will continue not...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -431,30 +431,22 @@ func LoadModFile(ctx context.Context) *Requirements {\n \t\t// automatically since Go 1.12, so this module either dates to Go 1.11 or\n \t\t// has been erroneously hand-edited.\n \t\t//\n+\t\t// The semantics of the go.mod file...
2021-04-07T20:17:08
nodejs/node
e3166554684ccba7f4a16fc827f8cd048e2d2c84
a3d174c525980cd5ad7a040fcacbe9de9f024905
lib,src,test: fix comments PR-URL: https://github.com/nodejs/node/pull/20846 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -834,7 +834,7 @@ Readable.prototype.removeListener = function(ev, fn) {\n \n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n- // to readable and reset the state. However this needs to happen\n+ // readable ...
2018-05-20T10:13:03
electron/electron
bd0836581bbfbba584ed2c869a956663d62de234
cdb5e24d2fe8563f1a289dc8ff93ea100b8a9401
Check the upload parameters in crash-reporter spec.
[ { "path": "package.json", "patch": "@@ -8,6 +8,7 @@\n \"mocha\": \"~1.13.0\",\n \"walkdir\": \"~0.0.7\",\n \n+ \"formidable\": \"~1.0.14\",\n \"unzip\": \"~0.1.9\",\n \"d3\": \"~3.3.8\",\n \"int64-native\": \"~0.2.0\"", "additions": 1, "deletions": 0, "language": "JSON" ...
2013-11-15T02:37:22
vercel/next.js
2a9e2f18e353b9c591af335f9c2d936921f7f969
6bb8407bbfa7cb3d90e38c4950aab7043e300546
Update dev process exit handling (#42367) Follow-up to https://github.com/vercel/next.js/pull/42255 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature reque...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -341,6 +341,8 @@ export default async function build(\n hasNowJson: !!(await findUp('now.json', { cwd: dir })),\n isCustomServer: null,\n turboFlag: false,\n+ pagesDir: !!pagesDir,\n+ appDir: !!appDir,\n ...
2022-11-02T18:09:56
rust-lang/rust
b4b9cfbbd3d06b3b025205837a6e602dcf1e311b
c6aad02ddbc1c6bd01d52a08fa78c737f26abfad
Upgrade to `rustc-rayon-core` 0.5.1 * [Fix a race with deadlock detection](https://github.com/rust-lang/rustc-rayon/pull/15) * [Cherry-pick changes from upstream rayon-core](https://github.com/rust-lang/rustc-rayon/pull/16) - This also removes a few dependencies from rustc's tidy list.
[ { "path": "Cargo.lock", "patch": "@@ -3199,14 +3199,12 @@ dependencies = [\n \n [[package]]\n name = \"rustc-rayon-core\"\n-version = \"0.5.0\"\n+version = \"0.5.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20f...
2025-04-16T19:40:59
huggingface/transformers
a8e4fe45fd9dfe517365a59814d220c48352f639
d0727d92cd093de74cb7117107855a5a7a05c109
Fix permission (#36443) fix permission Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/change_pr_to_draft.yml", "patch": "@@ -14,7 +14,7 @@ jobs:\n shell: bash\n env:\n PR_NUMBER: ${{ github.event.number }}\n- GH_TOKEN: ${{ github.token }}\n+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n REPO: ${{ github.repository }...
2025-02-27T09:08:31
golang/go
1be8be4accf8bc9a625ec96e7655d814c3d5bed1
912c4e29d3cdabe11db70ed168ddaa4bcc515772
cmd/go: fix TestNewReleaseRebuildsStalePackagesInGOPATH CL 307818 added a package that the runtime depends on, but didn't update the list of runtime dependencies in this test. This should fix the longtest builder failures. Change-Id: I5f3be31b069652e05ac3db9b1ce84dd5dfe0f66f Reviewed-on: https://go-review.googlesour...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -814,6 +814,7 @@ func TestNewReleaseRebuildsStalePackagesInGOPATH(t *testing.T) {\n \t\t\"src/internal/abi\",\n \t\t\"src/internal/bytealg\",\n \t\t\"src/internal/cpu\",\n+\t\t\"src/internal/goexperiment\",\n \t\t\"src/math/bits\",\n \t\t\"src/unsafe\",\n \t\t...
2021-04-08T14:14:25
rust-lang/rust
f3ae022ed667bff30e0a64cdf7ca843bf1756f69
d0ea07e9084ace9879384e55e90d5d2625458120
replaced check_shim with check_shim_abi for env, file, sockets and time related shims Making type consistent in shims pread return type fix make clock_gettime shim type consistent
[ { "path": "src/tools/miri/src/helpers.rs", "patch": "@@ -1017,7 +1017,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n }\n \n /// Check that the given `caller_fn_abi` matches the expected ABI described by\n- /// `callee_abi`, `callee_input_tys`, `callee_output_ty`, and the re...
2025-04-10T08:02:04
nodejs/node
464852b1c6f1b248e2d35b49cb3540e51f8d0e6f
4a940aadfabc35be404da64e9ab7014a8cc71728
http: fix capitalization of 418 status message Update the message to be consistent with RFC 7168. Add a note to "Multiple Choices" regarding RFC 7231 superseding RFC 7168. PR-URL: https://github.com/nodejs/node/pull/20700 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Ruben Bridgewater <ruben@brid...
[ { "path": "lib/_http_server.js", "patch": "@@ -67,7 +67,7 @@ const STATUS_CODES = {\n 207: 'Multi-Status', // RFC 4918\n 208: 'Already Reported',\n 226: 'IM Used',\n- 300: 'Multiple Choices',\n+ 300: 'Multiple Choices', // RFC 7231\n 301: 'Moved Permanently',\n 302: 'Foun...
2018-04-25T12:49:04
electron/electron
cdb5e24d2fe8563f1a289dc8ff93ea100b8a9401
6b02be6da873192f7e51dc458fc99f90135e8006
Add spec for crash-reporter
[ { "path": "spec/api/crash-reporter.coffee", "patch": "@@ -0,0 +1,17 @@\n+assert = require 'assert'\n+path = require 'path'\n+http = require 'http'\n+remote = require 'remote'\n+BrowserWindow = remote.require 'browser-window'\n+\n+fixtures = path.resolve __dirname, '..', 'fixtures'\n+\n+describe 'crash-repor...
2013-11-14T16:10:43
huggingface/transformers
a7fbab33aeb865010f752e3840304f4b2cddb31b
1603018e7aa517623192cc9ff164bbec513b66e4
Fix Expected output for compressed-tensors tests (#36425) fix
[ { "path": "tests/quantization/compressed_tensors/test_compressed_tensors.py", "patch": "@@ -47,7 +47,7 @@ def test_config_to_from_dict(self):\n self.assertIsInstance(config_from_dict.sparsity_config, SparsityCompressionConfig)\n \n def test_tinyllama_w8a8(self):\n- expected_out = \"<s> Pa...
2025-02-26T20:17:24
vercel/next.js
6bb8407bbfa7cb3d90e38c4950aab7043e300546
85d537180ae36265d1c70f51656c52d23d038b8f
Fix typo in usage of onError in script.md (#42368) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted...
[ { "path": "docs/api-reference/next/script.md", "patch": "@@ -246,7 +246,7 @@ export default function Page() {\n <>\n <Script\n src=\"https://example.com/script.js\"\n- onLoad={(e) => {\n+ onError={(e) => {\n console.error('Script failed to load', e)\n }}\n ...
2022-11-02T18:09:16
golang/go
912c4e29d3cdabe11db70ed168ddaa4bcc515772
1749f3915e55b473bcc281095f41598357d6b70f
reflect: fix typo in result-in-registers case t is the type of the function that was called tv is the type of the result This fixes the failures for GOEXPERIMENT=regabi,regabiargs go test go test text/template GOEXPERIMENT=regabi,regabiargs go test go test html/template Updates #40724. Change-Id: Ic9b02d72d18ff48c9...
[ { "path": "src/reflect/value.go", "patch": "@@ -592,7 +592,7 @@ func (v Value) call(op string, in []Value) []Value {\n \t\t\t\t\tprint(\"kind=\", steps[0].kind, \", type=\", tv.String(), \"\\n\")\n \t\t\t\t\tpanic(\"mismatch between ABI description and types\")\n \t\t\t\t}\n-\t\t\t\tret[i] = Value{tv.common...
2021-04-07T21:03:46
nodejs/node
4a940aadfabc35be404da64e9ab7014a8cc71728
ef9d0ae6f209851dd43d7d24b12e19547bcf0dbf
http: do not rely on the 'agentRemove' event Do not use the `'agentRemove'` event to null `socket._httpMessage` as that event is public and can be used to not keep a request in the agent. PR-URL: https://github.com/nodejs/node/pull/20786 Fixes: https://github.com/nodejs/node/issues/20690 Reviewed-By: Ruben Bridgewate...
[ { "path": "lib/_http_agent.js", "patch": "@@ -276,7 +276,6 @@ function installListeners(agent, s, options) {\n s.removeListener('close', onClose);\n s.removeListener('free', onFree);\n s.removeListener('agentRemove', onRemove);\n- s._httpMessage = null;\n }\n s.on('agentRemove', onRemove)...
2018-05-16T20:15:20
electron/electron
6b02be6da873192f7e51dc458fc99f90135e8006
d1a5c498431633e618e98c879fe5643843622f3c
Add extra uploading parameters for crash reporter.
[ { "path": "common/crash_reporter/crash_reporter.cc", "patch": "@@ -12,9 +12,9 @@\n namespace crash_reporter {\n \n CrashReporter::CrashReporter() {\n- const CommandLine& command = *CommandLine::ForCurrentProcess();\n- std::string type = command.GetSwitchValueASCII(switches::kProcessType);\n- is_browser_ ...
2013-11-14T10:02:15
huggingface/transformers
1603018e7aa517623192cc9ff164bbec513b66e4
981c276a02cc96565ef1ba706528b1cd5a96a97d
Update form pretrained to make TP a first class citizen (#36335) * clean code * oups * fix merge * yups * fix if * now you can play * fix shape issue * try non blocking * fix * updates * up * updates * fix most of thetests * update * update * small updates * up * fix the remaining bug? * update * re...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -37,9 +37,11 @@\n from zipfile import is_zipfile\n \n import torch\n+import torch.distributed.tensor\n from huggingface_hub import split_torch_state_dict_into_shards\n from packaging import version\n from torch import Tensor, nn\n+from torch.distr...
2025-02-26T19:12:38
vercel/next.js
9f97833b7e543846595f8ef31821e059e7c78301
9bfd45de1530ca55e6f1205d14eb94902c1b27d6
Fix typo: docs/api-reference/next/font.md (#42344) change typo 'Optmization' to 'Optimization'
[ { "path": "docs/api-reference/next/font.md", "patch": "@@ -295,7 +295,7 @@ import { greatVibes, sourceCodePro400 } from '@/fonts';\n \n <div class=\"card\">\n <a href=\"/docs/basic-features/font-optimization.md\">\n- <b>Font Optmization</b>\n+ <b>Font Optimization</b>\n <small>Learn how to optim...
2022-11-02T16:09:49
golang/go
1749f3915e55b473bcc281095f41598357d6b70f
a7e16abb22f1b249d2691b32a5d20206282898f2
sync: update misleading comment in map.go about entry type As discussed in: https://github.com/golang/go/issues/45429, about entry type comments, it is possible for p == nil when m.dirty != nil, so update the commemt about it. Fixes #45429 Change-Id: I7ef96ee5b6948df9ac736481d177a59ab66d7d4d GitHub-Last-Rev: 202c59...
[ { "path": "src/sync/map.go", "patch": "@@ -73,7 +73,8 @@ var expunged = unsafe.Pointer(new(interface{}))\n type entry struct {\n \t// p points to the interface{} value stored for the entry.\n \t//\n-\t// If p == nil, the entry has been deleted and m.dirty == nil.\n+\t// If p == nil, the entry has been delet...
2021-04-08T09:21:05
rust-lang/rust
0bfcd0d3bc02d138168b08688fc902894496173c
8eed35023f26bc45ab86d5b8f080c4025faa58cf
`bool_to_int_with_if`: properly handle macros - Do not replace macro results in then/else branches - Extract condition snippet from the right context - Make suggestion `MaybeIncorrect` if it would lead to losing comments
[ { "path": "clippy_lints/src/bool_to_int_with_if.rs", "patch": "@@ -1,6 +1,7 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n+use clippy_utils::source::HasSession;\n use clippy_utils::sugg::Sugg;\n-use clippy_utils::{is_else_clause, is_in_const_context};\n+use clippy_utils::{higher, is_else_clause, ...
2025-04-16T17:25:35
huggingface/transformers
981c276a02cc96565ef1ba706528b1cd5a96a97d
d18d9c3205323d02479ca0d7cfd978908ebb6f71
Fix compressed tensors config (#36421) * fix config * update --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -28,6 +28,7 @@\n \n from ..utils import (\n is_auto_awq_available,\n+ is_compressed_tensors_available,\n is_gptqmodel_available,\n is_hqq_available,\n is_torch_available,\n@@ -1254,9 +1255,13 @@ def __init__(\n ...
2025-02-26T16:56:15
nodejs/node
ef9d0ae6f209851dd43d7d24b12e19547bcf0dbf
b11e19e8eed059ddf473657c28c357987ca0015e
test: fix flaky http2-session-unref It's possible for the connections to take too long and since the server is already unrefed, the process will just exit. Instead adjust the test so that server unref only happens after all sessions have been successfuly established and unrefed. That still tests the same condition but...
[ { "path": "test/parallel/test-http2-session-unref.js", "patch": "@@ -9,16 +9,20 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n const http2 = require('http2');\n+const Countdown = require('../common/countdown');\n const makeDuplexPair = require('../commo...
2018-05-21T07:42:32
electron/electron
d1a5c498431633e618e98c879fe5643843622f3c
dd4e43eb02accd25cca34e25a30c21e71a16a9ae
win: Add stubs for crash reporter.
[ { "path": "atom.gyp", "patch": "@@ -145,6 +145,7 @@\n 'common/crash_reporter/crash_reporter_mac.h',\n 'common/crash_reporter/crash_reporter_mac.mm',\n 'common/crash_reporter/crash_reporter_win.cc',\n+ 'common/crash_reporter/crash_reporter_win.h',\n 'common/draggable_region.cc',\...
2013-11-14T05:42:28
vercel/next.js
9bfd45de1530ca55e6f1205d14eb94902c1b27d6
b69dac121ac6b9d72d1eae9da5db5cd4f1dcc334
Fix broken link on the upgrading guide (#42340) I noticed this while browsing the updating guide.
[ { "path": "docs/upgrading.md", "patch": "@@ -28,7 +28,7 @@ pnpm up next react react-dom eslint-config-next --latest\n \n ## Migrating shared features\n \n-Next.js 13 introduces a new [`app` directory](https://beta.nextjs.org/docs/routing/fundamentals) with new features and conventions. However, upgrading to...
2022-11-02T16:03:47
rust-lang/rust
827047895a4c036f652b7105443f6305164f0e25
6d52b51d3e6321b7a1d24e5f995aa709057153e3
resolve config include FIXME Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/config/config.rs", "patch": "@@ -814,9 +814,7 @@ impl Merge for TomlConfig {\n exit!(2);\n });\n \n- // FIXME: Similar to `Config::parse_inner`, allow passing a custom `get_toml` from the caller to\n- // improve testability ...
2025-04-16T17:53:51
golang/go
6304b401e4bcfc1d61dd687bb5b7df13fd71033b
0c4a08cb74abe026260a224a2b553c1f77a1172a
internal/goexperiment,cmd: consolidate GOEXPERIMENTs into a new package Currently there's knowledge about the list of GOEXPERIMENTs in a few different places. This CL introduces a new package and consolidates the list into one place: the internal/goexperiment.Flags struct type. This package gives us a central place t...
[ { "path": "src/cmd/asm/internal/lex/input.go", "patch": "@@ -46,31 +46,18 @@ func NewInput(name string) *Input {\n func predefine(defines flags.MultiFlag) map[string]*Macro {\n \tmacros := make(map[string]*Macro)\n \n-\t// Set macros for various GOEXPERIMENTs so we can easily\n-\t// switch runtime assembly ...
2021-04-06T12:25:01
electron/electron
dd4e43eb02accd25cca34e25a30c21e71a16a9ae
9007a45051fbadaba1dbb8738a6579da03a788ab
doc: Update new crash-reporter API.
[ { "path": "docs/api/common/crash-reporter.md", "patch": "@@ -4,24 +4,19 @@ An example of automatically submitting crash reporters to remote server:\n \n ```javascript\n crashReporter = require('crash-reporter');\n-crashReporter.setProductName('YourName');\n-crashReporter.setCompanyName('YourCompany');\n-cra...
2013-11-14T05:39:44
huggingface/transformers
d18d9c3205323d02479ca0d7cfd978908ebb6f71
082834dd79d14a2e53332c0c1a7c19852ab8973f
Universal Speculative Decoding `CandidateGenerator` (#35029) * move `TestAssistedCandidateGeneratorDifferentTokenizers` into a new testing file * refactor * NOTHING. add space to rerun github actions tests * remove it... * `UniversalSpeculativeDecodingGenerator` * Use `UniversalSpeculativeDecodingGenerator` when ...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -14,6 +14,7 @@\n # limitations under the License.\n \n import copy\n+import weakref\n from typing import TYPE_CHECKING, Any, Dict, Optional, Tuple\n \n import numpy as np\n@@ -27,7 +28,7 @@\n \n from ..cache_utils import DynamicCac...
2025-02-26T16:14:02
nodejs/node
b11e19e8eed059ddf473657c28c357987ca0015e
4f0ab76b6c29da74b29125a3ec83bb06e77c2aad
http2: fix several serious bugs Currently http2 does not properly submit GOAWAY frames when a session is being destroyed. It also doesn't properly handle when the other party severs the connection after sending a GOAWAY frame, even though it should. Edge, IE & Safari are currently unable to handle empty TRAILERS fram...
[ { "path": "doc/api/http2.md", "patch": "@@ -880,6 +880,10 @@ The `'trailers'` event is emitted when a block of headers associated with\n trailing header fields is received. The listener callback is passed the\n [HTTP/2 Headers Object][] and flags associated with the headers.\n \n+Note that this event might ...
2018-05-17T19:03:15
vercel/next.js
b69dac121ac6b9d72d1eae9da5db5cd4f1dcc334
468f2c48b1da674a7842498905ba2372298241fb
Fix page folder being wrongly resolved as page file (#42348) Closes #42010. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the...
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -17,6 +17,8 @@ export const FILE_TYPES = {\n 'not-found': 'not-found',\n } as const\n \n+const PAGE_SEGMENT = 'page$'\n+\n // TODO-APP: check if this can be narrowed.\n type ComponentModule = () => any\n export type Component...
2022-11-02T15:16:59
golang/go
161439fec01692d4111fd4bd0eb0d3416ec8d594
b975d0baa0e0d4a733c4f5ff86ed81514deb53b2
[dev.fuzz] internal/fuzz: small bug fixes and refactors to minimization This fixes a few issues that were being masked since log statements weren't being printed to stdout. Now that they are, fix the bugs, and update the tests. Also includes a few small refactors which will make minimizing non-recoverable errors easi...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutator.txt", "patch": "@@ -19,15 +19,15 @@ go run check_logs.go fuzz fuzz.worker\n stdout FAIL\n stdout 'mutator found enough unique mutations'\n \n-# Test that minimization is working.\n-! go test -fuzz=FuzzMinimizer -run=FuzzMinimizer -parallel=1 -fuzztime=...
2021-04-06T19:33:55
huggingface/transformers
082834dd79d14a2e53332c0c1a7c19852ab8973f
6513e5e402a91d3378c9c05c385a3f4f1f394cbb
fix: prevent model access error during Optuna hyperparameter tuning (#36395) * fix: prevent model access error during Optuna hyperparameter tuning The `transformers.integrations.integration_utils.run_hp_search_optuna` function releases model memory and sets trainer.model to None after each trial. This causes an Attri...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2180,7 +2180,12 @@ def train(\n \n # do_train is not a reliable argument, as it might not be set and .train() still called, so\n # the following is a workaround:\n- if (args.fp16_full_eval or args.bf16_full_eval) and not args.do_t...
2025-02-26T16:06:48
nodejs/node
4f0ab76b6c29da74b29125a3ec83bb06e77c2aad
680a171efadb8ea3e0292ac5214d41d34449e922
test: use error code rather than message in test Use err.code checking instead of err.message checking in test-child-process-fork-closed-channel-segfault. PR-URL: https://github.com/nodejs/node/pull/20859 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-child-process-fork-closed-channel-segfault.js", "patch": "@@ -66,7 +66,7 @@ const server = net\n send(function(err) {\n // Ignore errors when sending the second handle because the worker\n // may already have exited.\n- if (err && err.messag...
2018-05-21T01:40:49
electron/electron
9007a45051fbadaba1dbb8738a6579da03a788ab
801a19504a186a2072d04556187b95da6aa2da01
Refactor crash reporter to be more cross-platform friendly.
[ { "path": "atom.gyp", "patch": "@@ -140,7 +140,9 @@\n 'common/api/atom_extensions.h',\n 'common/api/object_life_monitor.cc',\n 'common/api/object_life_monitor.h',\n+ 'common/crash_reporter/crash_reporter.cc',\n 'common/crash_reporter/crash_reporter.h',\n+ 'common/crash_repo...
2013-11-14T05:33:09
rust-lang/rust
6ac25306fddb5bbf8637d8cf1376cd691e56c52f
c7f35adaafad6e93e395fc2327ff8b06477642e5
Fix signature of libc memory usage function on Linux A soundness issue!
[ { "path": "src/tools/rust-analyzer/crates/profile/src/memory_usage.rs", "patch": "@@ -78,7 +78,8 @@ fn memusage_linux() -> MemoryUsage {\n let alloc = unsafe { libc::mallinfo() }.uordblks as isize;\n MemoryUsage { allocated: Bytes(alloc) }\n } else {\n- let mallinfo2: fn() -> libc...
2025-04-16T13:56:45
golang/go
836356bdaad92d525d65ce01e08305dfbeb7c1e6
8f1099b5850747cf61738606f6a3d1386f4458c6
cmd/compile/internal/types2: process errors in src order during testing Follow-up on https://golang.org/cl/305573. As a consequence, re-enable test case that caused problems with that CL. Change-Id: Ibffee3f016f4885a55b8e527a5680dd437322209 Reviewed-on: https://go-review.googlesource.com/c/go/+/307216 Trust: Robert G...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -32,6 +32,7 @@ import (\n \t\"os\"\n \t\"path/filepath\"\n \t\"regexp\"\n+\t\"sort\"\n \t\"strings\"\n \t\"testing\"\n \n@@ -150,6 +151,13 @@ func checkFiles(t *testing.T, filenames []string, goVersion string, colDelta uin\n \t\treturn\...
2021-04-05T23:06:18
vercel/next.js
6dbf9c32ec241f7f58104b4ce5790a10f3c54de5
66dc68f959012e1cec936c24283cd581de89c3e7
Handle dynamic css-in-js styles under suspense (#42293) We insert the content returning from `useServerInsertedHTML` to head element for app dir, but it shouldn't only inject once since there're suspense boundaries that could hold insertions. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Inte...
[ { "path": "package.json", "patch": "@@ -196,7 +196,7 @@\n \"selenium-webdriver\": \"4.0.0-beta.4\",\n \"semver\": \"7.3.7\",\n \"shell-quote\": \"1.7.3\",\n- \"styled-components\": \"5.3.3\",\n+ \"styled-components\": \"6.0.0-beta.5\",\n \"styled-jsx-plugin-postcss\": \"3.0.2\",\n ...
2022-11-02T13:18:08
huggingface/transformers
b4965cecc5c66e371d17b96ccd6addc7353a4241
9a217fc327fb6af5b23d2b44de4d58da3b15cf2f
Fixing the docs corresponding to the breaking change in torch 2.6. (#36420)
[ { "path": "docs/source/en/perf_infer_gpu_multi.md", "patch": "@@ -29,6 +29,7 @@ model_id = \"meta-llama/Meta-Llama-3-8B-Instruct\"\n # Initialize distributed\n rank = int(os.environ[\"RANK\"])\n device = torch.device(f\"cuda:{rank}\")\n+torch.cuda.set_device(device)\n torch.distributed.init_process_group(\"...
2025-02-26T13:11:52
nodejs/node
9c2e67ba97a4af0bb83c621b0c724f84198eac2d
352ae2397434ddde058c14cd357e3bdd1d029cb6
assert: fix wrong message indentation If code is read from a file and that code is indented, it would be misaligned. This makes sure it has a natural indentation that is relative to the starting point of the assertion. PR-URL: https://github.com/nodejs/node/pull/20791 Reviewed-By: James M Snell <jasnell@gmail.com> Re...
[ { "path": "lib/assert.js", "patch": "@@ -193,6 +193,19 @@ function getErrMessage(call) {\n if (EOL === '\\r\\n') {\n message = message.replace(/\\r\\n/g, '\\n');\n }\n+ // Always normalize indentation, otherwise the message could look weird.\n+ if (message.indexOf('\\n') !== -1...
2018-05-16T16:10:08
electron/electron
a6989847eaeea5280e89812552aee3cd37ff4dd2
e7d25385b098833a865b175ddf1be7a762516caf
Add API to set product name for crash reporter.
[ { "path": "common/api/atom_api_crash_reporter.cc", "patch": "@@ -14,26 +14,33 @@ namespace atom {\n namespace api {\n \n // static\n-v8::Handle<v8::Value> CrashReporter::SetCompanyName(const v8::Arguments &args) {\n+v8::Handle<v8::Value> CrashReporter::SetProductName(const v8::Arguments& args) {\n+ crash_r...
2013-11-13T11:12:13
rust-lang/rust
2f0ba6791944fbbc9236ea4138389039ebbffd4a
afa859f8121bf2985362a2c8414dc71a825ccf2d
fix incorrect type in cstr `to_string_lossy()` docs Restoring what it said prior to commit 67065fe in which it was changed incorrectly with no supporting explanation. Closes #139835.
[ { "path": "library/alloc/src/ffi/c_str.rs", "patch": "@@ -1116,7 +1116,7 @@ impl CStr {\n /// with the corresponding <code>&[str]</code> slice. Otherwise, it will\n /// replace any invalid UTF-8 sequences with\n /// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD] and return a\n- /// <code>[Cow]::[Ow...
2025-04-16T13:42:11
vercel/next.js
66dc68f959012e1cec936c24283cd581de89c3e7
a6b40317294308f2d67240b789a8bbfcca694703
Update wording to remove beta FUD and keep evergreen (#42337) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has be...
[ { "path": "docs/getting-started.md", "patch": "@@ -2,7 +2,7 @@\n description: Get started with Next.js in the official documentation, and learn more about all our features!\n ---\n \n-> The beta version of Next.js 13 has been [publicly released](https://nextjs.org/blog/next-13), [read the new docs here](htt...
2022-11-02T10:23:50
golang/go
7d5c54eee4718ccc1790fa9ab92bf091e9d56ef7
bce85b701153f7671f0e362288ad5c8fdad15093
cmd/compile/internal/types2: remove Config.InferFromConstraints flag Constraint type inference is part of the proposed language. Use an internal flag to control the feayure for debugging. Change-Id: I7a9eaee92b5ffc23c25d9e68a729acc0d705e879 Reviewed-on: https://go-review.googlesource.com/c/go/+/306770 Trust: Robert G...
[ { "path": "src/cmd/compile/internal/noder/irgen.go", "patch": "@@ -36,7 +36,6 @@ func check2(noders []*noder) {\n \t// typechecking\n \tconf := types2.Config{\n \t\tGoVersion: base.Flag.Lang,\n-\t\tInferFromConstraints: true,\n \t\tIgnoreLabels: true, // parser already checked via synt...
2021-04-02T01:39:39
huggingface/transformers
41925e42135257361b7f02aa20e3bbdab3f7b923
9ebfda3263fcdc4e05fd87fad1aadc8a08294608
Add retry hf hub decorator (#35213) * Add retry torch decorator * New approach * Empty commit * Empty commit * Style * Use logger.error * Add a test * Update src/transformers/testing_utils.py Co-authored-by: Lucain <lucainp@gmail.com> * Fix err * Update tests/utils/test_modeling_utils.py --------- Co-autho...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -43,6 +43,7 @@\n from unittest.mock import patch\n \n import huggingface_hub.utils\n+import requests\n import urllib3\n from huggingface_hub import delete_repo\n from packaging import version\n@@ -200,6 +201,8 @@\n IS_ROCM_SYSTEM = False\n ...
2025-02-25T19:53:11
electron/electron
e7d25385b098833a865b175ddf1be7a762516caf
62f200d252ca97a70304b2212ca451fdf3c09720
Add "Renderer" suffix in name when crashing in renderer process.
[ { "path": "common/crash_reporter/crash_reporter_mac.mm", "patch": "@@ -20,15 +20,16 @@\n ScopedCrashReporter() : is_browser_(!base::mac::IsBackgroundOnlyProcess()) {\n NSMutableDictionary* parameters =\n [NSMutableDictionary dictionaryWithCapacity:4];\n- [parameters setValue:@\"Atom-Shell\"...
2013-11-13T11:06:11
vercel/next.js
a6b40317294308f2d67240b789a8bbfcca694703
137008e6133e419ebf87111c225a45156d804511
Add `path` for information in cookie setting (#42146) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug ...
[ { "path": "docs/api-routes/request-helpers.md", "patch": "@@ -128,7 +128,8 @@ import { setCookie } from '../../utils/cookies'\n \n const handler = (req: NextApiRequest, res: NextApiResponse) => {\n // Calling our pure function using the `res` object, it will add the `set-cookie` header\n- setCookie(res, ...
2022-11-02T03:46:40
huggingface/transformers
9ebfda3263fcdc4e05fd87fad1aadc8a08294608
cbe0ea59f34572e4f494ebb2ed910fbc40c742ab
Fixed VitDet for non-squre Images (#35969) * size tuple * delete original input_size * use zip * process the other case * Update src/transformers/models/vitdet/modeling_vitdet.py Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com> * [VITDET] Test non-square image * [Fix] Make Quality * make fix style * Updat...
[ { "path": "src/transformers/models/vitdet/modeling_vitdet.py", "patch": "@@ -456,8 +456,14 @@ def __init__(\n super().__init__()\n \n dim = config.hidden_size\n- input_size = (config.image_size // config.patch_size, config.image_size // config.patch_size)\n \n+ image_size = con...
2025-02-25T19:31:24
electron/electron
62f200d252ca97a70304b2212ca451fdf3c09720
374cf948e4a1c7b72e7c4a4805d95eb5c91d0ced
Mention in doc that crash-reporter is available for renderer.
[ { "path": "docs/README.md", "patch": "@@ -25,7 +25,6 @@ Browser side modules:\n * [atom-delegate](api/browser/atom-delegate.md)\n * [auto-updater](api/browser/auto-updater.md)\n * [browser-window](api/browser/browser-window.md)\n-* [crash-reporter](api/browser/crash-reporter.md)\n * [dialog](api/browser/dia...
2013-11-13T09:30:49
huggingface/transformers
cbe0ea59f34572e4f494ebb2ed910fbc40c742ab
88d10517b4c2c1aceeee89787db2578653667beb
Security fix for `benchmark.yml` (#36402) security Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -64,7 +64,7 @@ jobs:\n commit_id=$GITHUB_SHA\r\n fi\r\n commit_msg=$(git show -s --format=%s | cut -c1-70)\r\n- python3 benchmark/benchmarks_entrypoint.py \"${{ github.head_ref || github.ref_name }}\" \"$commi...
2025-02-25T16:22:09
golang/go
8462169b5a6c37e024ca5d49a823d4ce95e90e23
8d77e45064fc808460843e741c46e3b6b737ae03
cmd/compile: pre-spill pointers in aggregate-typed register args There's a problem in liveness, where liveness of any part of an aggregate keeps the whole aggregate alive, but the not-live parts don't get spilled. The GC can observe those live-but-not-spilled slots, which can contain junk. A better fix is to change ...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -558,6 +558,11 @@ func buildssa(fn *ir.Func, worker int) *ssa.Func {\n \t\t\t\tv := s.newValue0A(ssa.OpArg, n.Type(), n)\n \t\t\t\ts.vars[n] = v\n \t\t\t\ts.addNamedValue(n, v) // This helps with debugging information, not needed for compilati...
2021-04-06T22:39:15
vercel/next.js
460e19f0aa3799c8cb2b12485fca387120bb3a45
76fdd256cc4d41d95d6205484dcb56ed5d1aed22
docs(script): explain expected `next/script` behavior on client-side navigation (#42260) This PR explains that a navigation via `Link` would not re-execute `next/script` components once they are added. Fixes #42111 Ref: [slack thread](https://vercel.slack.com/archives/C02UJ0QH45Q/p1667237775929339) ## Bug ...
[ { "path": "docs/basic-features/script.md", "patch": "@@ -90,6 +90,8 @@ Although the default behavior of `next/script` allows you load third-party scrip\n \n Refer to the [`next/script`](/docs/api-reference/next/script.md#strategy) API reference documentation to learn more about each strategy and their use c...
2022-11-02T03:38:15
electron/electron
374cf948e4a1c7b72e7c4a4805d95eb5c91d0ced
8f558fb252cf671e83a7f3d4202caec3970bcb24
Make the crash reporter available for both browser and renderer.
[ { "path": "atom.gyp", "patch": "@@ -14,7 +14,6 @@\n 'browser/api/lib/atom-delegate.coffee',\n 'browser/api/lib/auto-updater.coffee',\n 'browser/api/lib/browser-window.coffee',\n- 'browser/api/lib/crash-reporter.coffee',\n 'browser/api/lib/dialog.coffee',\n 'browser/api/lib...
2013-11-13T09:29:35
huggingface/transformers
88d10517b4c2c1aceeee89787db2578653667beb
e1ce9489088d3dca49d38132db5e91ccea61a97b
Fix convert_to_rgb for SAM ImageProcessor (#36369)
[ { "path": "src/transformers/models/sam/image_processing_sam.py", "patch": "@@ -307,8 +307,6 @@ def _preprocess_image(\n data_format: Optional[Union[str, ChannelDimension]] = None,\n input_data_format: Optional[Union[str, ChannelDimension]] = None,\n ) -> Tuple[np.ndarray, Tuple[int, int]...
2025-02-25T15:10:21
golang/go
8d77e45064fc808460843e741c46e3b6b737ae03
972e8839254d59dc04a1193c4c9633a74595a2e7
cmd/compile: fix bug of conditional instructions on arm64 CL 302231 added some optimization rules with instructions CSETM, CSINC, CSINV, and CSNEG, but did not deal with the situation where flag is constant, resulting in some cases that could be more optimized cannot be optimized, and the FlagConstant value is passed ...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM64.rules", "patch": "@@ -1570,6 +1570,14 @@\n (CSEL [cc] _ y flag) && ccARM64Eval(cc, flag) < 0 => y\n (CSEL0 [cc] x flag) && ccARM64Eval(cc, flag) > 0 => x\n (CSEL0 [cc] _ flag) && ccARM64Eval(cc, flag) < 0 => (MOVDconst [0])\n+(CSNEG [cc] x _ flag) && ccARM64...
2021-04-06T07:23:38
vercel/next.js
76fdd256cc4d41d95d6205484dcb56ed5d1aed22
0c2404a40620de2f527585e4a4ece51060a422ff
refactor(next/turbo): consolidate turbo devserver logic (#42315) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -2314,7 +2314,6 @@ dependencies = [\n \"next-swc\",\n \"node-file-trace\",\n \"once_cell\",\n- \"owo-colors\",\n \"sentry\",\n \"serde\",\n \"serde_json\",\n@@ -2323,10 +2322,6 @@ dependencies = [\n \"tracing-chrome\",\n \"tracing-futures\",\n ...
2022-11-02T03:27:14
nodejs/node
c041a2ee5bc7c89d846a53e4873dd394c19ec4c4
e85228980278eb66da05110b154149a864c4cd1d
util: improve error inspection When inspecting errors with extra properties while setting the compact option to false, it will now return: [Error: foo] { at repl:1:5 at Script.runInThisContext (vm.js:89:20) bla: true } Instead of: Error: foo at repl:1:5 at Script.runInThisContext (vm.js:91:20) { ...
[ { "path": "lib/util.js", "patch": "@@ -587,7 +587,8 @@ function formatValue(ctx, value, recurseTimes) {\n // Make error with message first say the error\n base = formatError(value);\n // Wrap the error in brackets in case it has no stack trace.\n- if (base.indexOf('\\n at') === -1)...
2018-05-17T11:20:27
electron/electron
8f2dd91e3436b4872413baf0a7233a49aba0604a
896c1793d3ae7a760774e89b1374ebb5905cc69f
Setup breakpad in crash reporter.
[ { "path": "browser/crash_reporter_mac.mm", "patch": "@@ -4,28 +4,70 @@\n \n #include \"browser/crash_reporter.h\"\n \n-#import <Quincy/BWQuincyManager.h>\n-\n+#include \"base/logging.h\"\n #include \"base/strings/sys_string_conversions.h\"\n+#include \"common/atom_version.h\"\n+#import \"vendor/breakpad/src...
2013-11-13T08:48:30
huggingface/transformers
fb83befb14677a0f51fff82901ad0b0bb81c2f63
ca6ebcb9bca050796bb53be37a9bad68f0f03b3f
Fix pytorch integration tests for SAM (#36397) Fix device in tests
[ { "path": "tests/models/sam/test_modeling_sam.py", "patch": "@@ -533,12 +533,10 @@ def test_inference_mask_generation_no_point(self):\n \n with torch.no_grad():\n outputs = model(**inputs)\n- scores = outputs.iou_scores.squeeze()\n- masks = outputs.pred_masks[0, 0, 0, 0, :3...
2025-02-25T14:53:34
golang/go
972e8839254d59dc04a1193c4c9633a74595a2e7
b084073b53bfc4236d95819a3cc34dcbb4f15392
runtime/cgo: add Handle for managing (c)go pointers A non-trivial Cgo program may need to use callbacks and interact with go objects per goroutine. Because of the rules for passing pointers between Go and C, such a program needs to store handles to associated Go values. This often causes much extra effort to figure ou...
[ { "path": "doc/go1.17.html", "patch": "@@ -120,6 +120,15 @@ <h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n has no effect.\n </p>\n \n+<h3 id=\"runtime/cgo\"><a href=\"/pkg/runtime/cgo\">Cgo</a></h3>\n+\n+<p>\n+The <a href=\"/pkg/runtime/cgo\">runtime/cgo</a> package now provides a...
2021-02-23T08:58:14
vercel/next.js
1af21b51c1b82bea1a467a790ff860db942db075
b72dc5b69f963d91a950d8c4c4e25c1d8e84dbd4
Add preload for layouts / components (#41519) Preload layout/component so that fetching starts eagerly. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist f...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -39,6 +39,31 @@ import { HeadManagerContext } from '../shared/lib/head-manager-context'\n import { Writable } from 'stream'\n import stringHash from 'next/dist/compiled/string-hash'\n \n+function preloadComponent(Component: any, props: any) {\n+ ...
2022-11-01T20:07:55
huggingface/transformers
ca6ebcb9bca050796bb53be37a9bad68f0f03b3f
7c8916ddb55364b06c17f062474321a090792194
chore: fix function argument descriptions (#36392)
[ { "path": "src/transformers/commands/add_new_model_like.py", "patch": "@@ -1523,7 +1523,7 @@ def get_user_field(\n is_valid_answer (`Callable`, *optional*):\n If set, the question will be asked until this function returns `True` on the provided answer.\n convert_to (`Callable`, *...
2025-02-25T14:28:34
nodejs/node
e85228980278eb66da05110b154149a864c4cd1d
8de83725ac3aa05a12acbbd27012c4282af7635c
util: fix inspected stack indentation Error stacks and multiline error messages were not correct indented. This is fixed by this patch. PR-URL: https://github.com/nodejs/node/pull/20802 Refs: https://github.com/nodejs/node/issues/20253 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasne...
[ { "path": "lib/util.js", "patch": "@@ -590,6 +590,11 @@ function formatValue(ctx, value, recurseTimes) {\n if (base.indexOf('\\n at') === -1) {\n base = `[${base}]`;\n }\n+ // The message and the stack have to be indented as well!\n+ if (ctx.indentationLvl !== 0) {\n+ ...
2018-05-17T01:26:21
golang/go
0bc4605eadc53f19e75b232422c7af0ad707d6c6
b56177a3037a035ee7f74e619838b6d853697100
cmd/go/internal/modload: track conflicts in versionLimiter This significantly simplifies the implementation of editRequirements in preparation for making it lazy. It should have no effect on which version combinations are rejected by 'go get', nor on which solutions are found if downgrades are needed. This change res...
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -441,128 +441,57 @@ func editRequirements(ctx context.Context, rs *Requirements, add, mustSelect []m\n \t\treturn nil, false, err\n \t}\n \n-\tselected := make(map[string]module.Version, len(final))\n-\tfor _, m := range final {\n-\t\tselect...
2021-03-26T04:44:30
vercel/next.js
b72dc5b69f963d91a950d8c4c4e25c1d8e84dbd4
fc397caa6f57b5ec19e2952ec1ed7fe280dd109c
Improve the error message when custom export fields are used in an entry (#42221)
[ { "path": "errors/invalid-segment-export.md", "patch": "@@ -0,0 +1,11 @@\n+# Invalid Layout or Page Export\n+\n+#### Why This Error Occurred\n+\n+Your [layout](https://beta.nextjs.org/docs/api-reference/file-conventions/layout) or [page](https://beta.nextjs.org/docs/api-reference/file-conventions/page) insi...
2022-11-01T18:17:06
huggingface/transformers
7c8916ddb55364b06c17f062474321a090792194
c3700b0eee573276ac65bd28c85171a768cfc3b1
fix audio classification pipeline fp16 test on cuda (#36359) * fix audio classification pipeline fp16 test on cuda Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add comments Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * Update tests/pi...
[ { "path": "tests/pipelines/test_pipelines_audio_classification.py", "patch": "@@ -144,18 +144,21 @@ def test_small_model_pt_fp16(self):\n audio = np.ones((8000,))\n output = audio_classifier(audio, top_k=4)\n \n+ # Expected outputs are collected running the test on torch 2.6 in few sc...
2025-02-25T14:01:25
nodejs/node
8de83725ac3aa05a12acbbd27012c4282af7635c
afd290d22475f268010387bec61b8ceb5a51a46b
util: remove erroneous whitespace When inspecting nested objects some times a whitespace was added at the end of a line. This fixes this erroneous space. Besides that the `breakLength` was not followed if a single property was longer than the breakLength. It will now break a single property into the key and value in ...
[ { "path": "lib/util.js", "patch": "@@ -416,7 +416,7 @@ function getPrefix(constructor, tag) {\n return '';\n }\n \n-function formatValue(ctx, value, recurseTimes, ln) {\n+function formatValue(ctx, value, recurseTimes) {\n // Primitive types cannot have properties\n if (typeof value !== 'object' && typ...
2018-05-17T01:19:56
golang/go
f5efa5a313cbfdbd86aa342f8bc2a4cc66f51a6e
bcc4422ee1bdb8051a6c870cf00e837814614a0f
cmd/compile: load results into registers on open defer return path When a function panics then recovers, it needs to return to the caller with named results having the correct values. For in-register results, we need to load them into registers at the defer return path. For non-open-coded defers, we already generate ...
[ { "path": "src/cmd/compile/internal/amd64/galign.go", "patch": "@@ -23,4 +23,5 @@ func Init(arch *ssagen.ArchInfo) {\n \tarch.SSAMarkMoves = ssaMarkMoves\n \tarch.SSAGenValue = ssaGenValue\n \tarch.SSAGenBlock = ssaGenBlock\n+\tarch.LoadRegResults = loadRegResults\n }", "additions": 1, "deletions": ...
2021-04-04T00:09:15
vercel/next.js
fc397caa6f57b5ec19e2952ec1ed7fe280dd109c
6c7e76b55174aa8f8a92b02a9eea4375bfd8b9ce
Add sqlite3 to the default list of server externals (#42294) Related discussions: https://github.com/vercel/next.js/discussions/41745#discussioncomment-4018964 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md...
[ { "path": "packages/next/lib/server-external-packages.ts", "patch": "@@ -17,4 +17,5 @@ export const EXTERNAL_PACKAGES = [\n 'next-seo',\n 'rimraf',\n 'next-mdx-remote',\n+ 'sqlite3',\n ]", "additions": 1, "deletions": 0, "language": "Unknown" } ]
2022-11-01T14:41:57
huggingface/transformers
b4b9da6d9b3fef860889bb843bcf10e8d5e2646a
d80d52b007273af8049541e15441e59551f129ce
tests: revert change of torch_require_multi_gpu to be device agnostic (#35721) * tests: revert change of torch_require_multi_gpu to be device agnostic The 11c27dd33 modified `torch_require_multi_gpu()` to be device agnostic instead of being CUDA specific. This broke some tests which are rightfully CUDA specific, such...
[ { "path": "src/transformers/integrations/bitsandbytes.py", "patch": "@@ -486,7 +486,7 @@ def _validate_bnb_multi_backend_availability(raise_exception):\n import bitsandbytes as bnb\n \n bnb_supported_devices = getattr(bnb, \"supported_torch_devices\", set())\n- available_devices = get_available_d...
2025-02-25T12:36:10
nodejs/node
afd290d22475f268010387bec61b8ceb5a51a46b
7f0f978affda555c5f7151f2d6abd212e753d4f1
util: wrap error in brackets without stack This aligns the visualization of an error with no stack traces set to zero just as it is done in case the error has no stack trace. PR-URL: https://github.com/nodejs/node/pull/20802 Refs: https://github.com/nodejs/node/issues/20253 Reviewed-By: Anna Henningsen <anna@addaleax...
[ { "path": "lib/util.js", "patch": "@@ -585,9 +585,13 @@ function formatValue(ctx, value, recurseTimes, ln) {\n base = `${dateToISOString.call(value)}`;\n } else if (isError(value)) {\n // Make error with message first say the error\n+ base = formatError(value);\n+ // Wrap the error...
2018-05-16T22:45:17
electron/electron
d5ffa4dc770c1e8e0cd613fb24655dcc58090f2f
01dd5638d0223eccae22870b08bcf3851ff2716b
Fix a possible dead lock when quiting. It could happen that we are quitting when the embed thread is still waiting for the main thread, so we make sure embed thread is always signaled when quitting.
[ { "path": "common/node_bindings.cc", "patch": "@@ -39,10 +39,16 @@ NodeBindings::NodeBindings(bool is_browser)\n }\n \n NodeBindings::~NodeBindings() {\n- // Clear uv.\n+ // Quit the embed thread.\n embed_closed_ = true;\n+ uv_sem_post(&embed_sem_);\n WakeupEmbedThread();\n+\n+ // Wait for everythin...
2013-11-11T08:57:40
golang/go
bcc4422ee1bdb8051a6c870cf00e837814614a0f
1271e9a9ccfdb0906ecf69d2047ad3b470eeca02
runtime: deflake TestGCTestIsReachable This is a simple workaround for a bug where runtime.GC() can return before finishing a full sweep, causing gcTestIsReachable to throw. The right thing is to fix runtime.GC(), but this should get this test passing reliably in the meantime. Updates #45315. Change-Id: Iae141e6dbb2...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -2391,6 +2391,11 @@ func gcTestIsReachable(ptrs ...unsafe.Pointer) (mask uint64) {\n \t// Force a full GC and sweep.\n \tGC()\n \n+\t// TODO(austin): Work around issue #45315. One GC() can return\n+\t// without finishing the sweep. Do a second to force the sweep\...
2021-04-06T18:55:46
huggingface/transformers
d80d52b007273af8049541e15441e59551f129ce
3a02fe56c25f3a75ba116ccb3651c5e8769690c0
addressing the issue #34611 to make FlaxDinov2 compatible with any batch size (#35138) fixed the batch_size error, all tests are passing Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
[ { "path": "src/transformers/models/dinov2/modeling_flax_dinov2.py", "patch": "@@ -185,9 +185,11 @@ def interpolate_pos_encoding(self, config, hidden_states, height, width, positio\n antialias=False,\n )\n patch_pos_embed = patch_pos_embed.astype(target_dtype)\n- patch_pos_...
2025-02-25T10:44:44
vercel/next.js
6c7e76b55174aa8f8a92b02a9eea4375bfd8b9ce
b0ad8adc260b4112a10b9c9b2b989bce780e07ee
Hybrid App Hooks Support (#41767) This adapts the new client hooks of `usePathname`, `useSearchParams`, and `useRouter` to work within the `pages/` directory to aid users attempting to migrate shared components over to the `app/` directory. > **Exception:** > When the pages router is not ready, `useSearchParams`...
[ { "path": ".eslintrc.json", "patch": "@@ -238,7 +238,6 @@\n \"no-obj-calls\": \"warn\",\n \"no-octal\": \"warn\",\n \"no-octal-escape\": \"warn\",\n- \"no-redeclare\": [\"warn\", { \"builtinGlobals\": false }],\n \"no-regex-spaces\": \"warn\",\n \"no-restricted-syntax\": [\n \"w...
2022-11-01T03:13:27
nodejs/node
a14a0fa8dc401188f67d26a82daae9423c54b41f
a0eb1e41191680551322ad607a619eb570a40291
doc: fix some nits in hardcoded manpage links After https://github.com/nodejs/node/pull/20785, we wrap autogenerated manpage links in code elements. This PR unify some hardcoded manpage links with autogenerated ones: it adds backticks, parentheses, section numbers, and updates URLs. Also, some typos are fixes in pass...
[ { "path": "doc/api/errors.md", "patch": "@@ -1703,6 +1703,7 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.\n [`--force-fips`]: cli.html#cli_force_fips\n [`child_process`]: child_process.html\n [`cipher.getAuthTag()`]: crypto.html#crypto_cipher_getauthtag\n+[`Class: assert.Assertio...
2018-05-20T17:16:19
electron/electron
01dd5638d0223eccae22870b08bcf3851ff2716b
ec5cd2fb1caeb9f69388b2acd90aff3597de7af7
Update brightray for fixing the 'ARCHS' issue.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 69d145e64a519f254ae29097905a5599c1d8d48a\n+Subproject commit 2f84310fe4a4f47a72020b9bb99228093a6252a1", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-11-09T03:02:11
golang/go
1271e9a9ccfdb0906ecf69d2047ad3b470eeca02
2e6f39beb0d2423beb544cf491fd9460d0959634
time: properly quote strings containing quotes and backslashes Fixes #45391 Change-Id: I43ea597f6a9596a621ae7b63eb05440d5b9e2d8f Reviewed-on: https://go-review.googlesource.com/c/go/+/307192 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Emmanuel Odeke ...
[ { "path": "src/time/export_test.go", "patch": "@@ -129,3 +129,5 @@ var StdChunkNames = map[int]string{\n \tstdFracSecond9 | 8<<stdArgShift: \".99999999\",\n \tstdFracSecond9 | 9<<stdArgShift: \".999999999\",\n }\n+\n+var Quote = quote", "additions": 2, "deletions": 0, "language": "Go" }, { ...
2021-04-05T19:05:05
huggingface/transformers
da4ab2a1b66e2367f94ea34438d344dd53e2d66e
92abc0dae848d1853d04b9e8b4672da2374d3cd4
Fix doc formatting in forward passes & modular (#36243) * fix indentation issues + modular without magic keyword * style * Update doc.py * style * Fix all decorators indentation * all models * style * style * Update doc.py * fix * general fix * style
[ { "path": "examples/modular-transformers/modeling_new_task_model.py", "patch": "@@ -349,7 +349,6 @@ def forward(\n num_logits_to_keep: int = 0,\n ) -> Union[Tuple, NewTaskModelCausalLMOutputWithPast]:\n r\"\"\"\n- Args:\n labels (`torch.LongTensor` of shape `(batch_siz...
2025-02-25T10:09:01
vercel/next.js
b0ad8adc260b4112a10b9c9b2b989bce780e07ee
c1c3eac3250a88bc7d51fc0a895361f3d3d7da85
Update app-dir E2E tests for deploy (#42269) x-ref: https://github.com/vercel/next.js/actions/runs/3364229800/jobs/5579571814 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implement...
[ { "path": "test/e2e/app-dir/index.test.ts", "patch": "@@ -1182,17 +1182,20 @@ describe('app dir', () => {\n expect($('#params-not-real').text()).toBe('N/A')\n })\n \n- it('should have the canonical url search params on rewrite', async () => {\n- const html = await r...
2022-11-01T00:07:53