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
vercel/next.js
98e0c4a51cfe6573ae35481d8bd83ed451f0e41f
219d1d49c7654cc21635263191031fc9c6d71560
External vercel og for nodejs runtime (#48844) ### Why Default font file of `@vercel/og` is not loaded, because the og package is bundled by webpack and we should external it so that `fs.readFileSync` is bundled and manged that can't be traced by nft. ### How This PR externals `@vercel/og` so that they don't need t...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1286,7 +1286,9 @@ export default async function getBaseWebpackConfig(\n // so that the DefinePlugin can inject process.env values.\n \n // Treat next internals as non-external for server layer\n- if (layer === WEBPACK_LAYE...
2023-04-26T23:36:42
nodejs/node
63e13fd2209ac407ee70505dbffaa4e53138614b
3b5773fee389c52077bd9f2dd324739af27fb6b5
util: only the first line of the error message V8 extends the error message for JSON#stringify when encountering circular structures. The first line of the new error message is equivalent to the old error message and stays the same across all circular structure errors. PR-URL: https://github.com/nodejs/node/pull/2668...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -1373,6 +1373,7 @@ function format(...args) {\n }\n \n \n+const firstErrorLine = (error) => error.message.split('\\n')[0];\n let CIRCULAR_ERROR_MESSAGE;\n function tryStringify(arg) {\n try {\n@@ -1383,11 +1384,13 @@ function tryStringify(arg) {\n ...
2019-01-24T13:51:33
huggingface/transformers
26b5b52676ec22e1cf94bc27ed1a6c542e60159d
34b861abd11074fd32362b9a25c1cc582fa0b941
[Fix] Fix test file error (#40973) Fix test file error
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -5907,7 +5907,7 @@ def hp_name(trial):\n )\n optim_test_params.append(\n (\n- TrainingArguments(optim=OptimizerNames.ADAMW_TORCH_8BIT, output_dir=\"None\"),\n+ OptimizerNames.ADAMW_TORCH_8BIT,\n...
2025-10-09T15:30:53
rust-lang/rust
a1a3bef6f0d5f5f45f0296133d7af745dc89d7bb
6f935a044d1ddeb6160494a6320d008d7c311aef
Implement lint against direct uses of rustc_type_ir in compiler crates This commit adds a lint to prevent the use of rustc_type_ir in random compiler crates, except for type system internals traits, which are explicitly allowed. Moreover, this fixes diagnostic_items() to include the CRATE_OWNER_ID, otherwise rustc_dia...
[ { "path": "compiler/rustc_errors/src/lib.rs", "patch": "@@ -7,6 +7,7 @@\n #![allow(internal_features)]\n #![allow(rustc::diagnostic_outside_of_impl)]\n #![allow(rustc::untranslatable_diagnostic)]\n+#![cfg_attr(not(bootstrap), allow(rustc::direct_use_of_rustc_type_ir))]\n #![doc(html_root_url = \"https://doc...
2025-05-25T13:15:49
golang/go
489f58779ce073ef8f6b1505f80580211200ff60
a17a21c190c3e3ea8e88af3e89ccb3c2f101c35b
cmd/compile/internal/types2: when type hashing, use placeholders for type parameters This is a port of CL 363114 from go/types to types2 with a temporary work-around in tparamIndex to avoid a crash with the unified build and test/typeparam/setsimp.go. Change-Id: Id4805385f21c95b461911b246fb47ee278a84ac9 Reviewed-on: ...
[ { "path": "src/cmd/compile/internal/types2/typestring.go", "patch": "@@ -8,6 +8,7 @@ package types2\n \n import (\n \t\"bytes\"\n+\t\"fmt\"\n \t\"strconv\"\n \t\"unicode/utf8\"\n )\n@@ -70,20 +71,21 @@ func WriteSignature(buf *bytes.Buffer, sig *Signature, qf Qualifier) {\n }\n \n type typeWriter struct {\n...
2021-11-16T16:31:38
electron/electron
a99c193cf2d783308a0777e6c6ee606590bfa263
85b7aa6933c2d9cdce5aac1a53a0d49fdccff3ff
:checkered_flag: Preserve file extension when extracting from asar Currently, when calling `copyFileOut`, the original extension from the file is lost, and a generic `*.tmp` is added instead. This becomes problematic in the scenario where we use `child_process.execFile` on a Windows Batch script that lives inside the...
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -272,7 +272,8 @@ bool Archive::CopyFileOut(const base::FilePath& path, base::FilePath* out) {\n }\n \n scoped_ptr<ScopedTemporaryFile> temp_file(new ScopedTemporaryFile);\n- if (!temp_file->InitFromFile(&file_, info.offset, info.size))\n+ base::Fil...
2015-12-01T15:57:32
vercel/next.js
219d1d49c7654cc21635263191031fc9c6d71560
7c1ee055ce628c3e0ec88962869ae6059a80c51d
update turbopack (#48893) ### What? * https://github.com/vercel/turbo/pull/4700 <!-- Tobias Koppers - update deps --> * https://github.com/vercel/turbo/pull/4706 <!-- Tobias Koppers - make library code less verbose in stack traces --> * https://github.com/vercel/turbo/pull/4705 <!-- Tobias Koppers - improve er...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230425.4#bef88f9c2c8519d111099292b0ebe20edd412ebf\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-04-26T22:46:04
rust-lang/rust
48e52bb2000be6b7b406714d3dda14774575c4d5
6be97a0b0c6f1d20a96572675595921855a94396
Fix compiletest and rustc-dev-guide
[ { "path": "src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md", "patch": "@@ -4,7 +4,7 @@ There are three types of tools you can write in bootstrap:\n \n - **`Mode::ToolBootstrap`**\n Use this for tools that don’t need anything from the in-tree compiler and can run with the s...
2025-06-18T13:07:36
nodejs/node
3b5773fee389c52077bd9f2dd324739af27fb6b5
3d8b844112bf6526ce126ecaec85f83b31a0a9aa
build,deps: move gypfiles out 2/2 - moving * move all used files to `tools/v8_gypfiles` directory * fix references in node configuration PR-URL: https://github.com/nodejs/node/pull/26685 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <...
[ { "path": ".flake8", "patch": "@@ -0,0 +1,3 @@\n+[flake8]\n+exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip,tools/v8_gypfiles/broken\n+select=E901,E999,F821,F822,F823", "additions": 3, "deletions": 0, "language"...
2019-03-25T02:58:29
huggingface/transformers
34b861abd11074fd32362b9a25c1cc582fa0b941
b44d91570fb4a5cf8a58150c7935a4edde82e27f
:rotating_light: [`Attention Masks`] Bidirectional masks for encoder and encoder-decoder models (#41265) * new masks * fixes * adjust comments * fix unnecessary mask creation on sdpa * simplify masks more * propogate to other models * style + repo consistency * copies * no comment * fix attempt * finally fix...
[ { "path": "src/transformers/integrations/executorch.py", "patch": "@@ -26,6 +26,7 @@\n from ..generation.configuration_utils import GenerationConfig\n from ..masking_utils import (\n ALL_MASK_ATTENTION_FUNCTIONS,\n+ _ignore_bidirectional_mask_sdpa,\n _ignore_causal_mask_sdpa,\n _is_torch_grea...
2025-10-09T14:56:11
golang/go
fceca2c0f1ff21e1b2b0bf9960b776bb08e58d86
f384c707ac3dd946e3c895d0f4e154744048ef36
cmd/compile/internal/types2: add a test for argument error unwrapping This CL is a clean port of CL 351338 from go/types to types2. Change-Id: I7fd0e5a447bf51cb359e71731c2f9b95e3960da6 Reviewed-on: https://go-review.googlesource.com/c/go/+/364536 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <r...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -2014,6 +2014,20 @@ func TestInstantiateErrors(t *testing.T) {\n \t}\n }\n \n+func TestArgumentErrorUnwrapping(t *testing.T) {\n+\tvar err error = &ArgumentError{\n+\t\tIndex: 1,\n+\t\tErr: Error{Msg: \"test\"},\n+\t}\n+\tvar e Error\n+...
2021-11-17T01:30:47
rust-lang/rust
77ef3d7e42595a646f6b684f451114723a632be9
19c1c709054ea1964d942259c5c33ad6489cd1e0
fix: `branches_sharing_code` suggests misleadingly when in assignment
[ { "path": "clippy_lints/src/copies.rs", "patch": "@@ -11,7 +11,7 @@ use clippy_utils::{\n use core::iter;\n use core::ops::ControlFlow;\n use rustc_errors::Applicability;\n-use rustc_hir::{BinOpKind, Block, Expr, ExprKind, HirId, HirIdSet, Stmt, StmtKind, intravisit};\n+use rustc_hir::{BinOpKind, Block, Exp...
2025-06-18T13:05:52
vercel/next.js
1b0d0d14fc4f50576f9e00ba78c3b3938e134c12
604638fe30a630dd1d6932247170fcadcd62f79e
errors lead to consistent exit code in issue detail (vercel/turbo#4716) ### Description issue snapshots are flaky due to alternating issue detail with exist code or not. It's a race condition between process exit after sending error and process killing after receiving error.
[ { "path": "crates/turbopack-node/js/src/ipc/index.ts", "patch": "@@ -134,8 +134,9 @@ function createIpc<TIncoming, TOutgoing>(\n });\n } catch (err) {\n // ignore and exit anyway\n+ process.exit(1);\n }\n- process.exit(1);\n+ process.exit(0);\n },\n };\n }"...
2023-04-26T21:22:20
huggingface/transformers
b44d91570fb4a5cf8a58150c7935a4edde82e27f
d99069195b11824e35fdffa0319baea266b8a885
[v5] remove load_in_4bit and load_in_8bit (#41287) * [v5] remove load_in_4bit and load_in_8bit * fix * reveert * fix --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "docs/source/ar/llm_tutorial.md", "patch": "@@ -60,10 +60,10 @@ pip install transformers bitsandbytes>=0.39.0 -q\n أولاً، تحتاج إلى تحميل النموذج.\n \n ```py\n->>> from transformers import AutoModelForCausalLM\n+>>> from transformers import AutoModelForCausalLM, BitsAndBytesConfig\n \n >>> model =...
2025-10-09T14:34:04
golang/go
f384c707ac3dd946e3c895d0f4e154744048ef36
3d7cb23e3d5e7880d582f1b0300064bd1138f3ee
cmd/compile/internal/types2: tweaks to ArgumentError to be more idiomatic This CL is a clean port of CL 351335 from go/types to types2. Updates #47916 Change-Id: Idc377fb71d480a51d5e93a348f3a880346011974 Reviewed-on: https://go-review.googlesource.com/c/go/+/364535 Trust: Robert Griesemer <gri@golang.org> Reviewed-b...
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -55,17 +55,14 @@ func (err Error) FullError() string {\n \treturn fmt.Sprintf(\"%s: %s\", err.Pos, err.Full)\n }\n \n-// An ArgumentError holds an error that is associated with an argument.\n+// An ArgumentError holds an error associated with ...
2021-11-17T01:02:11
rust-lang/rust
7f49de2cca902fe352cfba39f5e0f64b876f4524
1bb335244c311a07cee165c28c553c869e6f64a9
fixup missing docs in attr parsing
[ { "path": "compiler/rustc_attr_parsing/src/attributes/mod.rs", "patch": "@@ -86,8 +86,19 @@ pub(crate) trait AttributeParser<S: Stage>: Default + 'static {\n /// [`SingleAttributeParser`] can only convert attributes one-to-one, and cannot combine multiple\n /// attributes together like is necessary for `#[s...
2025-06-12T11:08:05
nodejs/node
4507246adc44eb7f3a71977cbd02a31037e914c7
95e779a6e9fb5c625754017f7be6e0feed0eac97
deps,build: refactor v8 gypfiles * make `generate_snapshot` into a target with no debug symbols on XCode * cleanup PR-URL: https://github.com/nodejs/node/pull/26685 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "deps/v8/gypfiles/extras-libraries.cc", "patch": "@@ -0,0 +1,44 @@\n+// Copyright 2011 Google Inc. All Rights Reserved.\n+\n+// This file was generated from .js source files by GYP. If you\n+// want to make changes to this file you should either change the\n+// javascript source files or the GYP ...
2019-03-22T13:41:31
vercel/next.js
604638fe30a630dd1d6932247170fcadcd62f79e
a0bf8013243bf6101644de79f589730955880632
Allow the dev server socket to be reused immediately (vercel/turbo#4709) ### Description This avoids running into "Address already in use (os error 48)" when restarting the dev server in quick succession. --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "crates/turbopack-dev-server/src/lib.rs", "patch": "@@ -107,6 +107,12 @@ impl DevServer {\n // real TCP listener, see if it bound, and get its bound address.\n let socket = Socket::new(Domain::for_address(addr), Type::STREAM, Some(Protocol::TCP))\n .context(\"unable to ...
2023-04-26T21:12:25
huggingface/transformers
d99069195b11824e35fdffa0319baea266b8a885
bf38b2d11dd17c61a27ea91fac53f8ad92e3171e
Cleaning hub kernels (#41477) * disable kernel mapping * cleaning * revert * fix style
[ { "path": "src/transformers/generation/continuous_batching/continuous_api.py", "patch": "@@ -27,7 +27,7 @@\n \n from ...configuration_utils import PreTrainedConfig\n from ...generation.configuration_utils import GenerationConfig\n-from ...integrations.hub_kernels import load_and_register_kernel\n+from ...in...
2025-10-09T14:32:18
golang/go
3d7cb23e3d5e7880d582f1b0300064bd1138f3ee
a2b8231b91e8c4c9e95875b8063bf364f5b0db97
cmd/compile: emit definition of 'any' when compiling runtime Include the predefined type 'any' in the list of other important predefined types that are emitted when compiling the runtime package (uintptr, string, etc). Fixes #49619. Change-Id: I4a851ba2f302fbc3a425e65daa325c6bf83659da Reviewed-on: https://go-review....
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1384,6 +1384,7 @@ func WriteBasicTypes() {\n \t\t}\n \t\twriteType(types.NewPtr(types.Types[types.TSTRING]))\n \t\twriteType(types.NewPtr(types.Types[types.TUNSAFEPTR]))\n+\t\twriteType(types.AnyType)\n \n \t\t// emit type structs fo...
2021-11-16T23:44:08
rust-lang/rust
b4f09d75e43076138129e3d0b08cf47144fdaa2d
20a62ab2a112fa973b4e891afd2358a23c5aef78
Add --color=always to test explorer command Fixes https://github.com/rust-lang/rust-analyzer/issues/20030
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/test_runner.rs", "patch": "@@ -103,6 +103,7 @@ impl CargoTestHandle {\n ) -> std::io::Result<Self> {\n let mut cmd = toolchain::command(Tool::Cargo.path(), root, &options.extra_env);\n cmd.env(\"RUSTC_BOOTSTRAP\", \"1\");\n+ ...
2025-06-18T11:46:58
nodejs/node
0da7e99f985e77bf2a0bb65569c081a9ed4a3e83
b1015e0de80bbf7ba02b1234cdf8f9a9026a27fd
deps: V8: un-cherry-pick bd019bd Original commit message: [testrunner] delete ancient junit compatible format support Testrunner has ancient support for JUnit compatible XML output. This CL removes this old feature. R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org CC=​mach...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.10',\n+ 'v8_embedder_string': '-node.11',\n \n ##### V8 defaults for Node.js #####\n...
2019-03-27T14:32:10
electron/electron
1b3eb1cc5df74ed2dac3f8e7e0fea17497ddda28
0f17a0163d16f8cdc2a032ebd96a3034525c0271
Delay the did-fail-provisional-load event to next tick Chrome is doing some stuff after the DidFailProvisionalLoad event, if we call LoadURL at this time crash would happen.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -460,14 +460,13 @@ void WebContents::DidFinishLoad(content::RenderFrameHost* render_frame_host,\n Emit(\"did-finish-load\");\n }\n \n-// this error occurs when host could not be found\n void WebContents::DidFailProvisionalLoad(\n co...
2015-12-01T08:55:52
huggingface/transformers
bf38b2d11dd17c61a27ea91fac53f8ad92e3171e
72a3fc275c6161fcb98664c81aae8038a76407ce
Change RT-Detr docs to reflect fixed 640x640 input size (#41364) * Update rt_detr docs to mention 640x640 input size The authors of RT-Detr mention that the model was trained on 640x640 images and was meant to be used for inference on 640x640 images. Also, the current implementation has certain quirks that make train...
[ { "path": "docs/source/en/model_doc/rt_detr.md", "patch": "@@ -40,8 +40,7 @@ The model version was contributed by [rafaelpadilla](https://huggingface.co/rafa\n \n ## Usage tips\n \n-Initially, an image is processed using a pre-trained convolutional neural network, specifically a Resnet-D variant as referenc...
2025-10-09T14:29:16
vercel/next.js
a0bf8013243bf6101644de79f589730955880632
b91d4801acffddcc58355e227fccdf4702f0b7fc
chunk hash need to include availability root (vercel/turbo#4714) ### Description fixes a case where multiple assets write to the same file
[ { "path": "crates/turbopack-ecmascript/src/chunk/mod.rs", "patch": "@@ -339,7 +339,7 @@ impl Asset for EcmascriptChunk {\n let need_root = if let [(_, main_entry)] = &assets[..] {\n main_entry.resolve().await? != ident.resolve().await?\n } else {\n- fal...
2023-04-26T21:10:45
golang/go
a2b8231b91e8c4c9e95875b8063bf364f5b0db97
01b6cf09fc9f272d9db3d30b4c93982f4911d120
runtime: remove defer test log spam This appears to be leftover debugging from CL 356011. Change-Id: Ieeda0b7e297e0cb943827b28644135e6cad12e3c Reviewed-on: https://go-review.googlesource.com/c/go/+/364555 Trust: Josh Bleecher Snyder <josharian@gmail.com> Trust: Dan Scales <danscales@google.com> Run-TryBot: Josh Bleec...
[ { "path": "src/runtime/defer_test.go", "patch": "@@ -467,7 +467,6 @@ func TestIssue43920(t *testing.T) {\n }\n \n func step(t *testing.T, steps *int, want int) {\n-\tprintln(\"step\", want)\n \t*steps++\n \tif *steps != want {\n \t\tt.Fatalf(\"have %v, want %v\", *steps, want)", "additions": 0, "del...
2021-11-16T21:01:57
rust-lang/rust
b2fe858a4e69e51e97d737496e938589b26db709
27733d46d79f4eb92e240fbba502c43022665735
`Result::expect` instead of `match` and `panic!`
[ { "path": "src/librustdoc/html/render/write_shared.rs", "patch": "@@ -439,12 +439,8 @@ impl CratesIndexPart {\n let content =\n format!(\"<h1>List of all crates</h1><ul class=\\\"all-items\\\">{DELIMITER}</ul>\");\n let template = layout::render(layout, &page, \"\", content, styl...
2025-05-24T11:56:41
golang/go
01b6cf09fc9f272d9db3d30b4c93982f4911d120
5e59d6ebd110a7c19770c7d996930ff379ba5726
runtime: check GOAMD64 compatibility after setting up TLS We need TLS set up to be able to print an error without crashing. Fixes #49586 Update #45453 Change-Id: I97f0efcd716a8dca614e82ab73f2d855b7277599 Reviewed-on: https://go-review.googlesource.com/c/go/+/364174 Run-TryBot: Keith Randall <khr@golang.org> TryBot-R...
[ { "path": "src/runtime/asm_amd64.s", "patch": "@@ -145,28 +145,14 @@ GLOBL bad_cpu_msg<>(SB), RODATA, $84\n \n #endif\n \n-#ifdef GOAMD64_v1\n-#define SKIP_GOAMD64_CHECK\n-#endif\n-\n-#ifndef GOAMD64_v1\n-#ifndef GOAMD64_v2\n-#ifndef GOAMD64_v3\n-#ifndef GOAMD64_v4\n-#define SKIP_GOAMD64_CHECK\n-#endif\n-#e...
2021-11-15T23:56:39
huggingface/transformers
72a3fc275c6161fcb98664c81aae8038a76407ce
9ef804472b25c4f69c1eb213dea6f791615538a0
Remove infer_device (#41088) * Remove infer_device Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix docs using accelerator Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix conflict Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/cache_explanation.md", "patch": "@@ -98,9 +98,10 @@ The example below demonstrates how to create a generation loop with [`DynamicCac\n \n ```py\n import torch\n-from transformers import AutoTokenizer, AutoModelForCausalLM, DynamicCache, infer_device\n+from transformers import AutoT...
2025-10-09T14:05:39
nodejs/node
b1015e0de80bbf7ba02b1234cdf8f9a9026a27fd
8181811d733174d77c74e2896281889d2fecc63c
deps: V8: cherry-pick 6 commits Cherry-pick ad49f12. Original commit message: [cleanup] Move Compressed[XXX]Slot definitions to separate header ... and fix header includes to please the respective bot. Drive-by-fix: decompression implementation is now MSVC friendly. Bug: v8:7703, v8:8834 Change...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.9',\n+ 'v8_embedder_string': '-node.10',\n \n ##### V8 defaults for Node.js #####\n ...
2019-03-16T21:58:48
vercel/next.js
b91d4801acffddcc58355e227fccdf4702f0b7fc
dfbb1e638bf0786fe32d9d040d3867d1ef31cd50
remove box_syntax (vercel/turbo#4667) ### Description Box syntax removed in https://github.com/rust-lang/rust/pull/108471 Removed all `#![features(box_syntax)]` and ran `cargo fix --broken-code` to replace all previous box_patterns uses of `box` with `Box::new()`. ### Testing Instructions No testing neede...
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -3,7 +3,6 @@\n #![feature(min_specialization)]\n #![feature(iter_advance_by)]\n #![feature(io_error_more)]\n-#![feature(box_syntax)]\n #![feature(round_char_boundary)]\n \n pub mod attach;\n@@ -1683,9 +1682,9 @@ impl FileContent {\n ...
2023-04-26T16:14:13
rust-lang/rust
2701dbb8e75dac68b33a3e7cd13673b3a66c9e15
e8fccabe557b1771c4a545485513d4dfe4b12101
minimal ptrace setup Apply suggestions from code review Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de> review comments fix possible hang
[ { "path": "src/tools/miri/Cargo.lock", "patch": "@@ -80,6 +80,15 @@ dependencies = [\n \"rustc-demangle\",\n ]\n \n+[[package]]\n+name = \"bincode\"\n+version = \"1.3.3\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09af...
2025-05-27T20:31:23
huggingface/transformers
add4df62ba7b68ed26e9828c02aa6f886e61caa1
3e8707266646dd66fbef65dad1ed2ae6d30cab8b
Fix tests fsdp (#41422) * Fix tests * fix ! * fix
[ { "path": "src/transformers/training_args.py", "patch": "@@ -473,7 +473,7 @@ class TrainingArguments:\n When resuming training, whether or not to skip the epochs and batches to get the data loading at the same\n stage as in the previous training. If set to `True`, the training will b...
2025-10-09T12:09:52
golang/go
5e59d6ebd110a7c19770c7d996930ff379ba5726
f6591839727e09cc5cb11d08b333fd2386e8aa1b
sort: improve sort documentation Fixes #48527 Change-Id: Ib5df0819cbcd5c2e4f03bda841871d237af96b19 Reviewed-on: https://go-review.googlesource.com/c/go/+/351336 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/sort/sort.go", "patch": "@@ -223,7 +223,7 @@ func quickSort(data Interface, a, b, maxDepth int) {\n \t}\n }\n \n-// Sort sorts data.\n+// Sort sorts data in ascending order as determined by the Less method.\n // It makes one call to data.Len to determine n and O(n*log(n)) calls to\n // data.L...
2021-09-21T23:59:11
nodejs/node
1f03fb4d492ea6ba1e6f7f50f68257d7c49817b8
e6af2207a9d5a7602688379147662a2bb4ee4ce6
deps: V8: cherry-pick e5f01ba Original commit message: [cleanup] Remove unused stack_trace_ member from PromiseRejectMessage R=yangguo@chromium.org Bug: v8:8742 Change-Id: I307097021893617ed5178f1e967f9360a55cd929 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1520710 Auto-S...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.7',\n+ 'v8_embedder_string': '-node.8',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T22:00:27
vercel/next.js
dfbb1e638bf0786fe32d9d040d3867d1ef31cd50
e56edd95dab777d00dde9f962ff4d9df5f0e7f59
improve error handling in update stream (vercel/turbo#4705) ### Description Handle fatal errors in update stream, by sending an not found update with issues. --------- Co-authored-by: Alex Kirszenberg <alex.kirszenberg@vercel.com>
[ { "path": "crates/turbopack-dev-server/src/http.rs", "patch": "@@ -42,30 +42,27 @@ enum GetFromSourceResult {\n async fn get_from_source(\n source: ContentSourceVc,\n request: TransientInstance<SourceRequest>,\n- issue_repoter: IssueReporterVc,\n ) -> Result<GetFromSourceResultVc> {\n- Ok(\n- ...
2023-04-26T14:27:19
huggingface/transformers
3e8707266646dd66fbef65dad1ed2ae6d30cab8b
f0544d7e7c631aa4629ed5d687bf4d13a9229569
Fix auto model configuration for encoder of perceptionlm (#41464) * fix auto model configuration for encoder of perceptionlm * delete perception_encoder auto registrations
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -307,7 +307,6 @@\n (\"pegasus\", \"PegasusConfig\"),\n (\"pegasus_x\", \"PegasusXConfig\"),\n (\"perceiver\", \"PerceiverConfig\"),\n- (\"perception_encoder\", \"TimmWrapperConfig\"),\n (\"per...
2025-10-09T12:08:03
golang/go
f6591839727e09cc5cb11d08b333fd2386e8aa1b
6c36c332fefdd433cfe6e6468a2542fc310e9f8a
os/exec: avoid NewFile on unknown FDs exec_test.go's init function uses os.NewFile(fd) + f.Stat as a portable mechanism to determine if an FD is in use. Unfortunately, the current use is racy: if an unused FD becomes used between NewFile and f.Close, then we will unintentionally close an FD we do not use. We cannot ...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -545,6 +545,9 @@ var depsRules = `\n \tNET, testing, math/rand\n \t< golang.org/x/net/nettest;\n \n+\tsyscall\n+\t< os/exec/internal/fdtest;\n+\n \tFMT, container/heap, math/rand\n \t< internal/trace;\n `", "additions": 3, "deletions": 0, "lang...
2021-11-15T18:50:39
vercel/next.js
c390c1662bc79e12cf7c037dcb382ef5ead6e492
f3d5c2fe9ef3b0005cbdfcb0358f560862a5992a
Add missing word to getStaticProps documentation (#48854) ### What? Added missing `that` to documentation for getStaticProps ### Why? This change fixes grammar. ### How? Updated the text.
[ { "path": "docs/basic-features/data-fetching/get-static-props.md", "patch": "@@ -27,7 +27,7 @@ You should use `getStaticProps` if:\n \n ## When does getStaticProps run\n \n-`getStaticProps` always runs on the server and never on the client. You can validate code written inside `getStaticProps` is removed fr...
2023-04-26T14:02:53
nodejs/node
e6af2207a9d5a7602688379147662a2bb4ee4ce6
963061bc024958cd424a75a507a0dbcf6724e2ec
deps: V8: cherry-pick d5f08e4 Original commit message: [api] Remove unowned Extensions interface Extensions are now always passed via unique_ptr and are owned by V8. This CL removes the deprecated API where the embedder would own the Extension, but has no mechanism for deleting it. R=ulan@chromi...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T21:59:50
electron/electron
c83976dfdc1444d1aa2a1d90bab873186d6c533a
f931e165d5570ae6cb6a19fd519a43c8a87f25f7
:memo: [ci skip] Fix typos
[ { "path": "docs-translations/pt-BR/tutorial/quick-start.md", "patch": "@@ -4,7 +4,7 @@ Electron permite criar aplicações desktop com puro JavaScript através de\n um runtime com APIs ricas e nativas. Você pode ver isso como uma variação do\n runtime do io.js que é focado em aplicações desktop em vez de web s...
2015-11-30T21:14:33
huggingface/transformers
f0544d7e7c631aa4629ed5d687bf4d13a9229569
d1c6310d6a02481d48d81607cba7840be04580d1
Remove KERAS_NLP_IMPORT_ERROR (#41468) Remove unused variables of error messages Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -1511,12 +1511,6 @@ def is_training_run_on_sagemaker() -> bool:\n `pip install scipy`. Please note that you may need to restart your runtime after installation.\n \"\"\"\n \n-# docstyle-ignore\n-KERAS_NLP_IMPORT_ERROR = \"\"\"\n-{0} requires t...
2025-10-09T11:58:30
golang/go
6c36c332fefdd433cfe6e6468a2542fc310e9f8a
40effca7a13d11f3549a24a5d4b02e87c12fc6bb
debug/pe,debug/macho: add support for DWARF5 sections Adds the same logic used in debug/elf to load DWARF5 sections. Fixes #49590 Change-Id: Iee05b9927a6f521842b330eab8942ade3fc2bd86 Reviewed-on: https://go-review.googlesource.com/c/go/+/363895 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Than McIntosh <th...
[ { "path": "src/debug/macho/file.go", "patch": "@@ -650,10 +650,14 @@ func (f *File) DWARF() (*dwarf.Data, error) {\n \t\treturn nil, err\n \t}\n \n-\t// Look for DWARF4 .debug_types sections.\n+\t// Look for DWARF4 .debug_types sections and DWARF5 sections.\n \tfor i, s := range f.Sections {\n \t\tsuffix :=...
2021-11-15T09:14:04
electron/electron
65cb1488b0e32034d17ba3f8753b7dca015828aa
7622bb40a95801d5cca594925e83b2c540cb957a
Fix CORS header code to be cleaner
[ { "path": "atom/browser/net/js_asker.cc", "patch": "@@ -11,6 +11,8 @@\n \n namespace atom {\n \n+const std::string kCorsHeader(\"Access-Control-Allow-Origin: *\");\n+\n namespace internal {\n \n namespace {", "additions": 2, "deletions": 0, "language": "Unknown" }, { "path": "atom/browse...
2015-11-25T23:00:34
vercel/next.js
f3d5c2fe9ef3b0005cbdfcb0358f560862a5992a
b21fd96606b51812a3d6507f93f4c194179a026a
refactor(next-swc): turbopack_ecmascript_plugins (#48671) <!-- 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(s) that you're making: ## For C...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230425.3#3b3243a4352ed9bbe2df597724d43d5b7a66d369\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-04-26T13:55:53
nodejs/node
02171949a02fb55adfeeaec90a3fc9be1c1d2bd3
bf572c7831fd121701c5571371ccd5ff7514c42c
deps: V8: cherry-pick 5b0510d Original commit message: Give the implementation of v8::MicrotaskQueue::New This adds the entrypoint to MicrotaskQueue, which used to miss the implementation. Bug: v8:8124 Change-Id: I114fb69d975ee75c86b19349ca76789e425ea910 Reviewed-on: https://chromium-review....
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T21:58:54
rust-lang/rust
42fc5aee6499ed6f7d1fca0d2fbac1515291b978
58a5ab5a6d3e9cd5312eae7e9c33440b3c402ce8
Fix span of AddrOf in format_args!() expansion. Diagnostics should know that the `&` for arguments in format_args!() come from the macro expansion rather than from the original source.
[ { "path": "compiler/rustc_ast_lowering/src/format.rs", "patch": "@@ -489,7 +489,7 @@ fn expand_format_args<'hir>(\n let placeholder_span =\n placeholder_span.unwrap_or(arg.expr.span).with_ctxt(macsp.ctxt());\n let arg = ctx.lower_expr(&arg.expr);\n- ...
2025-06-04T09:54:20
golang/go
40effca7a13d11f3549a24a5d4b02e87c12fc6bb
29ec902efc0ae53c4435097efdb738667466756c
cmd: pull in golang.org/x/mod@3a5865c This change updates the cmd module's requirement on x/mod and vendors in the changes. This pulls in the following changes into our vendored copy of x/mod: golang.org/cl/351319: module: accept trailing slash in MatchPrefixPattern golang.org/cl/353749: semver: remove unused err fie...
[ { "path": "src/cmd/go.mod", "patch": "@@ -5,7 +5,7 @@ go 1.18\n require (\n \tgithub.com/google/pprof v0.0.0-20211104044539-f987b9c94b31\n \tgolang.org/x/arch v0.0.0-20210923205945-b76863e36670\n-\tgolang.org/x/mod v0.6.0-dev.0.20210913215816-37dd6891021a\n+\tgolang.org/x/mod v0.6.0-dev.0.20211102181907-3a5...
2021-11-15T21:19:29
vercel/next.js
b21fd96606b51812a3d6507f93f4c194179a026a
da2804f9746c9e676d2ae4a9f619c2c5f9f62d7d
Implement MutableRequestCookies in server entries (#48847) Similar to #47922 but based off the latest server implementation and #48626: > This PR implements the MutableRequestCookies instance for cookies() based on the current async context, so we can allow setting cookies in certain places such as Server Functions a...
[ { "path": "packages/next/src/client/components/action-async-storage.ts", "patch": "@@ -1,47 +1,11 @@\n import type { AsyncLocalStorage } from 'async_hooks'\n+import { createAsyncLocalStorage } from './async-local-storage'\n \n export interface ActionStore {\n- readonly isAction: boolean\n+ readonly isActi...
2023-04-26T13:19:01
nodejs/node
bf572c7831fd121701c5571371ccd5ff7514c42c
09f134fccf605476e0a0b8df01164946c5b1236a
deps: V8: cherry-pick 91f0cd0 Original commit message: [ubsan] Fix various ClusterFuzz-found issues Fixing a few float and int overflows. Drive-by fix: with --experimental-wasm-bigint, Number values may not be used to initialize i64-typed globals. The existing code for doing that relied on UB; si...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T21:58:28
vercel/next.js
da2804f9746c9e676d2ae4a9f619c2c5f9f62d7d
6902e5b547145dd2b40c9a2e99f60cdfe7261b6d
Fix scrolling on navigation in app (#48863) ## What? When investigating #48852 I found that when there's a `segmentPath` set in the `focusAndScrollRef` it would compare that entire path with the `segmentPath` of the layout-router. This logic works in cases where the entire page is rendered but doesn't take into ...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -140,20 +140,18 @@ interface ScrollAndFocusHandlerProps {\n class ScrollAndFocusHandler extends React.Component<ScrollAndFocusHandlerProps> {\n handlePotentialScroll = () => {\n // Handle scroll and focus, it's only applie...
2023-04-26T12:33:58
rust-lang/rust
f608da2ad83dbc215dae197e0c3a39b50e48ea39
4ca0f01a5a2b69cd250d27fb3bc6719985a2cc0d
Remove 'this error originates in format_args_nl' from test output. This message is no longer generated. This is probably a good thing. The relevant span is entirely in user code, and "format_args_nl" is an implementation detail with a name that isn't even public.
[ { "path": "tests/ui/borrowck/borrowck-and-init.stderr", "patch": "@@ -8,8 +8,6 @@ LL | println!(\"{}\", false && { i = 5; true });\n | ----- binding initialized here in some conditions\n LL | println!(\"{}\", i);\n | ^ `i` used here but it is po...
2025-05-07T15:47:58
nodejs/node
09f134fccf605476e0a0b8df01164946c5b1236a
53ea813d5c0029d3ee90230054d5407a6864cb08
deps: V8: cherry-pick 392316d Original commit message: [ptr-compr][x64] Define kTaggedSize as kInt32Size ... when pointer compression is enabled and some number of cleanups. Bug: v8:7703 Change-Id: If7344abf68a1c4d54e4a79d066dc185f25055d7d Reviewed-on: https://chromium-review.googlesource.com/c/...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T21:58:05
huggingface/transformers
d1c6310d6a02481d48d81607cba7840be04580d1
927aa8bef2f29296a34840b3562f9c03cc45ef81
🚨 [v5] Rendundant code in nested configs (#41314) * batch update models * delete even more * fix modular super init location * fix * fix copies * fix again, these have force-set values in configs * fix copies
[ { "path": "docs/source/en/model_doc/align.md", "patch": "@@ -154,7 +154,6 @@ for label, score in zip(candidate_labels, probs):\n ## AlignConfig\n \n [[autodoc]] AlignConfig\n- - from_text_vision_configs\n \n ## AlignTextConfig\n ", "additions": 0, "deletions": 1, "language": "Markdown" }, ...
2025-10-09T11:47:44
golang/go
79d0013f53d4199b9f84d813221b71adf7eb1e4d
7f4a946fa26f2ffdc14c354f2f1cc193ab5d0e90
go/types, types2: improve error messages referencing any Because any is an a alias, it is naively formatted as interface{} in error messages. This is a source of verbosity and potential confusion. We can improve the situation by looking for pointer equality with the any type. To avoid churn in the importers, do this ...
[ { "path": "src/cmd/compile/internal/importer/support.go", "patch": "@@ -118,10 +118,14 @@ var predeclared = []types2.Type{\n \ttypes2.Typ[types2.Invalid], // only appears in packages with errors\n \n \t// used internally by gc; never used by this package or in .a files\n+\t// not to be confused with the uni...
2021-11-15T14:42:03
vercel/next.js
6902e5b547145dd2b40c9a2e99f60cdfe7261b6d
1c0c61a66ca36c5597d3111aa6f0918c803fc5a8
Fix issues where saving next.config.js too quickly could result in multiple dev servers running at once (#48857) We were adding filling in our cleanup function after we started our server. So If we restarted while the server was starting, we would fire an empty cleanup function which would lead to the server not being...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -325,16 +325,12 @@ const nextDev: CliCommand = async (argv) => {\n return\n }\n \n- const startDir = dir\n- if (newDir) {\n- dir = newDir\n- }\n-\n if (devServerTeardown) {\n ...
2023-04-26T09:58:50
rust-lang/rust
ddd9ee9756643dc3ed28c4fc9da4815fe4a37f1d
5b763fb1b7a06393c5dc21502ac0b28776ce058f
Remove outdated test. We no longer error in this case!
[ { "path": "src/tools/tidy/src/issues.txt", "patch": "@@ -305,7 +305,6 @@ ui/borrowck/issue-104639-lifetime-order.rs\n ui/borrowck/issue-10876.rs\n ui/borrowck/issue-109271-pass-self-into-closure.rs\n ui/borrowck/issue-111554.rs\n-ui/borrowck/issue-114374-invalid-help-fmt-args.rs\n ui/borrowck/issue-11493.rs...
2025-05-07T15:42:04
huggingface/transformers
927aa8bef2f29296a34840b3562f9c03cc45ef81
1951f3be8eb7f70afa408c61cb2c2f2c386d541a
[kernels] Cleanup deta kernel (#41470) * cleanup deta kernel * fix modeling
[ { "path": "src/transformers/kernels/deta/cpu/ms_deform_attn_cpu.cpp", "patch": "@@ -1,40 +0,0 @@\n-/*!\n-**************************************************************************************************\n-* Deformable DETR\n-* Copyright (c) 2020 SenseTime. All Rights Reserved.\n-* Licensed under the Apache...
2025-10-09T11:17:42
nodejs/node
53ea813d5c0029d3ee90230054d5407a6864cb08
cc75ba3f140c4584a776c163a365fedd4ea5ef63
deps: V8: cherry-pick 2f79d68 Original commit message: Deprecate MicrotasksCompletedCallback in favor to use *WithData version This adds overloads of v8::Isolate::{Add,Remove}MicrotaskCompletedCallback, that use MicrotasksCompletedCallbackWithData, and marks the original one as V8_DEPRECATE_SOON for ...
[ { "path": "common.gypi", "patch": "@@ -37,7 +37,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-15T21:57:44
electron/electron
df9ecefe015913fe0053e79cb7a3c448dc8deb7b
62add3abccf7b192e222c54071202c0ddf934470
fix typo in "rotation" string
[ { "path": "atom/browser/api/atom_api_screen.cc", "patch": "@@ -41,7 +41,7 @@ std::vector<std::string> MetricsToArray(uint32_t metrics) {\n if (metrics & gfx::DisplayObserver::DISPLAY_METRIC_DEVICE_SCALE_FACTOR)\n array.push_back(\"scaleFactor\");\n if (metrics & gfx::DisplayObserver::DISPLAY_METRIC_...
2015-11-29T18:22:53
golang/go
7f4a946fa26f2ffdc14c354f2f1cc193ab5d0e90
7c50ef6c8c4c827db45a3327cb950913cf9d489b
cmd/compile: prevent irgen crashing for empty local declaration stmt Updates #47631 Fixes #49611 Change-Id: Ib4a4466038e0d4a9aa9380d7909f29f7d15c6c69 Reviewed-on: https://go-review.googlesource.com/c/go/+/364314 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Try...
[ { "path": "src/cmd/compile/internal/noder/stmt.go", "patch": "@@ -46,9 +46,11 @@ func (g *irgen) stmt(stmt syntax.Stmt) ir.Node {\n \t\tn.SetTypecheck(1)\n \t\treturn n\n \tcase *syntax.DeclStmt:\n-\t\tif _, ok := stmt.DeclList[0].(*syntax.TypeDecl); ok && g.topFuncIsGeneric {\n-\t\t\t// TODO: remove this r...
2021-11-16T14:59:15
vercel/next.js
a1b11cec854211583dece70fc16e248931a5a5d8
c7494cdbf3f2213e24a58a9ffda04c1583e8c582
add noop refresh runtime to prevent errors after module execution (vercel/turbo#4701) ### Description We add some noop handlers to make sure code won't throw errors when something tries to access the refresh runtime outside the initial module execution next.js does this here https://github.com/vercel/next.js/...
[ { "path": "crates/turbopack-dev/js/src/runtime.js", "patch": "@@ -458,6 +458,14 @@ function runModuleExecutionHooks(module, executeModule) {\n cleanupReactRefreshIntercept();\n }\n \n+// noop fns to prevent refresh runtime errors when trying to access the runtime outside of the initial module execution.\n...
2023-04-26T06:31:19
huggingface/transformers
be3fa93b298eec4182a0bb6c5e64270a5f1e8020
8137dbdbbd9c2f83b87aa9e6320b7a898f9d1073
Subconfig is a class attribute (#41308) * delete * fix this test * fix copies * oke, more tests to fix * fix last tests on DPT * deleted accidentally
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -880,7 +880,6 @@ def to_diff_dict(self) -> dict[str, Any]:\n isinstance(getattr(self, key, None), PreTrainedConfig)\n and key in class_config_dict\n and isinstance(class_config_dict[key], dict)\...
2025-10-09T08:46:44
electron/electron
22dbf5e9fc7dabd9e271026669056b4c1b8de58d
dab7058aa29c035aa844526e122cfd842e754e40
Small fixes
[ { "path": "docs-translations/ko-KR/tutorial/application-packaging.md", "patch": "@@ -150,8 +150,8 @@ Node API에는 `child_process.exec`, `child_process.spawn` 그리고\n 이 한계가 존재하는 이유는 `exec`와 `spawn`은 `file` 대신 `command`를 인수로 허용하고\n 있고 `command`는 shell에서 작동하기 때문입니다. Electron은 어떤 커맨드가 `asar`\n 아카이브 내의 파일을 사용하는지 결정하...
2015-11-29T14:06:01
golang/go
289c930750fccac6aca578c675694b612532fd24
46e98d489fda3bc1e36af92ee625b2fce3c1f88e
go/types: slightly relax notion of structural type This is a port of CL 363075 from types2 to go/types, adjusted for the different error reporting API, and to adjust positions of error messages in tests. Change-Id: Ic6bfedf1152eff94bad20725b56e6ba804b2e3e8 Reviewed-on: https://go-review.googlesource.com/c/go/+/363991...
[ { "path": "src/go/types/expr.go", "patch": "@@ -174,29 +174,26 @@ func (check *Checker) unary(x *operand, e *ast.UnaryExpr) {\n \t\treturn\n \n \tcase token.ARROW:\n-\t\tvar elem Type\n-\t\tif !underIs(x.typ, func(u Type) bool {\n-\t\t\tch, _ := u.(*Chan)\n-\t\t\tif ch == nil {\n-\t\t\t\tcheck.invalidOp(x, ...
2021-11-16T03:42:41
vercel/next.js
f12aa35b0d85aa28223e06ee6f6a98247262815e
641d419adac0d18c2c5d955333a645e72a4d509f
Fix accessing `strict` of undefined in `writeConfigurationDefaults` (#48799) Fixes the ``` TypeError: Cannot read properties of undefined (reading 'strict') at writeConfigurationDefaults ``` error. Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -241,6 +241,7 @@ export async function writeConfigurationDefaults(\n if (\n hasPagesDir &&\n isAppDirEnabled &&\n+ userTsConfig.compilerOptions &&\n !userTsConfig.compilerOptions.strict &&\n ...
2023-04-25T20:53:21
huggingface/transformers
7aa888b7fa477d13153ffbfe107dfbd6c696014a
bfe2b623ef9bd301e57463258ffcc5e6fb19e2ac
Fix doc (#41457) * dummy * remove
[ { "path": "docs/source/ko/internal/generation_utils.md", "patch": "@@ -252,8 +252,6 @@ generation_output[:2]\n [[autodoc]] SlidingWindowCache\n \n [[autodoc]] EncoderDecoderCache\n- - to_legacy_cache\n- - from_legacy_cache\n \n ## 워터마크 유틸리티 (Watermark Utils) [[transformers.WatermarkDetector]]\n ", ...
2025-10-08T18:13:21
electron/electron
62c65280a177a50ba9d3aac8c2de4ee8a9908564
42454b07d011275226d13cf1cbf0b55de675c996
Update docs for webContents.addWorkSpace Specify that webContents.addWorkSpace cannot be called before DevTools creation and include example. Fix: #3536
[ { "path": "docs/api/web-contents.md", "patch": "@@ -499,7 +499,14 @@ win.webContents.on(\"did-finish-load\", function() {\n \n * `path` String\n \n-Adds the specified path to DevTools workspace.\n+Adds the specified path to DevTools workspace. Must be used after DevTools\n+creation:\n+\n+```javascript\n+mai...
2015-11-27T06:16:00
golang/go
46e98d489fda3bc1e36af92ee625b2fce3c1f88e
50dac3b410b9bc47dabc3f3c2afd21f7aecfb118
go/types: refer to structural rather than single underlying type in errors This is a port of CL 362997 from types2 to go/types. Some error positions were adjusted in tests. Change-Id: I6a932aee1a8d9bcbf4cd8c16a95bbb41b5c7e13f Reviewed-on: https://go-review.googlesource.com/c/go/+/363990 Trust: Robert Findley <rfindle...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -479,7 +479,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\tcase *Map, *Chan:\n \t\t\tmin = 1\n \t\tcase nil:\n-\t\t\tcheck.errorf(arg0, _InvalidMake, \"cannot make %s; type set has no single underlying type\", ar...
2021-11-16T03:33:22
rust-lang/rust
d66e4f6a662346c17fd9461126704f096c2b6a3d
19c1c709054ea1964d942259c5c33ad6489cd1e0
Restrict the cases where Clippy proposes to switch range types To limit false positives, the `range_plus_one` and `range_minus_one` lints will restrict themselves to situations where the iterator types can be easily switched from exclusive to inclusive or vice-versa. This includes situations where the range is used as...
[ { "path": "clippy_lints/src/cognitive_complexity.rs", "patch": "@@ -103,7 +103,6 @@ impl CognitiveComplexity {\n FnKind::ItemFn(ident, _, _) | FnKind::Method(ident, _) => ident.span,\n FnKind::Closure => {\n let header_span = body_span.with_hi(decl.output....
2025-03-17T15:30:27
vercel/next.js
8602bf35e0d5915f9dfa6927400591d81c577e0f
287e379b924cd0585eed4c039e40cd4bda7d7bc2
fix query for app dir in turbopack (#48828) ### What? Fix the query for app dir ### Why? it's not correct in app dir
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -252,8 +252,7 @@ async function runOperation(renderData: RenderData) {\n headers: headersFromEntries(renderData.rawHeaders),\n } as any\n const res: ServerResponse = new ServerResponseShim(req) as any\n- cons...
2023-04-25T15:31:07
huggingface/transformers
bfe2b623ef9bd301e57463258ffcc5e6fb19e2ac
b9be8a8775ff0899912f6db126fa8c770b6698cd
Fix generate outputs and simplify cache tests (#41440) * start refactoring * simplify * tests * tests * fix * zamba * final fix * fix
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -2812,6 +2812,10 @@ def _sample(\n streamer.end()\n \n if return_dict_in_generate:\n+ cache = None\n+ if any(cache_key in model_kwargs for cache_key in ALL_CACHE_NAMES):\n+ cache_key = nex...
2025-10-08T17:04:18
electron/electron
0b245b96e4c42ef90f98809ede7e4deaf942f3c2
42454b07d011275226d13cf1cbf0b55de675c996
Update docs for globalShortcut.register Document return value for globalShortcut.register and common failure scenario. Fix: #3600
[ { "path": "docs/api/global-shortcut.md", "patch": "@@ -46,7 +46,10 @@ The `global-shortcut` module has the following methods:\n * `callback` Function\n \n Registers a global shortcut of `accelerator`. The `callback` is called when\n-the registered shortcut is pressed by the user.\n+the registered shortcut i...
2015-11-27T05:35:22
rust-lang/rust
eee2d7b1016d6f2743c5f61989b28e05fefd9aff
55d436467c351b56253deeba209ae2553d1c243f
AsyncDrop trait without sync Drop generates an error
[ { "path": "compiler/rustc_hir_analysis/messages.ftl", "patch": "@@ -46,6 +46,9 @@ hir_analysis_associated_type_trait_uninferred_generic_params = cannot use the {$\n \n hir_analysis_associated_type_trait_uninferred_generic_params_multipart_suggestion = use a fully qualified path with explicit lifetimes\n \n+...
2025-06-17T03:14:05
golang/go
9efb6493f498f8fdcc5d34d4df4d5e9c620f861b
6e481c0b36ca484a9fe4a1de25b6def06a26b988
all: update vendored golang.org/x/tools Update the vendored x/tools to pick up the fix for #49597, using the following commands: go get -d golang.org/x/tools@4adea5033c5c6f39a900d4b963c4b496448b1655 go mod tidy go mod vendor Fixes #49597 Change-Id: Ib1bc43aacbdc707b605194012134f048a336e176 Reviewed-on: https:...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,7 +8,7 @@ require (\n \tgolang.org/x/mod v0.6.0-dev.0.20210913215816-37dd6891021a\n \tgolang.org/x/sync v0.0.0-20210220032951-036812b2e83c\n \tgolang.org/x/term v0.0.0-20210927222741-03fcf44c2211\n-\tgolang.org/x/tools v0.1.8-0.20211109164901-e9000123914f\n+\tgola...
2021-11-16T02:12:33
nodejs/node
3cf1ffebabf0f6a862ea80cd9cf14adbd073b3ef
4c4ad120c57595b39bc4407f121ab689bb9ac846
path: fix win32 parse regression This fixes the parse function for single character input that are not a path separator. PR-URL: https://github.com/nodejs/node/pull/26912 Fixes: https://github.com/nodejs/node/issues/26911 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.co...
[ { "path": "lib/path.js", "patch": "@@ -830,6 +830,7 @@ const win32 = {\n ret.root = ret.dir = path;\n return ret;\n }\n+ ret.base = ret.name = path;\n return ret;\n }\n // Try to match a root", "additions": 1, "deletions": 0, "language": "JavaScript" },...
2019-03-26T01:45:59
vercel/next.js
e9260a8b0294fa9f5c38ae0eb3906bd3e9460085
dfcdf84c8268f82ff2e23e41ccecd2752e6f6d65
add FixedStaticAsset and TextContentSourceAsset (vercel/turbo#4692) ### Description needed for metadata support in next.js (https://github.com/vercel/next.js/pull/48823)
[ { "path": "crates/turbopack-ecmascript/src/lib.rs", "patch": "@@ -17,6 +17,7 @@ mod path_visitor;\n pub(crate) mod references;\n pub mod resolve;\n pub(crate) mod special_cases;\n+pub mod text;\n pub(crate) mod transform;\n pub mod tree_shake;\n pub mod typescript;", "additions": 1, "deletions": 0, ...
2023-04-25T15:08:55
huggingface/transformers
b9be8a8775ff0899912f6db126fa8c770b6698cd
bef73bf8d7421e2158a83ebcc24a9fc78e885dfe
enable some falcon-mamba uts on xpu (#41428) * enable some falcon-mamba uts on xpu Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao, Matrix <matrix.yao@intel.com> --------- Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
[ { "path": "src/transformers/models/falcon_mamba/modeling_falcon_mamba.py", "patch": "@@ -170,8 +170,13 @@ def _lazy_load_causal_conv1d():\n if is_kernels_available():\n from kernels import get_kernel\n \n- _causal_conv1d_kernel = get_kernel(\"kernels-community/causal-conv1d\")\n- _...
2025-10-08T16:48:04
rust-lang/rust
e4f196a7b43db0f35c9bea3956c2ed1ea1a751be
e703dff8fe220b78195c53478e83fb2f68d8499c
CodeGen: rework Aggregate implemention for rvalue_creates_operand cases Another refactor pulled out from 138759 The previous implementation I'd written here based on `index_by_increasing_offset` is complicated to follow and difficult to extend to non-structs. This changes the implementation, without actually changin...
[ { "path": "Cargo.lock", "patch": "@@ -3468,11 +3468,9 @@ name = \"rustc_codegen_ssa\"\n version = \"0.0.0\"\n dependencies = [\n \"ar_archive_writer\",\n- \"arrayvec\",\n \"bitflags\",\n \"bstr\",\n \"cc\",\n- \"either\",\n \"itertools\",\n \"libc\",\n \"object 0.37.0\",", "additions": 0, "de...
2025-06-11T09:50:28
golang/go
6e481c0b36ca484a9fe4a1de25b6def06a26b988
6b3f4d388fe5602172f45361f438edf54699b953
cmd/go: don't try to print build info of non-Go binaries On a non-nil err, buildinfo.ReadFile will always return a nil *Buildinfo. In scanFile, we need to return early if that happens. Fixes #49181 Change-Id: I354348d206ab084804937c6f922eadb61435e7b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/359154 Trus...
[ { "path": "src/cmd/go/internal/version/version.go", "patch": "@@ -151,6 +151,7 @@ func scanFile(file string, info fs.FileInfo, mustPrint bool) {\n \t\t\t\tfmt.Fprintf(os.Stderr, \"%s: %v\\n\", file, err)\n \t\t\t}\n \t\t}\n+\t\treturn\n \t}\n \n \tfmt.Printf(\"%s: %s\\n\", file, bi.GoVersion)", "additio...
2021-10-27T15:37:09
nodejs/node
4c4ad120c57595b39bc4407f121ab689bb9ac846
df1c9eb9753a3f837b6ab98b720df6547ab93a08
test: refactor path parse test Use destructuring and arrow functions and make one test stricter. Also inline the error object as there's only a sinlge error that can currently be thrown in the path module. PR-URL: https://github.com/nodejs/node/pull/26912 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: M...
[ { "path": "test/parallel/test-path-parse-format.js", "patch": "@@ -51,7 +51,7 @@ const winPaths = [\n ];\n \n const winSpecialCaseParseTests = [\n- ['/foo/bar', { root: '/' }],\n+ ['/foo/bar', { root: '/', dir: '/foo', base: 'bar', ext: '', name: 'bar' }],\n ];\n \n const winSpecialCaseFormatTests = [\n@@...
2019-03-26T01:42:50
rust-lang/rust
8949360c4351e6eaf65cd0a4f52d8742cc68b1cf
d02f6f2a3f1bfb7ed1217306bcd22313675c55dd
fix format
[ { "path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints/adjustment.rs", "patch": "@@ -161,37 +161,37 @@ pub(super) fn hints(\n PointerCast::ReifyFnPointer => (\n \"<fn-item-to-fn-pointer>\",\n \"fn item to fn pointer\",\n- ...
2025-06-18T01:46:46
huggingface/transformers
89a4115a6b3697a3a2018d8d4f8c439e4196691e
82ffeb28ad926938db1f81e2423b6ba4ffbed579
Validate processing kwargs with @strict from huggingface_hub (#40793) * initial design draft * delete * fix a few tests * fix * fix the rest of tests * common-kwargs * why the runner complains about typing with "|"? * revert * forgot to delete * update * fix last issues * add more detalis in docs * pin th...
[ { "path": "setup.py", "patch": "@@ -114,7 +114,7 @@\n \"GitPython<3.1.19\",\n \"hf-doc-builder>=0.3.0\",\n \"hf_xet\",\n- \"huggingface-hub==1.0.0.rc2\",\n+ \"huggingface-hub==1.0.0.rc4\",\n \"importlib_metadata\",\n \"ipadic>=1.0.0,<2.0\",\n \"jinja2>=3.1.0\",", "additions...
2025-10-08T14:14:09
electron/electron
585ff9062cbf92ca65fcc50607e8f2b751f9d05e
bf5e9e4f4d19b05cf2fed73b7efa24aa26a6c4c8
:bug: Fix missing execution permission bit in execFile override Consider an electron application that uses `execFile` to run a script that lives within the application code base: ```coffee child_process = require 'child_process' child_process.execFile __dirname + '/script.sh', (error) -> throw error if error? ``` ...
[ { "path": "atom/common/api/atom_api_asar.cc", "patch": "@@ -54,6 +54,7 @@ class Archive : public mate::Wrappable {\n mate::Dictionary dict(isolate, v8::Object::New(isolate));\n dict.Set(\"size\", stats.size);\n dict.Set(\"offset\", stats.offset);\n+ dict.Set(\"executable\", stats.executable);...
2015-11-26T12:48:47
golang/go
9e13a8876fb531861cbb8e865e57431de9818c16
d15610128e63e299e39af02ea0e6be1afd38b1ff
debug/dwarf: better error message when reading absent debug_line_str When a DW_FORM_line_strp is used without a debug_line_str section a good error message (about the missing section) is generated but immediately overwritten by the underflow error generated by trying to read the non-existent section. Updates #49590 ...
[ { "path": "src/debug/dwarf/entry.go", "patch": "@@ -641,6 +641,7 @@ func (b *buf) entry(cu *Entry, atab abbrevTable, ubase Offset, vers int) *Entry\n \t\t\t} else {\n \t\t\t\tif len(b.dwarf.lineStr) == 0 {\n \t\t\t\t\tb.error(\"DW_FORM_line_strp with no .debug_line_str section\")\n+\t\t\t\t\treturn nil\n \t...
2021-11-15T08:42:28
nodejs/node
78ae094ed005e7001713fc6aed857610c9bf56ce
3440cf6a27161921cd88873a4ac7b4103b4aceea
src: fix task release in cares_wrap.cc PR-URL: https://github.com/nodejs/node/pull/26815 Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "src/cares_wrap.cc", "patch": "@@ -307,7 +307,7 @@ node_ares_task* ares_task_create(ChannelWrap* channel, ares_socket_t sock) {\n if (uv_poll_init_socket(channel->env()->event_loop(),\n &task->poll_watcher, sock) < 0) {\n /* This should never happen. */\n- free(t...
2019-03-20T14:50:35
huggingface/transformers
82ffeb28ad926938db1f81e2423b6ba4ffbed579
e064dc05c2dda50262179ad20eb8cc5ea484d24c
Add Top-H decoding (entropy-bounded truncation) as a LogitsWarper for text generation (#40837) * init * added TopH * Update TopH logits_process.py * Update logits_process.py * Update test_logits_process.py * Update test_logits_process.py * added test No. 4 * Resolving __init__.py issues * Resolving configurati...
[ { "path": "docs/source/en/internal/generation_utils.md", "patch": "@@ -153,6 +153,9 @@ generation.\n [[autodoc]] TemperatureLogitsWarper\n - __call__\n \n+[[autodoc]] TopHLogitsWarper\n+ - __call__\n+\n [[autodoc]] TopKLogitsWarper\n - __call__\n ", "additions": 3, "deletions": 0, "la...
2025-10-08T13:37:51
electron/electron
932cd92bf6dded7756196254f5d7593fc5d2e14d
ed866900e76c1901cf21d5c781f3dee48cd4fb45
Fix wrong deprecation wrappers of BrowserWindow
[ { "path": "atom/browser/api/lib/browser-window.coffee", "patch": "@@ -90,16 +90,18 @@ deprecate.member BrowserWindow, 'copy', 'webContents'\n deprecate.member BrowserWindow, 'paste', 'webContents'\n deprecate.member BrowserWindow, 'selectAll', 'webContents'\n deprecate.member BrowserWindow, 'reloadIgnoringC...
2015-11-27T02:30:51
golang/go
d15610128e63e299e39af02ea0e6be1afd38b1ff
95e85e31089523447aadb7670715c4d3383cc4ee
cmd/compile/internal/types2: add test for imported constraints pre-1.18 But exclude the test when running unified build for now (the unified builder's importers are not yet updated to handle extended interfaces). Also, fix respective error position. Fixes #47967. Change-Id: I4e3d829b5c12001c024b9eefcc27f97b10c1d1e5 ...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -25,6 +25,7 @@ package types2_test\n import (\n \t\"cmd/compile/internal/syntax\"\n \t\"flag\"\n+\t\"internal/buildcfg\"\n \t\"internal/testenv\"\n \t\"os\"\n \t\"path/filepath\"\n@@ -93,11 +94,27 @@ func asGoVersion(s string) string {\...
2021-11-14T00:16:53
vercel/next.js
287e379b924cd0585eed4c039e40cd4bda7d7bc2
f08cab3b0fd43fbe44983c253be2a1037fb3b393
Vendor `react@experimental` (#48697) Part of #47759 (which had been reverted twice so here we only land a part of the change), relates to NEXT-926. Thanks to #48506 we can soon switch between these two channels during runtime. Also fixes a problem of `renderKind` (only revealed after upgrading React), it should be al...
[ { "path": "package.json", "patch": "@@ -196,10 +196,12 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-1f248bdd7-20230419\",\n+ \"react-builtin\": \"npm:react@18.3.0-next-c8369527e-20230420\",\n+ ...
2023-04-25T14:29:02
huggingface/transformers
e064dc05c2dda50262179ad20eb8cc5ea484d24c
20282f13fad8d9c40187b66f01ce8aecd48323a6
[testing] Fix `JetMoeIntegrationTest` (#41377) * fix * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/jetmoe/test_modeling_jetmoe.py", "patch": "@@ -13,14 +13,13 @@\n # limitations under the License.\n \"\"\"Testing suite for the PyTorch JetMoe model.\"\"\"\n \n-import gc\n import unittest\n \n import pytest\n \n from transformers import AutoTokenizer, is_torch_available\n from trans...
2025-10-08T13:11:53
rust-lang/rust
bc2ed2ca9fce221d26083d25cf31f2925c348428
697b4f8306808bd1ed70fbcee585ef20c8e26c54
fix clippy
[ { "path": "clippy_lints/src/attrs/inline_always.rs", "patch": "@@ -1,6 +1,6 @@\n use super::INLINE_ALWAYS;\n use clippy_utils::diagnostics::span_lint;\n-use rustc_attr_parsing::{find_attr, AttributeKind, InlineAttr};\n+use rustc_attr_data_structures::{find_attr, AttributeKind, InlineAttr};\n use rustc_hir::...
2025-06-10T06:48:56
nodejs/node
8bc7d2a5be44bf8b8fdfa67d412f7010ef8b6e59
86517c9f8f2aacf624025839ab8f03167c8d70dd
src: fix data type when using uv_get_total_memory() PR-URL: https://github.com/nodejs/node/pull/26886 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "src/api/environment.cc", "patch": "@@ -169,7 +169,7 @@ void SetIsolateCreateParams(Isolate::CreateParams* params,\n if (allocator != nullptr)\n params->array_buffer_allocator = allocator;\n \n- double total_memory = uv_get_total_memory();\n+ const uint64_t total_memory = uv_get_total_memo...
2019-03-24T08:36:36
golang/go
95e85e31089523447aadb7670715c4d3383cc4ee
c8d7c5fe0511569f19d4ebed29f11d96f50b3e07
cmd/compile/internal/types2: use "implements" rather than "satisfies" in error messages Type constraint satisfaction is interface implementation. Adjusted a few error messages. Change-Id: I4266af78e83131a76b1e3e44c847a21de760ac6e Reviewed-on: https://go-review.googlesource.com/c/go/+/363839 Trust: Robert Griesemer <...
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -174,18 +174,17 @@ func (check *Checker) implements(V, T Type, qf Qualifier) error {\n \t// type set of V is not empty\n \n \t// No type with non-empty type set satisfies the empty type set.\n-\t// TODO(gri) should use \"implements\" r...
2021-11-15T05:13:27
vercel/next.js
0f6b357181218cb9afdf8b7dc697bc3352350333
9863935f449d4cac279d58ea97eddd697b3072d9
Improve typing of resolve metadata (#48670) Improve array resolving in metadata, remove ts comments for errors
[ { "path": "packages/next/src/lib/metadata/generate/utils.ts", "patch": "@@ -1,20 +1,17 @@\n-function resolveArray<T>(value: T): T[] {\n+function resolveArray<T>(value: T | T[]): T[] {\n if (Array.isArray(value)) {\n- return value\n+ return value as any\n }\n- return [value]\n+ return [value] as ...
2023-04-25T10:17:54
huggingface/transformers
20282f13fad8d9c40187b66f01ce8aecd48323a6
c528f5066328734ada6b63143b4fd6058a7577df
[`JetMoe`] Fix KV head repetition and padding free (#41423) fix jetmoe
[ { "path": "src/transformers/models/jetmoe/modeling_jetmoe.py", "patch": "@@ -426,7 +426,8 @@ def __init__(self, config: JetMoeConfig, layer_idx: Optional[int] = None):\n \"when creating this class.\"\n )\n \n- self.num_key_value_groups = config.num_experts_per_tok\n+ ...
2025-10-08T12:27:22
rust-lang/rust
780b9021111254f9e605d6a928ec5f829782e3b8
5ab5f8a24a99cdbb178c886487d4c1971b86a32b
fix clippy
[ { "path": "compiler/rustc_attr_data_structures/src/attributes.rs", "patch": "@@ -216,25 +216,20 @@ pub enum AttributeKind {\n ConstStabilityIndirect,\n \n /// Represents [`#[deprecated]`](https://doc.rust-lang.org/stable/reference/attributes/diagnostics.html#the-deprecated-attribute).\n- Deprecat...
2025-06-10T06:48:56
golang/go
fda92615040c831bdcd812fd20ddb0da9dcef70b
42fa03a88ca7767c1869e55b3144a9828d29b7b5
cmd/compile/internal/types2: better position for invalid slice indices error Report the error at the first place (which is to say, latest index) causing the error. Change-Id: I31cf0a4d243fc66cfab84b7fec98055f4eb60ddf Reviewed-on: https://go-review.googlesource.com/c/go/+/363671 Trust: Robert Griesemer <gri@golang.org...
[ { "path": "src/cmd/compile/internal/types2/index.go", "patch": "@@ -309,9 +309,12 @@ func (check *Checker) sliceExpr(x *operand, e *syntax.SliceExpr) {\n L:\n \tfor i, x := range ind[:len(ind)-1] {\n \t\tif x > 0 {\n-\t\t\tfor _, y := range ind[i+1:] {\n-\t\t\t\tif y >= 0 && x > y {\n-\t\t\t\t\tcheck.errorf...
2021-11-13T21:57:48
nodejs/node
b5ea925c8e30aa85f1821f3bd9833b52608bf91e
46bf0d0f4fde508d48ef91e4044c2ce0d3f942ca
util: don't set the prototype of callbackified functions Using `util.callbackify()` should not set the prototype for the returned function to the one from the input function. It could cause confusion while debugging otherwise. PR-URL: https://github.com/nodejs/node/pull/26893 Fixes: https://github.com/nodejs/node/iss...
[ { "path": "lib/util.js", "patch": "@@ -194,7 +194,6 @@ function callbackify(original) {\n (rej) => process.nextTick(callbackifyOnRejected, rej, cb));\n }\n \n- Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));\n const descriptors = Object.getOwnPropertyDescriptors(origi...
2019-03-24T21:20:55
electron/electron
b0d4aa211df8778d97047268c3e86e576adc7d39
6c1878d15b8c34f1441565ebacaaf34247276b30
Fix compatibility with activate-with-no-open-windows event
[ { "path": "atom/browser/api/lib/app.coffee", "patch": "@@ -54,7 +54,7 @@ deprecate.event app, 'finish-launching', 'ready', ->\n setImmediate => # give default app a chance to setup default menu.\n @emit 'finish-launching'\n deprecate.event app, 'activate-with-no-open-windows', 'activate', (event, hasV...
2015-11-26T05:57:48