repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
c30ef3cbd2e42ac1d600f6bd78a601a5496b0877
e582d1191376b8bf129a04730b04a2cd52ae5202
http, http2: remove default server timeout Timing out and closing the socket after two minutes have elapsed is surprising and problematic for users. This behavior was specific to Node.js, and doesn't seem to be common in other language runtimes. Fixes: https://github.com/nodejs/node/issues/27556 PR-URL: https://gith...
[ { "path": "doc/api/http.md", "patch": "@@ -1013,9 +1013,13 @@ Limits maximum incoming headers count. If set to 0, no limit will be applied.\n ### server.setTimeout([msecs][, callback])\n <!-- YAML\n added: v0.9.12\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/27558\n+...
2019-05-03T23:45:57
rust-lang/rust
383d76106baa2042481de88dfff8ed2043ac50e6
4bdf1c574a3b02daaf5793d71d089e94d192f57f
compiler: Trim the misleading C of C-cmse from errors
[ { "path": "compiler/rustc_error_codes/src/error_codes/E0775.md", "patch": "@@ -8,7 +8,7 @@ Erroneous code example:\n ```ignore (no longer emitted)\n #![feature(cmse_nonsecure_entry)]\n \n-pub extern \"C-cmse-nonsecure-entry\" fn entry_function() {}\n+pub extern \"cmse-nonsecure-entry\" fn entry_function() {...
2025-06-07T06:05:47
huggingface/transformers
5150dac727fa30fb066f5b495bb30539ef9a6a5f
27c3807991fbfb81cd74bcb852c5b39d05c78e20
Fix helper fn for new processor config format (#42085) * fix the helper fn for new processor config format * change the priority order * maybe we need to explicitly load and then decide * Apply suggestions from code review Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com> * use helper fn f...
[ { "path": "src/transformers/feature_extraction_utils.py", "patch": "@@ -39,6 +39,7 @@\n is_torch_dtype,\n logging,\n requires_backends,\n+ safe_load_json_file,\n )\n from .utils.hub import cached_file\n \n@@ -427,35 +428,42 @@ def get_feature_extractor_dict(\n feature_extractor_fi...
2025-11-13T09:06:24
golang/go
b357b05b70d2b8c4988ac2a27f2af176e7a09e1b
0e4b878258ffc3fca6a8fc6a98ebd81fc933b249
doc/go1.18: add section for runtime/debug changes For #37475 For #47694 Change-Id: If8c1f1b756daf32648110f1a669b2ea60f797a24 Reviewed-on: https://go-review.googlesource.com/c/go/+/373875 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
[ { "path": "doc/go1.18.html", "patch": "@@ -856,6 +856,27 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- regexp -->\n \n+<dl id=\"runtime/debug\"><dt><a href=\"/pkg/runtime/debug/\">runtime/debug</a></dt>\n+ <dd>\n+ <p><!-- CL 354569 -->\n+ The <a href=\"...
2021-12-21T21:58:15
huggingface/transformers
27c3807991fbfb81cd74bcb852c5b39d05c78e20
ffb35fe14283d61cd5434a32d04d07993e66477a
[`Pop2Piano`] Fix cache usage (#42170) fix
[ { "path": "src/transformers/models/pop2piano/modeling_pop2piano.py", "patch": "@@ -750,7 +750,8 @@ def forward(\n position_bias,\n encoder_hidden_states,\n encoder_extended_attention_mask,\n- encoder_decoder_position_bias, # as a positional arg...
2025-11-13T08:19:56
nodejs/node
e582d1191376b8bf129a04730b04a2cd52ae5202
3b48ce6ccfb39b72a446fad06b56d29dabe09b05
doc: add Sam Roberts to TSC Voted on async in the TSC repo. This adds him to the TSC list in the README. Fixes: https://github.com/nodejs/TSC/issues/687 PR-URL: https://github.com/nodejs/node/pull/27606 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gir...
[ { "path": "README.md", "patch": "@@ -197,6 +197,8 @@ For information about the governance of the Node.js project, see\n **Myles Borins** &lt;myles.borins@gmail.com&gt; (he/him)\n * [rvagg](https://github.com/rvagg) -\n **Rod Vagg** &lt;rod@vagg.org&gt;\n+* [sam-github](https://github.com/sam-github) -\n+**S...
2019-05-08T04:14:53
vercel/next.js
61556d5c880d4aeb1961d0a239b40abcebe56264
11681fab575a9f2b3ed4caac3a7ef9f8d5e856b0
Implement `package.json`'s `imports` field (vercel/turbo#4895) ### Description The [imports field](https://nodejs.org/api/packages.html#imports) is similar to `exports`. While `exports` allows a package to control how others can import it, `imports` allows it control how it wants to import other packages. The majori...
[ { "path": "crates/turbo-tasks-memory/tests/debug.rs", "patch": "@@ -3,7 +3,7 @@\n use std::sync::Mutex;\n \n use anyhow::Result;\n-use turbo_tasks::{debug::ValueDebug, TaskInput};\n+use turbo_tasks::debug::ValueDebug;\n use turbo_tasks_testing::{register, run};\n \n register!();", "additions": 1, "d...
2023-05-18T22:13:26
golang/go
0e4b878258ffc3fca6a8fc6a98ebd81fc933b249
af3b8cf5026a9d74a53ac5d3fec2bba35a96ad91
doc/go1.18: mention debug/plan9obj.ErrNoSymbols For #47694 For #48052 Change-Id: I136be9b498033309d876099aae16bad330555416 Reviewed-on: https://go-review.googlesource.com/c/go/+/373774 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.or...
[ { "path": "doc/go1.18.html", "patch": "@@ -570,6 +570,17 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- debug/elf -->\n \n+<dl id=\"debug/plan9obj\"><dt><a href=\"/pkg/debug/plan9obj/\">debug/plan9obj</a></dt>\n+ <dd>\n+ <p><!-- CL 350229 -->\n+ The <a h...
2021-12-21T19:59:19
huggingface/transformers
ffb35fe14283d61cd5434a32d04d07993e66477a
1fd63dd5328ba4fdc847831c32b618e321945e7e
Fix in-place modification of user-input in SAM2 embed boxes (#42173) * Do not modify boxes tensor in-place
[ { "path": "src/transformers/models/edgetam/modeling_edgetam.py", "patch": "@@ -600,7 +600,7 @@ def _embed_points(self, points: torch.Tensor, labels: torch.Tensor, pad: bool) -\n \n def _embed_boxes(self, boxes: torch.Tensor) -> torch.Tensor:\n \"\"\"Embeds box prompts.\"\"\"\n- boxes += 0...
2025-11-12T20:52:33
nodejs/node
3b48ce6ccfb39b72a446fad06b56d29dabe09b05
422e8f762873aef4a37185f3237c0d666c929d8e
src: fix typos PR-URL: https://github.com/nodejs/node/pull/27580 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anto Aravi...
[ { "path": "src/async_wrap.h", "patch": "@@ -111,7 +111,7 @@ class AsyncWrap : public BaseObject {\n ProviderType provider,\n double execution_async_id = kInvalidAsyncId);\n \n- // This constructor creates a reuseable instance where user is responsible\n+ // This constructor creates...
2019-05-06T13:58:16
vercel/next.js
babe50364e2c1d71890da1617546aa50d25610dd
e5eab8b38deac6000074246494443a2f26420297
Reset not-found and error boundary when navigating (#49855) ## What? Currently the error boundary state does not reset when a navigation happens because the `key` does not change. Because of that navigating using next/link when the error boundary is in the open state ends up not rendering the contents of the new...
[ { "path": "packages/next/src/client/components/error-boundary.tsx", "patch": "@@ -1,6 +1,7 @@\n 'use client'\n \n import React from 'react'\n+import { usePathname } from './navigation'\n \n const styles = {\n error: {\n@@ -36,19 +37,50 @@ export interface ErrorBoundaryProps {\n errorStyles?: React.React...
2023-05-18T20:06:57
huggingface/transformers
240d19f4a38087ac4fc38c396f57a9c63a45c187
ba938fa59049e365714c8dad0d12b7dbe59646b8
pin `pytest<9` for now (#42162) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "setup.py", "patch": "@@ -137,7 +137,7 @@\n \"psutil\",\n \"pyyaml>=5.1\",\n \"pydantic>=2\",\n- \"pytest>=7.2.0\",\n+ \"pytest>=7.2.0,<9.0.0\",\n \"pytest-asyncio>=1.2.0\",\n \"pytest-rerunfailures<16.0\",\n \"pytest-timeout\",", "additions": 1, "deletions": ...
2025-11-12T17:10:49
electron/electron
dbb4e21684a37ce20553c4b04672937d2e6ff887
6d2ad5ae5881c2d4af9b41a69eef3e5e83814b60
Fix index increment
[ { "path": "atom/browser/lib/init.js", "patch": "@@ -132,9 +132,9 @@ if (packageJson.desktopName != null) {\n // Chrome 42 disables NPAPI plugins by default, reenable them here\n app.commandLine.appendSwitch('enable-npapi');\n \n-// Add othercommand line switches\n+// Add other command line switches\n if (pa...
2016-02-11T20:41:36
nodejs/node
422e8f762873aef4a37185f3237c0d666c929d8e
9a174db3d869c8d5cde9e09db92d88d0d97e9513
repl: handle uncaughtException properly When running the REPL as standalone program it's now possible to use `process.on('uncaughtException', listener)`. It is going to use those listeners from now on and the regular error output is suppressed. It also fixes the issue that REPL instances started inside of an applicat...
[ { "path": "doc/api/errors.md", "patch": "@@ -1310,8 +1310,14 @@ An invalid `options.protocol` was passed to `http.request()`.\n <a id=\"ERR_INVALID_REPL_EVAL_CONFIG\"></a>\n ### ERR_INVALID_REPL_EVAL_CONFIG\n \n-Both `breakEvalOnSigint` and `eval` options were set in the REPL config, which\n-is not supporte...
2018-05-17T14:25:36
golang/go
ed766b6ffbf9f0b3efc5cb2790cb9bb3a4af856d
d2ce93960448559a7cb5685661502d8fc0c2ebc1
cmd/compile/internal/ir: fix a typo in node.go README.md -> HACKING.md Change-Id: I63909b86b2e6f8d9a34622f5d2b05048c79cd698 GitHub-Last-Rev: afaab8f05eff1d66c796909ccf9912e0f4e99754 GitHub-Pull-Request: golang/go#50326 Reviewed-on: https://go-review.googlesource.com/c/go/+/374274 Run-TryBot: Dan Scales <danscales@goo...
[ { "path": "src/cmd/compile/internal/ir/node.go", "patch": "@@ -471,7 +471,7 @@ const (\n \tUintptrEscapes // pointers converted to uintptr escape\n \n \t// Runtime-only func pragmas.\n-\t// See ../../../../runtime/README.md for detailed descriptions.\n+\t// See ../../../../runtime/HACKING.md fo...
2021-12-23T14:21:41
vercel/next.js
eaea2084de5e2eb5d3304175ee90a47b909d3c88
c7e5d767177b862506648fa87d96e80b7c358719
Error in `next export` when `serverActions` is enabled (#49959) Since a server is always required for Server Actions, they won't work with static exports at all. fix NEXT-634 Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/src/export/index.ts", "patch": "@@ -228,6 +228,12 @@ export default async function exportApp(\n )\n }\n \n+ if (nextConfig.experimental.serverActions) {\n+ throw new ExportError(\n+ `Server Actions are not supported with static export.`\n+ )\n+ }\n+\...
2023-05-18T15:56:02
huggingface/transformers
ba938fa59049e365714c8dad0d12b7dbe59646b8
6744ebe745e049ed45feff685bcb1b5f9805ad31
fix(ci): unexpected keyword argument `streaming` (#42102) * debug(ci): run `pwd` to check what we're working with * fix(ci): `ls -lR` * fix(ci): remove working directory which should not be there? * fix(cb): make sure memory is freed when calling `stop` * fix(ci): effectively clear cache * fix(ci): reduce memory ...
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -40,7 +40,6 @@ jobs:\n run: python3 -m pip install -r benchmark_v2/requirements.txt kernels\r\n \r\n - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\r\n- working-directory: /transf...
2025-11-12T16:29:09
nodejs/node
a681d95a301f9d8f0f937ca7a0e3d58925d6613f
e006a8545e6ed45a4e1ba231e9abde794c033d02
test: fix flaky test-tls-multiple-cas-as-string The following error is emitted in a nondeterministic way on the server side socket on macOS: ``` events.js:173 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:183:27) Emitted 'error'...
[ { "path": "test/parallel/test-tls-multiple-cas-as-string.js", "patch": "@@ -15,26 +15,29 @@ const ca2 = fixtures.readKey('ca2-cert.pem', 'utf8');\n const cert = fixtures.readKey('agent3-cert.pem', 'utf8');\n const key = fixtures.readKey('agent3-key.pem', 'utf8');\n \n-function test(ca, next) {\n- const ser...
2019-05-05T08:12:08
electron/electron
6617592224a9e57e0513e9e05ed59e8a235d67d6
c842ca1f127cb6e9b1850929c7b6a319c323536b
Remove lint errors
[ { "path": "atom/browser/api/lib/auto-updater/auto-updater-win.js", "patch": "@@ -5,19 +5,19 @@ const EventEmitter = require('events').EventEmitter;\n const squirrelUpdate = require('./squirrel-update-win');\n \n function AutoUpdater() {\n- EventEmitter.call(this)\n+ EventEmitter.call(this);\n }\n \n requi...
2016-02-03T18:01:01
golang/go
d2ce93960448559a7cb5685661502d8fc0c2ebc1
8cfcee1fffb9429e318549ad0a2cae2046798e48
doc/go1.18: fix broken HTML in net/http.MaxBytesHandler For #47694 Sorry about that! I guess the autocompleter in VSCode auto-closed the paragraph and I didn't notice. Change-Id: I1e834e47deb708cd5285d26201a442305f8c3b24 GitHub-Last-Rev: ab8873155191072efd51270c85fc6feaed318cdc GitHub-Pull-Request: golang/go#50305 R...
[ { "path": "doc/go1.18.html", "patch": "@@ -758,7 +758,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p><!-- CL 346569 -->\n The new\n <a href=\"/pkg/net/http#MaxBytesHandler\"><code>MaxBytesHandler</code></a>\n- function creates a <code>Handler</p>code> that ...
2021-12-22T04:23:26
vercel/next.js
c7e5d767177b862506648fa87d96e80b7c358719
a09dc5f268d2db55e07644ce24b3bf92c62643d3
Fix custom server React resolution with app dir and pages both presented (#49805) If running Next.js in the custom server with both app and pages directories presented, a standalone server needs to serve all traffic and the server running in main thread should be a no-op. (cc @ijjk). Fixes the problem described here:...
[ { "path": "packages/next/src/server/lib/render-server-standalone.ts", "patch": "@@ -11,11 +11,13 @@ export const createServerHandler = async ({\n port,\n hostname,\n dir,\n+ dev = false,\n minimalMode,\n }: {\n port: number\n hostname: string\n dir: string\n+ dev?: boolean\n minimalMode: b...
2023-05-18T01:31:43
rust-lang/rust
abb956bb025b4732a70d19668a89ccd4de1899c6
696813069eda3d323669afe6497cf0668134972c
Fix link in the book
[ { "path": "src/tools/rust-analyzer/docs/book/src/troubleshooting.md", "patch": "@@ -1,8 +1,7 @@\n # Troubleshooting\n \n-First, search the [troubleshooting FAQ](troubleshooting/faq.html). If\n-your problem appears there (and the proposed solution works for you),\n-great! Otherwise, read on.\n+First, search ...
2025-06-25T03:30:16
huggingface/transformers
1709ed96e47f36fe926e2cd2556fa839b41c2afd
fd36275be2f3e56bc20da01f1f320b623b413957
[models] Add AudioFlamingo3 integration (#40290) * Audio Flamingo 3 initial integration * Added local Qwen * Moving to AF3 * Loading directly from HF * Formatting * add snapshot_download * Loading from hub * Import gating * Pass audio arrays directly * Remove requires_backend * Move constants to config.json ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1008,6 +1008,8 @@\n title: AltCLIP\n - local: model_doc/aria\n title: Aria\n+ - local: model_doc/audioflamingo3\n+ title: AudioFlamingo3\n - local: model_doc/aya_vision\n title: AyaVision\n - local: ...
2025-11-12T14:24:09
electron/electron
664f95a7b4e8bb5b2850fa19e841805b2ebb055a
a8ae14e94f10e86ed8105ab6c8d0dabf79f40218
fixes osx request call
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -602,7 +602,7 @@ - (void)drawRect:(NSRect)dirtyRect {\n if (fullscreen == IsFullscreen())\n return;\n \n- if (fullscreen && shell_->RequestEnterFullScreen())\n+ if (fullscreen && RequestEnterFullScreen())\n return;\n \n if (!base::mac...
2016-02-09T00:39:27
nodejs/node
e006a8545e6ed45a4e1ba231e9abde794c033d02
c476daf6d9397966e2a9c76de4d5f20724772718
2019-05-07, Version 12.2.0 (Current) Notable changes: * deps: * Updated llhttp to 1.1.3. This fixes a bug that made Node.js' HTTP parser refuse any request URL that contained the "|" (vertical bar) character. https://github.com/nodejs/node/pull/27595 * tls: * Added an `enableTrace()` method to `TLSSocket`...
[ { "path": "CHANGELOG.md", "patch": "@@ -30,7 +30,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.1.0\">12.1.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.2.0\">12.2.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.1.0\"...
2019-05-06T12:40:25
golang/go
8cfcee1fffb9429e318549ad0a2cae2046798e48
0f3becf62f3935846490e60e5005e1e4a55bec67
runtime: handle stray profiling signal better In c-archive mode, when we turn off profiling, we restore the previous handler for SIGPROF, and ignore SIGPROF signals if no handler was installed. So if a pending signal lands after we remove the Go signal handler, it will not kill the program. In the current code there...
[ { "path": "src/runtime/signal_unix.go", "patch": "@@ -271,7 +271,24 @@ func setProcessCPUProfilerTimer(hz int32) {\n \tif hz != 0 {\n \t\t// Enable the Go signal handler if not enabled.\n \t\tif atomic.Cas(&handlingSig[_SIGPROF], 0, 1) {\n-\t\t\tatomic.Storeuintptr(&fwdSig[_SIGPROF], getsig(_SIGPROF))\n+\t\...
2021-12-22T16:43:06
vercel/next.js
917b9aefebfb56a4225b30007a7ed88b905d42c0
91861210a72ceb425df4a7f2ef75185d886ae1c3
Move build workers count change behind flag (#49937) It seems the build workers count calc change that was made in https://github.com/vercel/next.js/pull/47823 caused a regression in performance as we aren't utilizing as many workers as we previously did so this moves that change behind an experimental flag while addi...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1142,22 +1142,18 @@ export default async function build(\n \n process.env.NEXT_PHASE = PHASE_PRODUCTION_BUILD\n \n- // We limit the number of workers used based on the number of CPUs and\n- // the current available memory. This is t...
2023-05-17T15:54:42
huggingface/transformers
fd36275be2f3e56bc20da01f1f320b623b413957
922e85487b496fb22f44b4a0b697f63726306c1d
handle inputs from Siglip/Siglip2 non-automapped encoder layers (#41930) * handle inputs from non-automapped encoder layers * correct inheritance + protect executorch * fixup * fix tests * missing docstring * attn support * fix initialization * reorder/simplify * flag test as broken * minor changes * modulaa...
[ { "path": "src/transformers/models/siglip/modeling_siglip.py", "patch": "@@ -678,9 +678,14 @@ def forward(\n )\n \n \n-class SiglipVisionTransformer(nn.Module):\n+class SiglipVisionTransformer(SiglipPreTrainedModel):\n+ _can_record_outputs = {\n+ \"hidden_states\": SiglipEncoderLayer,\n+ ...
2025-11-12T13:58:44
nodejs/node
c476daf6d9397966e2a9c76de4d5f20724772718
fa3eefcb83c35a804a612a030313d6e2906038b6
deps: update llhttp to 1.1.3 Fixes: https://github.com/nodejs/node/issues/27584 PR-URL: https://github.com/nodejs/node/pull/27595 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "deps/llhttp/README.md", "patch": "@@ -24,7 +24,7 @@ This project is a port of [http_parser][0] to TypeScript. [llparse][1] is used\n to generate the output C and/or bitcode artifacts, which could be compiled and\n linked with the embedder's program (like [Node.js][7]).\n \n-## Peformance\n+## Per...
2019-05-07T10:52:35
vercel/next.js
91861210a72ceb425df4a7f2ef75185d886ae1c3
051c90d43c9af59aba1036c1c7aafb82d32e5998
Port sorted-routes.ts to Rust (#48334) `getSortedRoutes` is used in the `BuildManifestPlugin`, which I'm in the process of porting to Next.js Turbo as part of Next Build. As such, I ported it to Rust using GPT-4 (with manual review over the code). The resulting code is not particularly idiomatic nor optimized Rus...
[ { "path": "Cargo.lock", "patch": "@@ -3252,6 +3252,7 @@ dependencies = [\n \"serde\",\n \"serde_json\",\n \"swc_core\",\n+ \"thiserror\",\n \"turbo-tasks\",\n \"turbo-tasks-fs\",\n \"turbopack-binding\",", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "packages...
2023-05-17T15:00:21
huggingface/transformers
58a3f8caacdb95c6a9393ea9499defab89b0ae73
fcea1e1fe060bddf364a3936dded1ab1e23fdb33
fix test failure of speculative_generation on xpu (#42052) * fix test failure of speculative_generation on xpu Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * code refine Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * address review comment Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> --------- Signed-o...
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -177,6 +177,42 @@ def prepare_padding_mask(\n return local_padding_mask\n \n \n+def _can_skip_causal_mask_xpu(\n+ padding_mask: Optional[torch.Tensor],\n+ query_length: int,\n+ kv_length: int,\n+ local_attention_size: Optional[int],...
2025-11-12T12:33:41
electron/electron
e9aa24e340a3dd9b6ab3794c7bee1da1d359b37d
a0792237a025dfeeb10394d68f0e2b2c1a3be88f
fix broken link
[ { "path": "docs-translations/zh-CN/tutorial/quick-start.md", "patch": "@@ -127,7 +127,7 @@ $ ./Electron.app/Contents/MacOS/Electron your-app/\n 在你完成了你的应用后,你可以按照[应用部署][4]指导发布一个版本,并且以已经打包好的形式运行应用。\n \n \n- [1]: https://github.com/atom/electron/blob/master/docs-translations/zh-CN/api/ipc-renderer.md\n+ [1]: ...
2016-02-04T10:10:26
nodejs/node
8c4bd2af4f24ee3254ced687bc0c9a61417551a9
9c43e7a10c57b7ca9bb6f9ff44f49c9640196c1a
test: deflake test-tls-js-stream `socket.destroy()` can destory the stream before the chunk to write with `socket.end()` is actually sent. Furthermore `socket.destroy()` destroys `p` and not the actual raw socket. As a result it is possible that the connection is left open. Remove `socket.destroy()` to ensure that th...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -25,8 +25,6 @@ test-http2-client-upload-reject: PASS,FLAKY\n [$system==linux]\n \n [$system==macos]\n-# https://github.com/nodejs/node/issues/26938\n-test-tls-js-stream: PASS,FLAKY\n \n [$arch==arm || $arch==arm64]\n # https://github.com/nodejs/node/is...
2019-04-29T15:27:25
huggingface/transformers
fcea1e1fe060bddf364a3936dded1ab1e23fdb33
563f2ffb21544ed7d2981c43179c27266a41cfb7
Fixes Flash Attention implementation for models (#42149) * flash-att3 fix for smolvlm2 * flash-att3 fix for idefics2 * idefics2 changes * reset idefics2
[ { "path": "src/transformers/models/idefics3/modeling_idefics3.py", "patch": "@@ -24,7 +24,7 @@\n from ...activations import ACT2FN\n from ...cache_utils import Cache, DynamicCache\n from ...generation import GenerationMixin\n-from ...modeling_attn_mask_utils import _prepare_4d_attention_mask\n+from ...maski...
2025-11-12T12:33:15
vercel/next.js
01bb1f863158eae476c1733d9f19ddae9d3fbd98
c823766650e4bfa8b0983802b52cc9d30c8f4d96
chore: Standardize turborepo prefix (vercel/turbo#4982) ## Description To make filtering for CI and other tasks easier, we're prefixing all turborepo crates with turborepo-. That way, filtering can be done as crates/turborepo-*. ## Testing Instructions
[ { "path": "crates/glob-match/Cargo.toml", "patch": "@@ -1,25 +0,0 @@\n-[package]\n-name = \"glob-match\"\n-description = \"An extremely fast glob matcher\"\n-version = \"0.2.1\"\n-license = \"MIT\"\n-authors = [\"Devon Govett <devongovett@gmail.com>\"]\n-edition = \"2021\"\n-\n-[dev-dependencies]\n-criterio...
2023-05-17T14:25:15
golang/go
a1ce5503c7a9518c96a231e3ff867d5c994afda2
9502339561fac403e0dd0b3d51409e97d44ac129
all: update vendored golang.org/x/crypto for cryptobyte fix Fixes #49678 Change-Id: I47dd959a787180a67856e60dfa6eba3ddd045972 Reviewed-on: https://go-review.googlesource.com/c/go/+/373360 Run-TryBot: Filippo Valsorda <filippo@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> TryBot-Result: Gopher Robot ...
[ { "path": "src/cmd/go.mod", "patch": "@@ -13,7 +13,7 @@ require (\n \n require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d // indirect\n-\tgolang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa // indirect\n+\tgolang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect...
2021-12-21T16:49:38
electron/electron
b9e2806042beb0b91da6ca9b4d724752ebe6e70c
a0792237a025dfeeb10394d68f0e2b2c1a3be88f
Fixing typo
[ { "path": "docs/api/ipc-renderer.md", "patch": "@@ -37,9 +37,9 @@ channel.\n \n This removes *all* handlers to this ipc channel.\n \n-### `ipcMain.once(channel, callback)`\n+### `ipcRenderer.once(channel, callback)`\n \n-Use this in place of `ipcMain.on()` to fire handlers meant to occur only once,\n+Use th...
2016-02-03T20:15:13
huggingface/transformers
563f2ffb21544ed7d2981c43179c27266a41cfb7
6f479d5d7512f4ce037e3e0974fcad43474358b2
fix failure of tests/models/shieldgemma2/test_modeling_shieldgemma2.p… (#42022) * fix failure of tests/models/shieldgemma2/test_modeling_shieldgemma2.py::ShieldGemma2IntegrationTest::test_model Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * add common kwargs in processing_shieldgemma2.py --------- Signed-off-by: ...
[ { "path": "src/transformers/models/shieldgemma2/processing_shieldgemma2.py", "patch": "@@ -126,6 +126,10 @@ def __call__(\n if not self.chat_template:\n raise ValueError(\"ShieldGemma 2 requires the use of a specific chat template\")\n \n+ common_kwargs = kwargs.setdefault(\"commo...
2025-11-12T09:59:50
nodejs/node
5c08481aa787c49b20d0e1b86b74745990243792
d7d6526260c7d5f150e75f7a18135be28eda0d33
n-api: make napi_get_property_names return strings The documentation says that this method returns an array of strings. Currently, it does not do so for indices. Resolve that by telling V8 explicitly to convert to string. PR-URL: https://github.com/nodejs/node/pull/27524 Fixes: https://github.com/nodejs/node/issues/2...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -870,7 +870,14 @@ napi_status napi_get_property_names(napi_env env,\n v8::Local<v8::Object> obj;\n CHECK_TO_OBJECT(env, context, obj, object);\n \n- auto maybe_propertynames = obj->GetPropertyNames(context);\n+ v8::MaybeLocal<v8::Array> maybe_propertyn...
2019-05-01T21:40:02
vercel/next.js
7641278f82488d2cb8476a7b386a833946da4b09
4970811c5df19d5c3bad17c0cd573ddd9e6cf178
Fix port value for metadataBase (#49924) metadataBase is using `process.env.PORT` to construct a host when there's no `metadataBase` specified in layout. Dev server needs to pass down the PORT env from the parent prcoess. Fixes #49807 Fixes #49859 Closes #49889
[ { "path": "packages/next/src/server/lib/start-server.ts", "patch": "@@ -187,6 +187,7 @@ export async function startServer({\n env: {\n FORCE_COLOR: '1',\n ...((initialEnv || process.env) as typeof process.env),\n+ PORT: port + '',\n NODE_OPTIONS: getN...
2023-05-17T13:37:47
golang/go
9502339561fac403e0dd0b3d51409e97d44ac129
cfb0cc355233d4367b188b23a3bc143985a28b8c
doc/go1.18: mention new debug/elf.R_PPC64_RELATIVE constant For #47694 Change-Id: I9f4838100741d3ba13e9374e70466fa405c6e4d2 Reviewed-on: https://go-review.googlesource.com/c/go/+/372634 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.o...
[ { "path": "doc/go1.18.html", "patch": "@@ -483,7 +483,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n The new <a href=\"/pkg/bufio#Writer.AvailableBuffer\"><code>Writer.AvailableBuffer</code></a>\n method returns an empty buffer with a possibly non-empty capacity for us...
2021-12-16T00:30:15
huggingface/transformers
e76364d5c12e66eb02c035d5a4f39450bb6aab56
2b8068c306a4c79350e1af5fea5f7e3d93d82d95
fix: improve visibility of ValueError root causes in model config loading (#41972) * Make config util exception handling more informative when ValueError is raised * transform ValueError into OSError and propagate upstream instead --------- Co-authored-by: Scott Zhang <scottzh@fb.com>
[ { "path": "src/transformers/utils/hub.py", "patch": "@@ -514,6 +514,8 @@ def cached_files(\n \"Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); \"\n \"2) a previous download was canceled and the lock file needs man...
2025-11-12T08:51:43
nodejs/node
d7d6526260c7d5f150e75f7a18135be28eda0d33
d099f2f1248204585adf9965204b6efe1ad92b80
tools: fix node-core/required-modules eslint rule Make the node-core/required-modules eslint rule smart enough to recognize that `import '../common/index.mjs'` in ESM files imports the mandatory 'common' module. PR-URL: https://github.com/nodejs/node/pull/27545 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By...
[ { "path": "test/es-module/test-esm-basic-imports.mjs", "patch": "@@ -1,5 +1,4 @@\n // Flags: --experimental-modules\n-/* eslint-disable node-core/required-modules */\n import '../common/index.mjs';\n import assert from 'assert';\n import ok from '../fixtures/es-modules/test-esm-ok.mjs';", "additions": 0...
2019-05-02T22:33:28
vercel/next.js
4970811c5df19d5c3bad17c0cd573ddd9e6cf178
9e5116975d770e84024d0291e8e0422d7a59ee5e
Fix chained `.bind` of Server Actions (#49874) This makes sure that you can `.bind` a Server Action multiple times. Thanks to the feedback from @sophiebits: https://github.com/vercel/next.js/pull/49422#pullrequestreview-1419134304
[ { "path": "packages/next/src/build/webpack/loaders/next-flight-loader/action-proxy.ts", "patch": "@@ -4,27 +4,34 @@ export default function createActionProxy(\n action: any,\n originalAction?: any\n ) {\n- action.$$typeof = Symbol.for('react.server.reference')\n- action.$$id = id\n- action.$$bound = ...
2023-05-16T22:36:17
golang/go
cfb0cc355233d4367b188b23a3bc143985a28b8c
2d1d54808131b09da768ec334b3387ccb70562ec
cmd/link: use SHT_INIT_ARRAY for .init_array section Fixes #50295 Change-Id: If55ebcd5f2af724da7c9c744458a56d21a7ddde7 Reviewed-on: https://go-review.googlesource.com/c/go/+/373734 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
[ { "path": "misc/cgo/testcarchive/carchive_test.go", "patch": "@@ -10,13 +10,15 @@ import (\n \t\"debug/elf\"\n \t\"flag\"\n \t\"fmt\"\n+\t\"io\"\n \t\"io/fs\"\n \t\"log\"\n \t\"os\"\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"regexp\"\n \t\"runtime\"\n+\t\"strconv\"\n \t\"strings\"\n \t\"syscall\"\n \t\"tes...
2021-12-21T18:00:23
huggingface/transformers
2b8068c306a4c79350e1af5fea5f7e3d93d82d95
33c60a52540962d1d5efdbf29ef0b585649ff175
T5 migration to new masking interface (#41804) * Refactor: migrate T5 attention masking to masking_utils interface * Refactor: migrate T5 attention masking to masking_utils interface * create_bidirectional_mask function with appropriate paramaters * create_bidirectional_mask function with appropriate paramaters * ...
[ { "path": "src/transformers/models/mt5/modeling_mt5.py", "patch": "@@ -25,7 +25,7 @@\n from ...activations import ACT2FN\n from ...cache_utils import Cache, DynamicCache, EncoderDecoderCache\n from ...generation import GenerationMixin\n-from ...modeling_attn_mask_utils import AttentionMaskConverter\n+from ....
2025-11-11T18:10:12
nodejs/node
0cd602879c5e3f6a77adc2453f98b331421b2dbb
3593af00f8e2748a4e36ef425051d7d04b5e5bb0
assert: refine assertion message This makes sure that the error message is more appropriate than before by checking closer what operator is used and which is not. It also increases the total number of lines printed to the user. PR-URL: https://github.com/nodejs/node/pull/27525 Reviewed-By: Rich Trott <rtrott@gmail.c...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -17,19 +17,18 @@ const kReadableOperator = {\n strictEqual: 'Expected values to be strictly equal:',\n strictEqualObject: 'Expected \"actual\" to be reference-equal to \"expected\":',\n deepEqual: 'Expected values to be loosely deep-equa...
2019-05-01T21:52:37
electron/electron
86ed7ca725a95f1633fd100e638d4766fc23d7a0
808b02edda508d19cc977a9edfa1348a8b418a17
fix typo Broswer -> Browser
[ { "path": "docs-translations/zh-CN/tutorial/quick-start.md", "patch": "@@ -14,7 +14,7 @@ Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造\n 在一般浏览器中,网页通常会在沙盒环境下运行,并且不允许访问原生资源。然而,Electron 用户拥有在网页中调用 io.js 的 APIs 的能力,可以与底层操作系统直接交互。\n \n ## 主进程与渲染进程的区别\n-主进程使用 BroswerWindow 实例创建网页。每个 BroswerWindow 实例都在自己的渲染进程里运行着一个...
2016-02-03T03:37:20
vercel/next.js
05a9e0ac49095bed86090872d279da2e297a07e7
2dade5df48f4d6925a09cac3285df18e87bcffde
Fix conflict when re-exporting multiple Client References (#49468) Closes #49324. Default export should only be added in the loader generated boundary file when it actually exists. fix NEXT-1112
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -247,6 +247,12 @@ impl<C: Comments> ReactServerComponents<C> {\n })) => {\n self.export_names.push(\"default\".to_string());\n }\n+ ModuleItem::ModuleDecl...
2023-05-16T10:35:12
huggingface/transformers
33c60a52540962d1d5efdbf29ef0b585649ff175
fa22b569038540d31eacbf5d333a1e9aa0787131
[`T5Gemma`] Fix cross attention cache (#41890) * fix * add test * style * added comment
[ { "path": "src/transformers/models/t5gemma/modeling_t5gemma.py", "patch": "@@ -797,7 +797,9 @@ def forward(\n inputs_embeds = self.embed_tokens(input_ids)\n \n if not self.training and use_cache and past_key_values is None:\n- past_key_values = EncoderDecoderCache(DynamicCache...
2025-11-11T18:08:34
golang/go
2d1d54808131b09da768ec334b3387ccb70562ec
b5e06545b3c3b3b9c2ed8204e5ba3fd25a85db0f
reflect: update relative path in comment Fix it to avoid misunderstanding. Change-Id: I2a09cb9edfa8077c5c0c35e07000c0c7dc72755e GitHub-Last-Rev: ae49d512eb7f58421ff2d3b9a8b04500a96ac831 GitHub-Pull-Request: golang/go#50260 Reviewed-on: https://go-review.googlesource.com/c/go/+/373334 Reviewed-by: Ian Lance Taylor <ia...
[ { "path": "src/reflect/type.go", "patch": "@@ -229,7 +229,7 @@ type Type interface {\n // See https://golang.org/issue/4876 for more details.\n \n /*\n- * These data structures are known to the compiler (../../cmd/internal/reflectdata/reflect.go).\n+ * These data structures are known to the compiler (../cmd...
2021-12-20T00:36:55
nodejs/node
3593af00f8e2748a4e36ef425051d7d04b5e5bb0
7cfcf8069bb91240d25f83fa5ab5b7af2da49260
assert: fix `assert.fail()` stack This makes sure the error message visible in the error stack created when using `assert.fail()` without any arguments or the message set to `undefined` or `null` as only argument. That was masked before due to other changes. PR-URL: https://github.com/nodejs/node/pull/27525 Reviewed-...
[ { "path": "lib/assert.js", "patch": "@@ -92,9 +92,10 @@ function innerFail(obj) {\n function fail(actual, expected, message, operator, stackStartFn) {\n const argsLen = arguments.length;\n \n- let internalMessage;\n- if (argsLen === 0) {\n- internalMessage = 'Failed';\n+ let internalMessage = false;...
2019-05-01T20:49:04
electron/electron
47de3f3f24a7a78a8881e477e0d83a2bc9d30e11
bc196c016b9e801fd4c8459f51a70a263a06a1b8
Fix failing specs
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -55,7 +55,7 @@ class AtomRenderFrameObserver : public content::RenderFrameObserver {\n void DidCreateScriptContext(v8::Handle<v8::Context> context,\n int extension_group,\n int world...
2016-02-02T16:05:27
huggingface/transformers
fa22b569038540d31eacbf5d333a1e9aa0787131
f30c22500b126aa42e73ee86b7db5e3d7564734b
:rotating_light: Fix gradient checkpointing for several models and improve test robustness (#41818) * Implement gradient checkpointing in GPTBigCode Support for gradient checkpointing was lost in the major refactoring in PR #38635 and this is the attempt to re-add it. I extended the tests to - test `use_reentrant=...
[ { "path": "src/transformers/models/gpt_bigcode/modeling_gpt_bigcode.py", "patch": "@@ -26,6 +26,7 @@\n from ...generation import GenerationMixin\n from ...masking_utils import create_causal_mask\n from ...modeling_flash_attention_utils import is_flash_attn_available\n+from ...modeling_layers import Gradient...
2025-11-11T17:13:38
golang/go
b5e06545b3c3b3b9c2ed8204e5ba3fd25a85db0f
4dfbb89f585aac690a1c41dbb1604a567bc46f63
net/http: fix link to ResponseWriter trailer example The links to this example were using an underscore separator instead of a hyphen, and incorrect casing. Fixes #50279 Change-Id: I35d76a8a78cd708b7505ff1a70f7dacddaf43efd Reviewed-on: https://go-review.googlesource.com/c/go/+/373514 Reviewed-by: Ian Lance Taylor <i...
[ { "path": "src/net/http/server.go", "patch": "@@ -494,8 +494,8 @@ type response struct {\n // prior to the headers being written. If the set of trailers is fixed\n // or known before the header is written, the normal Go trailers mechanism\n // is preferred:\n-// https://golang.org/pkg/net/http/#ResponseW...
2021-12-20T21:31:45
nodejs/node
c21693b39dfc428bc8a25a6bd7e47be7e34fdb21
11e1e0050b548c2b815d40dfa0cfbaf63289ae62
src: remove node_options-inl.h from header files Fix unnecessary inclusion of node_options-inl.h into env.h via inspector_agent.h, causing almost all of src/ to recompile on any change to the options parser. Its intended that *-inl.h header files are only included into the src files that call the inline methods. PR-U...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -9,6 +9,7 @@\n #include \"node/inspector/protocol/Protocol.h\"\n #include \"node_errors.h\"\n #include \"node_internals.h\"\n+#include \"node_options-inl.h\"\n #include \"node_process.h\"\n #include \"node_url.h\"\n #include \"v8-inspector.h\"", "addition...
2019-05-02T16:03:53
huggingface/transformers
f30c22500b126aa42e73ee86b7db5e3d7564734b
496c283615dc1aaf0863089b16d55abbf17ac681
Fix logic error in `prepare_inputs_for_generation` cache slicing condition (#41764) Fix logic error in cache slicing condition Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -608,7 +608,7 @@ def prepare_inputs_for_generation(\n use_cache = kwargs.get(\"use_cache\")\n if use_cache is None:\n use_cache = getattr(self.config, \"use_cache\", False)\n- if past_key_values is None or use_...
2025-11-11T16:52:38
golang/go
4dfbb89f585aac690a1c41dbb1604a567bc46f63
e0879490904495d26f762e19a997d4384bffa932
runtime: typo fix cyle -> cycle Change-Id: I213fa8aa9b9c2537a189677394ddd30c62312518 GitHub-Last-Rev: ccafdee9440b06232cdfca83099bf0aeff62a4c0 GitHub-Pull-Request: golang/go#50268 Reviewed-on: https://go-review.googlesource.com/c/go/+/373336 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor ...
[ { "path": "src/runtime/mgcmark.go", "patch": "@@ -1561,7 +1561,7 @@ func gcmarknewobject(span *mspan, obj, size, scanSize uintptr) {\n \tif !goexperiment.PacerRedesign {\n \t\t// The old pacer counts newly allocated memory toward\n \t\t// heapScanWork because heapScan is continuously updated\n-\t\t// throug...
2021-12-20T05:54:27
rust-lang/rust
ae6ab44d68cbd97dd47b065ae1b82f3eafb660e3
1d764e022f8d1dd9ab2a496d559f3af6800e4946
fix clippy
[ { "path": "clippy_lints/src/eta_reduction.rs", "patch": "@@ -7,6 +7,7 @@ use clippy_utils::{\n get_path_from_caller_to_method_type, is_adjusted, is_no_std_crate, path_to_local, path_to_local_id,\n };\n use rustc_abi::ExternAbi;\n+use rustc_attr_data_structures::{AttributeKind, find_attr};\n use rustc_er...
2025-06-21T10:42:24
huggingface/transformers
496c283615dc1aaf0863089b16d55abbf17ac681
df45a92cea0385970fabb21f8c329150cc3d5a9c
Add dinov3 autobackbone (#41276) * feat: Add DINOv3 support to AutoBackbone [DRAFT] - Implement DINOv3ViTConfig, DINOv3ViTModel, and DINOv3ViTBackbone - Add DINOv3 to MODEL_FOR_BACKBONE_MAPPING_NAMES - Support get_intermediate_layers for Facebook compatibility - Enable multi-scale feature extraction for detection/seg...
[ { "path": "docs/source/en/model_doc/dinov3.md", "patch": "@@ -169,6 +169,9 @@ print(\"Pooled output shape:\", pooled_output.shape)\n [[autodoc]] DINOv3ViTModel\n - forward\n \n+## DINOv3ViTBackbone \n+[[autodoc]] DINOv3ViTBackbone\n+\n ## DINOv3ConvNextModel\n \n [[autodoc]] DINOv3ConvNextModel", ...
2025-11-11T16:22:06
nodejs/node
11e1e0050b548c2b815d40dfa0cfbaf63289ae62
8fd949e626fa61e1539f0c1f7391359d8958b99f
test: improve test-async-hooks-http-parser-destroy Improve reporting in test-async-hooks-http-parser-destroy when failing. Before, failures looked like this (edited slightly to conform to our commit message 72-char line length restriction): The expression evaluated to a falsy value: assert.ok(destroyedIds.in...
[ { "path": "test/parallel/test-async-hooks-http-parser-destroy.js", "patch": "@@ -1,6 +1,5 @@\n 'use strict';\n-const common = require('../common');\n-const Countdown = require('../common/countdown');\n+require('../common');\n const assert = require('assert');\n const async_hooks = require('async_hooks');\n ...
2019-04-19T22:06:23
electron/electron
2819af9586197e592bda2cfb192ad7150839aed9
045e42a10c976c410d7ed194c59bb49917fbfe49
fix lifetime of downloadItem class when defaultdownload canceled
[ { "path": "atom/browser/api/atom_api_download_item.cc", "patch": "@@ -12,6 +12,7 @@\n #include \"atom/common/native_mate_converters/gurl_converter.h\"\n #include \"atom/common/node_includes.h\"\n #include \"base/memory/linked_ptr.h\"\n+#include \"base/message_loop/message_loop.h\"\n #include \"base/strings/...
2016-02-02T10:24:51
golang/go
15550625c3140efce8ea1d7d3193ec4c563eb117
6713b5dbbc4b3bbfa2022538501c7f8104f1e5fd
net/netip: add a fuzz test This is a pretty straight port of the fuzz test at https://github.com/inetaf/netaddr. The MarshalText methods of netip.Addr and net.IP, the Is* methods of netip.Addr and net.IP and the MarshalText and String methods of netip.Addr are also checked to ensure that they behave the same way. Fi...
[ { "path": "src/net/netip/fuzz_test.go", "patch": "@@ -0,0 +1,351 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package netip_test\n+\n+import (\n+\t\"bytes\"\n+\t\"encoding\"\n+\t\"...
2021-12-16T05:25:09
huggingface/transformers
df45a92cea0385970fabb21f8c329150cc3d5a9c
3ff0e69f84247ec8ed263ca412adc42f19fadbe2
Enforce check_auto_docstring (#41635) fix issues and enforce check_auto_docstring
[ { "path": "src/transformers/models/deprecated/gptsan_japanese/modeling_gptsan_japanese.py", "patch": "@@ -22,7 +22,7 @@\n from ....cache_utils import Cache\n from ....modeling_outputs import MoECausalLMOutputWithPast, MoEModelOutputWithPastAndCrossAttentions\n from ....modeling_utils import PreTrainedModel\...
2025-11-11T16:05:55
rust-lang/rust
f9cdf3fd746bc8a20d2bfd62189180ea69029627
40a33af0f3dc8e16b2b954d7af3dd782f7b13497
fix 142783
[ { "path": "compiler/rustc_passes/src/check_attr.rs", "patch": "@@ -722,9 +722,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {\n // erroneously allowed it and some crates used it accidentally, to be compatible\n // with crates depending on them, we can't throw an error here.\n Ta...
2025-06-21T11:04:24
vercel/next.js
aeed1c770aee6e4765d90419ba4d4671dc759930
9e978cf64f2ef358caea8b2514b393bca3f77bbe
add support for globally providing mdx components to turbopack (#49818) ### What? Adds support for `mdx-components` at the root/src directory. This is a feature `next-mdx` already has: https://github.com/vercel/next.js/tree/canary/packages/next-mdx#usage-1 Fixes WEB-1012 Depends on https://github.com/vercel...
[ { "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-230515.2#4560f34a3124d73e577a04ebc5c64b1bd1979c17\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-16T00:45:08
nodejs/node
eda4d3c59e02769a99cb58c369674a8f8f25974c
96c789287bf4262019393d2620d33574e4cf492c
test: converting NghttpError to string in HTTP2 module PR-URL: https://github.com/nodejs/node/pull/27506 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/parallel/test-http2-util-nghttp2error.js", "patch": "@@ -14,3 +14,9 @@ common.expectsError(() => {\n type: NghttpError,\n message: 'Invalid argument'\n });\n+\n+// Should convert the NghttpError object to string properly\n+{\n+ const err = new NghttpError(401);\n+ strictEqual(err.toStr...
2019-04-30T23:15:06
electron/electron
26520c5cf4b6a60da2c5cba971393f94b82f5939
a3dcf8ced663e974ac94ad5e50a1d25a43995a9d
Improve error message for type error Close atom/electron#4307.
[ { "path": "native_mate/arguments.cc", "patch": "@@ -9,6 +9,23 @@\n \n namespace mate {\n \n+namespace {\n+\n+std::string V8TypeAsString(v8::Local<v8::Value> value) {\n+ if (value.IsEmpty())\n+ return \"<empty handle>\";\n+ if (value->IsUndefined())\n+ return \"undefined\";\n+ if (value->IsNull())\n...
2016-02-02T02:10:15
golang/go
6713b5dbbc4b3bbfa2022538501c7f8104f1e5fd
9901d9e87a47b775edd0e75edb19ba696091603e
cmd/doc: don't log on constraint type elements Fixes #50256 Change-Id: I2327a0b28f8173c801ed2946bec8083967667027 Reviewed-on: https://go-review.googlesource.com/c/go/+/373314 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewe...
[ { "path": "src/cmd/doc/doc_test.go", "patch": "@@ -7,6 +7,7 @@ package main\n import (\n \t\"bytes\"\n \t\"flag\"\n+\t\"log\"\n \t\"os\"\n \t\"path/filepath\"\n \t\"regexp\"\n@@ -125,6 +126,9 @@ var tests = []test{\n \t\t\t`func MultiLineFunc\\(x interface{ ... }\\) \\(r struct{ ... }\\)`, // Multi line fun...
2021-12-18T23:54:38
huggingface/transformers
3ff0e69f84247ec8ed263ca412adc42f19fadbe2
31839d741a30d7fe5daf982d9f2d9cc549ec6181
Avoid mutating user-provided arguments in preprocessing utils (#42126) * fix: deepcopy kwargs to avoid mutating user-provided arguments * mod: shallow copy instead of deepcopy --------- Co-authored-by: Leonardo Emili <lemili@apple.com>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1226,6 +1226,9 @@ class MyProcessingKwargs(ProcessingKwargs, CommonKwargs, TextKwargs, ImagesKwarg\n Dictionary of per-modality kwargs to be passed to each modality-specific processor.\n \n \"\"\"\n+ # holding a c...
2025-11-11T14:52:07
rust-lang/rust
40a33af0f3dc8e16b2b954d7af3dd782f7b13497
5d44fdd972ee555b499c21068a03a5b3d88b1c7e
fix clippy
[ { "path": "src/tools/clippy/clippy_lints/src/eta_reduction.rs", "patch": "@@ -7,6 +7,7 @@ use clippy_utils::{\n get_path_from_caller_to_method_type, is_adjusted, is_no_std_crate, path_to_local, path_to_local_id,\n };\n use rustc_abi::ExternAbi;\n+use rustc_attr_data_structures::{AttributeKind, find_attr...
2025-06-21T10:42:24
vercel/next.js
9e978cf64f2ef358caea8b2514b393bca3f77bbe
af3380790ea245e96b9cda2c3af09ef56c24df8c
with-clerk example updated to app router (#49717) <!-- 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 Contribut...
[ { "path": "examples/with-clerk/.env.local.example", "patch": "@@ -1,3 +1,7 @@\n-NEXT_PUBLIC_CLERK_FRONTEND_API=your_clerk_frontend_api\n-CLERK_API_KEY=your_clerk_api_key\n-CLERK_JWT_KEY=your_clerk_jwt_key\n\\ No newline at end of file\n+NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_pub_key\n+CLERK_SECRET_KEY...
2023-05-15T22:25:43
nodejs/node
d370d126c3a2ad302cd15ff8063631983d1b4610
411063c6f5750f4a2243ef5154c589109d9b807c
module: throw on require('./path.mjs'); This is an extremely important part of the ESM implementation that should have been unflagged as a breaking change in v12.0.0 to allow us to unflag ESM in Node.js 12.x before LTS. Assuming we can get consensus on this behavior I would argue that this Semver-Major behavior change...
[ { "path": "doc/api/modules.md", "patch": "@@ -132,6 +132,13 @@ variable. Since the module lookups using `node_modules` folders are all\n relative, and based on the real path of the files making the calls to\n `require()`, the packages themselves can be anywhere.\n \n+## Addenda: The .mjs extension\n+\n+It i...
2019-04-25T21:32:04
huggingface/transformers
31839d741a30d7fe5daf982d9f2d9cc549ec6181
2072f3059eea2d5c5061516b8fc089853e50a654
Bugfix/remove emojis from print (#42091) * Removed initial batch of emojis from strings and print statements. * Removed many of the emojis that are printed to the client. * Removed the Hugging Face emoji from the arg-parse help descriptions. * Removed even more emojis. * Used cursor to do a pass on top of my manua...
[ { "path": "examples/pytorch/language-modeling/run_clm_no_trainer.py", "patch": "@@ -127,7 +127,7 @@ def parse_args():\n parser.add_argument(\n \"--use_slow_tokenizer\",\n action=\"store_true\",\n- help=\"If passed, will use a slow tokenizer (not backed by the 🤗 Tokenizers library...
2025-11-11T14:38:38
rust-lang/rust
f5af05b8f7a03a9a1d08fe7faa3c842d585da1dc
b9c0f15486326e127987d79883921a1591405118
Fix circular dependency test to use rustc_std_internal_symbol
[ { "path": "tests/run-make/crate-circular-deps-link/a.rs", "patch": "@@ -1,6 +1,7 @@\n #![crate_type = \"rlib\"]\n #![feature(lang_items)]\n #![feature(panic_unwind)]\n+#![feature(rustc_attrs)]\n #![no_std]\n \n extern crate panic_unwind;\n@@ -10,12 +11,12 @@ pub fn panic_handler(_: &core::panic::PanicInfo) ...
2025-06-17T20:24:42
golang/go
9901d9e87a47b775edd0e75edb19ba696091603e
59d04d104d9e08322712e837b35f4cd54c9bae1a
all: fix spelling errors found by misspell Change-Id: Icedd0c3d49259d5aee249ecb33374e9b78e0c275 Reviewed-on: https://go-review.googlesource.com/c/go/+/373376 Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ia...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -268,7 +268,7 @@ func (check *Checker) typesSummary(list []Type, variadic bool) string {\n \t\tvar s string\n \t\tswitch {\n \t\tcase t == nil:\n-\t\t\tfallthrough // should not happend but be cautious\n+\t\t\tfallthrough // should not...
2021-12-20T07:17:42
vercel/next.js
03c90074a3b064d389f3ac0600ba4a192990dfd6
b47348c3266246959de3555a2000bfa35fdee98a
add mdx `providerImportSource` option (vercel/turbo#4944) ### Description <!-- ✍️ Write a short summary of your work. If necessary, include relevant screenshots. --> ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> fix WEB-1012
[ { "path": "crates/turbopack-mdx/src/lib.rs", "patch": "@@ -40,6 +40,7 @@ pub struct MdxTransformOptions {\n pub preserve_jsx: bool,\n pub jsx_runtime: Option<String>,\n pub jsx_import_source: Option<String>,\n+ pub provider_import_source: Option<String>,\n }\n \n impl Default for MdxTransform...
2023-05-15T19:42:15
huggingface/transformers
2072f3059eea2d5c5061516b8fc089853e50a654
3760afb21c1f4c14aa48c41d1b025702777b1c53
DataCollatorForLanguageModeling warning error fixed (#42144) * warning error fixed * Update src/transformers/data/data_collator.py --------- Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
[ { "path": "src/transformers/data/data_collator.py", "patch": "@@ -723,7 +723,7 @@ def __post_init__(self):\n \n if self.mask_replace_prob < 1:\n warnings.warn(\n- \"Random token replacement is not supported with whole word masking.\",\n+ \"Ra...
2025-11-11T14:22:20
nodejs/node
8cac945126a9db099609ca33bf6289f2d02257db
8876ac5c358114f0f88424f6737ca4b89fc9e6c7
doc: add cclauss to collaborators Fixes: https://github.com/nodejs/node/issues/27115 PR-URL: https://github.com/nodejs/node/pull/27554 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com...
[ { "path": "README.md", "patch": "@@ -279,6 +279,8 @@ For information about the governance of the Node.js project, see\n **Bartosz Sosnowski** &lt;bartosz@janeasystems.com&gt;\n * [calvinmetcalf](https://github.com/calvinmetcalf) -\n **Calvin Metcalf** &lt;calvin.metcalf@gmail.com&gt;\n+* [cclauss](https://g...
2019-05-03T17:00:33
rust-lang/rust
b9c0f15486326e127987d79883921a1591405118
c44a23c16c78d61f3283c6d23f1160a70add7975
Fix LTO for internalizing rustc_std_internal_symbol symbols
[ { "path": "compiler/rustc_codegen_ssa/src/back/linker.rs", "patch": "@@ -1876,6 +1876,21 @@ pub(crate) fn linked_symbols(\n }\n }\n \n+ match tcx.sess.lto() {\n+ Lto::No | Lto::ThinLocal => {}\n+ Lto::Thin | Lto::Fat => {\n+ // We really only need symbols from upstrea...
2025-06-17T16:47:55
golang/go
59d04d104d9e08322712e837b35f4cd54c9bae1a
7c94355b738170cf06484d502af7f2d935831c2b
cmd/internal/obj/riscv: mark stack bounds check prologue nonpreemptible This is similar to CL 207350, for RISCV64. May fix #50263. Updates #35470. Change-Id: I0d39e195e8254d65fa1aca1cdf1fc553aa8b7cba Reviewed-on: https://go-review.googlesource.com/c/go/+/373434 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Che...
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -790,6 +790,12 @@ func stacksplit(ctxt *obj.Link, p *obj.Prog, cursym *obj.LSym, newprog obj.ProgA\n \tp.To.Type = obj.TYPE_REG\n \tp.To.Reg = REG_X10\n \n+\t// Mark the stack bound check and morestack call async nonpreemptible.\n+\t// If we get pr...
2021-12-20T17:45:04
electron/electron
035c1dd5a1651a162e7f2d5533ba2b503efaa7ec
a575192c5f8fc39de896fc949177fe61cac595e0
Fix 'user strict' typo
[ { "path": "atom/renderer/lib/init.js", "patch": "@@ -1,4 +1,4 @@\n-'user strict';\n+'use strict';\n \n const events = require('events');\n const path = require('path');", "additions": 1, "deletions": 1, "language": "JavaScript" }, { "path": "atom/renderer/lib/web-view/web-view.js", "...
2016-02-01T19:46:02
huggingface/transformers
3760afb21c1f4c14aa48c41d1b025702777b1c53
3c0b2b101ec4bd68bf1c0c3edfd81ccd9a422236
Fix T5Gemma module structure (#42145) * fix modular * oupsi typo
[ { "path": "src/transformers/models/t5gemma/modeling_t5gemma.py", "patch": "@@ -448,11 +448,28 @@ def forward(\n return hidden_states\n \n \n-class T5GemmaDecoderLayer(T5GemmaEncoderLayer):\n+class T5GemmaDecoderLayer(GradientCheckpointingLayer):\n \"\"\"Decoder sub-layer: an extra cross-attentio...
2025-11-11T11:26:03
vercel/next.js
a7601213ab1bd2fd75e120907cd7c70278d7ebc7
138a795263d2e9c40f7abade1533e7eb93bfe922
refactor(next-core): consolidate react_refresh options (#49822) <!-- 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": "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-230511.3#96ab8012a93cab593261c6ab06d0f79dfb1f4fed\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-15T19:31:42
rust-lang/rust
6d3ff3915e09f736bda9bc1f04fe88a3630b71a2
5dfe72c1fda271e1147ac85aebf6d382145ee0c0
Avoid exporting panic_unwind as stdlib cargo feature There is already panic-unwind to enable it.
[ { "path": "library/std/Cargo.toml", "patch": "@@ -93,7 +93,7 @@ backtrace = [\n 'miniz_oxide/rustc-dep-of-std',\n ]\n \n-panic-unwind = [\"panic_unwind\"]\n+panic-unwind = [\"dep:panic_unwind\"]\n compiler-builtins-c = [\"alloc/compiler-builtins-c\"]\n compiler-builtins-mem = [\"alloc/compiler-builtins-...
2025-05-08T15:03:04
nodejs/node
8876ac5c358114f0f88424f6737ca4b89fc9e6c7
8dae89b396df64e6a9e44cb94efe27809a5a3d89
async_hooks: fixup do not reuse HTTPParser Fix some issues introduced/not fixed via https://github.com/nodejs/node/pull/25094: * Init hook is not emitted for a reused HTTPParser * HTTPParser was still used as resource in init hook * type used in init hook was always HTTPINCOMINGMESSAGE even for client requests * some ...
[ { "path": "benchmark/http/bench-parser.js", "patch": "@@ -24,13 +24,14 @@ function main({ len, n }) {\n bench.start();\n for (var i = 0; i < n; i++) {\n parser.execute(header, 0, header.length);\n- parser.initialize(REQUEST, header);\n+ parser.initialize(REQUEST, {});\n }\n b...
2019-04-22T22:57:12
golang/go
7c94355b738170cf06484d502af7f2d935831c2b
a2004de0885cc3796fed6dff54678efb8ffa4d01
go/types: better error message when using comparable in union This is a port of CL 372674 from types2 to go/types with minor adjustments for error handling. For #49602. Change-Id: I726081325a2ff2d5690d11ddc8a830bbcbd8ab33 Reviewed-on: https://go-review.googlesource.com/c/go/+/372954 Trust: Robert Griesemer <gri@gola...
[ { "path": "src/go/types/testdata/fixedbugs/issue49602.go2", "patch": "@@ -0,0 +1,19 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package p\n+\n+type M interface {\n+\tm()\n+}\n+\n+...
2021-12-17T00:28:38
huggingface/transformers
3c0b2b101ec4bd68bf1c0c3edfd81ccd9a422236
e869e9df5426d5a7ffc9ad32d4199b177e5c5382
fix: improve video processing fps assignment logic (#42009) * fix: improve video processing fps and do_sample_frames assignment logic * fix: set return_metadata=True to get metadata * reformat the modular file * fix typo * revert flag change and fix fps assignment * Taking 'num_frames' into considered. Avoid err...
[ { "path": "src/transformers/models/qwen2_5_vl/modular_qwen2_5_vl.py", "patch": "@@ -839,6 +839,7 @@ class Qwen2_5_VLProcessorKwargs(ProcessingKwargs, total=False):\n \"padding\": False,\n \"return_mm_token_type_ids\": False,\n },\n+ \"videos_kwargs\": {\"return_metadat...
2025-11-11T09:54:33
electron/electron
045e42a10c976c410d7ed194c59bb49917fbfe49
a575192c5f8fc39de896fc949177fe61cac595e0
fix crash when default download is canceled
[ { "path": "atom/browser/api/atom_api_session.cc", "patch": "@@ -296,10 +296,8 @@ void Session::OnDownloadCreated(content::DownloadManager* manager,\n \"will-download\",\n DownloadItem::Create(isolate(), item),\n api::WebContents::CreateFrom(isolate(), web_contents));\n- if (prevent_defaul...
2016-02-01T18:56:37
vercel/next.js
6fd866bfd7d4377f5574aa1710eb89343ffad8bb
f6f07c08948f2eb89992ec096283a788ddc88727
add @swc/core to server external packages (#49721) <!-- 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 Contribu...
[ { "path": "packages/next/src/lib/server-external-packages.json", "patch": "@@ -2,6 +2,7 @@\n \"@prisma/client\",\n \"@sentry/nextjs\",\n \"@sentry/node\",\n+ \"@swc/core\",\n \"argon2\",\n \"autoprefixer\",\n \"aws-crt\",", "additions": 1, "deletions": 0, "language": "JSON" } ]
2023-05-15T15:56:23
rust-lang/rust
5dfe72c1fda271e1147ac85aebf6d382145ee0c0
5f63b5758969872add239e477b9a49cea08cc921
Stop handling explicit dependencies on the panic runtime You shouldn't ever need to explicitly depend on it. And we weren't checking that the panic runtime used the correct panic strategy either.
[ { "path": "compiler/rustc_metadata/src/creader.rs", "patch": "@@ -952,34 +952,27 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {\n // If we need a panic runtime, we try to find an existing one here. At\n // the same time we perform some general validation of the DAG we've got\n // going su...
2025-05-08T14:58:26
nodejs/node
50364d98d97afd9e7dc3947c270c45ef64944a6f
d0667e814e8be53d329a9c7f4849996c192395c9
test: allow EAI_FAIL in test-http-dns-error.js EAI_FAIL is expected on OpenBSD, and has been observed on platforms such as FreeBSD and Windows. This commit makes EAI_FAIL an acceptable error code on all platforms. PR-URL: https://github.com/nodejs/node/pull/27500 Fixes: https://github.com/nodejs/node/issues/27487 Rev...
[ { "path": "test/parallel/test-http-dns-error.js", "patch": "@@ -32,9 +32,7 @@ const https = require('https');\n const host = '*'.repeat(64);\n const MAX_TRIES = 5;\n \n-let errCode = 'ENOTFOUND';\n-if (common.isOpenBSD)\n- errCode = 'EAI_FAIL';\n+const errCodes = ['ENOTFOUND', 'EAI_FAIL'];\n \n function tr...
2019-04-30T18:31:20
huggingface/transformers
37d48bbb48483dd93541bca7c0c689b06e3ba729
21913b2e100959467e9d97052575d33b45e06e0a
Remove unused functions in `image_transforms.py` (#42044) * up * make style * Update trimaps logic * fix typo * Revert changes --------- Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
[ { "path": "src/transformers/image_transforms.py", "patch": "@@ -821,12 +821,6 @@ def split_to_tiles(images: \"torch.Tensor\", num_tiles_height: int, num_tiles_widt\n return image\n \n \n-def _cast_tensor_to_float(x):\n- if x.is_floating_point():\n- return x\n- return x.float()\n-\n-\n def _...
2025-11-10T16:55:57
golang/go
a2004de0885cc3796fed6dff54678efb8ffa4d01
87b2a54827b5a845e9b29ede9414495e3e869f2e
go/types, types2: delay "does not satisfy comparable" error until needed Fixes #49112. Change-Id: I8effbca7bcbb257b18fd4d3d1914fd10d4afaaae Reviewed-on: https://go-review.googlesource.com/c/go/+/372594 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gopher Robot <...
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -192,17 +192,7 @@ func (check *Checker) implements(V, T Type, qf Qualifier) error {\n \t\treturn errorf(\"cannot implement %s (empty type set)\", T)\n \t}\n \n-\t// If T is comparable, V must be comparable.\n-\t// TODO(gri) the error m...
2021-12-16T00:13:05
rust-lang/rust
5f63b5758969872add239e477b9a49cea08cc921
0cdd7f50b06fb363a2e8b0f6d270e0ed14476af8
Remove dependency injection for the panic runtime This used to be necessary for a correct linker order, but ever since the introduction of symbols.o adding the symbols in question to symbols.o would work just as well. We do still add dependencies on the panic runtime to the local crate, but not for #![needs_panic_runt...
[ { "path": "compiler/rustc_metadata/src/creader.rs", "patch": "@@ -1,7 +1,6 @@\n //! Validates all used crates and extern libraries and loads their metadata\n \n use std::error::Error;\n-use std::ops::Fn;\n use std::path::Path;\n use std::str::FromStr;\n use std::time::Duration;\n@@ -276,12 +275,6 @@ impl CS...
2025-05-08T11:32:22
vercel/next.js
f6f07c08948f2eb89992ec096283a788ddc88727
5aaa6ff65e10a89589f12d01c3bd2e066d9d5c4f
Apply user-defined PostCSS transforms to foreign code (#49463) We specifically avoid running most transforms on foreign code without the `transpile_packages` option, but PostCSS transforms should be an exception.
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -218,10 +218,17 @@ pub async fn get_client_module_options_context(\n },\n ));\n \n+ let postcss_transform_options = Some(PostCssTransformOptions {\n+ postcss_package: Some(get_postcss_package_mappin...
2023-05-15T15:34:23
huggingface/transformers
21913b2e100959467e9d97052575d33b45e06e0a
f028e9340cca466a64592dbea542d3bdd2c89d5e
Fix MaskFormer/Mask2Former fast image processors (#41393) * Merge conflict * add fast processor * add fast processor * make style * add new convert rgb * use nested group by shape in mllama fast, add support for multiple inputs in group by shape * fix maskformer mask2 former fast im proc and add tests * refacto...
[ { "path": "src/transformers/image_transforms.py", "patch": "@@ -828,7 +828,25 @@ def _cast_tensor_to_float(x):\n \n \n def _group_images_by_shape(nested_images, *paired_inputs, is_nested: bool = False):\n- \"\"\"Helper function to flatten a single level of nested image and batch structures and group by s...
2025-11-10T16:48:10
nodejs/node
57fd70fc7d3918a6bd4c714fe479488391a563f6
495822f544a34feadc8d8c19e674f0b00eefefd6
stream: remove TODO and add a description instead After looking into this it turned out that these two errors are sanity checks that should not be reached. It is unfortunate that we assigned error codes for these but changing it into an assertion seems to be a hassle for `readable-streams`. PR-URL: https://github.com...
[ { "path": "lib/_stream_transform.js", "patch": "@@ -209,9 +209,7 @@ function done(stream, er, data) {\n if (data != null) // Single equals check for both `null` and `undefined`\n stream.push(data);\n \n- // TODO(BridgeAR): Write a test for these two error cases\n- // if there's nothing in the write ...
2019-04-04T14:44:34
rust-lang/rust
0cdd7f50b06fb363a2e8b0f6d270e0ed14476af8
3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
Add all rustc_std_internal_symbol to symbols.o rustc_std_internal_symbol is meant to call functions from crates where there is no direct dependency on said crate. As they either have to be added to symbols.o or rustc has to introduce an implicit dependency on them to avoid linker errors. The latter is done for some th...
[ { "path": "compiler/rustc_codegen_ssa/src/back/linker.rs", "patch": "@@ -1882,6 +1882,7 @@ pub(crate) fn linked_symbols(\n for_each_exported_symbols_include_dep(tcx, crate_type, |symbol, info, cnum| {\n if info.level.is_below_threshold(export_threshold) && !tcx.is_compiler_builtins(cnum)\n ...
2025-05-08T14:34:40
golang/go
87b2a54827b5a845e9b29ede9414495e3e869f2e
c5fee935bbb8f02406eb653cfed550593755a1a4
runtime: mgc.go typo fix: becuse -> because Change-Id: I5019d5b9520e47a99a6136f615b6c9468073cc3c GitHub-Last-Rev: 1a5392925a0c4e9b2915620fee3efa79ae14af20 GitHub-Pull-Request: golang/go#50239 Reviewed-on: https://go-review.googlesource.com/c/go/+/373055 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian L...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -1323,7 +1323,7 @@ func gcBgMarkWorker() {\n \t\t// point, signal the main GC goroutine.\n \t\tif incnwait == work.nproc && !gcMarkWorkAvailable(nil) {\n \t\t\t// We don't need the P-local buffers here, allow\n-\t\t\t// preemption becuse we may schedule like a re...
2021-12-19T03:03:38