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
golang/go
fe489c86a7a65b6bcd25118e1a8919b9950af83f
b9f135d98fe687616b1ca8f7477e72c74af72459
go/types: limit termlist lengths This is a port of CL 340254 to go/types, with minor adjustments for errors and positions. Change-Id: I49ea1d1de8d6e27484f167b813267615d142d31c Reviewed-on: https://go-review.googlesource.com/c/go/+/342438 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley...
[ { "path": "src/go/types/testdata/check/unions.go2", "patch": "@@ -0,0 +1,66 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// Check that overlong unions don't bog down type checking....
2021-08-16T01:43:12
electron/electron
f8f7ca1d5787692ad435703de4c903c5b3d3fb32
105ad369abfdfa594e38f75f0a43898850098481
linux: Upgrade libchromiumcontent to fix linking
[ { "path": "script/lib/config.py", "patch": "@@ -4,7 +4,7 @@\n import sys\n \n BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '67621deb80ca22432ea3fe33fb54196d78ebe44c'\n+LIBCHROMIUMCONTENT_COMMIT = '84b0897b6bf21d75ff03a1916513259aeb284252'\n \n AR...
2015-03-16T06:46:20
huggingface/transformers
20901f1d681669fa402f47edce49873432c3212e
7a25f8dfdba4c710d278d8312ef2522c5996a894
[typing] LlamaAttention return typehint (#38998) * helo llama * helo llama * helo llama * apply modular * fix dia --------- Co-authored-by: qubvel <qubvel@gmail.com>
[ { "path": "src/transformers/models/arcee/modeling_arcee.py", "patch": "@@ -225,7 +225,7 @@ def forward(\n past_key_value: Optional[Cache] = None,\n cache_position: Optional[torch.LongTensor] = None,\n **kwargs: Unpack[FlashAttentionKwargs],\n- ) -> tuple[torch.Tensor, Optional[tor...
2025-07-01T10:29:52
vercel/next.js
2443c7155bbe18e099a57981d333aea1554304fa
826a237b1847b86276067e136328e7e40e45eb77
Fix redirect for the root path with i18n and defaultLocale (#45847) If `config.i18n` exists with `defaultLocale` and there's a redirect that looks like this: ```js { source: '/', destination: '/destination', permanent: false, } ``` Then, if you access `/`: - **Expected:** It redirects to `/destin...
[ { "path": "packages/next/src/lib/load-custom-routes.ts", "patch": "@@ -525,7 +525,9 @@ function processRoutes<T>(\n newRoutes.push({\n ...r,\n destination,\n- source: `${srcBasePath}/${item.locale}${r.source}`,\n+ source: `${srcBasePath}/${item.locale}...
2023-02-13T20:27:28
golang/go
b0fba64ef47cc22bed926821704f223f89a56b42
efd206eb40a59e955c12653b1720026244e6c667
go/types: fix make with type parameter argument This is a port of CL 339899 to go/types. A test assertion is adjusted to place the 'not enough arguments' error on the ')'. Change-Id: Ia13eccc66586f9b84a8b99d462bb406d363a3288 Reviewed-on: https://go-review.googlesource.com/c/go/+/342434 Trust: Robert Findley <rfindley...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -481,39 +481,21 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\treturn\n \t\t}\n \n-\t\tmin, max := -1, 10\n-\t\tvar valid func(t Type) bool\n-\t\tvalid = func(t Type) bool {\n-\t\t\tvar m int\n-\t\t\tswitch t := ...
2021-08-16T01:20:10
electron/electron
105ad369abfdfa594e38f75f0a43898850098481
ff724634f2d5fbbf7d0489487869bcba11a19ce4
linux: Fix compilation error
[ { "path": "atom/browser/atom_browser_main_parts.cc", "patch": "@@ -93,7 +93,7 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {\n brightray::BrowserMainParts::PreMainMessageLoopRun();\n \n #if defined(USE_X11)\n- libgtk2ui::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess());\n+ libgtk2ui::G...
2015-03-14T18:54:02
huggingface/transformers
7a25f8dfdba4c710d278d8312ef2522c5996a894
def96632394fae03689019d2ed552f4790eb7d21
[qwen2-vl] fix FA2 inference (#39121) * fix FA2 * update is causal flag and remove mask for FA2 * update for FA2 with varlen path * how the tests were passing with different devices? * add comment and ref to the PR * move mask preparation to base pretrained model * seq len is the first dim, not second * fix cop...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -508,6 +508,22 @@ def _flash_attention_forward(\n query_states, key_states, value_states, target_dtype\n )\n \n+ # We will use `flash_attn_varlen_func` to prevent cross-example attention and also allow padding free a...
2025-07-01T10:18:37
golang/go
7b7d7d7818dfc1db22930be9333e8cc9f8c7f68c
02f932e173c713333693993c509a663b9cb2bc8b
go/types: fix range over exprs of type parameter type This is a port of CL 339897 to go/types. In addition, an error message that was adjusted in CL 274974 is ported to go/types (CL 274974 was only considered necessary for compiler compatibility). Change-Id: Idfe44d759c925f9fed353a2d1898d3d4d8d85452 Reviewed-on: http...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -145,7 +145,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\tmode := invalid\n \t\tvar typ Type\n \t\tvar val constant.Value\n-\t\tswitch typ = implicitArrayDeref(under(x.typ)); t := typ.(type) {\n+\t\tswitch typ =...
2021-08-16T01:11:18
nodejs/node
d901d16b395e59f3f898e1f2527cb539ca97a077
a1ee86c427d53819d856cf47c1d3261754021ed9
test: fix strictEqual() argument order PR-URL: https://github.com/nodejs/node/pull/23768 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "test/parallel/test-http-write-empty-string.js", "patch": "@@ -42,13 +42,13 @@ server.listen(0, common.mustCall(function() {\n http.get({ port: this.address().port }, common.mustCall(function(res) {\n let response = '';\n \n- assert.strictEqual(200, res.statusCode);\n+ assert.strictEqu...
2018-10-19T21:23:44
vercel/next.js
826a237b1847b86276067e136328e7e40e45eb77
d83a3c8e243415ec9389f1a54814a45f83a8d79d
Update default tracing root handling (#45864) This updates the default tracing root used when one isn't manually provided to be the directory of the closest lockfile. Previously it defaulted to the directory of the project being built which is incorrect in monorepos as any top-level dependencies wouldn't be traced ...
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -1,5 +1,13 @@\n import { existsSync } from 'fs'\n-import { basename, extname, join, relative, isAbsolute, resolve } from 'path'\n+import {\n+ basename,\n+ extname,\n+ join,\n+ relative,\n+ isAbsolute,\n+ resolve,\n+ dirname,\n+} from 'path'...
2023-02-13T20:06:12
huggingface/transformers
def96632394fae03689019d2ed552f4790eb7d21
06c4a4d499aeb213c558d6fb59adf864a6062dad
feat: support indivisible shards for TP model loading and TPlizing. (#37220) * feat: support uneven loading and sharding resolve merge conflicts Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> * fix: allow for empty tensor computations Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> ...
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -13,6 +13,7 @@\n # limitations under the License.\n from __future__ import annotations\n \n+import math\n import operator\n import os\n import re\n@@ -280,7 +281,48 @@ def repack_weights(\n def get_tensor_shard(param, empty_param, de...
2025-07-01T10:03:22
electron/electron
66292a278748e4d68d3dca825431c8e4518be11a
12d5474077fb55dd15a7255f571b1e3ec18b09a4
Upgrade brightray to fix invalid commit to libchromiumcontent
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 57ebc1a6cb3bd920d880643e9814801be9b57cd1\n+Subproject commit 5493d5f8bde6226c051f766d2068aea118528da7", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-03-13T23:34:02
rust-lang/rust
8286487c0ceef102e162d39d0c75adc1e3068b6c
e42bbfe1f7c26f8760a99c4b1f27d33aba1040bb
fix data race in ReentrantLock fallback for targets without 64bit atomics
[ { "path": "library/std/src/sync/reentrant_lock.rs", "patch": "@@ -136,7 +136,7 @@ cfg_if!(\n // we only ever read from the tid if `tls_addr` matches the current\n // TLS address. In that case, either the tid has been set by\n // the current thread, or by a thread that has...
2025-05-19T13:18:24
golang/go
a192ef8ac47679ca46a41fa190af1048e7008b2b
11a1f37b076122ce6b669f1a5c7563a339087b17
go/types: cleanup panic calls This is a port of CL 339969 to go/types. It differs slightly in errors.go, due to the differing API. Change-Id: Ie2bf84ebf312ea3872ee6706615dfc6169a32405 Reviewed-on: https://go-review.googlesource.com/c/go/+/342431 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <...
[ { "path": "src/go/types/decl.go", "patch": "@@ -339,15 +339,15 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t\t// cycle detected\n \t\t\tfor i, tn := range path {\n \t\t\t\tif t.obj.pkg != check.pkg {\n-\t\t\t\t\tpanic(\"internal error: type cycle via package-external type\")\...
2021-08-16T00:44:49
nodejs/node
a1ee86c427d53819d856cf47c1d3261754021ed9
bff53c5a9d68eb15f3c9b41732b25ac649e6fbdd
test: fix strictEqual() arguments order PR-URL: https://github.com/nodejs/node/pull/23771 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-http-parser-bad-ref.js", "patch": "@@ -82,7 +82,7 @@ demoBug('POST /1/22 HTTP/1.1\\r\\n' +\n 'pong');\n \n process.on('exit', function() {\n- assert.strictEqual(2, headersComplete);\n- assert.strictEqual(2, messagesComplete);\n+ assert.strictEqual(headersComplete, 2)...
2018-10-19T21:18:30
vercel/next.js
6ea64002aa923f8a2f9a5992ec31b0fd386a27dc
a8b3e7809a07f644ba0ae41f4e5ea5df5cb0a964
fix(next-swc): Enable `ignoreDynamic` for auto_cjs (#45836) This PR enables `ignoreDynamic` for common js modules which is detected by `auto_cjs` pass. Fixes https://github.com/vercel/next.js/issues/40231. --- I verified that with this change the test reproduction does not fail with import error. ---...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -33,13 +33,13 @@ DEALINGS IN THE SOFTWARE.\n use auto_cjs::contains_cjs;\n use either::Either;\n use fxhash::FxHashSet;\n+\n use serde::Deserialize;\n use std::cell::RefCell;\n use std::rc::Rc;\n use std::{path::PathBuf, sync::Arc};\n \n use...
2023-02-13T18:48:39
huggingface/transformers
06c4a4d499aeb213c558d6fb59adf864a6062dad
e4355747213c32885ddc4128d46708f8fcf847be
fix caching_allocator_warmup with tie weights (#39070) * fix caching_allocator_warmup with tie weights Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix comment Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -5843,7 +5843,12 @@ def caching_allocator_warmup(model: PreTrainedModel, expanded_device_map: dict,\n else None\n )\n total_byte_count = defaultdict(lambda: 0)\n+ tied_param_names = _get_tied_weight_keys(model)\n for param_n...
2025-07-01T09:32:20
electron/electron
12d5474077fb55dd15a7255f571b1e3ec18b09a4
8328bce3f626d815ae4abe1a8a158991d0606c4e
Fix webview for the new API
[ { "path": "atom.gyp", "patch": "@@ -281,6 +281,8 @@\n 'atom/renderer/atom_render_view_observer.h',\n 'atom/renderer/atom_renderer_client.cc',\n 'atom/renderer/atom_renderer_client.h',\n+ 'atom/renderer/guest_view_container.cc',\n+ 'atom/renderer/guest_view_container.h',\n '...
2015-03-13T23:33:06
vercel/next.js
61712322cf7bc42dad23edb1ca642a6f5c1a81b9
4682034c78ffc0aec64917f406e6fa50bd7560d9
Fix typo (vercel/turbo#3763) Just a small type I belive :)
[ { "path": "packages/next-swc/crates/next-dev/benches/README.md", "patch": "@@ -39,7 +39,7 @@ The benchmark suite runs Turbopack and other bundlers in a variety of scenarios.\n \n - **bench_startup:** Time from startup (without cache) until the app is rendered in the browser (it doesn't have to be interactiv...
2023-02-13T18:22:55
golang/go
d043c8ea89d27d2bcb05276b54dc9d5894e8fc2a
94002f6fcafb0e81ff9c5f12a28c21435534cb40
go/types: implement type sets with term lists This is a port of CL 338310 to go/types. It is superficially adjusted for different error reporting and AST APIs. It also fixes a bug in CL 338310 that only manifests in go/types (TestFixedbugs/issue39755.go2) due to go/types preserving untyped nil. In that CL, operand.go ...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -145,7 +145,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\tmode := invalid\n \t\tvar typ Type\n \t\tvar val constant.Value\n-\t\tswitch typ = implicitArrayDeref(optype(x.typ)); t := typ.(type) {\n+\t\tswitch typ ...
2021-08-15T19:28:22
nodejs/node
bff53c5a9d68eb15f3c9b41732b25ac649e6fbdd
f1b95467dc3b79a247d92d63a3b1539fcf348369
crypto: strip unwanted space from openssl version Remove trailing " \n" from `process.versions.openssl`. d3d6cd3ecad19 was incorrectly printing this trailer, but because the target buffer size was claimed to be the length of the version string, the trailer was truncated off. 9ed4646df05b9 corrected the target buffer...
[ { "path": "src/node_crypto.cc", "patch": "@@ -5715,9 +5715,9 @@ std::string GetOpenSSLVersion() {\n // for reference: \"OpenSSL 1.1.0i 14 Aug 2018\"\n char buf[128];\n const int start = search(OPENSSL_VERSION_TEXT, 0, ' ') + 1;\n- const int end = search(OPENSSL_VERSION_TEXT + start, start, ' ') + 1;\...
2018-10-15T22:15:26
electron/electron
ceccf1b48a71a0b3fdd1fdea6372293e872918d8
6af7388ac0ed36a09a3412908a08e12804ae07c9
Fix devtools override for its new architecture
[ { "path": "atom/renderer/lib/inspector.coffee", "patch": "@@ -1,14 +1,11 @@\n window.onload = ->\n+ inspectorFrame = document.getElementById('inspector-app-iframe').contentWindow\n+\n # Use menu API to show context menu.\n- InspectorFrontendHost.showContextMenuAtPoint = (x, y, items, document) ->\n- ...
2015-03-11T22:55:40
rust-lang/rust
31b4808432efc02ead21199f498ee9e68ac6724e
a1d75fb0d092355557fefed43ceb1bea1432400c
Fix cache problems with lints level By removing the cache.
[ { "path": "src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/missing_unsafe.rs", "patch": "@@ -915,4 +915,47 @@ fn foo() {\n \"#,\n );\n }\n+\n+ #[test]\n+ fn regression_19823() {\n+ check_diagnostics(\n+ r#\"\n+pub trait FooTrait {\n+ unsafe fn m...
2025-05-19T12:34:00
huggingface/transformers
e4355747213c32885ddc4128d46708f8fcf847be
dbc98328da2cabe7938423c51569252f2b49a5b3
🚨 Don't use cache in non-generative models (#38751) * deprecate for 1 version * style * fix some tests * fix esm * skip for now, GC requires positional args but we have keyword args * remove transpose for scores in modified models only * skip fx trace tests
[ { "path": "src/transformers/models/align/modeling_align.py", "patch": "@@ -16,7 +16,7 @@\n \n import math\n from dataclasses import dataclass\n-from typing import Any, Optional, Union\n+from typing import Any, Callable, Optional, Union\n \n import torch\n import torch.utils.checkpoint\n@@ -25,14 +25,15 @@\n...
2025-07-01T09:08:21
vercel/next.js
a7c6962796c8a8137cdb57bef84787d1d3d436de
d8b43317fca349e8922867f688df4f98db3921a1
Fix typo (vercel/turbo#3763) Just a small type I belive :)
[ { "path": "crates/next-dev/benches/README.md", "patch": "@@ -39,7 +39,7 @@ The benchmark suite runs Turbopack and other bundlers in a variety of scenarios.\n \n - **bench_startup:** Time from startup (without cache) until the app is rendered in the browser (it doesn't have to be interactive/hydrated for thi...
2023-02-13T18:22:55
nodejs/node
89aa33a3e2dca665d08a7a1a6d58a0d3e1e90daa
90cd3dd44e164ac7670516512cc364bb2b18eb4c
test: fix assertion arguments order PR-URL: https://github.com/nodejs/node/pull/23787 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-http-remove-header-stays-removed.js", "patch": "@@ -44,13 +44,13 @@ const server = http.createServer(function(request, response) {\n let response = '';\n \n process.on('exit', function() {\n- assert.strictEqual('beep boop\\n', response);\n+ assert.strictEqual(response, 'beep ...
2018-10-20T15:12:46
golang/go
3d679c6554d5b282154caa717567ad8353a8bc71
fcdc3c098cd016af9ba5e626bd4525575bb984f2
syscall: use correct type for TIOCSPGRP/TIOCGPGRP These ioctls take a pid_t (generally a C integer aka int32) and not an int64 - we currently get away with this on little endian 64 bit platforms, since the bytes fall into the correct place, however this breaks on big endian 64 bit platforms (like openbsd/mips64). Thi...
[ { "path": "src/syscall/exec_libc2.go", "patch": "@@ -117,14 +117,15 @@ func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr\n \t}\n \n \tif sys.Foreground {\n-\t\tpgrp := sys.Pgid\n+\t\t// This should really be pid_t, however _C_int (aka int32) is\n+\t\t// generally equivalent.\n...
2021-05-29T15:46:19
electron/electron
5b2c0110dc02fe4c8d71766a219632be227c49a9
98fbe5127b44a2cdbe0514f9205891c26ae588b8
Fix other compilation errors
[ { "path": "atom/browser/ui/file_dialog_mac.mm", "patch": "@@ -9,6 +9,7 @@\n \n #include \"atom/browser/native_window.h\"\n #include \"base/files/file_util.h\"\n+#include \"base/mac/foundation_util.h\"\n #include \"base/mac/mac_util.h\"\n #include \"base/mac/scoped_cftyperef.h\"\n #include \"base/strings/sys...
2015-03-11T00:00:55
vercel/next.js
a8b3e7809a07f644ba0ae41f4e5ea5df5cb0a964
e573b20756e1631398ebd6c058627408ce89bda5
chores(examples): Define base image for multi-stage build (#45862) Just define base docker image for multi-stage build ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/can...
[ { "path": "examples/with-docker-compose/next-app/prod.Dockerfile", "patch": "@@ -1,5 +1,7 @@\n+FROM node:18-alpine AS base\n+\n # Step 1. Rebuild the source code only when needed\n-FROM node:18-alpine AS builder\n+FROM base AS builder\n \n WORKDIR /app\n \n@@ -41,7 +43,7 @@ RUN \\\n # Note: It is not necess...
2023-02-13T18:14:26
huggingface/transformers
dbc98328da2cabe7938423c51569252f2b49a5b3
d53518c5f2dd7ada022ff5b725c684c9ed89cb44
Several fixes for Gemma3n (#39135) * remove the skips * fix the epsilon to a small value (does not make sense otherwise) * safeguard * overload test_eager_matches_sdpa * Update test_modeling_common.py * skip appropriate tests * correct no_split_layer * fix all devices issue * fix backward * fix
[ { "path": "src/transformers/models/gemma3n/modeling_gemma3n.py", "patch": "@@ -1135,9 +1135,17 @@ def correct(self, predictions: torch.Tensor, activated: torch.Tensor) -> torch.T\n corrected += predictions # add the original input\n return corrected.contiguous().type_as(activated)\n \n+ ...
2025-07-01T08:34:53
nodejs/node
7f61b528d3da0eae041d1b0316cf87c7684f5bf9
9464e43c7bab8586e33032863f95a0f0a489c878
src: fix missing deprecation assignment PR-URL: https://github.com/nodejs/node/pull/23809 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <l...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -2235,7 +2235,7 @@ It will become an error in future versions of Node.js.\n \n <a id=\"DEP0119\"></a>\n ### DEP0119: process.binding('uv').errname() private API\n-<!--\n+<!-- YAML\n changes:\n - version: REPLACEME\n pr-url: https://github.com/nodejs/no...
2018-10-21T19:37:26
electron/electron
8e2fdc178b354ff913acabaa973eaa29bdb81519
757df399413547636431ba5f0e6a1112caae8822
Fix API changes of CopyFromBackingStore
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -780,11 +780,11 @@ void NativeWindow::NotifyWindowUnresponsive() {\n }\n \n void NativeWindow::OnCapturePageDone(const CapturePageCallback& callback,\n- bool succeed,\n- const SkBi...
2015-03-10T23:39:20
huggingface/transformers
d53518c5f2dd7ada022ff5b725c684c9ed89cb44
3457e8e73e4f5532cc69059682b1ba4484d7e7e8
Fix key mapping for VLMs (#39029) * fix key mapping for VLMs * use __mro__ instead * update key mapping in save_pretrained
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3746,7 +3746,11 @@ def save_pretrained(\n module_map[name + f\".{key}\"] = module\n state_dict = model_to_save.state_dict()\n \n- if any(allowed_name in self.__class__.__name__.lower() for allowed_name i...
2025-07-01T07:47:53
vercel/next.js
d8b43317fca349e8922867f688df4f98db3921a1
34d463eff6ea764440a41d424687e7702d762615
chunks in chunk groups no longer reference parallel chunks (vercel/turbo#3767) optimized chunks no longer reference unoptimized chunks This fixes a bug where unoptimized chunks where written to the temporary output directory
[ { "path": "crates/turbopack-core/src/chunk/chunk_in_group.rs", "patch": "@@ -0,0 +1,140 @@\n+use anyhow::Result;\n+use turbo_tasks::{primitives::StringVc, ValueToString, ValueToStringVc};\n+use turbo_tasks_fs::FileSystemPathVc;\n+\n+use super::{Chunk, ChunkVc, ParallelChunkReferenceVc};\n+use crate::{\n+ ...
2023-02-13T17:21:19
nodejs/node
9464e43c7bab8586e33032863f95a0f0a489c878
d2fcd1dd392ae3f32054f0343d750251b842a314
build: fix coverage generation Changes in command line options for nyc resulted in the coverage target no longer working. Pin the major version of nyc and update the options to get it working again. PR-URL: https://github.com/nodejs/node/pull/23769 Fixes: https://github.com/nodejs/node/issues/23690 Reviewed-By: Jame...
[ { "path": "Makefile", "patch": "@@ -203,7 +203,7 @@ coverage: coverage-test ## Run the tests and generate a coverage report.\n coverage-build: all\n \tmkdir -p node_modules\n \tif [ ! -d node_modules/nyc ]; then \\\n-\t\t$(NODE) ./deps/npm install nyc --no-save --no-package-lock; fi\n+\t\t$(NODE) ./deps/npm...
2018-10-19T21:26:40
electron/electron
dfad90753086edd50dd2c2e85ce0f114e2a6d39b
04d1075db59b6e4dffe2875dedc3173b4f02fe99
Fix API changes of tracing API
[ { "path": "atom/browser/api/atom_api_content_tracing.cc", "patch": "@@ -62,31 +62,26 @@ namespace {\n \n void Initialize(v8::Handle<v8::Object> exports, v8::Handle<v8::Value> unused,\n v8::Handle<v8::Context> context, void* priv) {\n- TracingController* controller = TracingController::GetIn...
2015-03-10T23:02:22
golang/go
717894cf8024cfaad629f0e66a4b9bc123676be5
6ed9463133daabcf11b259155c3f3348ae5a06af
cmd/compile/internal/types2: better error message for index syntax error (follow-up) For #47704. Change-Id: I09e6f638df0cd456a20a3b68ab55c47bb5b1f555 Reviewed-on: https://go-review.googlesource.com/c/go/+/342370 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -1049,10 +1049,15 @@ loop:\n \t\t\t}\n \n \t\t\t// x[i:...\n-\t\t\t// For better error message, don't use p.want(_Colon) here (issue #47704).\n+\t\t\t// For better error message, don't simply use p.want(_Colon) here (issue #47704).\n \t\t\t...
2021-08-15T19:34:59
vercel/next.js
e573b20756e1631398ebd6c058627408ce89bda5
db2e9b287035c87d9f6206d65a69a187d060fc48
Update middleware prefetch handling (#45772) When doing external rewrites with middleware we shouldn't bail for the prefetch case as this is valid and the bailing can occur on the destination application. x-ref: [slack thread](https://vercel.slack.com/archives/C01RGMANU9Y/p1675754630039439) ## Bug - [ ] Re...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -306,6 +306,9 @@ export function getDefineEnv({\n 'process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE': JSON.stringify(\n config.skipMiddlewareUrlNormalize\n ),\n+ 'process.env.__NEXT_EXTERNAL_MIDDLEWARE_REWRITE_RESOLVE': JSON....
2023-02-13T17:02:59
nodejs/node
d2fcd1dd392ae3f32054f0343d750251b842a314
2fc075229e7c6a9955e63897de1564fad7d53056
doc: remove reference to sslv3 in tls.md PR-URL: https://github.com/nodejs/node/pull/23745 Fixes: https://github.com/nodejs/node/issues/9822 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/tls.md", "patch": "@@ -689,7 +689,6 @@ be returned for server sockets or disconnected client sockets.\n \n Example responses include:\n \n-* `SSLv3`\n * `TLSv1`\n * `TLSv1.1`\n * `TLSv1.2`", "additions": 0, "deletions": 1, "language": "Markdown" } ]
2018-10-19T01:02:13
golang/go
6ed9463133daabcf11b259155c3f3348ae5a06af
48dfddbab3569798267798a5d8828bf35355eb9d
cmd/compile/internal/syntax: better error message for index syntax error Fixes #47704. Change-Id: I1de9fd00baaa4b534c23f011ade54120f5153a9d Reviewed-on: https://go-review.googlesource.com/c/go/+/342369 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -1049,7 +1049,11 @@ loop:\n \t\t\t}\n \n \t\t\t// x[i:...\n-\t\t\tp.want(_Colon)\n+\t\t\t// For better error message, don't use p.want(_Colon) here (issue #47704).\n+\t\t\tif !p.got(_Colon) {\n+\t\t\t\tp.syntaxError(\"expecting : or ]\")\n+...
2021-08-15T18:46:33
electron/electron
04d1075db59b6e4dffe2875dedc3173b4f02fe99
8a138fafd4ae591850cd0c285cda730d3c3794d0
Fix API changes of ContentBrowserClient
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -61,7 +61,7 @@ void AtomBrowserClient::RenderProcessWillLaunch(\n }\n \n content::SpeechRecognitionManagerDelegate*\n- AtomBrowserClient::GetSpeechRecognitionManagerDelegate() {\n+ AtomBrowserClient::CreateSpeechRecognitionManagerDelegate()...
2015-03-10T22:56:40
vercel/next.js
0e3bb903e3322303fb55fd6f11036a8c347a4666
5926753a2f4d8a6cc369dfdf519172f84a181960
fix integration tests on windows (vercel/turbo#3737) For windows it's important that the browser is dropped so that the test can complete. To do that we need to cancel the spawned task below (which will drop the browser). For this we are using a JoinSet which cancels all tasks when dropped.
[ { "path": "packages/next-swc/crates/next-dev-tests/Cargo.toml", "patch": "@@ -9,6 +9,16 @@ autobenches = false\n # don't publish this crate\n publish = false\n \n+[features]\n+tokio_console = [\n+ \"dep:console-subscriber\",\n+ \"tokio/tracing\",\n+ \"turbo-tasks/tokio_tracing\",\n+]\n+\n+[dependencies]\...
2023-02-13T16:16:15
nodejs/node
96a986d675fbc3ccc98832232b73b84ba5a4818d
517955a474877893751d71b33f9c02a21bc25000
tls: support changing credentials dynamically This commit adds a setSecureContext() method to TLS servers. In order to maintain backwards compatibility, the method takes the options needed to create a new SecureContext, rather than an instance of SecureContext. Fixes: https://github.com/nodejs/node/issues/4464 Refs: ...
[ { "path": "doc/api/tls.md", "patch": "@@ -411,6 +411,18 @@ encryption/decryption of the [TLS Session Tickets][].\n Starts the server listening for encrypted connections.\n This method is identical to [`server.listen()`][] from [`net.Server`][].\n \n+### server.setSecureContext(options)\n+<!-- YAML\n+added: ...
2018-10-13T18:18:31
electron/electron
8a138fafd4ae591850cd0c285cda730d3c3794d0
819ab5cd0c738e83bc35b482843d3cb0827f15e5
Fix API changes of WebContentsDelegate
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -96,6 +96,7 @@ bool WebContents::AddMessageToConsole(content::WebContents* source,\n bool WebContents::ShouldCreateWebContents(\n content::WebContents* web_contents,\n int route_id,\n+ int main_frame_route_id,\n WindowContain...
2015-03-10T22:54:21
golang/go
48dfddbab3569798267798a5d8828bf35355eb9d
1162aae0ad7d7fefeebd1c8537c457eae76d43ec
lib/time: fix RFC 6557 url Change-Id: I59406ee7dbab7b2a0404b62061af552b6b4ecf5f GitHub-Last-Rev: 7cad5ae9bac19fdffb072413095fe5b223c95eca GitHub-Pull-Request: golang/go#47696 Reviewed-on: https://go-review.googlesource.com/c/go/+/342209 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Ian Lance Taylor ...
[ { "path": "lib/time/README", "patch": "@@ -5,6 +5,6 @@ The IANA asserts that the database is in the public domain.\n For more information, see\n https://www.iana.org/time-zones\n ftp://ftp.iana.org/tz/code/tz-link.html\n-http://tools.ietf.org/html/rfc6557\n+https://datatracker.ietf.org/doc/html/rfc6557\n \n...
2021-08-15T01:57:33
huggingface/transformers
3457e8e73e4f5532cc69059682b1ba4484d7e7e8
fe35eca7bded3e6190f2d760849712d3031f6319
[Whisper] update token timestamps tests (#39126) * fixes * update comment * update for A10 * all a10 * all a10 * all a10 * all a10 --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -336,6 +336,11 @@ def _extract_token_timestamps(\n if num_input_ids is not None:\n weights = weights[:, :, num_input_ids:, :]\n \n+ # Since we ignore `decoder_input_ids` in the DTW and in the case wher...
2025-06-30T19:55:36
vercel/next.js
9b874dda8535fc193a73f8d51730f44722bcaaa3
74995fd9bcc0f11ef344896eef5424c276954cc3
fix integration tests on windows (vercel/turbo#3737) For windows it's important that the browser is dropped so that the test can complete. To do that we need to cancel the spawned task below (which will drop the browser). For this we are using a JoinSet which cancels all tasks when dropped.
[ { "path": "crates/next-dev-tests/Cargo.toml", "patch": "@@ -9,6 +9,16 @@ autobenches = false\n # don't publish this crate\n publish = false\n \n+[features]\n+tokio_console = [\n+ \"dep:console-subscriber\",\n+ \"tokio/tracing\",\n+ \"turbo-tasks/tokio_tracing\",\n+]\n+\n+[dependencies]\n+console-subscrib...
2023-02-13T16:16:15
nodejs/node
517955a474877893751d71b33f9c02a21bc25000
beb0f03e78a8fab01169213aafeebf9fabf1db43
tls: close StreamWrap and its stream correctly When sockets of the "net" module destroyed, they will call `this._handle.close()` which will also emit EOF if not emitted before. This feature makes sockets on the other side emit "end" and "close" even though we haven't called `end()`. As `stream` of `StreamWrap` are lik...
[ { "path": "lib/internal/wrap_js_stream.js", "patch": "@@ -68,6 +68,12 @@ class JSStreamWrap extends Socket {\n if (this._handle)\n this._handle.emitEOF();\n });\n+ // Some `Stream` don't pass `hasError` parameters when closed.\n+ stream.once('close', () => {\n+ // Errors emitted...
2018-10-14T12:13:03
electron/electron
819ab5cd0c738e83bc35b482843d3cb0827f15e5
dead7caab29d7a2983b924b89308c61444ab7929
Fix ui/gfx/geometry headers
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -52,10 +52,10 @@\n #include \"native_mate/dictionary.h\"\n #include \"ui/gfx/codec/png_codec.h\"\n #include \"ui/gfx/geometry/size_conversions.h\"\n-#include \"ui/gfx/point.h\"\n-#include \"ui/gfx/rect.h\"\n+#include \"ui/gfx/geometry/point.h\"\n+#incl...
2015-03-10T22:35:53
golang/go
0a0a160d4df488939892a1adaca6c530fb784cc8
49c688e45c9bb8782b3db4df9dcaf163a4965f6d
sync/atomic: fix documentation for CompareAndSwap Fixes #47699 The documentation for CompareAndSwap atomic/value incorrectly labelled the function as CompareAndSwapPointer. This PR fixes that. Change-Id: I6db08fdfe166570b775248fd24550f5d28e3434e GitHub-Last-Rev: 41f78707928f48c9cdac26b6a4f618d4284e1ca1 GitHub-Pull-R...
[ { "path": "src/sync/atomic/value.go", "patch": "@@ -126,7 +126,7 @@ func (v *Value) Swap(new interface{}) (old interface{}) {\n \t}\n }\n \n-// CompareAndSwapPointer executes the compare-and-swap operation for the Value.\n+// CompareAndSwap executes the compare-and-swap operation for the Value.\n //\n // Al...
2021-08-14T09:46:32
huggingface/transformers
9e0c865b8be73cfe7aac1b5aa146cd7839784c8a
03db2700abf84971351c7374a548a9d4fc156916
docs: correct two typos in awesome-transformers.md (#39102) * docs(awesome-projects): fix typo “Itt leverages” → “It leverages” (#39101) closes #39101 * docs(awesome-projects): fix grammar “We provides” → “We provide” (#39101) closes #39101
[ { "path": "awesome-transformers.md", "patch": "@@ -288,7 +288,7 @@ Keywords: Music understanding, Music generation\n \n ## [dalle-flow](https://github.com/jina-ai/dalle-flow)\n \n-DALL·E Flow is an interactive workflow for generating high-definition images from a text prompt. Itt leverages DALL·E-Mega, GLID...
2025-06-30T15:53:43
vercel/next.js
5926753a2f4d8a6cc369dfdf519172f84a181960
6fb1402d877240fd10bbed2f912a20b2a12c8de7
Issue Reporters (vercel/turbo#3707) Big thanks to @jridgewell for helping me out with a number of Rust-isms with this change. This expands `handle_issues` and the `NextDevServerBuilder` to accept an arbitrary `IssueReporter` -- a trait implementing `report_issues` which receives captured issues to send somewhere...
[ { "path": "packages/next-swc/crates/next-dev/src/lib.rs", "patch": "@@ -27,14 +27,15 @@ use owo_colors::OwoColorize;\n use turbo_malloc::TurboMalloc;\n use turbo_tasks::{\n util::{FormatBytes, FormatDuration},\n- RawVc, StatsType, TransientInstance, TransientValue, TurboTasks, TurboTasksBackendApi, V...
2023-02-13T16:07:19
nodejs/node
beb0f03e78a8fab01169213aafeebf9fabf1db43
6c5e97f2f0928851d613ce90a84a8f8baaba5083
dns: fix inconsistent (hostname vs host) Fixes: https://github.com/nodejs/node/issues/20892 PR-URL: https://github.com/nodejs/node/pull/23572 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/dns.js", "patch": "@@ -152,21 +152,21 @@ Object.defineProperty(lookup, customPromisifyArgs,\n { value: ['address', 'family'], enumerable: false });\n \n \n-function onlookupservice(err, host, service) {\n+function onlookupservice(err, hostname, service) {\n if (err)\n-...
2018-06-22T17:41:42
electron/electron
cfc615a6c172c2adfac69322ecb5db381d067e66
af0690fb88f6bc9d206e144240930f1dff8c7d4a
Fix accidental update of submodules, closes #1255
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit e5865ab25d023bc756da88badba021e207794fc9\n+Subproject commit d3500e5d9451e248dd8f4ae805f19b371e795cc3", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "vendor/native_mate", "patch": "@@ -1 +1 ...
2015-03-17T13:26:10
golang/go
456759b24682a41e282f73855377ac4f341da191
2d250043b4c5095f326ab72741d557fe74e4e3a6
cmd/compile/internal/types2: use the orig object for Named.Obj Exposing a synthetic type name for instantiated types is problematic: there is no way to ensure that type instances are first created in the same type checking pass, and therefore no guarantee that their instantiation positions are the same. Even type chec...
[ { "path": "src/cmd/compile/internal/types2/named.go", "patch": "@@ -15,7 +15,7 @@ import (\n type Named struct {\n \tcheck *Checker\n \tinfo typeInfo // for cycle detection\n-\tobj *TypeName // corresponding declared object\n+\tobj *TypeName // corresponding declared object f...
2021-08-11T16:43:27
rust-lang/rust
85f9dce889f4b71ee0dfa7f26ac006323fd6d9af
4455c8937007f3cc3c078375a335d86dbab391ce
in aarch64 asm parse error tests, only test cases specific to that target this is more in line with the x86 parse error tests. The cross-platform tests were more complete anyway
[ { "path": "tests/ui/asm/aarch64/parse-error.rs", "patch": "@@ -1,57 +1,11 @@\n //@ only-aarch64\n \n-use std::arch::{asm, global_asm};\n+use std::arch::asm;\n \n fn main() {\n let mut foo = 0;\n let mut bar = 0;\n unsafe {\n- asm!();\n- //~^ ERROR requires at least a template strin...
2025-05-19T09:11:55
huggingface/transformers
03db2700abf84971351c7374a548a9d4fc156916
ea0ea392e57f8816f9ab8e5f740577a0343a1594
Enable XPU doc (#38929) * fix example with dataset Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update torchao doc Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update torchao doc Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix device type Signed-off-by: jiqing-feng <jiqing.feng@intel.co...
[ { "path": "docs/source/en/chat_templating_multimodal.md", "patch": "@@ -56,7 +56,7 @@ Create a [`ImageTextToTextPipeline`] and pass the chat to it. For large models,\n import torch\n from transformers import pipeline\n \n-pipeline = pipeline(\"image-text-to-text\", model=\"llava-hf/llava-onevision-qwen2-0.5...
2025-06-30T14:56:55
vercel/next.js
74995fd9bcc0f11ef344896eef5424c276954cc3
d3f3f8043fc0f3589325c6718fa2490f1120ee89
Issue Reporters (vercel/turbo#3707) Big thanks to @jridgewell for helping me out with a number of Rust-isms with this change. This expands `handle_issues` and the `NextDevServerBuilder` to accept an arbitrary `IssueReporter` -- a trait implementing `report_issues` which receives captured issues to send somewhere...
[ { "path": "crates/next-dev/src/lib.rs", "patch": "@@ -27,14 +27,15 @@ use owo_colors::OwoColorize;\n use turbo_malloc::TurboMalloc;\n use turbo_tasks::{\n util::{FormatBytes, FormatDuration},\n- RawVc, StatsType, TransientInstance, TransientValue, TurboTasks, TurboTasksBackendApi, Value,\n+ Collec...
2023-02-13T16:07:19
nodejs/node
6c5e97f2f0928851d613ce90a84a8f8baaba5083
eff869feccb7396715fd2d0b47b6a1cbb5b2d1c2
test: increase coverage for readfile with withFileTypes According to the test coverage report a test case was missings checking if an error is passed into the callback for readdir calls with withFileTypes option. PR-URL: https://github.com/nodejs/node/pull/23557 Reviewed-By: Anna Henningsen <anna@addaleax.net> Review...
[ { "path": "test/parallel/test-fs-readdir-types.js", "patch": "@@ -49,6 +49,19 @@ function assertDirents(dirents) {\n // Check the readdir Sync version\n assertDirents(fs.readdirSync(readdirDir, { withFileTypes: true }));\n \n+fs.readdir(__filename, {\n+ withFileTypes: true\n+}, common.mustCall((err) => {\n...
2018-10-12T17:43:58
electron/electron
54e58ae255824c7d210d823d9c2ec98753bee227
6033e5bea39b35c141588fd600a872de6265eb57
Fix compilation on Linux
[ { "path": "brightray/browser/linux/notification_presenter_linux.cc", "patch": "@@ -9,7 +9,7 @@\n #include \"base/logging.h\"\n #include \"base/strings/utf_string_conversions.h\"\n #include \"content/public/browser/desktop_notification_delegate.h\"\n-#include \"content/public/common/show_desktop_notification...
2015-03-14T18:34:53
golang/go
7eaabae84d8b69216356b84ebc7c86917100f99a
58490972c0d5a9dc59450474d38533faf69e4aaf
net: update IP.String doc to reflect RFC 5952 conformance Fixes #44485 Change-Id: I1b1bf14245ef738342ec881ac4c99adbfc9c5b7d GitHub-Last-Rev: ae0242c6d61fc0e80c58113a70db74829f6aa12c GitHub-Pull-Request: golang/go#47394 Reviewed-on: https://go-review.googlesource.com/c/go/+/337409 Trust: Dmitri Shuralyov <dmitshur@gol...
[ { "path": "src/net/ip.go", "patch": "@@ -308,7 +308,7 @@ func ubtoa(dst []byte, start int, v byte) int {\n // It returns one of 4 forms:\n // - \"<nil>\", if ip has length 0\n // - dotted decimal (\"192.0.2.1\"), if ip is an IPv4 or IP4-mapped IPv6 address\n-// - IPv6 (\"2001:db8::1\"), if ip is a val...
2021-08-07T04:18:37
huggingface/transformers
ea0ea392e57f8816f9ab8e5f740577a0343a1594
ed36f8490eb3748f2424d854936cc6f816aeb486
Fix chat (#39128)
[ { "path": "src/transformers/commands/chat.py", "patch": "@@ -636,7 +636,6 @@ def run(self):\n async def _inner_run(self):\n if self.spawn_backend:\n serve_args = ServeArguments(\n- model_revision=self.args.model_revision,\n device=self.args.device,\n ...
2025-06-30T13:47:48
rust-lang/rust
687eeeafc8031f143698304b34d5fbdce6bb8e0e
0e63f085d32350d5563e234938434b46e5539266
Change import prefix default to be by crate The current default plain, tends to create non-uniform import blocks over time, some being relative, some being absolute. I believe we should encourage a different default here.
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -544,7 +544,7 @@ config_data! {\n /// Whether to prefer import paths containing a `prelude` module.\n imports_preferPrelude: bool = false,\n /// The path structure for newly in...
2025-05-19T06:40:59
vercel/next.js
db2e9b287035c87d9f6206d65a69a187d060fc48
5727d48d57f3b10ee4a41c7e893c317410bbf6fc
Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) Added tests: - Add tests for interception+parallel and interception - Add test for parallel route tab bar - Add test for back/forward navigation on parallel routes Core changes: - Updated handling of paralle...
[ { "path": ".vscode/launch.json", "patch": "@@ -16,6 +16,18 @@\n \"NEXT_PRIVATE_LOCAL_WEBPACK\": \"1\"\n }\n },\n+ {\n+ \"name\": \"Launch app-dir build\",\n+ \"type\": \"node\",\n+ \"request\": \"launch\",\n+ \"cwd\": \"${workspaceFolder}\",\n+ \"runtimeExecutab...
2023-02-13T15:12:44
nodejs/node
20282b1cb0389553421c4c5b14de198c5dfff50b
0feb21fb028deaad69ec028c14aafe4ccd823cf2
src: use more explicit return type in Sign::SignFinal() Using the non-indexed variant of `std::get<>` broke Travis CI. Also, this allows us to be a bit more concise when returning from `SignFinal()` due to some error condition. Refs: https://github.com/nodejs/node/pull/23427 PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "src/node_crypto.cc", "patch": "@@ -3562,22 +3562,20 @@ static MallocedBuffer<unsigned char> Node_SignFinal(EVPMDPointer&& mdctx,\n return MallocedBuffer<unsigned char>();\n }\n \n-std::pair<SignBase::Error, MallocedBuffer<unsigned char>> Sign::SignFinal(\n+Sign::SignResult Sign::SignFinal(\n ...
2018-10-20T03:24:54
golang/go
58490972c0d5a9dc59450474d38533faf69e4aaf
a95f1b51be6cdf39235dd4a00f03bab9bf17a3f3
cmd/link: fix dead reference link Change-Id: I0f53cc2b845f8a52fece2aaba1445a0ecb9cdc53 Reviewed-on: https://go-review.googlesource.com/c/go/+/341129 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/cmd/link/internal/loadelf/ldelf.go", "patch": "@@ -22,7 +22,7 @@ import (\n \n /*\n Derived from Plan 9 from User Space's src/libmach/elf.h, elf.c\n-http://code.swtch.com/plan9port/src/tip/src/libmach/\n+https://github.com/9fans/plan9port/tree/master/src/libmach/\n \n \tCopyright © 2004 Russ ...
2021-08-10T14:05:34
huggingface/transformers
e8f90b5397df419f211498ef399f9255790b8428
539c6c2fa8abc9bb97218ac0b3c3d143ba800e05
Split `transformers chat` and `transformers serve` (#38443) * Next token * Split chat and serve * Support both generation methods * Style * Generation Config * temp * temp * Finalize serving.py Co-authored-by: =?UTF-8?q?c=C3=A9lina?= <hanouticelina@gmail.com> * Finalize chat.py * Update src/transformers/com...
[ { "path": "docs/source/en/conversations.md", "patch": "@@ -27,6 +27,9 @@ This guide shows you how to quickly start chatting with Transformers from the co\n \n ## transformers CLI\n \n+\n+### Interactive chat session\n+\n After you've [installed Transformers](./installation.md), chat with a model directly fr...
2025-06-30T13:10:53
vercel/next.js
5727d48d57f3b10ee4a41c7e893c317410bbf6fc
31cd027d3de5975ba0d06c4ff7d247b40099055d
Fix hash in route types (#45820) This PR fixes the issue that link with hash suffix can't be type checked. It also improves the experience of implementing a custom component that uses `Route` (you'll have to add a generic type that extends `string`, of course): <img width="552" alt="CleanShot-2023-02-13-oyakgbw9@2x" ...
[ { "path": "packages/next/src/build/webpack/plugins/flight-types-plugin.ts", "patch": "@@ -108,28 +108,29 @@ function createRouteDefinitions() {\n !edgeRouteTypes.length && !nodeRouteTypes.length ? 'string' : ''\n \n return `\n+type SearchOrHash = \\`?\\${string}\\` | \\`#\\${string}\\`\n+type Suffix =...
2023-02-13T15:10:45
nodejs/node
b3ae9150de99a9b7b92ceddb11cd9e43ea92c7cb
87719d792b855e4278dbd3ca209592d83e80ac37
build: spawn `make test-ci` with `-j1` All the sub targets have internal parallelism, so no performance loss. Also `make` doesn't to a good enough job of combining the output streams, or eliminate races. PR-URL: https://github.com/nodejs/node/pull/23733 Fixes: https://github.com/nodejs/node/issues/22006 Reviewed-By: ...
[ { "path": "Makefile", "patch": "@@ -480,8 +480,11 @@ build-ci:\n # of tests. See `test-ci-native` and `test-ci-js`.\n # - node-test-commit-linux-coverage: where the build and the tests need\n # to be instrumented, see `coverage`.\n+#\n+# Using -j1 as the sub target in `test-ci` already have internal par...
2018-10-18T15:00:11
electron/electron
bd81b24b99243405e2946b1a7937fc12056958e6
bb2f3a82d9aa37cd7a3ad2ad00d80bd6fbda427c
Fix a typo
[ { "path": "docs/api/tray.md", "patch": "@@ -101,7 +101,7 @@ Sets the hover text for this tray icon.\n \n Sets the title displayed aside of the tray icon in the status bar.\n \n-This is only implmented on OS X.\n+This is only implemented on OS X.\n \n ### Tray.setHighlightMode(highlight)\n ", "additions"...
2015-03-12T00:38:31
golang/go
89a4f996405684c117571e3a0813742b6a8269b7
2eb4d68833e28fce2701a9c39755413630921371
lib/time: fix tz-link ftp url Change-Id: Id09c01192dea6a6f26cbad7222946266587acfda GitHub-Last-Rev: c4f99aedcdc8316f13e8d9bfe9a00e48443fae9e GitHub-Pull-Request: golang/go#47639 Reviewed-on: https://go-review.googlesource.com/c/go/+/341389 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <em...
[ { "path": "lib/time/README", "patch": "@@ -4,7 +4,7 @@ The IANA asserts that the database is in the public domain.\n \n For more information, see\n https://www.iana.org/time-zones\n-ftp://ftp.iana.org/tz/code/tz-link.htm\n+ftp://ftp.iana.org/tz/code/tz-link.html\n http://tools.ietf.org/html/rfc6557\n \n To ...
2021-08-11T08:52:31
huggingface/transformers
4a79bf947d0614d2a023b9137a32cf754ac241fe
2100ee654569d323bfb77266cd3a75070abfda97
Fix some bug for finetune and batch infer For GLM-4.1V (#39090) * update * 1
[ { "path": "src/transformers/models/glm4v/image_processing_glm4v_fast.py", "patch": "@@ -121,6 +121,7 @@ def _preprocess(\n do_convert_rgb: bool,\n input_data_format: Optional[Union[str, ChannelDimension]],\n device: Optional[Union[str, torch.device]],\n+ disable_grouping: Opti...
2025-06-30T10:16:22
vercel/next.js
31cd027d3de5975ba0d06c4ff7d247b40099055d
a5fe64cd06feda0197806e677da6b093eab8d281
Fix 404 link in example with-turbopack (#45843) Change 404 project codebase link in example with-turbopack to the correct one <!-- 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. Cho...
[ { "path": "examples/with-turbopack/app/layout.tsx", "patch": "@@ -37,7 +37,7 @@ export default function RootLayout({\n {'. '}\n <a\n className=\"underline decoration-dotted underline-offset-4\"\n- href=\"https://github.com/vercel/next.js/examples/wi...
2023-02-13T14:47:05
nodejs/node
87719d792b855e4278dbd3ca209592d83e80ac37
3e3ce225830c46fe49f45d7c741aec49d1ef0d2e
tls: load NODE_EXTRA_CA_CERTS at startup This commit makes node load extra certificates at startup instead of first use. PR-URL: https://github.com/nodejs/node/pull/23354 Fixes: https://github.com/nodejs/node/issues/20434 Refs: https://github.com/nodejs/node/issues/20432 Reviewed-By: Sam Roberts <vieuxtech@gmail.com>...
[ { "path": "src/node_crypto.cc", "patch": "@@ -116,10 +116,10 @@ static const char* const root_certs[] = {\n \n static const char system_cert_path[] = NODE_OPENSSL_SYSTEM_CERT_PATH;\n \n-static std::string extra_root_certs_file; // NOLINT(runtime/string)\n-\n static X509_STORE* root_cert_store;\n \n+static ...
2018-10-09T12:51:15
golang/go
641e8bc2c7166135d3a63ed1a71a3aa495bc3c5d
98f3d7fecbb8a9074f5f4ffc50bb016e194940b7
test: add test case that caused a gofrontend compiler crash For #47131 Change-Id: Ie2d5a2bd3dceec607544c43e6dc68bd5ea353091 Reviewed-on: https://go-review.googlesource.com/c/go/+/335172 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.co...
[ { "path": "test/fixedbugs/issue47131.dir/a.go", "patch": "@@ -0,0 +1,13 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package a\n+\n+type MyInt int\n+\n+type MyIntAlias = MyInt\n+\n...
2021-07-16T19:16:21
huggingface/transformers
2100ee654569d323bfb77266cd3a75070abfda97
ccf2ca162e33f381e454cdb74bf4b41a51ab976d
fix UT failures on XPU w/ stock PyTorch 2.7 & 2.8 (#39116) * fix UT failures on XPU w/ stock PyTorch 2.7 & 2.8 Signed-off-by: YAO Matrix <matrix.yao@intel.com> * zamba2 Signed-off-by: YAO Matrix <matrix.yao@intel.com> * xx Signed-off-by: YAO Matrix <matrix.yao@intel.com> * internvl Signed-off-by: YAO Matrix <ma...
[ { "path": "tests/models/cohere2/test_modeling_cohere2.py", "patch": "@@ -24,6 +24,7 @@\n from transformers.generation.configuration_utils import GenerationConfig\n from transformers.testing_utils import (\n Expectations,\n+ cleanup,\n is_flash_attn_2_available,\n require_flash_attn,\n req...
2025-06-30T09:49:03
vercel/next.js
d3f3f8043fc0f3589325c6718fa2490f1120ee89
a89e6f6149e4c7802ca18abbfe11eebcc7d2cb51
Implement FromSubTrait for ValueDebug (vercel/turbo#3769) This is necessary in order to pass in a `SomeTraitVc` to a function which expects `T: ValueDebug`.
[ { "path": "crates/turbo-tasks-macros/src/value_trait_macro.rs", "patch": "@@ -162,6 +162,12 @@ pub fn value_trait(args: TokenStream, input: TokenStream) -> TokenStream {\n self.value_debug_format(depth).try_to_value_debug_string().await\n }\n }\n+\n+ ...
2023-02-13T14:14:12
nodejs/node
3e3ce225830c46fe49f45d7c741aec49d1ef0d2e
35ed66c776bbe44d3b8d2df0f5a83d265288374d
doc: fix index in table of contents in BUILDING.md Also, a missing colon was added. PR-URL: https://github.com/nodejs/node/pull/23777 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "BUILDING.md", "patch": "@@ -10,42 +10,40 @@ file a new issue.\n \n ## Table of Contents\n \n-- [Building Node.js](#building-nodejs)\n- - [Table of Contents](#table-of-contents)\n- - [Supported platforms](#supported-platforms)\n- - [Input](#input)\n- - [Strategy](#strategy)\n- - [Suppor...
2018-10-20T01:33:00
electron/electron
860b15ef8a39ac50abfbde11234fe01e0822a04c
16791153029dda582317b32301d2cd3952fc0f1f
:memo: add troubleshooting instructions for libudev.so.0 failure Adding the easiest solution for solving the missing libudev.so.0 error on ubuntu 13.04+. I had to do this on my own machine running ubuntu 14.04.2 to build atom. The solution is also referenced in https://github.com/nwjs/nw.js/wiki/The-solution-of-lack...
[ { "path": "docs/development/build-instructions-linux.md", "patch": "@@ -90,6 +90,30 @@ If you got an error like this:\n libchromiumcontent.so is build with clang 3.0 which is incompatible with newer\n versions of clang. Try using clang 3.0, default version in Ubuntu 12.04.\n \n+### libudev.so.0 missing\n+\n...
2015-03-10T23:22:16
golang/go
98f3d7fecbb8a9074f5f4ffc50bb016e194940b7
20a620fd9f7bc35739c1af3602d53808d0430814
all: gofmt more (but vendor, testdata, and top-level test directories) CL 294430 made packages in std and cmd modules use Go 1.17 gofmt format, adding //go:build lines. This change applies the same formatting to some more packages that 'go fmt' missed (e.g., syscall/js, runtime/msan), and everything else that is easy ...
[ { "path": "misc/android/go_android_exec.go", "patch": "@@ -2,6 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+//go:build ignore\n // +build ignore\n \n // This program can be used as go_android_GOARCH_exec by the Go tool.", "addit...
2021-08-10T00:29:14
huggingface/transformers
ccf2ca162e33f381e454cdb74bf4b41a51ab976d
a11f69289572955f4be9d2bc7b7c5dd949722fc1
skip some `test_sdpa_can_dispatch_on_flash` (#39092) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -3748,7 +3748,24 @@ def test_sdpa_can_dispatch_on_flash(self):\n self.skipTest(\n \"PaliGemma-like models currently (transformers==4.41.0) requires an attention_mask input\"\n )\n- if confi...
2025-06-27T21:08:14
huggingface/transformers
a11f69289572955f4be9d2bc7b7c5dd949722fc1
18143c76bfa86792d293d646bb795935c2266967
Fixes the failing test `test_is_split_into_words` in `test_pipelines_token_classification.py` (#39079) * Fix test pipelines token classification for is_split_into_words * Fix incorrect import format
[ { "path": "tests/pipelines/test_pipelines_token_classification.py", "patch": "@@ -328,8 +328,10 @@ def test_is_split_into_words(self):\n self.assertEqual(\n nested_simplify(output),\n [\n- {\"entity_group\": \"PER\", \"score\": ANY(float), \"word\": \"Sarah\", ...
2025-06-27T18:25:32
vercel/next.js
a5fe64cd06feda0197806e677da6b093eab8d281
8fb2f591695dd8c0bf773e670cb202da56b4030c
Static og and twitter image files as metadata (#45797) ## Feature Closes NEXT-265 Fixes NEXT-516 - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] Related issues linked using `fixes #number` - [x] [e2e](https://github.c...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -61,7 +61,7 @@ import { AppBuildManifestPlugin } from './webpack/plugins/app-build-manifest-plu\n import { SubresourceIntegrityPlugin } from './webpack/plugins/subresource-integrity-plugin'\n import { FontLoaderManifestPlugin } from './webp...
2023-02-13T13:57:55
electron/electron
dd706ea6e26fef4a7ac8ee6296de6df237aec451
6856d203c5638f3d52dcad355ea18667e353424b
test for ignoreCertificateError
[ { "path": "spec/chromium-spec.coffee", "patch": "@@ -1,6 +1,8 @@\n assert = require 'assert'\n http = require 'http'\n+https = require 'https'\n path = require 'path'\n+pem = require 'pem'\n \n describe 'chromium feature', ->\n fixtures = path.resolve __dirname, 'fixtures'\n@@ -9,16 +11,33 @@ describe 'ch...
2015-03-10T07:09:23
nodejs/node
35ed66c776bbe44d3b8d2df0f5a83d265288374d
61aa81e16c7ba73fd52649e667e36c9e7e7863ed
test: fix argument order in assertion Change the order of assert parameters so the first argument is the value and the second one the expected value. PR-URL: https://github.com/nodejs/node/pull/23581 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Triv...
[ { "path": "test/known_issues/test-http-path-contains-unicode.js", "patch": "@@ -10,7 +10,7 @@ const http = require('http');\n \n const expected = '/café🐶';\n \n-assert.strictEqual('/caf\\u{e9}\\u{1f436}', expected);\n+assert.strictEqual(expected, '/caf\\u{e9}\\u{1f436}');\n \n const server = http.createSer...
2018-10-12T18:15:43
golang/go
20a620fd9f7bc35739c1af3602d53808d0430814
4c8ffb3baaabce1aa2139ce7739fec333ab80728
runtime: drop SIGPROF while in ARM < 7 kernel helpers On Linux ARMv6 and below runtime/internal/atomic.Cas calls into a kernel cas helper at a fixed address. If a SIGPROF arrives while executing the kernel helper, the sigprof lostAtomic logic will miss that we are potentially in the spinlock critical section, which co...
[ { "path": "src/runtime/proc.go", "patch": "@@ -4619,7 +4619,7 @@ func sigprof(pc, sp, lr uintptr, gp *g, mp *m) {\n \t\treturn\n \t}\n \n-\t// On mips{,le}, 64bit atomics are emulated with spinlocks, in\n+\t// On mips{,le}/arm, 64bit atomics are emulated with spinlocks, in\n \t// runtime/internal/atomic. If...
2021-08-12T21:17:51
huggingface/transformers
02a769b05860d2390e837309c3b41e99218b6555
c2dc72bb5f15fcfbba061a8b243997bf424d67df
[fix] Add FastSpeech2ConformerWithHifiGan (#38207) * add to mapping * oops * oops * add to config_mapping_names * revert * fix? * config-mapping-names * fix? * fix?
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -130,6 +130,7 @@\n (\"falcon_h1\", \"FalconH1Config\"),\n (\"falcon_mamba\", \"FalconMambaConfig\"),\n (\"fastspeech2_conformer\", \"FastSpeech2ConformerConfig\"),\n+ (\"fastspeech2_conformer_with_hif...
2025-06-27T16:38:21
vercel/next.js
7bbd239fe7e6d72ef467484619b978c11f5fbb70
1a9b4b9a9b8391d4c57480aea4787e7d83e027b7
fix: proper check for plugin in tsconfig (#45831) `plugin` is a key of `tsconfig.compilerOptions` <!-- 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 t...
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -198,7 +198,10 @@ export async function writeConfigurationDefaults(\n // If the TS config extends on another config, we can't add the `plugin` field\n // because that will override the parent config's plugin...
2023-02-13T01:34:32
electron/electron
29471ff8b506c5c7ee5fa92d66b7c6c1547f9247
2495583b5efb4be4ea44eef4984e30aa65119a32
Fix styling of #1209
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -267,11 +267,8 @@ void WebContents::WebContentsDestroyed() {\n \n void WebContents::NavigationEntryCommitted(\n const content::LoadCommittedDetails& load_details) {\n- content::NavigationEntry* entry = load_details.entry;\n- web_conte...
2015-03-09T20:46:46
golang/go
4be75faa3ee79a273ff82d4f5b7f838ef3642f9d
1fffeddfe9c977510d855277da57e0564700d6c3
cmd/go: make fewer 'go mod' commands update go.mod 'go mod graph', 'go mod vendor', 'go mod verify', and 'go mod why' will no longer edit go.mod or go.sum. 'go mod graph', 'go mod verify', and 'go mod why' may still fetch files and look up packages as if they were able to update go.mod. They're useful for debugging a...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -686,12 +686,25 @@ func setDefaultBuildMod() {\n \t\treturn\n \t}\n \n-\tif cfg.CmdName == \"get\" || strings.HasPrefix(cfg.CmdName, \"mod \") {\n-\t\t// 'get' and 'go mod' commands may update go.mod automatically.\n-\t\t// TODO(jayconrod): shoul...
2021-07-20T21:46:40
nodejs/node
7bd2912669c8975523b6d77269d29207d3ea9769
e5accf546c30a813e268ca299c1dc8eed0adeb80
crypto: reduce memory usage of SignFinal The fixed-size buffer on the stack is unnecessary and way too large for most applications. This change removes it and allocates the required memory directly instead of copying into heap later. PR-URL: https://github.com/nodejs/node/pull/23427 Reviewed-By: Anna Henningsen <anna...
[ { "path": "src/node_crypto.cc", "patch": "@@ -43,6 +43,7 @@\n \n #include <algorithm>\n #include <memory>\n+#include <utility>\n #include <vector>\n \n static const int X509_NAME_FLAGS = ASN1_STRFLGS_ESC_CTRL\n@@ -3523,46 +3524,51 @@ void Sign::SignUpdate(const FunctionCallbackInfo<Value>& args) {\n sign-...
2018-10-11T17:56:49
huggingface/transformers
c2dc72bb5f15fcfbba061a8b243997bf424d67df
c8064bea9a2482b741de87e2b7e4faa93181da72
TST Fix PEFT integration test bitsandbytes config (#39082) TST Fix PEFT integration test bitsandbytes config The PEFT integration tests still used load_in_{4,8}_bit, which is deprecated, moving to properly setting BitsAndBytesConfig. For 4bit, also ensure that nf4 is being used to prevent > RuntimeError: quant_type ...
[ { "path": "tests/peft_integration/test_peft_integration.py", "patch": "@@ -25,6 +25,7 @@\n AutoModelForCausalLM,\n AutoModelForSequenceClassification,\n AutoTokenizer,\n+ BitsAndBytesConfig,\n OPTForCausalLM,\n Trainer,\n TrainingArguments,\n@@ -76,6 +77,12 @@ def _check_lora_corr...
2025-06-27T16:33:11
electron/electron
bb8da7ec7e8ae82ec7a65c41e7ef6fc86afdf1fa
5e1a4e122226309ad16583e38156040200a8d1f8
Fix browser_context.cc
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -99,6 +99,11 @@ base::FilePath BrowserContext::GetPath() const {\n return path_;\n }\n \n+scoped_ptr<content::ZoomLevelDelegate> BrowserContext::CreateZoomLevelDelegate(\n+ const base::FilePath& partition_path) {\n+ return scoped_ptr<conte...
2015-03-09T02:56:45
vercel/next.js
1a9b4b9a9b8391d4c57480aea4787e7d83e027b7
fe8c43213df099602724bf2e2499564fcfbb1332
fix wrong variables assignment (#45833) Correct me if I am wrong, but the variables were named in reverse to what they were doing. `!!traceGlobals.get('pagesDir')` should be assigned to `pagesDir` but instead it was assigned to `appDir` and vice versa ## Bug - [ ] Related issues linked using `fixes #number` -...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -54,8 +54,8 @@ const handleSessionStop = async () => {\n distDir: path.join(dir, config.distDir),\n })\n \n- let appDir: boolean = !!traceGlobals.get('pagesDir')\n- let pagesDir: boolean = !!traceGlobals.get('appDir')\n+ let ...
2023-02-12T20:37:13
golang/go
1fffeddfe9c977510d855277da57e0564700d6c3
0d0193409492b96881be6407ad50123e3557fdfb
cmd/go: add -testsum flag to update go.sum in script tests -testsum may be set to "tidy", "listm", or "listall". When set, TestScript runs 'go mod tidy', 'go list -m -mod=mod all', or 'go list -mod=mod all' at the beginning of each test that has a go.mod file in its root directory. If the test passes and go.mod or go....
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -11,6 +11,7 @@ import (\n \t\"bytes\"\n \t\"context\"\n \t\"errors\"\n+\t\"flag\"\n \t\"fmt\"\n \t\"go/build\"\n \t\"internal/testenv\"\n@@ -35,6 +36,8 @@ import (\n \t\"cmd/internal/sys\"\n )\n \n+var testSum = flag.String(\"testsum\", \"\", `may be tidy,...
2021-07-20T21:37:53
nodejs/node
e5accf546c30a813e268ca299c1dc8eed0adeb80
814f89db61b1bed434c6cd5b7cba2849aee2c6fc
benchmark: coerce PORT to number Without this fix net/tcp-raw-c2s.js aborts in environments where PORT is defined. TCPWrap::Connect expects the third arg to be a UInt32. PR-URL: https://github.com/nodejs/node/pull/23721 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Review...
[ { "path": "benchmark/_http-benchmarkers.js", "patch": "@@ -8,7 +8,7 @@ const requirementsURL =\n 'https://github.com/nodejs/node/blob/master/doc/guides/writing-and-running-benchmarks.md#http-benchmark-requirements';\n \n // The port used by servers and wrk\n-exports.PORT = process.env.PORT || 12346;\n+exp...
2018-10-17T21:27:54
huggingface/transformers
c8064bea9a2482b741de87e2b7e4faa93181da72
dd7dc4a4a2281c4a3eda1247fc05e34149a55786
Fix: unprotected import of tp plugin (#39083)
[ { "path": "src/transformers/trainer.py", "patch": "@@ -230,7 +230,6 @@\n AutocastKwargs,\n DistributedDataParallelKwargs,\n DistributedType,\n- TorchTensorParallelPlugin,\n load_fsdp_model,\n load_fsdp_optimizer,\n save_fsdp_model,", "additions": 0,...
2025-06-27T15:28:05
rust-lang/rust
250869e909e643c90582337406e943009569fc6e
977d8418696438c8cc5f21082d59cdc6d09d94bf
float: Add `f16` to `test-float-parse` This requires a fix to the subnormal test to cap the maximum allowed value within the maximum mantissa.
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -3554,7 +3554,7 @@ impl Step for TestFloatParse {\n builder.ensure(tool::TestFloatParse { host: self.host });\n \n // Run any unit tests in the crate\n- let cargo_test = tool::prepare_tool_cargo(\n+ let mut ca...
2024-08-25T06:30:17
electron/electron
5e1a4e122226309ad16583e38156040200a8d1f8
f04ee342ea057b655f965d580da4112bfe56f08c
Fix url_request_context_getter.cc
[ { "path": "brightray/browser/url_request_context_getter.cc", "patch": "@@ -142,7 +142,7 @@ net::HostResolver* URLRequestContextGetter::host_resolver() {\n net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));\n \n- const Command...
2015-03-09T02:54:27
vercel/next.js
fe8c43213df099602724bf2e2499564fcfbb1332
b84ca0513214758dcfeaa146a3fcc7c3e9e0f97a
remove unnecessary await when calling findPagesDir (#45807) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existi...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -61,7 +61,7 @@ const handleSessionStop = async () => {\n typeof traceGlobals.get('pagesDir') === 'undefined' ||\n typeof traceGlobals.get('appDir') === 'undefined'\n ) {\n- const pagesResult = await findPagesDir(dir, !!config.e...
2023-02-12T11:06:13