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
rust-lang/rust
ea2ea62fd1577cc67dc61d6b1b40e5f7427ed704
ed143afc7f5ee4b3ce0c692b0528bdc51d0733ab
Note that using `enumerate()` will swap the arguments The autofix now: - includes the swapping of index and element in the closure in which the content will be consumed; - notes, with applicability `MaybeIncorrect` (because it will be), that the element and the index will be swapped.
[ { "path": "clippy_lints/src/methods/range_zip_with_len.rs", "patch": "@@ -1,10 +1,9 @@\n-use clippy_utils::diagnostics::span_lint_and_sugg;\n-use clippy_utils::source::snippet;\n-use clippy_utils::{SpanlessEq, higher, is_integer_const, is_trait_method};\n+use clippy_utils::diagnostics::span_lint_and_then;\n...
2025-06-04T11:40:50
electron/electron
0e4ae6f86475c2d06d02750efa86dbdc9e87b307
96bb9b2757e9f8410fe69f5613b6c993359cac11
Standardize debug main process
[ { "path": "docs/tutorial/debugging-main-process.md", "patch": "@@ -1,25 +1,26 @@\n-# Debugging the main process\n+# Debugging the Main Process\n \n-The devtools of browser window can only debug the renderer process scripts.\n-(I.e. the web pages.) In order to provide a way to debug the scripts of\n-the main...
2015-09-01T02:12:57
golang/go
3da0ff8e3b05333c378efe17585609598692791e
0c45ed05612bb315c949229f7b484b4b573af4b0
cmd/go: don't stamp build or vcs info for GOROOT binaries Fixes a test failure in cmd/go TestScript/mod_outside. make.bash (cmd/dist) builds everything with -gcflags=all= -ldflags=all= by default. If those no-op flags aren't used, all GOROOT binaries appear stale. It's likely safe to omit those flags in cmd/dist if ...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2205,6 +2205,11 @@ func (p *Package) collectDeps() {\n // Note that the GoVersion field is not set here to avoid encoding it twice.\n // It is stored separately in the binary, mostly for historical reasons.\n func (p *Package) setBuildInfo() {\n+\t/...
2021-10-14T23:47:47
vercel/next.js
84a416b5e115f5b622d3cfab2d747dfe64a12e7d
7060b8c9ef46a3395b2e44dfaa3de7635218edde
Fix build spinner in TTY env (#47383) This ensures the build spinner is correctly stopped in a TTY environment and also adds regression tests for `app` and `pages` to ensure this behaves as expected. This updates our docker image to use the `jammy` tag instead of `focal` to match the Ubuntu version to our CI.
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -301,7 +301,7 @@ jobs:\n name: next-swc-test-binary\n path: packages/next-swc/native\n \n- - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.28.1-focal /bin/bash -c \"cd /work && curl -s https://i...
2023-03-22T19:56:39
huggingface/transformers
64ae6e6b1de2c6822a53be46aba9db68f75ec595
6d2bb1e04db6c8d193549d4b0c99d2182837c0ad
fix qwen25-vl grad acc (#40333) * fix qwen25—vl grad acc * fix Qwen2_5_VLForConditionalGeneration for accepts_loss_kwargs * fix ci * fix ci * fix typo * fix CI
[ { "path": "src/transformers/models/glm4v/modeling_glm4v.py", "patch": "@@ -893,6 +893,8 @@ def forward(\n class Glm4vModel(Glm4vPreTrainedModel):\n base_model_prefix = \"\"\n _checkpoint_conversion_mapping = {}\n+ # Reference: fix gemma3 grad acc #37208\n+ accepts_loss_kwargs = False\n con...
2025-08-26T09:30:06
rust-lang/rust
d5a9a005188322cd08dca018402e1593d3a5ebd5
52882f6522ae9f34f1d574b2efabc4b18e691ae0
Fix for async drop inside async gen fn
[ { "path": "compiler/rustc_mir_transform/src/coroutine/drop.rs", "patch": "@@ -382,12 +382,34 @@ pub(super) fn expand_async_drops<'tcx>(\n dropline_call_bb = Some(drop_call_bb);\n }\n \n- // value needed only for return-yields or gen-coroutines, so just const here\n- let val...
2025-06-02T20:27:21
huggingface/transformers
6d2bb1e04db6c8d193549d4b0c99d2182837c0ad
63caaea1fb2242b9a7f8312831a2a355237095ab
[Trainer] accelerate contextparallel support in trainer (#40205) * initial context_parallel_size support in trainer * For context parallelism, use AVG instead of SUM to avoid over-accounting tokens * use parallelism_config.cp_enabled * add parallelism_config to trainer state * warn when auto-enabling FSDP * fix s...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3823,6 +3823,123 @@ def _prepare_inputs(self, inputs: dict[str, Union[torch.Tensor, Any]]) -> dict[s\n \n return inputs\n \n+ def _is_attention_mask_causal(self, attention_mask):\n+ \"\"\"\n+ Check if an attention mask is causal...
2025-08-26T09:28:48
golang/go
0c45ed05612bb315c949229f7b484b4b573af4b0
9e8ed86813dd49c4160dd4813901e2ac03de5abd
cmd/compile: fix irgen reports wrong error message for misuse of //go:embed Fixes #48230 Change-Id: Ic6490e065e7e79793faa0d0201dc94f5fcea694a Reviewed-on: https://go-review.googlesource.com/c/go/+/355529 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Trust: Dan Scales <danscales@google.com> Run-TryBot: Cuong Manh L...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -132,7 +132,11 @@ func (g *irgen) funcDecl(out *ir.Nodes, decl *syntax.FuncDecl) {\n \t\tg.target.Inits = append(g.target.Inits, fn)\n \t}\n \n+\thaveEmbed := g.haveEmbed\n \tg.later(func() {\n+\t\tdefer func(b bool) { g.haveEmbed = b }(g.have...
2021-10-13T10:11:16
vercel/next.js
7060b8c9ef46a3395b2e44dfaa3de7635218edde
1a85bb7c655a602eb8573f182fc54310df37558f
Revert "Support dynamic routes for social images and icons" (#47416 Reverts vercel/next.js#47372 ``` Error occurred prerendering page "/apple-icon". Read more: https://nextjs.org/docs/messages/prerender-error Error: The `ImageResponse` API is not supported in this runtime, use the `unstable_createNodejsStream` AP...
[ { "path": "package.json", "patch": "@@ -95,7 +95,7 @@\n \"@typescript-eslint/eslint-plugin\": \"4.29.1\",\n \"@typescript-eslint/parser\": \"4.29.1\",\n \"@vercel/fetch\": \"6.1.1\",\n- \"@vercel/og\": \"0.4.0\",\n+ \"@vercel/og\": \"0.0.20\",\n \"@webassemblyjs/ast\": \"1.11.1\",\n ...
2023-03-22T19:24:09
huggingface/transformers
63caaea1fb2242b9a7f8312831a2a355237095ab
922e65b3fcccbcb6ab226e2945da0cb9d90fc898
Refactor ViT-like models (#39816) * refactor vit * fix * fixup * turn off FX tests * AST * deit * dinov2 * dinov2_with_registers * dpt * depth anything (nit) * depth pro (nit) * ijepa * ijepa (modular) * prompt_depth_anything (nit) * vilt (nit) * zoedepth (nit) * videomae * vit_mae * vit_msn * vivit...
[ { "path": "src/transformers/loss/loss_utils.py", "patch": "@@ -151,6 +151,7 @@ def ForTokenClassification(logits: torch.Tensor, labels, config, **kwargs):\n \"ForSequenceClassification\": ForSequenceClassificationLoss,\n \"ForImageClassification\": ForSequenceClassificationLoss,\n \"ForVideoClas...
2025-08-26T09:14:06
golang/go
9e8ed86813dd49c4160dd4813901e2ac03de5abd
b59467e0365776761c3787a4d541b5e74fe24b24
debug/buildinfo: fix test for build settings This CL fixes the debug/buildinfo test, which did not expect build settings. For #37475 Change-Id: Ie8c15ec633b4eec6a976120c8db64f116589d98e Reviewed-on: https://go-review.googlesource.com/c/go/+/356012 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayc...
[ { "path": "src/debug/buildinfo/buildinfo_test.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"os/exec\"\n \t\"path\"\n \t\"path/filepath\"\n+\t\"regexp\"\n \t\"runtime\"\n \t\"strings\"\n \t\"testing\"\n@@ -114,6 +115,23 @@ func TestReadFile(t *testing.T) {\n \t\t}\n \t}\n \n+\tgoVersionRe := regexp.MustCom...
2021-10-14T21:57:49
vercel/next.js
1a85bb7c655a602eb8573f182fc54310df37558f
bbd79ac9977e03010e09ff90d933f2ec614b031f
chore: fix localhost port (#47413) Development server actually running on port 3000. ![image](https://user-images.githubusercontent.com/61994117/226997492-7d61d401-bcdc-47b0-ac5b-48469c5a88b8.png)
[ { "path": "examples/with-static-export/README.md", "patch": "@@ -2,7 +2,7 @@\n \n This example show how to export to static HTML files your Next.js application fetching data from an API to generate a dynamic list of pages.\n \n-When trying to run `npm start` it will build and export your pages into the `out...
2023-03-22T18:20:22
nodejs/node
38ab1e9ade1e473f1c0b7a1e7535d41654506a3d
8c9aaacb333a0223243eda9b3551dbf26fdb260a
src: pass along errors from `--security-reverts` Pass along errors from `Revert()` when a security revert is unknown (which currently applies to all possible values). Previously, we would unconditionally call `exit()`, which is not nice for embedding use cases, and could crash because we were holding a lock for a mut...
[ { "path": "src/node.cc", "patch": "@@ -915,8 +915,14 @@ int ProcessGlobalArgs(std::vector<std::string>* args,\n \n if (!errors->empty()) return 9;\n \n- for (const std::string& cve : per_process::cli_options->security_reverts)\n- Revert(cve.c_str());\n+ std::string revert_error;\n+ for (const std::s...
2019-01-12T19:55:58
huggingface/transformers
922e65b3fcccbcb6ab226e2945da0cb9d90fc898
e68146fbe7052a6dc8456f48edabe705dc1f7381
Fix non FA2 tests after FA2 installed in CI docker image (#40430) * up * up * up * up * up * up * up * up * up * up * up * up * up --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/glm4v/test_modeling_glm4v.py", "patch": "@@ -14,7 +14,6 @@\n \"\"\"Testing suite for the PyTorch GLM-4.1V model.\"\"\"\n \n import copy\n-import gc\n import unittest\n \n from transformers import (\n@@ -25,6 +24,7 @@\n is_torch_available,\n )\n from transformers.testing_utils imp...
2025-08-26T08:36:50
vercel/next.js
6b40aa79f5432a6b67b0669ceb18164a18dea1dd
d368ec291b2f03efbb66be26d5ae3e679dca7aa5
fix and improve error handling (vercel/turbo#4300) ### Description * fixes a bug that swallowed the errors * pretty print anyhow errors when printing them Before: ``` [500] error: Execution of get_from_source failed Caused by: 0: Execution of resolve_source_request failed 1: Execution of CombinedContentSou...
[ { "path": "crates/turbopack-core/src/error.rs", "patch": "@@ -0,0 +1,64 @@\n+use std::fmt::{Display, Formatter, Result};\n+\n+/// Implements [Display] to print the error message in a friendly way.\n+/// Puts a summary first and details after that.\n+pub struct PrettyPrintError<'a>(pub &'a anyhow::Error);\n+...
2023-03-22T13:58:09
golang/go
b59467e0365776761c3787a4d541b5e74fe24b24
0400d536e4f349c8f30777c975af78b6a19e73b4
net/http: also use Server.ReadHeaderTimeout for TLS handshake deadline Fixes #48120 Change-Id: I72e89af8aaf3310e348d8ab639925ce0bf84204d Reviewed-on: https://go-review.googlesource.com/c/go/+/355870 Trust: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Go Bot ...
[ { "path": "src/net/http/server.go", "patch": "@@ -865,6 +865,28 @@ func (srv *Server) initialReadLimitSize() int64 {\n \treturn int64(srv.maxHeaderBytes()) + 4096 // bufio slop\n }\n \n+// tlsHandshakeTimeout returns the time limit permitted for the TLS\n+// handshake, or zero for unlimited.\n+//\n+// It re...
2021-10-14T15:45:16
nodejs/node
8c9aaacb333a0223243eda9b3551dbf26fdb260a
bbed92ca85bfbd78d2af7af7b5bc56952fe0fa1a
test: assert on client and server side seperately This gets better coverage of the codes, and is more explicit. It also works around ordering differences in the errors produced by openssl. The approach was tested with 1.1.0 and 1.1.1, as well as TLSv1.2 vs TLSv1.3. OpenSSL 1.1.0 is relevant when node is built against ...
[ { "path": "test/parallel/test-tls-min-max-version.js", "patch": "@@ -8,9 +8,11 @@ const {\n assert, connect, keys, tls\n } = require(fixtures.path('tls-connect'));\n const DEFAULT_MIN_VERSION = tls.DEFAULT_MIN_VERSION;\n+const DEFAULT_MAX_VERSION = tls.DEFAULT_MAX_VERSION;\n \n-function test(cmin, cmax, c...
2019-01-07T22:13:17
electron/electron
39e3506add35f63002625a08edb716cebeb94b3f
0f2ef3feb2853b8a290a5a677c93a83f71c7a580
Fix typo
[ { "path": "docs/api/frameless-window.md", "patch": "@@ -32,7 +32,7 @@ var win = new BrowserWindow({ transparent: true, frame: false });\n * The `blur` filter only applies to the web page, so there is no way to apply\n blur effect to the content below the window (i.e. other applications open on\n the use...
2015-08-29T09:04:30
rust-lang/rust
d88c6dbb30219385fc56ad92efc4786d11ddc1f1
d9a739363878a06633eb912e44f02a3c5d6ba08c
Add link to correct documentation in htmldocck.py Fix typo in src/etc/htmldocck.py Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> Change documentation link to the correct section in src/etc/htmldocck.py Co-authored-by: León Orell Valerian Liehr <me@fmease.dev> Remove all top-level docs from htmldocck.py
[ { "path": "src/etc/htmldocck.py", "patch": "@@ -2,120 +2,8 @@\n # -*- coding: utf-8 -*-\n \n r\"\"\"\n-htmldocck.py is a custom checker script for Rustdoc HTML outputs.\n-\n-# How and why?\n-\n-The principle is simple: This script receives a path to generated HTML\n-documentation and a \"template\" script, ...
2025-06-02T09:24:14
huggingface/transformers
e68146fbe7052a6dc8456f48edabe705dc1f7381
8ce633cc75796c796b1c81d8f02e28027d75cc51
Fix collated reports model name entry (#40441)
[ { "path": "utils/collated_reports.py", "patch": "@@ -172,7 +172,7 @@ def upload_collated_report(job: str, report_repo_id: str, filename: str):\n continue\n \n # Create a new entry for the model\n- model_name = model_dir.name.removeprefix(machine_type).removesuffix(\"_test_reports\...
2025-08-25T20:36:01
golang/go
4cbc0a555474f59b8600e7e8ecba5c70d619ba0b
0fd0639e4c429e147d33bfc42654fcd651f4449f
cmd/go: produce a better error for generic test functions Test functions with type parameters cannot be invoked without type arguments, so cmd/go would previously fail with a type-checking error in the test harness. Avoid this by producing an error explaining that test functions cannot have type parameters. Fixes #4...
[ { "path": "src/cmd/go/internal/load/test.go", "patch": "@@ -678,10 +678,16 @@ func (t *testFuncs) load(filename, pkg string, doImport, seen *bool) error {\n }\n \n func checkTestFunc(fn *ast.FuncDecl, arg string) error {\n+\tvar why string\n \tif !isTestFunc(fn, arg) {\n-\t\tname := fn.Name.String()\n+\t\tw...
2021-10-14T15:34:00
vercel/next.js
c04ca8df8430fc959de25dd167398bc07cfa5318
8195e1947bc8f36ae357b9cf1c04db4b97f6dbd0
Add more spans into OTEL instrumentation to wrap all user defined functions (#47368) - Move span wrapping rendering closer to the user code and don't add span when we have cache-hit - Add `getStaticProps` span - Add spans around API handlers (pages and app) - Add `generateMetadata` span - Clarify naming that we ...
[ { "path": "packages/next/src/lib/metadata/resolve-metadata.ts", "patch": "@@ -25,6 +25,8 @@ import {\n resolveViewport,\n } from './resolvers/resolve-basics'\n import { resolveIcons } from './resolvers/resolve-icons'\n+import { getTracer } from '../../server/lib/trace/tracer'\n+import { ResolveMetadataSpa...
2023-03-22T12:01:33
nodejs/node
3f419e897ba3b1a412dd300649282ee14d5df361
807ed7883a12423270450776f015a7c2348c0913
tls: make ossl 1.1.1 cipher list throw error Make OpenSSL 1.1.1 error during cipher list setting if it would have errored with OpenSSL 1.1.0. Can be dropped after our OpenSSL fixes this upstream. See: https://github.com/openssl/openssl/pull/7759 PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel ...
[ { "path": "src/node_crypto.cc", "patch": "@@ -946,8 +946,26 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {\n \n THROW_AND_RETURN_IF_NOT_STRING(env, args[0], \"Ciphers\");\n \n+ // Note: set_ciphersuites() is for TLSv1.3 and was introduced in openssl\n+ // 1.1.1, set_cipher_...
2018-11-26T20:25:59
huggingface/transformers
7637d298b3d2676583333ff17b2e831dfb98d2b6
fa59cf9c9f4431802d03342640247dfaf279736d
Fix collated reports uploading (#40440)
[ { "path": "utils/collated_reports.py", "patch": "@@ -127,7 +127,7 @@ def upload_collated_report(job: str, report_repo_id: str, filename: str):\n report_repo_folder = f\"{report_repo_folder}/{report_repo_subfolder}\"\n \n api.upload_file(\n- path_or_fileobj=f\"ci_results_{job}/{filename}\"...
2025-08-25T19:49:59
golang/go
a37bebc042672d20837ea348d45e39740568cb77
a8c5a994d62cc920c134426f7eae892b013ee32d
cmd/go: stamp VCS revision and uncommitted status into binaries When the go command builds a binary, it will now stamp the current revision from the local Git or Mercurial repository, and it will also stamp whether there are uncommitted edited or untracked files. Only Git and Mercurial are supported for now. If no re...
[ { "path": "api/next.txt", "patch": "@@ -4,6 +4,10 @@ pkg debug/buildinfo, type BuildInfo = debug.BuildInfo\n pkg runtime/debug, method (*BuildInfo) MarshalText() ([]byte, error)\n pkg runtime/debug, method (*BuildInfo) UnmarshalText() ([]byte, error)\n pkg runtime/debug, type BuildInfo struct, GoVersion str...
2021-10-01T18:21:49
vercel/next.js
48948022c7d195f58cc37e59d848f9e2ca59bcf7
054f786c8c59662c8e0e78e3c1af00a6e7a071fe
Catch redirect() in root layout (#47345) ### What? Adds the error boundary used to catch `redirect()` above the root layout. ### Why? Currently calling `redirect()` in the root layout causes `NEXT_REDIRECT` to bubble up to the error boundary because we didn't have a redirect-boundary above the place where ...
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -9,6 +9,23 @@ import { HeadManagerContext } from '../shared/lib/head-manager-context'\n import { GlobalLayoutRouterContext } from '../shared/lib/app-router-context'\n import onRecoverableError from './on-recoverable-error'\n import { callServe...
2023-03-22T08:34:50
huggingface/transformers
fa59cf9c9f4431802d03342640247dfaf279736d
f0e87b436d8bd4dd4225da235ac8f988d4bbe845
Fix https://github.com/huggingface/transformers/issues/40292 (#40439) * Fix https://github.com/huggingface/transformers/issues/40292 * Trigger tests --------- Co-authored-by: Matt <rocketknight1@gmail.com>
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -41,7 +41,7 @@\n if os.getenv(\"WANDB_MODE\") == \"offline\":\n print(\"⚙️ Running in WANDB offline mode\")\n \n-from .. import PreTrainedModel, TFPreTrainedModel, TrainingArguments\n+from .. import PreTrainedModel, TrainingAr...
2025-08-25T19:12:57
nodejs/node
57119fbdb200702d6e2cf23428de4c458ae86bbc
0534de6911a28954b07fc46de98bcffd015e3afc
doc: fix assembler requirement for OpenSSL-1.1.1 Add new requirements of assembler version for AVX-512 support in OpenSSL-1.1.1. PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
[ { "path": "BUILDING.md", "patch": "@@ -130,20 +130,29 @@ Depending on the host platform, the selection of toolchains may vary.\n \n #### OpenSSL asm support\n \n-OpenSSL-1.1.0 requires the following assembler version for use of asm\n+OpenSSL-1.1.1 requires the following assembler version for use of asm\n su...
2018-11-10T01:54:00
rust-lang/rust
bd9c30762acf54857e436997ef9a1be79ecef2de
4d0724c48d891c9aae2b7c39873b698619dc557d
Fix incorrect use of "recommend" over "recommended"
[ { "path": "src/doc/rustc-dev-guide/src/building/bootstrapping/debugging-bootstrap.md", "patch": "@@ -55,7 +55,7 @@ Bootstrap will conditionally build `tracing` support and enable `tracing` output\n \n Example basic usage[^just-trace]:\n \n-[^just-trace]: It is not recommend to use *just* `BOOTSTRAP_TRACING=...
2025-06-04T08:30:02
golang/go
a8c5a994d62cc920c134426f7eae892b013ee32d
85a068fdf21bd2e4475a87ee049af4fbe797bcbe
cmd/go: migrate 'go version' to use buildinfo.ReadFile The same code was copied into debug/buildinfo. 'go version' doesn't need its own copy. For #37475 Change-Id: I9e473ce574139a87a5f9c63229f0fc7ffac447a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/353929 Trust: Jay Conrod <jayconrod@google.com> Run-TryB...
[ { "path": "src/cmd/go/internal/version/exe.go", "patch": "@@ -1,263 +0,0 @@\n-// Copyright 2019 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 version\n-\n-import (\n-\t\"bytes\"\n-\t\"debug/elf\"\...
2021-09-30T20:16:33
huggingface/transformers
f0e87b436d8bd4dd4225da235ac8f988d4bbe845
ef406902bfe0431ab10886a5d687c70d588ef13e
Fix collated reports model directory traversal (#40437) Fix model dir traversal
[ { "path": "utils/collated_reports.py", "patch": "@@ -166,17 +166,13 @@ def upload_collated_report(job: str, report_repo_id: str, filename: str):\n job = args.job\n report_repo_id = args.report_repo_id\n \n- # Find the origin directory based on machine type\n- origin = path\n- for p in path....
2025-08-25T18:01:58
vercel/next.js
654eeea287a6b7e6f92539e250d8084951ebf217
f6d2b13d839433b9e05f19a972c0ab36733189d8
fix chunk runner when all chunks are available (vercel/turbo#4297) ### Description When the runtime chunk is the last one executed, we still need to run the runtime module.
[ { "path": "crates/turbopack-dev/js/src/runtime.none.js", "patch": "@@ -80,6 +80,10 @@ let BACKEND;\n }\n runnersForChunk.add(runner);\n }\n+ // When all chunks are already registered, we can instantiate the runtime module\n+ if (runner.requiredChunks.size === 0) {\n+ instantiateRu...
2023-03-22T08:32:17
nodejs/node
0534de6911a28954b07fc46de98bcffd015e3afc
576d0c620683057b69fc1167b409fa60b03af513
deps: fix for non GNU assembler in AIX AIX has own assembler not GNU as that does not support --noexecstack. PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
[ { "path": "deps/openssl/config/generate_gypi.pl", "patch": "@@ -25,13 +25,6 @@\n my $nasm_banner = `nasm -v`;\n die \"Error: nasm is not installed.\" if (!$nasm_banner);\n \n-my $nasm_version_min = 2.13.3;\n-my ($nasm_version) = ($nasm_banner =~/^NASM version ([0-9]\\.[0-9][0-9])+/);\n-if ($nasm_version < ...
2018-11-15T10:18:53
electron/electron
5337d8c23f732b7c600e3fa964df699aad08809b
b7d80e792d0ef53acd95c0fc0155948090c9457c
Ignore native module tests on Windows debug build This resolves #2558. There are no more errors when running test.py on the debug build in Windows. When running the release build the tests will be executed as usual.
[ { "path": ".gitignore", "patch": "@@ -17,3 +17,4 @@ node_modules/\n *.pyc\n debug.log\n npm-debug.log\n+atom/common/chrome_version.h", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -54,7 +54,7 @@ You ...
2015-08-27T20:05:06
huggingface/transformers
ef406902bfe0431ab10886a5d687c70d588ef13e
c81723d31b8a532803feee2bbce66e4f03829759
Gemma3 text fixes: Add expectations for MI325 (#40384) * Add expectations for MI325 * Ruff * Adjust CUDA expectations as well * Another attempt for CUDA expectations
[ { "path": "tests/models/gemma3/test_modeling_gemma3.py", "patch": "@@ -394,8 +394,9 @@ def test_model_4b_bf16(self):\n EXPECTED_TEXTS = Expectations(\n {\n (\"xpu\", 3): ['user\\nYou are a helpful assistant.\\n\\n\\n\\n\\n\\nWhat is shown in this image?\\nmodel\\nCertainl...
2025-08-25T17:57:50
golang/go
85a068fdf21bd2e4475a87ee049af4fbe797bcbe
434cdd0337b9e6c7e0c369c9293cc14fd38dc80d
runtime/debug: add GoVersion to BuildInfo BuildInfo now includes the version of Go used to build a binary, as reported by runtime.Version() or 'go version'. For #37475 Change-Id: Id07dda357dc70599d64a9202dab894c7288de1de Reviewed-on: https://go-review.googlesource.com/c/go/+/353888 Trust: Jay Conrod <jayconrod@googl...
[ { "path": "api/next.txt", "patch": "@@ -3,6 +3,7 @@ pkg debug/buildinfo, func ReadFile(string) (*debug.BuildInfo, error)\n pkg debug/buildinfo, type BuildInfo = debug.BuildInfo\n pkg runtime/debug, method (*BuildInfo) MarshalText() ([]byte, error)\n pkg runtime/debug, method (*BuildInfo) UnmarshalText() ([]...
2021-09-30T17:46:03
rust-lang/rust
be70a4b16e08de96fb221904bfe8abd72419abf1
792fc2b033aea7ea7b766e38bdc40f7d6bdce8c3
Fix incorrect use of "recommend" over "recommended"
[ { "path": "src/doc/rustc/src/codegen-options/index.md", "patch": "@@ -192,7 +192,7 @@ to save information after compiling a crate to be reused when recompiling the\n crate, improving re-compile times. This takes a path to a directory where\n incremental files will be stored.\n \n-Using incremental compilati...
2025-06-04T08:16:29
vercel/next.js
054f786c8c59662c8e0e78e3c1af00a6e7a071fe
2e144330d9048879389dac375d7c20021553b603
Skip warning if there is app directory for `no-html-link-for-pages` rule (#42516) Skips pages directory warning if there is app directory in the root for `no-html-link-for-pages` lint rule. Fixes #42448. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a help...
[ { "path": "packages/eslint-plugin-next/src/rules/no-html-link-for-pages.ts", "patch": "@@ -74,7 +74,20 @@ export = defineRule({\n }\n return fsExistsSyncCache[dir]\n })\n- if (foundPagesDirs.length === 0) {\n+\n+ const appDirs = rootDirs\n+ .map((dir) => [path.join(dir, 'app'), pa...
2023-03-22T02:15:52
nodejs/node
bff1348cfc7f386b9084219dd452b95a2a24be95
1c5b8e5e24b5fa4d14ba391c9cedc4c88fd02421
deps: fix MacOS and Win build for OpenSSL-1.1.1 Because llvm on MacOS does not support AVX-512, asm files need to be limited to AVX-2 support even when they are generated on Linux. fake_gcc.pl returns the fake llvm banner version for MacOS as if the assembler supports upto AVX-2. For Windows, makefiles for nmake wer...
[ { "path": "deps/openssl/config/Makefile", "patch": "@@ -15,6 +15,7 @@ linux-armv4 linux-elf linux-x32 linux-x86_64 linux-ppc \\\n linux-ppc64 linux-ppc64le linux32-s390x linux64-s390x \\\n solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32\n \n+CC = gcc\n CONFIGURE = ./Configure\n # no-comp: against CR...
2018-11-01T18:56:07
electron/electron
4bc9bf76541ce6ab7e817cc27a3b75883d2cd4d3
195be931a4f28e1acfb4fa7da5c6fb3a9c9855e7
improve advice on callbacks passed from renderer to main Remote is a great feature, it's a shame to put people off unnecessarily. I think the original warnings given are too extreme The potential bugs that stem from not cleaning up event handlers (or any reference) are present in any Javascript code. We don't avoid...
[ { "path": "docs/api/remote.md", "patch": "@@ -52,16 +52,43 @@ Primary value types like strings and numbers, however, are sent by copy.\n \n ## Passing callbacks to the main process\n \n-Some APIs in the main process accept callbacks, and it would be tempting to\n-pass callbacks when calling a remote functio...
2015-08-27T16:10:02
huggingface/transformers
c81723d31b8a532803feee2bbce66e4f03829759
6b5eab70e4799bb6715ab99f78a4c4e602650570
🌐 [i18n-KO] Translated `models.md` to Korean (#39518) * docs: ko: models.md * feat: nmt draft * fix: manual edits * Resolved _toctree.yaml conflict during merge from main * Apply suggestions from code review Co-authored-by: Woojun Jung <46880056+jungnerd@users.noreply.github.com> * Apply suggestions from code r...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -9,8 +9,8 @@\n - isExpanded: false\n sections:\n - sections:\n- - local: in_translation\n- title: (번역중) Loading models\n+ - local: models\n+ title: 모델 로드하기\n - local: custom_models\n title: 사용자 정의 모델 공유하기\n - local: how_...
2025-08-25T16:17:08
golang/go
434cdd0337b9e6c7e0c369c9293cc14fd38dc80d
765c9116be44641854f580c19e3589d7b86a3d28
debug/buildinfo: new package with Read and ReadFile These functions provide access to module information stamped into Go binaries. In the future, they'll provide access to other information (like VCS info). These functions are added in a new package instead of runtime/debug since they use binary parsing packages like...
[ { "path": "api/next.txt", "patch": "@@ -1,4 +1,8 @@\n+pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)\n+pkg debug/buildinfo, func ReadFile(string) (*debug.BuildInfo, error)\n+pkg debug/buildinfo, type BuildInfo = debug.BuildInfo\n pkg runtime/debug, method (*BuildInfo) MarshalText() ([...
2021-09-30T17:25:49
rust-lang/rust
6ed003d8939ad14ff7d970a13cd0ef31bd1bf527
551870df96213c423c94a012c1981fc0cdc06fc2
fix suggestion-causes-error of `print_literal` and `write_literal`
[ { "path": "clippy_lints/src/write.rs", "patch": "@@ -5,8 +5,8 @@ use clippy_utils::source::{SpanRangeExt, expand_past_previous_comma};\n use clippy_utils::{is_in_test, sym};\n use rustc_ast::token::LitKind;\n use rustc_ast::{\n- FormatArgPosition, FormatArgPositionKind, FormatArgs, FormatArgsPiece, Forma...
2025-06-03T17:14:52
vercel/next.js
985028b4bcd9adc7da4028aadc9badba13f75b8c
ac8741236a2a57d02a985e3f1abd7b1c0f85cdd3
chore(examples): fix Mongoose deprecation warning (#47358) Upgraded mongoose to the latest version. Mongoose Deprecation Fixed for issue #47336 --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "examples/with-mongodb-mongoose/package.json", "patch": "@@ -6,7 +6,7 @@\n \"start\": \"next start\"\n },\n \"dependencies\": {\n- \"mongoose\": \"^6.0.11\",\n+ \"mongoose\": \"^7.0.2\",\n \"next\": \"latest\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\",", ...
2023-03-22T00:03:20
nodejs/node
1c5b8e5e24b5fa4d14ba391c9cedc4c88fd02421
4231ad04f0b2aee5bda6be94715d4b70badaac8b
deps: fix gyp/gypi for openssl-1.1.1 Some of defines and cppflags in the build config of OpenSSL-1.1.1 were moved to new attributes. Gyp and gypi file generations are needed to be fixed to include them. PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed...
[ { "path": "deps/openssl/config/generate_gypi.pl", "patch": "@@ -115,6 +115,9 @@\n system(\"$cmd\") == 0 or die \"Error in system($cmd)\";\n }\n \n+$target{'lib_cppflags'} =~ s/-D//g;\n+my @lib_cppflags = split(/ /, $target{'lib_cppflags'});\n+\n # Create openssl.gypi\n my $template =\n Text::Template-...
2018-05-05T14:49:07
huggingface/transformers
eac4f00bdfb9beb8922af78339a70e167777ad18
d8f2edcc4692637637374c4495882c039e3967ba
Fix typo and improve GPU kernel check error message in MXFP4 quantization (#40349) (#40408) Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
[ { "path": "src/transformers/quantizers/quantizer_mxfp4.py", "patch": "@@ -112,7 +112,7 @@ def validate_environment(self, *args, **kwargs):\n )\n elif not kernels_available:\n # we can't quantize the model in this case so we raise an error\n- raise ValueError(\"MXFP...
2025-08-25T15:21:55
golang/go
765c9116be44641854f580c19e3589d7b86a3d28
011fd002457da0823da5f06b099fcf6e21444b00
cmd/go: move module build info formatting into runtime/debug Previously, modload.PackageBuildInfo returned a string containing information about modules used to build an executable. This string is embedded in the binary and can be read with debug.ReadBuildInfo or 'go version -m'. With this change, debug.BuildInfo now...
[ { "path": "api/next.txt", "patch": "@@ -1,3 +1,4 @@\n+pkg runtime/debug, method (*BuildInfo) MarshalText() ([]byte, error)\n pkg syscall (darwin-amd64), func RecvfromInet4(int, []uint8, int, *SockaddrInet4) (int, error)\n pkg syscall (darwin-amd64), func RecvfromInet6(int, []uint8, int, *SockaddrInet6) (int...
2021-09-30T21:37:30
vercel/next.js
ac8741236a2a57d02a985e3f1abd7b1c0f85cdd3
66b346ed236da291176f002326e88ceab3da3c10
fix(cli): change file name from `route.ts` to `route.js` (#47352) <!-- 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: ...
[ { "path": "packages/create-next-app/templates/app-tw/js/app/api/hello/route.js", "patch": "@@ -0,0 +1,3 @@\n+export async function GET(request) {\n+ return new Response('Hello, Next.js!')\n+}", "additions": 3, "deletions": 0, "language": "JavaScript" }, { "path": "packages/create-next-a...
2023-03-21T23:57:26
electron/electron
e99b8c3a2b920ca285849609993c3d9bed4f159e
0ddf90815bbec75032daa72d5ec74771ceb87805
Fix leak of handle when emitting events
[ { "path": "atom/browser/api/event_emitter.h", "patch": "@@ -45,6 +45,8 @@ class EventEmitter : public Wrappable {\n content::WebContents* sender,\n IPC::Message* message,\n const Args&... args) {\n+ v8::Locker locker(isolate());\n+ v8::...
2015-08-27T07:22:02
nodejs/node
715df64b467469d669f4db2b0824851168479be5
11387e1454d8b8311dfdb1bac6a7ec1a1494946d
build: do not lint python scripts under test/fixtures PR-URL: https://github.com/nodejs/node/pull/25639 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackerman...
[ { "path": "Makefile", "patch": "@@ -1294,7 +1294,7 @@ ifneq (\"\",\"$(wildcard tools/pip/site-packages)\")\n lint-py:\n \tPYTHONPATH=tools/pip $(PYTHON) -m flake8 . \\\n \t\t--count --show-source --statistics --select=E901,E999,F821,F822,F823 \\\n-\t\t--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,...
2019-01-22T12:55:30
huggingface/transformers
d8f2edcc4692637637374c4495882c039e3967ba
1a35d07f567b7dcb453a95f2668c933bc5f85cdd
Add `tokenizer_kwargs` argument to the text generation pipeline (#40364) * Add `tokenizer_kwargs` arg to text generation pipeline. * chore: re-run CI * Rename `tokenizer_kwargs` to `tokenizer_encode_kwargs` for text generation pipeline * Fix `tokenizer_encode_kwargs` doc string. * Fix note related to `tokenizer ...
[ { "path": "src/transformers/pipelines/text_generation.py", "patch": "@@ -158,6 +158,7 @@ def _sanitize_parameters(\n max_length=None,\n continue_final_message=None,\n skip_special_tokens=None,\n+ tokenizer_encode_kwargs=None,\n **generate_kwargs,\n ):\n # p...
2025-08-25T15:21:19
rust-lang/rust
d61d0f7977c74442ae57881db6c04ce3931d4926
8f5d00791767bb70d2bf1834d5c1c693e0db52e2
fix: Typo mistake in autopublish workflow
[ { "path": "src/tools/rust-analyzer/.github/workflows/autopublish.yaml", "patch": "@@ -55,7 +55,7 @@ jobs:\n cargo workspaces rename --from test-fixture test_fixture\n cargo workspaces rename --from test-utils test_utils\n # Remove library crates and xtask from the workspaces so...
2025-06-04T06:07:01
golang/go
011fd002457da0823da5f06b099fcf6e21444b00
fbdf83072c413943ccbd3b556654276126117463
sync: remove TestWaitGroupMisuse2 and TestWaitGroupMisuse3 These tests are inherently nondeterministic: They exercise a racy code path for up to one million iterations, and require that an error occur at least once. TestWaitGroupMisuse2 in particular is an ongoing source of trybot flakiness. Fixes #38163. Change-Id...
[ { "path": "src/sync/waitgroup_test.go", "patch": "@@ -5,8 +5,6 @@\n package sync_test\n \n import (\n-\t\"internal/race\"\n-\t\"runtime\"\n \t. \"sync\"\n \t\"sync/atomic\"\n \t\"testing\"\n@@ -48,12 +46,6 @@ func TestWaitGroup(t *testing.T) {\n \t}\n }\n \n-func knownRacy(t *testing.T) {\n-\tif race.Enable...
2021-08-05T18:32:43
vercel/next.js
5eaaa3fbf7e669314e9f054d558a93ccb5c2beb9
c14c83a299725c05c56d2d12b3198da543c8d4af
fix: add pretty error for `exportPathMap` with `app` dir (#47371) The `exportPathMap` feature has been unofficially deprecated for a long time since introducing `getStaticPaths()`. For the `app` dir, the same can be accomplished with `generateStaticParams()`. This PR adds a pretty error when using `exportPathMap` wi...
[ { "path": "docs/advanced-features/static-html-export.md", "patch": "@@ -46,7 +46,7 @@ Running `npm run build` will generate an `out` directory.\n \n For more advanced scenarios, you can define a parameter called [`exportPathMap`](/docs/api-reference/next.config.js/exportPathMap.md) in your [`next.config.js`...
2023-03-21T22:22:34
huggingface/transformers
399cd5c04b11ba3f740b4f76e8067326786405cc
ea8d9c8f065a6461e5b9a3a898131b5803daf352
Fix modular for modernbert-decoder (#40431) * fix the modular * CI
[ { "path": "src/transformers/models/modernbert_decoder/modeling_modernbert_decoder.py", "patch": "@@ -27,20 +27,14 @@\n from torch import nn\n from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss\n \n+from ...activations import ACT2FN\n from ...cache_utils import Cache, DynamicCache\n from ...ge...
2025-08-25T14:50:49
nodejs/node
11387e1454d8b8311dfdb1bac6a7ec1a1494946d
2c9e12e49656fa194376cf01356bc964e0d9161b
n-api: mark thread-safe function as stable Fixes: https://github.com/nodejs/node/issues/24249 PR-URL: https://github.com/nodejs/node/pull/25556 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -282,15 +282,15 @@ This is an opaque pointer that is used to represent a JavaScript value.\n \n ### napi_threadsafe_function\n \n-> Stability: 1 - Experimental\n+> Stability: 2 - Stable\n \n This is an opaque pointer that represents a JavaScript function which can ...
2019-01-18T06:09:48
golang/go
fbdf83072c413943ccbd3b556654276126117463
ad99d8840edc655a757570d3d4ec62ad8f4df8a7
go/types: avoid infinite expansion for invalid recursive generic types This is a clean port of CL 355732 from types2 to go/types. Fixes #48951. Change-Id: I9f8cc0655166835d9450608f6e50b726659a73f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/355733 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robe...
[ { "path": "src/go/types/decl.go", "patch": "@@ -329,7 +329,17 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t}\n \n \tcase *Named:\n-\t\tt.resolve(check.conf.Context)\n+\t\t// If t is parameterized, we should be considering the instantiated (expanded)\n+\t\t// form of t, but in...
2021-10-14T04:36:03
vercel/next.js
c14c83a299725c05c56d2d12b3198da543c8d4af
250160f4a919b0255a2886505b4ff0914659f53f
Marks app paths in dev as supporting dynamic html (#46848) This marks all pages in development as supporting dynamic HTML. Detection for runtime violations of dynamic generation is completed during the production build. Fixes #46356 fix NEXT-644 ([link](https://linear.app/vercel/issue/NEXT-644)) Co-authored-by: Tim ...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -1322,6 +1322,16 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n opts.isBot = isBotRequest\n }\n \n+ // In development, we always want to generate dynamic HTML.\n+ if (\n+ !isDataReq &...
2023-03-21T20:55:04
nodejs/node
1b11824f514ac6fea77b7ae7b92e2ab64d970351
ecf693697b097c2cd75df303e71d9cfa859b72c0
http: make ClientRequest#setTimeout() noop at end Originally discovered and resolved by @szmarczak. PR-URL: https://github.com/nodejs/node/pull/25536 Fixes: https://github.com/nodejs/node/issues/25499 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/_http_client.js", "patch": "@@ -731,6 +731,10 @@ function _deferToConnect(method, arguments_, cb) {\n }\n \n ClientRequest.prototype.setTimeout = function setTimeout(msecs, callback) {\n+ if (this._ended) {\n+ return this;\n+ }\n+\n listenSocketTimeout(this);\n msecs = validateTimerD...
2019-01-16T13:31:33
electron/electron
573c959a75080ce8aec1e99713f2e3f7bfcb6ec5
e7791a5486f7f6f44e27995102d345665b5e9596
Use our debugger implementation in Node
[ { "path": "atom/app/node_main.cc", "patch": "@@ -5,15 +5,18 @@\n #include \"atom/app/node_main.h\"\n \n #include \"atom/browser/javascript_environment.h\"\n+#include \"atom/browser/node_debugger.h\"\n+#include \"atom/common/node_includes.h\"\n+#include \"base/command_line.h\"\n #include \"gin/array_buffer.h...
2015-08-27T05:16:19
golang/go
2feb2cc450e1925b9359957c90bae27e01662171
1349c6eb1e3faf8b83db9a1ea30764d56b40c7dc
syscall: add support for SysProcAttr.Pdeathsig on FreeBSD Fixes #46258 Change-Id: I63f70e67274a9df39c757243b99b12e50a9e4784 Reviewed-on: https://go-review.googlesource.com/c/go/+/355570 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@...
[ { "path": "src/syscall/exec_freebsd.go", "patch": "@@ -5,6 +5,7 @@\n package syscall\n \n import (\n+\t\"runtime\"\n \t\"unsafe\"\n )\n \n@@ -29,9 +30,16 @@ type SysProcAttr struct {\n \t// Unlike Setctty, in this case Ctty must be a descriptor\n \t// number in the parent process.\n \tForeground bool\n-\tPg...
2021-10-13T14:30:12
vercel/next.js
250160f4a919b0255a2886505b4ff0914659f53f
4942394bd90d73a447c5b370c3d9949c18dc807f
Ensure all server entry exports are functions (#47364)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> When using a "use server" module, only exporting async functions is permitted. However, since we cannot perform static analysis on all exported value types (e.g., `export const foo = ...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -918,8 +918,56 @@ impl<C: Comments> VisitMut for ServerActions<C> {\n }\n }\n }\n- new.extend(self.annotations.drain(..).map(ModuleItem::Stmt));\n new.append(&...
2023-03-21T20:17:15
nodejs/node
30f45683aaeb1d4917fff7bc7cb2937ee89f0082
67080113e72b8e15423d50de3df5522f60b0d223
src: remove outdated `Neuter()` call in `node_buffer.cc` This call was introduced in 827ee498e332e3 to avoid a crash in a later `Neuter()` call that has later been removed in ebbbc5a790db69, rendering the original call unnecessary. Refs: https://github.com/nodejs/node/pull/3624 Refs: https://github.com/nodejs/node/pu...
[ { "path": "src/node_buffer.cc", "patch": "@@ -403,11 +403,6 @@ MaybeLocal<Object> New(Environment* env,\n }\n \n Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), data, length);\n- // `Neuter()`ing is required here to prevent materialization of the backing\n- // store in v8. `nullptr` buffers a...
2019-01-13T20:53:31
golang/go
9e4dc6f37f75840d1193accae697a0e9283f5384
276fb279d1703451e5b962350727f84e4e8e9814
cmd/link/internal/ld: don't use linkname before 1.12 Before the 1.12 release the use of linkname did not prevent a compiler error for an empty function body (see #23311). Add some build tags so that cmd/link will build with earlier releases. It's true that we currently require Go 1.16 as the bootstrap compiler (#4450...
[ { "path": "src/cmd/link/internal/ld/outbuf_darwin.go", "patch": "@@ -2,6 +2,9 @@\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 darwin && go1.12\n+// +build darwin,go1.12\n+\n package ld\n \n import (", "additions": 3, "del...
2021-10-13T19:46:33
vercel/next.js
4942394bd90d73a447c5b370c3d9949c18dc807f
4ffaf5067ff0fa58e034c5d2ddcff84166a8805e
fix: update capitalization of ISR doc heading (#47370) Makes the capitalization for `On-demand Revalidation` correct and consistent with the rest of the page by changing it to `On-Demand Revalidation`. Thanks for this awesome framework! ![nextjs-isr-doc-change](https://user-images.githubusercontent.com/51346343/2267...
[ { "path": "docs/basic-features/data-fetching/incremental-static-regeneration.md", "patch": "@@ -92,7 +92,7 @@ When a request is made to a path that hasn’t been generated, Next.js will serv\n \n > Note: Check if your upstream data provider has caching enabled by default. You might need to disable (e.g. `useC...
2023-03-21T19:31:22
huggingface/transformers
6bf6f8490cd5b0d77e711a1461c9c2fc5f5254c3
04c2bae3a86debd85c7dacd954c1f57a41e93a48
[`Mxfp4`] Add a way to save with a quantization method (#40176) * add a test * tempdir * fix import issue[ * wow I am tired * properly init * i am not super familiar with quantizer api :| * set to TRUE fro now * full support * push current changes * will clean this later but the imports are a shitshow here *...
[ { "path": "src/transformers/integrations/__init__.py", "patch": "@@ -126,6 +126,7 @@\n \"load_and_swizzle_mxfp4\",\n \"quantize_to_mxfp4\",\n \"replace_with_mxfp4_linear\",\n+ \"swizzle_mxfp4\",\n ],\n \"peft\": [\"PeftAdapterMixin\"],\n \"quanto\": [\"replace_with...
2025-08-25T14:27:19
nodejs/node
e888f667f5acae55b4604e101f0570e08da8236a
9e9890a8ff949ca9f735fb2d4251c8449b0bd2c0
tls: do not free cert in `.getCertificate()` The documentation of `SSL_get_certificate` states that it returns an internal pointer that must not be freed by the caller. Therefore, using a smart pointer to take ownership is incorrect. Refs: https://man.openbsd.org/SSL_get_certificate.3 Refs: https://github.com/nodejs...
[ { "path": "src/node_crypto.cc", "patch": "@@ -1962,10 +1962,10 @@ void SSLWrap<Base>::GetCertificate(\n \n Local<Object> result;\n \n- X509Pointer cert(SSL_get_certificate(w->ssl_.get()));\n+ X509* cert = SSL_get_certificate(w->ssl_.get());\n \n- if (cert)\n- result = X509ToObject(env, cert.get());\...
2019-01-14T11:08:55
golang/go
b90d258b18e2fe728a3d7c856ad08c7fa6845fc2
40f82f8a092ac1f23eb3af86f34b7436a6fc19e0
cmd/compile: fix inst_test.go for riscv5 On riscv5, apparently extra wrappers (trampolines) are created for some functions with the suffix "-tramp". Modify inst_test.go to not match these "-tramp" wrappers. Change-Id: I754c724f03555c30f8e1b5cfc08152555bbbcf17 Reviewed-on: https://go-review.googlesource.com/c/go/+/355...
[ { "path": "src/cmd/compile/internal/test/inst_test.go", "patch": "@@ -50,7 +50,9 @@ func TestInst(t *testing.T) {\n \tif output, err = cmd.CombinedOutput(); err != nil {\n \t\tt.Fatalf(\"Failed: %v:\\nOut: %s\\n\", err, output)\n \t}\n-\tre := regexp.MustCompile(`\\bSort\\[.*shape.*\\]`)\n+\t// Look for sha...
2021-10-13T17:27:01
rust-lang/rust
cd38deb3ca2d472ec2f174c8f1202463b37e7da8
e5fb11ae3e9071f2a5cbd1850b6ef49b1b9b2034
ci: When autopublishing, remove `xtask` from workspace Revert `cargo-workspaces` version fix
[ { "path": "src/tools/rust-analyzer/.github/workflows/autopublish.yaml", "patch": "@@ -54,8 +54,8 @@ jobs:\n cargo workspaces rename --from project-model project_model\n cargo workspaces rename --from test-fixture test_fixture\n cargo workspaces rename --from test-utils test_uti...
2025-06-04T04:53:27
huggingface/transformers
04c2bae3a86debd85c7dacd954c1f57a41e93a48
3b5b9f65185bc4879da5960bdad8a1b53c050c74
Fix label smoothing incompatibility with multi-label classification (#40296) * Fix label smoothing incompatibility with multi-label classification (#40258) * Improve label smoothing multi-label check based on reviewer feedback - Move check from LabelSmoother to Trainer.__init__() for better architecture - Use model....
[ { "path": "src/transformers/trainer.py", "patch": "@@ -770,6 +770,16 @@ def __init__(\n else:\n self.label_smoother = None\n \n+ # Check for multi-label classification incompatibility\n+ if self.args.label_smoothing_factor > 0:\n+ if getattr(self.model.config, \"...
2025-08-25T14:23:31
vercel/next.js
75c6b100090c2cb1854ef888257ff8348a2df956
86bf30a44827ba651a4274abc67fd43d4bd6139b
Fix: only apply metadata dynamic image routes convention for app dir (#47367) We shouldn't detect icon/og/etc. metadata image convention as image dynamic routes under `pages/` dir, they should be only apply in `app/` dir. This PR changed the normalization rule that we only apply them when page is from `app/`. So when ...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -111,7 +111,8 @@ export function createPagesMapping({\n )\n )\n \n- const route = normalizeMetadataRoute(pageKey)\n+ const route =\n+ pagesType === 'app' ? normalizeMetadataRoute(pageKey) : pageKey\n result[rou...
2023-03-21T18:25:20
nodejs/node
07e0c4eaa3e91fa92f63486c0d0a12cc1f330597
af102c6d277165a641a4082b0641388807985875
test: change ciphers from RC4 to no-such-cipher This commit updates option ciphers from 'RC4' to 'no-such-cipher' in test/parallel/test-tls-handshake-error.js. The motivation for this change is that this test is verifying that a 'no ciphers match' error be thrown, but 'RC4' might be among the ciphers supported by the...
[ { "path": "test/parallel/test-tls-handshake-error.js", "patch": "@@ -19,7 +19,7 @@ const server = tls.createServer({\n assert.throws(() => {\n tls.connect({\n port: this.address().port,\n- ciphers: 'RC4'\n+ ciphers: 'no-such-cipher'\n }, common.mustNotCall());\n }, /no cipher mat...
2019-01-16T11:28:48
electron/electron
a1a6ea6fe12a4c56ec93b92d3d1288d6d505a8c5
04d8f3218fee6e713dc4008a03fa7d5bee388385
Revert "Remove our own debugger implementation" This reverts commit 1d148fe2fb0d7013d7d6633539de952e71d756f1.
[ { "path": "atom/browser/atom_browser_main_parts.cc", "patch": "@@ -9,6 +9,7 @@\n #include \"atom/browser/atom_browser_context.h\"\n #include \"atom/browser/browser.h\"\n #include \"atom/browser/javascript_environment.h\"\n+#include \"atom/browser/node_debugger.h\"\n #include \"atom/common/api/atom_bindings....
2015-08-27T04:25:28
golang/go
40f82f8a092ac1f23eb3af86f34b7436a6fc19e0
4efa216c9d753c0853aa96a8c54ed5014fbc12e6
unsafe: optimize Slice bounds checking This reduces the number of branches to bounds check non-empty slices from 5 to 3. It does also increase the number of branches to handle empty slices from 1 to 3; but for non-panicking calls, they should all be predictable. Updates #48798. Change-Id: I3ffa66857096486f4dee417e1a...
[ { "path": "src/runtime/slice.go", "patch": "@@ -115,16 +115,15 @@ func makeslice64(et *_type, len64, cap64 int64) unsafe.Pointer {\n }\n \n func unsafeslice(et *_type, ptr unsafe.Pointer, len int) {\n-\tif len == 0 {\n-\t\treturn\n-\t}\n-\n-\tif ptr == nil {\n-\t\tpanic(errorString(\"unsafe.Slice: ptr is ni...
2021-10-12T22:38:52
huggingface/transformers
3b5b9f65185bc4879da5960bdad8a1b53c050c74
a0a37b325002ee42f45393a8b91a803cd1db407f
Fix processing tests (#40379) * fix tests * skip failing test in generation as well * grounding dino was overwritten * one more overwritten code * clear comment
[ { "path": "src/transformers/models/deepseek_vl_hybrid/image_processing_deepseek_vl_hybrid.py", "patch": "@@ -104,7 +104,7 @@ class DeepseekVLHybridImageProcessor(BaseImageProcessor):\n Whether to convert the image to RGB.\n \"\"\"\n \n- model_input_names = [\"pixel_values\"]\n+ model_i...
2025-08-25T12:50:54
vercel/next.js
f6d2b13d839433b9e05f19a972c0ab36733189d8
42eb3dca6e34d738c9cd3a9ee5697ba5485908c7
Bring back chunk runner logic for the none runtime (vercel/turbo#4285) This is a fix on top of vercel/turbo#4141 to ensure that all chunks instantiate in the proper order when running on the Next.js edge runtime. This brings back a similar "runner" logic as what we had before #4141, where registering a new chunk mi...
[ { "path": "crates/turbopack-dev/js/src/runtime.none.js", "patch": "@@ -1,13 +1,117 @@\n /** @typedef {import('../types/backend').RuntimeBackend} RuntimeBackend */\n+/** @typedef {import('../types/runtime.none').ChunkRunner} ChunkRunner */\n+/** @typedef {import('../types').ModuleId} ModuleId */\n+/** @typed...
2023-03-21T17:50:46
nodejs/node
fac11b05b7fa36a936cce32f303a29dd093ac2dc
5571c0ddebe72e894e41bbee56c7165a55788288
doc: reword stream docs to clarify that decodeStrings encodes strings I was implementing a Writable stream and misunderstood `decodeStrings` to mean 'will decode `Buffer`s into `string`s before calling `_write`'. This change adds a little more detail to the description of `decodeStrings` to clarify its effect on a Wri...
[ { "path": "doc/api/stream.md", "patch": "@@ -1537,10 +1537,12 @@ changes:\n * `highWaterMark` {number} Buffer level when\n [`stream.write()`][stream-write] starts returning `false`. **Default:**\n `16384` (16kb), or `16` for `objectMode` streams.\n- * `decodeStrings` {boolean} Whether or not to e...
2019-01-12T22:35:34
golang/go
b5904f3de0937aac72acd40d6c26494ebb9d7909
aded1679ef6a33ef6fe6c0b466ecf59186706d23
net: remove timeout in TestDialTimeoutMaxDuration This test seems only to be testing that Dial does not time out immediately as a result of integer overflow; the precise time taken to connect is immaterial. Replace naked loop with sub-tests. Fixes #43069. Change-Id: Ib5e38a1d8cd191b74c2bc7c26bef57b180e16f68 Reviewed...
[ { "path": "src/net/timeout_test.go", "patch": "@@ -93,53 +93,38 @@ func TestDialTimeout(t *testing.T) {\n \t}\n }\n \n-var dialTimeoutMaxDurationTests = []struct {\n-\ttimeout time.Duration\n-\tdelta time.Duration // for deadline\n-}{\n-\t// Large timeouts that will overflow an int64 unix nanos.\n-\t{1<<6...
2021-10-12T19:03:25
huggingface/transformers
a0a37b325002ee42f45393a8b91a803cd1db407f
d73181b3fc3b484381c4d3943ae4eb675b49d4d2
Gpt oss optim (#40304) * enable fast index selecting Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update model Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix gpt-oss tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix ...
[ { "path": "src/transformers/models/gpt_oss/modeling_gpt_oss.py", "patch": "@@ -95,7 +95,7 @@ def forward(self, hidden_states: torch.Tensor, router_indices=None, routing_weig\n batch_size = hidden_states.shape[0]\n hidden_states = hidden_states.reshape(-1, self.hidden_size) # (num_tokens, hi...
2025-08-25T12:36:33
vercel/next.js
86bf30a44827ba651a4274abc67fd43d4bd6139b
93152db9b181c4643cfed424b79c653da8d3ea85
Fix POST fetch request cache heuristic in POST route handler (#47333) This ensures we properly bail from caching POST requests when a route is dynamic e.g. a POST route handler
[ { "path": "packages/next/src/client/components/static-generation-bailout.ts", "patch": "@@ -14,8 +14,11 @@ export function staticGenerationBailout(reason: string): boolean | never {\n )\n }\n \n- if (staticGenerationStore?.isStaticGeneration) {\n+ if (staticGenerationStore) {\n staticGenerationS...
2023-03-21T17:24:21
nodejs/node
5571c0ddebe72e894e41bbee56c7165a55788288
17c6b1d4f78d6050642d3cd3723c08564e67dcd5
http: reuse noop function in socketOnError() PR-URL: https://github.com/nodejs/node/pull/25566 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/_http_server.js", "patch": "@@ -503,13 +503,14 @@ function onParserExecute(server, socket, parser, state, ret) {\n onParserExecuteCommon(server, socket, parser, state, ret, undefined);\n }\n \n+const noop = () => {};\n const badRequestResponse = Buffer.from(\n `HTTP/1.1 400 ${STATUS_CODES...
2019-01-18T14:08:09
golang/go
3986e5c8e7df958cc1412ad06afc011022da76e1
69041c79dc2767c220519cbcb9538c39fadec59c
bytes: fix Cut godoc typo If sep does not appear in s, we return nil here rather than the empty string. Presumably the docs were copied from the strings package implementation and brought that along. Change-Id: I3706c94fe04abd9e2a2c8840f7cc6116386965c8 Reviewed-on: https://go-review.googlesource.com/c/go/+/354969 Re...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -1260,7 +1260,7 @@ func Index(s, sep []byte) int {\n // Cut slices s around the first instance of sep,\n // returning the text before and after sep.\n // The found result reports whether sep appears in s.\n-// If sep does not appear in s, cut returns s, \"\", fal...
2021-10-10T13:30:26
huggingface/transformers
d73181b3fc3b484381c4d3943ae4eb675b49d4d2
11e12a715a0e54bb82c5b5775b069e7befc6923c
Fix UnboundLocalError in WER metric computation (#40402) Renamed wer metric variable to wer_metric to avoid naming conflict with local variable assignment in compute_metrics function. Co-authored-by: pranam-gf <pranam@goodfin.com>
[ { "path": "docs/source/en/tasks/asr.md", "patch": "@@ -219,9 +219,9 @@ Then create a function that passes your predictions and labels to [`~evaluate.Ev\n ... pred_str = processor.batch_decode(pred_ids)\n ... label_str = processor.batch_decode(pred.label_ids, group_tokens=False)\n \n-... wer = we...
2025-08-25T12:02:22
electron/electron
ab859067aaa4d275c252f8bc3c913ba3463f6003
9cdefb6069ade76854be8125e0d4c86265963a41
win: Delay quitting until next tick of message loop This fixes app.quit() not working when it is called before the message loop starts to run.
[ { "path": "atom/browser/browser.cc", "patch": "@@ -45,7 +45,8 @@ void Browser::Shutdown() {\n FOR_EACH_OBSERVER(BrowserObserver, observers_, OnQuit());\n \n is_quiting_ = true;\n- base::MessageLoop::current()->Quit();\n+ base::MessageLoop::current()->PostTask(\n+ FROM_HERE, base::MessageLoop::Qui...
2015-08-27T03:42:06
vercel/next.js
93152db9b181c4643cfed424b79c653da8d3ea85
ed9435cdbf53f4ae7137c9731d77b64b555aeee0
Fix bad route path for custom metadata routes (#47286) We introduced static route `robots.txt` and dynamic route `robots.js` for metadata, it should still allow users to create their own customized version. This issue is caused by a route conflicts. Only append `/route` to page path when there's not ending with `/rout...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -75,7 +75,9 @@ async function createAppRouteCode({\n // This, when used with the resolver will give us the pathname to the built\n // route handler file.\n let resolvedPagePath = (await resolver(routePath))!\n- if (i...
2023-03-21T15:55:32
nodejs/node
17c6b1d4f78d6050642d3cd3723c08564e67dcd5
aaa7547e7779520428a2e48b728a5993b00c330a
doc: correct my wrong note about buf.fill() PR-URL: https://github.com/nodejs/node/pull/25585 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
[ { "path": "doc/api/buffer.md", "patch": "@@ -1240,7 +1240,7 @@ console.log(b.toString());\n \n `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or\n integer. If the resulting integer is greater than `255` (decimal), `buf` will be\n-filled with `0`.\n+filled with `value & 255`.\n \n If...
2019-01-19T18:45:06
golang/go
69041c79dc2767c220519cbcb9538c39fadec59c
53260943eac49dde51e0ce28e50e9b4bc90661b8
net: add examples for remaining IP functions Fixes #48848 Change-Id: If85fc16ed10a26eca840ed128ab47c5f00776ddd Reviewed-on: https://go-review.googlesource.com/c/go/+/346289 Reviewed-by: Amelia Downs <adowns@vmware.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryB...
[ { "path": "src/net/example_test.go", "patch": "@@ -124,6 +124,176 @@ func ExampleIP_DefaultMask() {\n \t// ffffff00\n }\n \n+func ExampleIP_Equal() {\n+\tipv4DNS := net.ParseIP(\"8.8.8.8\")\n+\tipv4Lo := net.ParseIP(\"127.0.0.1\")\n+\tipv6DNS := net.ParseIP(\"0:0:0:0:0:FFFF:0808:0808\")\n+\n+\tfmt.Println(i...
2021-08-30T21:05:36
huggingface/transformers
11e12a715a0e54bb82c5b5775b069e7befc6923c
40299134a8cdd0f8c9a2cafbeb4c91d8eb490b80
Fix typo: 'seperator' to 'separator' in variable names (#40389) Fixed 4 instances of the typo "seperator" → "separator" in variable names: - 2 instances in src/transformers/models/shieldgemma2/convert_shieldgemma2_weights_orbax_to_hf.py - 2 instances in src/transformers/models/gemma3/convert_gemma3_weights_orbax_to_hf...
[ { "path": "src/transformers/models/gemma3/convert_gemma3_weights_orbax_to_hf.py", "patch": "@@ -278,9 +278,9 @@ def convert_siglip_weight(\n raise ValueError(f\"Unexpected member, `{prop}`, for path `{path}`. Should be `bias` or `kernel`.\")\n elif path.startswith(_SIGLIP_TRANSFORMER_ENCODER...
2025-08-25T11:56:30
vercel/next.js
ed9435cdbf53f4ae7137c9731d77b64b555aeee0
316638bc031f3a0c2125e07c1c36f16fe1bbf67f
parallel routes: fix HMR refetch issue (#47343) - I noticed that on parallel routes, we kept refetching all the time the tree - this was caused by the HMR ping interval + a mismatch on how we recreated the entrypoint path from the router state, causing the server to always invalidate the parallel route - this fixes it...
[ { "path": "packages/next/src/server/dev/on-demand-entry-handler.ts", "patch": "@@ -54,7 +54,7 @@ function treePathToEntrypoint(\n const path =\n (parentPath ? parentPath + '/' : '') +\n (parallelRouteKey !== 'children' && !segment.startsWith('@')\n- ? parallelRouteKey + '/'\n+ ? `@${para...
2023-03-21T15:30:40
nodejs/node
cc26957cc30d89619d3b9be85f5301111e17615a
c1ac57888199ba13df7eda4912cdb53dcfb5a2ee
test: relax chunk count expectations In parallel/test-fs-read-stream-concurrent-reads.js the number of data chunks used is being tested when few concurrent reads are performed. The number of chunks can fluctuate based on the number of concurrent reads as well as the data that was read in one shot. Accommodate these va...
[ { "path": "test/parallel/test-fs-read-stream-concurrent-reads.js", "patch": "@@ -13,7 +13,7 @@ const fs = require('fs');\n const filename = fixtures.path('loop.js'); // Some small non-homogeneous file.\n const content = fs.readFileSync(filename);\n \n-const N = 1000;\n+const N = 2000;\n let started = 0;\n ...
2019-01-09T14:06:15
huggingface/transformers
40299134a8cdd0f8c9a2cafbeb4c91d8eb490b80
a2b37bfd58c55e0f0b4b3a73f2f1d177b9094437
Fix CI (hunyuan moe does not support fullgraph) (#40423) fix flag
[ { "path": "src/transformers/models/hunyuan_v1_moe/modeling_hunyuan_v1_moe.py", "patch": "@@ -355,8 +355,7 @@ class HunYuanMoEV1PreTrainedModel(PreTrainedModel):\n _supports_flash_attn = True\n _supports_sdpa = True\n _supports_flex_attn = True\n-\n- _can_compile_fullgraph = True\n+ _can_co...
2025-08-25T10:01:28
golang/go
b8e4df01dd1aa61b3de978e4874c81b0d23349d5
f687831e4cfa06d19533d47ae93c0451bd1ca688
cmd/pprof: update vendored github.com/google/pprof Pull in the latest published version of github.com/google/pprof This adds the tagroot and tagleaf options from https://github.com/google/pprof/commit/7fe48b4c820be13151ae35ce5a5e3f54f1b53eef Done with: go get -d github.com/google/pprof@latest go mod tidy go m...
[ { "path": "src/cmd/go.mod", "patch": "@@ -3,7 +3,7 @@ module cmd\n go 1.18\n \n require (\n-\tgithub.com/google/pprof v0.0.0-20210827144239-02619b876842\n+\tgithub.com/google/pprof v0.0.0-20211001005136-7fe48b4c820b\n \tgolang.org/x/arch v0.0.0-20210901143047-ebb09ed340f1\n \tgolang.org/x/mod v0.5.1-0.20210...
2021-10-08T03:53:09
electron/electron
ed8f143427bcf35842d56b5b804ffc4d61a824be
1aab23ece7fef48b1fd82be38658a323a27f3354
Fix IMPORTANT Typos and update as upstream
[ { "path": "docs-translations/ko/development/build-instructions-windows.md", "patch": "@@ -46,7 +46,7 @@ python script\\build.py\n python script\\build.py -c D\n ```\n \n-빌드가 모두 끝나면 `out/D` 디렉터리에서 `atom.exe` 실행 파일을 찾을 수 있습니다.\n+빌드가 모두 끝나면 `out/D` (디버그 타겟) 또는 `out/R` (릴리즈 타겟) 디렉터리에서 `electron.exe` 실행 파일을 찾을 수...
2015-08-27T00:06:12
nodejs/node
9315daaf02bb53b51760a8b15ad86a8be147db19
d3f8f905b33347fc95057af01b72efc2966bd7c8
crypto: fix key handle extraction PR-URL: https://github.com/nodejs/node/pull/25562 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/internal/crypto/keys.js", "patch": "@@ -215,7 +215,7 @@ function parsePrivateKeyEncoding(enc, keyType, objName) {\n \n function getKeyObjectHandle(key, isPublic, allowKeyObject) {\n if (!allowKeyObject) {\n- return new ERR_INVALID_ARG_TYPE(\n+ throw new ERR_INVALID_ARG_TYPE(\n '...
2019-01-18T09:56:44
huggingface/transformers
a2b37bfd58c55e0f0b4b3a73f2f1d177b9094437
0031c044f8b96775a91a3cb6da366d09e94b76f1
Fix typo: 'casual' -> 'causal' in code and documentation (#40371) (#40407)
[ { "path": "src/transformers/models/encoder_decoder/modeling_encoder_decoder.py", "patch": "@@ -394,7 +394,7 @@ def from_encoder_decoder_pretrained(\n if encoder_config.is_decoder is True or encoder_config.add_cross_attention is True:\n logger.info(\n ...
2025-08-25T09:32:15
golang/go
f687831e4cfa06d19533d47ae93c0451bd1ca688
0454d7346f4ca89261356d3f17da11ab5bc643c5
cmd/link: disable weak reference in itab if build with "-linkshared" When build with "-linkshared", we can't tell if the interface method will be used or not. It can be used in shared library. Fixes #47873 Change-Id: Iba12812f199b7679cf2fd41a304268d6d6dd03c6 Reviewed-on: https://go-review.googlesource.com/c/go/+/350...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -1070,3 +1070,11 @@ func TestIssue44031(t *testing.T) {\n \tgoCmd(t, \"install\", \"-buildmode=shared\", \"-linkshared\", \"./issue44031/b\")\n \tgoCmd(t, \"run\", \"-linkshared\", \"./issue44031/main\")\n }\n+\n+// Test that we use a variable fro...
2021-09-15T18:10:17
vercel/next.js
42eb3dca6e34d738c9cd3a9ee5697ba5485908c7
536f97df649847dc72335db5fa4f0238ef14a3f9
Refactor ES chunk evaluate logic into a Runtime trait (vercel/turbo#4141) ### Description This refactors the EcmaScript chunk evaluate segment logic into a separate `EcmascriptChunkRuntime` trait. `ChunkingContext` implementors can now optionally implement the `EcmascriptChunkContext` trait (which already exis...
[ { "path": "crates/turbopack-core/src/chunk/list/update.rs", "patch": "@@ -136,8 +136,9 @@ pub(super) async fn update_chunk_list(\n let chunk_update = content.update(TraitRef::cell(from_version.clone())).await?;\n \n match &*chunk_update {\n- // Getting a total or not f...
2023-03-21T11:57:06
nodejs/node
2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f
27f9a55cf66390195ad36eae0eb21fb4d07bb500
util: fix iterable types with special prototype The fallback should only be taken for a null prototype. If an iterable data type (e.g., Array) has a prototype without `Symbol.iterator`, just try the best to visualize it as object. PR-URL: https://github.com/nodejs/node/pull/25457 Fixes: https://github.com/nodejs/node...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -463,28 +463,22 @@ function clazzWithNullPrototype(clazz, name) {\n function noPrototypeIterator(ctx, value, recurseTimes) {\n let newVal;\n if (isSet(value)) {\n- const clazz = Object.getPrototypeOf(value) ||\n- clazzWithNullPrototype(Set, ...
2019-01-11T23:15:10
golang/go
e8f99da8ed6180732ace00f8fc6b17f636515bc4
4fb2e1cb86a1f15a69ebf97a80503e865287642c
all: fix spelling mistakes Corrections were only made to comments and can be reproduced with the following sed. sed -i 's/communciation/communication/g' src/internal/fuzz/sys_windows.go sed -i 's/communciation/communication/g' src/internal/fuzz/sys_posix.go sed -i 's/substitued/substituted/g' src/cmd/compile/in...
[ { "path": "src/cmd/compile/internal/noder/irgen.go", "patch": "@@ -115,7 +115,7 @@ type dictInfo struct {\n \titabConvs []ir.Node\n \n \t// Mapping from each shape type that substitutes a type param, to its\n-\t// type bound (which is also substitued with shapes if it is parameterized)\n+\t// type bound (wh...
2021-10-13T01:39:13
huggingface/transformers
14b89fed24480c68a8363982c91d825bb8bac12d
ba095d387dde8a5fe7574ebbb2671dbb0991b215
fix to accept cumulative_seqlens from TransformersKwargs in FA (#40194) * fix to the typings which are unmatched to FA function signature cumulative_seqlens_q/k -> cu_seq_lens_q/k: - in the FlashAttentionKwargs in modeling_flash_attention_utils - in the TransformersKwargs in generic - in the PagedAttentionArgs in con...
[ { "path": "src/transformers/generation/continuous_batching.py", "patch": "@@ -801,8 +801,8 @@ def get_model_kwargs(self) -> PagedAttentionArgs:\n \"input_ids\": self.input_ids,\n \"position_ids\": self.position_ids,\n \"attention_mask\": self.attention_mask,\n- ...
2025-08-25T09:00:13