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
huggingface/transformers
37c9c941664cc402ae381bbaeb2e8e1b1434af22
b19834d8352ccd6bb34e280f94d376e2bfd3bf40
Fix Qwen3-VL typos and clarify image/video/vision token descriptions (#43033) * qwen3-vl-processor-videos-arg-correction * minor sequence typo in processor __call__() * minor kwarg typo in processor __call__() * attention bias duplicate default hinting * image, video, vision token ids - clarification * qwen3vl co...
[ { "path": "src/transformers/models/qwen3_vl/configuration_qwen3_vl.py", "patch": "@@ -110,7 +110,7 @@ class Qwen3VLTextConfig(PreTrainedConfig):\n Dictionary containing the configuration parameters for the RoPE embeddings. The dictionary should contain\n a value for `rope_theta` and ...
2026-01-05T11:54:53
rust-lang/rust
64bec0ffdb413edb067a15fa0275128766d9554c
57d989b66ab8c3d9f4b44cb1396f74e488ebb0e8
Fix tests/ui/abi/debug.rs to cross-compile for riscv64
[ { "path": "tests/ui/abi/debug.generic.stderr", "patch": "@@ -89,9 +89,9 @@ error: fn_abi_of(test) = FnAbi {\n conv: Rust,\n can_unwind: $SOME_BOOL,\n }\n- --> $DIR/debug.rs:19:1\n+ --> $DIR/debug.rs:27:1\n |\n-LL | fn test(_x: u8) -> bool { true }\n+LL | fn test(_x: u8) -> ...
2025-07-05T00:26:08
vercel/next.js
3fb41561c4aea3ea8b102e3af56bc2d0919ff8cd
1f19a5b810c65279e94e9aea73319e8f06c30be1
Support react profiling option for app dir client components (#51947) `reactProductionProfiling` was a next config working for pages before mainly for profiling react, this PR also enables it for pages. ### Chanegs * Add react profiling entry and related alias * Fix `reactProductionProfiling` is missing in next conf...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -406,9 +406,17 @@ export function getDefineEnv({\n }\n }\n \n+function getReactProfilingInProduction() {\n+ return {\n+ 'react-dom$': 'react-dom/profiling',\n+ 'scheduler/tracing': 'scheduler/tracing-profiling',\n+ }\n+}\n+\n func...
2023-06-29T00:00:11
golang/go
4f8094386c3c015f6b6f3efc3a002d188433d388
87a345ca3849a68de13f29bdc7628f2943734946
cmd/go: error out of 'go work use' if no directories are given Otherwise, the behavior of 'go work use -r' (without arguments) may be surprising. Change-Id: I50cf1339591720ec5bd333146b89c9944ce420d5 Reviewed-on: https://go-review.googlesource.com/c/go/+/389855 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1538,7 +1538,7 @@\n //\n // Usage:\n //\n-// \tgo work use [-r] [moddirs]\n+// \tgo work use [-r] moddirs\n //\n // Use provides a command-line interface for adding\n // directories, optionally recursively, to a go.work file.", "additions": 1, "deleti...
2022-03-03T20:13:11
rust-lang/rust
57d989b66ab8c3d9f4b44cb1396f74e488ebb0e8
1b61d43bdbf875183b1f436302d62ff93f9a6bba
Fixed the ABI parameter inconsistency issue in debug.rs for the riscv64 architecture.
[ { "path": "tests/ui/abi/debug.generic.stderr", "patch": "@@ -89,9 +89,9 @@ error: fn_abi_of(test) = FnAbi {\n conv: Rust,\n can_unwind: $SOME_BOOL,\n }\n- --> $DIR/debug.rs:23:1\n+ --> $DIR/debug.rs:19:1\n |\n-LL | fn test(_x: u8) -> bool {\n+LL | fn test(_x: u8) -> bool { ...
2025-06-03T17:29:13
nodejs/node
458eee4ea03853209dc64cf9d70e18e7049ea1f3
6ef4d9ef116f616ccaf189e651f83184a922379c
test: use openssl_is_fips instead of hasFipsCrypto Currently, when dynamically linking against a FIPS enabled OpenSSL library test-process-env-allowed-flags-are-documented will fail with the following error: assert.js:89 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: The following options are not do...
[ { "path": "test/parallel/test-process-env-allowed-flags-are-documented.js", "patch": "@@ -46,7 +46,14 @@ const conditionalOpts = [\n return ['--openssl-config', '--tls-cipher-list', '--use-bundled-ca',\n '--use-openssl-ca' ].includes(opt);\n } },\n- { include: common.hasFipsCrypto,\...
2019-07-02T07:46:43
golang/go
87a345ca3849a68de13f29bdc7628f2943734946
9d34fc5108d91bfcce3c465069dbb2c563af4229
cmd/go: make paths consistent between 'go work init' and 'go work use' Fixes #51448 Change-Id: I86719b55037c377eb82154e169d8a9bbae20b77c Reviewed-on: https://go-review.googlesource.com/c/go/+/389854 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot...
[ { "path": "src/cmd/go/internal/modload/modfile.go", "patch": "@@ -802,7 +802,7 @@ var latestVersionIgnoringRetractionsCache par.Cache // path → queryLatestVersi\n // an absolute path or a relative path starting with a '.' or '..'\n // path component.\n func ToDirectoryPath(path string) string {\n-\tif modfi...
2022-03-03T20:07:15
rust-lang/rust
19ab6461fbb1d9c05c3a6b6cdbaf9ffcd0f1c8d9
84060f608b375d77bed9845709d57441393ceed6
Remove unused custom target JSON files 8521530f4938 ("Fix __divsi3 and __udivsi3 on thumbv6m targets") removed tests that use these `thumb*-linux` target files in favor of tests that use the `thumb*-none` targets, which are available via Rustup. The JSON files haven't been used since then and are outdated, so remove t...
[ { "path": "library/compiler-builtins/thumbv6m-linux-eabi.json", "patch": "@@ -1,28 +0,0 @@\n-{\n- \"abi-blacklist\": [\n- \"stdcall\",\n- \"fastcall\",\n- \"vectorcall\",\n- \"win64\",\n- \"sysv64\"\n- ],\n- \"arch\": \"arm\",\n- \"data-layout\": \"e-m:e-p:32:3...
2025-07-05T00:30:31
vercel/next.js
1f19a5b810c65279e94e9aea73319e8f06c30be1
64c297f194cf0d90272804d4f53a9cf3fcfa38d5
Add separate links in shared documentation (#51733) ### What? - Added separate links for the app and pages router in the shared documentation. - Added comment at the top of all shared documentation. - Fixed typos in pages documentation comment. ### Why? - To limit the switching between the different routers in shared...
[ { "path": "docs/02-app/01-building-your-application/01-routing/11-middleware.mdx", "patch": "@@ -3,6 +3,8 @@ title: Middleware\n description: Learn how to use Middleware to run code before a request is completed.\n ---\n \n+{/* The content of this doc is shared between the app and pages router. You can use ...
2023-06-28T23:37:56
nodejs/node
2a1503774469f941a5df90ee5bfa97130492a445
87d0d8c7d48e7261157fde1cb130ca460dba406c
deps: V8: backport d2ccc59 Original commit message: [snapshot] print reference stack for JSFunctions in the isolate snapshot This helps debugging incorrect usage of the SnapshotCreator API in debug mode. Change-Id: Ibd9db76a5f460cdf7ea6d14e865592ebaf69aeef Reviewed-on: https://chromium-review.go...
[ { "path": "common.gypi", "patch": "@@ -38,7 +38,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.14',\n+ 'v8_embedder_string': '-node.15',\n \n ##### V8 defaults for Node.js #####\n...
2019-07-12T04:10:28
electron/electron
0dad2581efbcd300101aa7f4e3d54abe0eda84f1
61bf3ae1ee2bedb418dda82dd239894ebea61f52
Fix passing paths in command line
[ { "path": "atom/app/atom_content_client.cc", "patch": "@@ -126,36 +126,35 @@ void ConvertStringWithSeparatorToVector(std::vector<std::string>* vec,\n void AddPepperFlashFromCommandLine(\n std::vector<content::PepperPluginInfo>* plugins) {\n auto command_line = base::CommandLine::ForCurrentProcess();\n...
2016-05-10T23:47:50
golang/go
58804ea67a28c1d8e37ed548b685bc0c09638886
78070ec3d44fdd8e60271abf31f056aeac919cc3
runtime: count spill slot for frame size at finalizer call The finalizer is called using reflectcall. When register ABI is used, the finalizer's argument is passed in register(s). But the frame size calculation does not include the spill slot. When the argument actually spills, it may clobber the caller's stack frame....
[ { "path": "src/runtime/mfinal.go", "patch": "@@ -187,21 +187,15 @@ func runfinq() {\n \t\t\t\tf := &fb.fin[i-1]\n \n \t\t\t\tvar regs abi.RegArgs\n-\t\t\t\tvar framesz uintptr\n-\t\t\t\tif argRegs > 0 {\n-\t\t\t\t\t// The args can always be passed in registers if they're\n-\t\t\t\t\t// available, because pl...
2022-03-03T01:16:54
vercel/next.js
64c297f194cf0d90272804d4f53a9cf3fcfa38d5
73491308b4ef0303e93cf0d69a0b0c2d030bd293
[docs] fix curly brackets in mdx (#51916) Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "docs/02-app/01-building-your-application/06-configuring/05-mdx.mdx", "patch": "@@ -314,13 +314,17 @@ const withMDX = require('@next/mdx')({\n Then setup the provider in your page\n \n ```jsx filename=\"pages/index.js\"\n-\n import { MDXProvider } from '@mdx-js/react'\n import Image from 'next/ima...
2023-06-28T23:19:49
nodejs/node
87d0d8c7d48e7261157fde1cb130ca460dba406c
8cb4ba982b247d0650f9f675f617d35986cf8231
doc: fix minor typo PR-URL: https://github.com/nodejs/node/pull/28148 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -306,7 +306,7 @@ In particular, the significant differences to `JSON` are:\n - `value` may contain circular references.\n - `value` may contain instances of builtin JS types such as `RegExp`s,\n `BigInt`s, `Map`s, `Set`s, etc.\n-- `value` may contained t...
2019-06-10T12:15:11
huggingface/transformers
37c9c941664cc402ae381bbaeb2e8e1b1434af22
b19834d8352ccd6bb34e280f94d376e2bfd3bf40
Fix Qwen3-VL typos and clarify image/video/vision token descriptions (#43033) * qwen3-vl-processor-videos-arg-correction * minor sequence typo in processor __call__() * minor kwarg typo in processor __call__() * attention bias duplicate default hinting * image, video, vision token ids - clarification * qwen3vl co...
[ { "path": "src/transformers/models/qwen3_vl/configuration_qwen3_vl.py", "patch": "@@ -110,7 +110,7 @@ class Qwen3VLTextConfig(PreTrainedConfig):\n Dictionary containing the configuration parameters for the RoPE embeddings. The dictionary should contain\n a value for `rope_theta` and ...
2026-01-05T11:54:53
electron/electron
b54af73782546173e92ee2772ffb2c7b87483c1a
61bf3ae1ee2bedb418dda82dd239894ebea61f52
fixed code snippet in menu api documentation.
[ { "path": "docs/api/menu.md", "patch": "@@ -15,7 +15,8 @@ the user right clicks the page:\n ```html\n <!-- index.html -->\n <script>\n-const { Menu, MenuItem } = require('electron').remote;\n+const { remote } = require('electron');\n+const { Menu, MenuItem } = remote;\n \n const menu = new Menu();\n menu.ap...
2016-05-10T20:32:45
golang/go
78070ec3d44fdd8e60271abf31f056aeac919cc3
ef92828bb9ffd77d6f08e402225557256b11cfad
syscall, runtime/internal/syscall: always return 0 in r2 on ppc64{,le} linux syscalls Both endians perform syscalls similarly. Only CR0S0 and R3 hold the resultant status of a syscall. A random value may be stored into the second return value (r2) result in some cases. Always set it to zero. Fixes #51192 Change-Id: ...
[ { "path": "src/runtime/internal/syscall/asm_linux_ppc64x.s", "patch": "@@ -16,14 +16,13 @@ TEXT ·Syscall6(SB),NOSPLIT,$0-80\n \tMOVD\ta5+40(FP), R7\n \tMOVD\ta6+48(FP), R8\n \tSYSCALL\tR9\n+\tMOVD\tR0, r2+64(FP) // r2 is not used. Always set to 0.\n \tBVC\tok\n \tMOVD\t$-1, R4\n \tMOVD\tR4, r1+56(FP)\n-\tMO...
2022-02-14T23:15:05
vercel/next.js
d390d75e1ff6c741ebf21f30f339eb58030be789
0bd9b4bbdff3c38bfa9c59d0c1e99d7003c94f9f
[docs] fix angle bracket in mdx (#51920)
[ { "path": "docs/02-app/01-building-your-application/06-configuring/05-mdx.mdx", "patch": "@@ -366,7 +366,7 @@ async function main() {\n .use(rehypeStringify) // Convert AST into serialized HTML\n .process('Hello, Next.js!')\n \n- console.log(String(file)) // <p>>Hello, Next.js!</p>\n+ console.log(...
2023-06-28T23:01:24
nodejs/node
8cb4ba982b247d0650f9f675f617d35986cf8231
ef579110cdff18c335988341a1a237c5c47aaadd
doc: update js-native-api example Update example that shows how to separate N-API code which is not Node.js-specific from code which defines a Node.js N-API addon. In its existing state the example uses the pattern ```C assert(napi_*() == napi_ok); ``` However, this would result in no N-API calls when building with ...
[ { "path": "doc/api/n-api.md", "patch": "@@ -192,33 +192,63 @@ napi_value create_addon(napi_env env);\n ```C\n // addon.c\n #include \"addon.h\"\n+\n+#define NAPI_CALL(env, call) \\\n+ do { \\\n+ napi_status s...
2019-07-12T16:50:48
huggingface/transformers
b19834d8352ccd6bb34e280f94d376e2bfd3bf40
0642963ba13f2dae0596fe489415569e1d91fbda
fix(qwen2vl): make Qwen2VLImageProcessor respect config['size'], align with fast version (#43095) * fix(qwen2vl): make Qwen2VLImageProcessor respect config['size'], align with Fast version\n\n修复:https://github.com/huggingface/transformers/issues/42910\nQwen2VLImageProcessor 不再覆盖 config["size"],一致性对齐 Fast 处理,确保 Qwen3VL...
[ { "path": "src/transformers/models/paddleocr_vl/image_processing_paddleocr_vl.py", "patch": "@@ -165,8 +165,9 @@ def __init__(\n **kwargs,\n ) -> None:\n super().__init__(**kwargs)\n- if size is not None and (\"shortest_edge\" not in size or \"longest_edge\" not in size):\n- ...
2026-01-05T10:22:19
electron/electron
f1b184ef78b9e59a387faae5904cc3f159b3ec3b
139a4f984adfe0fb9a98d789c5a20093925dcfc4
:memo: Fix code style issue * Change `var` to `let`. * Change `function() {}` to `() => {}`. * Use shorthand function syntax on object notation. * Remove spaces between object notation brackets. * Small fixes.
[ { "path": "docs/api/app.md", "patch": "@@ -176,7 +176,7 @@ certificate you should prevent the default behavior with\n `event.preventDefault()` and call `callback(true)`.\n \n ```javascript\n-app.on('certificate-error', function(event, webContents, url, error, certificate, callback) {\n+app.on('certificate-e...
2016-05-10T17:15:09
golang/go
d3fe4e193e387f250ba53a80f669eac465b1641d
86371b0360302b68c29f5eb39b02b82a52e0e341
go/types, types2: fix scoping for iteration variables declared by range clause Also correct scope position for such variables. Adjusted some comments. Fixes #51437. Change-Id: Ic49a1459469c8b2c7bc24fe546795f7d56c67cb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/389594 Trust: Robert Griesemer <gri@golang.o...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -1699,7 +1699,7 @@ func F(){\n \tvar F = /*F=func:12*/ F /*F=var:17*/ ; _ = F\n \n \tvar a []int\n-\tfor i, x := range /*i=undef*/ /*x=var:16*/ a /*i=var:20*/ /*x=var:20*/ { _ = i; _ = x }\n+\tfor i, x := range a /*i=undef*/ /*x=var:16*/ ...
2022-03-03T02:38:55
vercel/next.js
0bd9b4bbdff3c38bfa9c59d0c1e99d7003c94f9f
d206c68ad715595aea211376342b48330af3af5e
fix(next): improve error for using <Html> outside of document (#45056) ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added -> this is a pretty niche edge case, do you want me to? - [x] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next....
[ { "path": "packages/next/src/pages/_document.tsx", "patch": "@@ -1,4 +1,4 @@\n-import React, { ReactElement, ReactNode, useContext } from 'react'\n+import React, { ReactElement, ReactNode } from 'react'\n import {\n OPTIMIZED_FONT_PROVIDERS,\n NEXT_BUILTIN_DOCUMENT,\n@@ -17,7 +17,7 @@ import { BuildMani...
2023-06-28T22:40:35
nodejs/node
ef579110cdff18c335988341a1a237c5c47aaadd
7e543bb2e4711ab2c5a14d49e4465ff1fd75f232
doc: add missing version metadata for Readable.from Fixes: https://github.com/nodejs/node/issues/28693 PR-URL: https://github.com/nodejs/node/pull/28695 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M S...
[ { "path": "doc/api/stream.md", "patch": "@@ -1517,6 +1517,9 @@ run().catch(console.error);\n ```\n \n ### stream.Readable.from(iterable, [options])\n+<!-- YAML\n+added: v12.3.0\n+-->\n \n * `iterable` {Iterable} Object implementing the `Symbol.asyncIterator` or\n `Symbol.iterator` iterable protocol.", ...
2019-07-15T10:15:20
huggingface/transformers
0642963ba13f2dae0596fe489415569e1d91fbda
3c2517727ce28a30f5044e01663ee204deb1cdbe
batched and grouped experts implementations (#42697) * meo implementation * support more MoEs * tests * add comments * add grouped_mm support * typing act_fn and adding stride 16 note * style * fix dbrx config * fix config test * add licence and better stride conditions * comment * no need to pad tesnors to...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -74,6 +74,8 @@\n title: Overview\n - local: attention_interface\n title: Attention backends\n+ - local: experts_interface\n+ title: Experts backends\n - local: continuous_batching\n title: Continuous batching\n - loc...
2026-01-05T09:53:39
golang/go
86371b0360302b68c29f5eb39b02b82a52e0e341
29c1355326c372ddb873b7d62d33140deda1681c
cmd/asm,cmd/compile: generate preferred nop on PPC64 The preferred form of nop is ori 0,0,0. What was being generated was or 0,0,0. Fix a quirk in the assembler which effectively treats OR $0,Rx,Ry as OR R0,Rx,Ry, and update the compiler to generate the preferred form. Change-Id: I5ac4bf0258cff05b9eba516a767daebfc9e...
[ { "path": "src/cmd/compile/internal/ppc64/ggen.go", "patch": "@@ -46,10 +46,9 @@ func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, _ *uint32) *obj.Prog\n }\n \n func ginsnop(pp *objw.Progs) *obj.Prog {\n+\t// Generate the preferred hardware nop: ori 0,0,0\n \tp := pp.Prog(ppc64.AOR)\n-\tp.From.Typ...
2022-03-01T22:30:46
vercel/next.js
525ecf41580127cdf3646594b5acac081e50faf5
e05c8c2d7e17d0a801ebdd927c62deab28e6ae41
Ensure `edge` runtime Pages API/App Route handlers `AbortSignal` aborts on client disconnect (#51727) ### What? This ensures the `request.signal` `AbortSignal` that every Pages API and App Route handler receives aborts when the client disconnects. ### Why? Now that we [support cancelling](https://github.com/vercel/...
[ { "path": "packages/next/src/server/next-server.ts", "patch": "@@ -110,6 +110,7 @@ import { filterReqHeaders } from './lib/server-ipc/utils'\n import { createRequestResponseMocks } from './lib/mock-request'\n import chalk from 'next/dist/compiled/chalk'\n import { NEXT_RSC_UNION_QUERY } from '../client/comp...
2023-06-28T16:50:45
huggingface/transformers
3c2517727ce28a30f5044e01663ee204deb1cdbe
a7f29523361b2cc12e51c1f5133d95f122f6f45c
Make projection LayerNorm configurable in LFM2-VL (#43087) * Make projection LayerNorm configurable * CI fix
[ { "path": "src/transformers/models/lfm2_vl/configuration_lfm2_vl.py", "patch": "@@ -46,6 +46,8 @@ class Lfm2VlConfig(PreTrainedConfig):\n The hidden size of the multimodal projector.\n projector_bias (`bool`, *optional*, defaults to `True`):\n Whether to use bias in the multi...
2026-01-05T05:06:49
nodejs/node
7e543bb2e4711ab2c5a14d49e4465ff1fd75f232
440a344f68656c8056f9a1195a892fa425d761ec
inspector: do not change async call stack depth if the worker is done Fixes: https://github.com/nodejs/node/issues/28528 PR-URL: https://github.com/nodejs/node/pull/28613 Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/inspector_agent.cc", "patch": "@@ -483,6 +483,11 @@ class NodeInspectorClient : public V8InspectorClient {\n }\n \n void maxAsyncCallStackDepthChanged(int depth) override {\n+ if (waiting_for_sessions_disconnect_) {\n+ // V8 isolate is mostly done and is only letting Inspector pro...
2019-07-06T01:01:56
electron/electron
5787bb022680f966d80fe4a28bbba584f854d3c5
3cc2dd216ff845c03e52e16c18c4508e7b2ba757
:memo: Fix code style issue * Match equality operators for consistent that `==`, `!=` by `===`, `!==`. * Match string expression notation `"` by `'`. [ci skip]
[ { "path": "docs/api/app.md", "patch": "@@ -176,7 +176,7 @@ certificate you should prevent the default behavior with\n \n ```javascript\n app.on('certificate-error', function(event, webContents, url, error, certificate, callback) {\n- if (url == \"https://github.com\") {\n+ if (url === 'https://github.com'...
2016-05-10T09:42:11
golang/go
29c1355326c372ddb873b7d62d33140deda1681c
d82c294da778a789099f3b52cd9c34ef0d798465
crypto/sha256: adapt ppc64le asm to work on ppc64 Workaround the minor endian differences, and avoid needing to stack a frame as extra VSRs can be used in a similar capacity. The microbenchmarks show no significant differences on ppc64le/p9. ppc64/linux performance difference on a POWER9: name old time/op ...
[ { "path": "src/crypto/sha256/sha256block_decl.go", "patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build 386 || amd64 || s390x || ppc64le\n+//go:build 386 || amd64 || s390x || ppc64le || ppc64\n \n package sha256...
2022-01-25T19:52:47
nodejs/node
0796f0e268f4eef6c13280c9df679131db5d6b86
c3caf21bd35359fe8b0470a65775ade5979890f7
Revert "http: fix test where aborted should not be emitted" This reverts commit 461bf36d701f3f7c669e2d916d5a5bc17fc447bf. PR-URL: https://github.com/nodejs/node/pull/28699 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -541,8 +541,7 @@ added: v0.3.8\n -->\n \n Marks the request as aborting. Calling this will cause remaining data\n-in the response to be dropped and the socket to be destroyed. After\n-calling this method no further errors will be emitted.\n+in the response to be dro...
2019-07-15T14:57:40
huggingface/transformers
a7f29523361b2cc12e51c1f5133d95f122f6f45c
7bbfc19a4583d951eaec058cf467e81e6c97ee32
GLM-ASR Support (#42875) * draft only * update * rename * format config * update config * update shape * update * testing * new config * Update modeling_glmasr.py * draft change * update encoder config * darft PR with no embed * revert * revert * Update modular_glmasr.py * update * format * for doc ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1053,6 +1053,8 @@\n title: Gemma3n\n - local: model_doc/git\n title: GIT\n+ - local: model_doc/glmasr\n+ title: GLM-ASR\n - local: model_doc/glm46v\n title: Glm46V\n - local: model_doc/glm4v", "a...
2025-12-24T15:30:26
vercel/next.js
e05c8c2d7e17d0a801ebdd927c62deab28e6ae41
f2dc6c87e9b0e1e7af662f1ffab852ac7295c119
Update `swc_core` to `v0.78.24` (#51857) ### What? Update SWC crates ### Why? There were many fixes. ### How? Closes WEB-1174 Turbopack counterpart: https://github.com/vercel/turbo/pull/5288
[ { "path": "Cargo.lock", "patch": "@@ -39,6 +39,18 @@ dependencies = [\n \"version_check\",\n ]\n \n+[[package]]\n+name = \"ahash\"\n+version = \"0.8.3\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f\"\n+d...
2023-06-28T16:04:35
golang/go
d82c294da778a789099f3b52cd9c34ef0d798465
da6f9a54edb85365bb345b057cdc26e2527401c8
runtime: fix 32B backward copy on ppc64x The test to enter the 32b copy loop always fails, and execution falls back to a single 8B/iteration copy loop for copies of more than 7 bytes. Likewise, the 32B loop has SRC/DST args mixed, and fails to truncate DWORDS after completing. Fix these, and unroll the 8B/iteration l...
[ { "path": "src/runtime/memmove_ppc64x.s", "patch": "@@ -139,36 +139,38 @@ backwardtailloop:\n \tBC\t16, 0, backwardtailloop // bndz\n \n nobackwardtail:\n-\tBC\t4, 5, LR\t\t// ble CR1 lr\n+\tBC\t4, 5, LR\t\t// blelr cr1, return if DWORDS == 0\n+\tSRDCC\t$2,DWORDS,QWORDS\t// Compute number of 32B blocks and ...
2022-02-08T15:09:36
huggingface/transformers
7bbfc19a4583d951eaec058cf467e81e6c97ee32
d6a6c82680cba9c51decdacac6dd6315ea4a766a
Fix audio pipelines (#42920) * fix * Update src/transformers/pipelines/__init__.py --------- Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
[ { "path": "src/transformers/models/wav2vec2_bert/convert_wav2vec2_seamless_checkpoint.py", "patch": "@@ -150,7 +150,6 @@ def convert_wav2vec2_bert_checkpoint(\n \n # save feature extractor\n fe = SeamlessM4TFeatureExtractor(padding_value=1)\n- fe._processor_class = \"Wav2Vec2BertProcessor\"\n ...
2025-12-24T08:59:16
nodejs/node
e984917aaf161d810ff1acaf2f4b5e4e0b345315
11c52d9e9f4afa6659fd93021a8401c360e8870d
deps: cherry-pick 13a04aba from V8 upstream Original commit message: fix: move V8_EXPORT_PRIVATE marks to prevent unresolvable references This change fixes missing symbol errors in the Windows 10 on ARM build of Node.js. When a whole class is marked for export, all of its members are marked as well. This c...
[ { "path": "deps/v8/src/arm64/decoder-arm64.h", "patch": "@@ -96,7 +96,7 @@ class V8_EXPORT_PRIVATE DecoderVisitor {\n };\n \n // A visitor that dispatches to a list of visitors.\n-class V8_EXPORT_PRIVATE DispatchingDecoderVisitor : public DecoderVisitor {\n+class DispatchingDecoderVisitor : public DecoderVi...
2019-07-04T00:57:08
electron/electron
8e48fde5ac975303622d25bba131ac374f0f251e
3014e61792168492d481cace524cf74829f5529d
Docs:fix a minor typo
[ { "path": "docs-translations/zh-CN/api/process.md", "patch": "@@ -39,7 +39,7 @@ process.once('loaded', function() {\n \n ### `process.hang()`\n \n-使当前进程的主线成挂起.\n+使当前进程的主线程挂起.\n \n ### `process.setFdLimit(maxDescriptors)` _OS X_ _Linux_\n ", "additions": 1, "deletions": 1, "language": "Markdown" ...
2016-05-10T08:53:14
vercel/next.js
f2dc6c87e9b0e1e7af662f1ffab852ac7295c119
f1a4f7ad7d2f77bfa189fe66665e999f4b41d6d0
error recovery during turbopack hydration (#51882) ### What? Makes sure the next.js hydration code can run and that we can open the error overlay when there's an error in the entry page Fixes WEB-1168
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/next-hydrate.tsx", "patch": "@@ -10,9 +10,6 @@ import { formatWithValidation } from 'next/dist/shared/lib/router/utils/format-u\n import { initializeHMR } from '../dev/client'\n import { subscribeToUpdate } from '@vercel/turbopack-ecmascript-runtime...
2023-06-28T14:50:04
golang/go
eeb9f095dc13a6beed41db0e734b6ae1e97f15d1
2e9facbdd44883221fc90b8057d0443d1a8109e9
testing: include ERROR_SHARING_VIOLATION in Windows cleanup retries Fixes #51442 Updates #50051 Change-Id: I1bfbc08c907077467fd50febbec6299a9b73af41 Reviewed-on: https://go-review.googlesource.com/c/go/+/388916 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher ...
[ { "path": "src/testing/testing.go", "patch": "@@ -1122,7 +1122,7 @@ func removeAll(path string) error {\n \t)\n \tfor {\n \t\terr := os.RemoveAll(path)\n-\t\tif !isWindowsAccessDenied(err) {\n+\t\tif !isWindowsRetryable(err) {\n \t\t\treturn err\n \t\t}\n \t\tif start.IsZero() {", "additions": 1, "d...
2022-03-02T21:36:27
rust-lang/rust
148a220e38f0b2ba4ec8014d0c1e83ca6d52d47e
0c4fa2690de945f062668acfc36b3f8cfbd013e2
remote-test-client: Exit code `128 + <signal-number>` instead of `3` If the remote process is terminated by a signal, make `remote-test-client` exit with the code `128 + <signal-number>` instead of always `3`. This follows common practice among tools such as bash [^1]: > When a command terminates on a fatal signal wh...
[ { "path": "src/tools/remote-test-client/src/main.rs", "patch": "@@ -335,7 +335,9 @@ fn run(support_lib_count: usize, exe: String, all_args: Vec<String>) {\n std::process::exit(code);\n } else {\n println!(\"died due to signal {}\", code);\n- std::process::exit(3);\n+ // Beh...
2025-07-04T11:10:34
huggingface/transformers
d6a6c82680cba9c51decdacac6dd6315ea4a766a
315dcbe45cee1489a32fc228a80502b0a150936c
Move missing weights and non-persistent buffers to correct device earlier (#43021) * move to correct device earlier * fix typo * simplify
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -31,7 +31,7 @@\n \n import torch\n \n-from .integrations.accelerate import offload_weight\n+from .integrations.accelerate import get_device, offload_weight\n from .integrations.tensor_parallel import ALL_PARALLEL_STYLES\n from .utils import is...
2025-12-23T17:18:42
electron/electron
cd3d154cc335028b44de6563ab01da779ffa5db8
3014e61792168492d481cace524cf74829f5529d
:memo: Small fixes [ci skip]
[ { "path": "docs/api/chrome-command-line-switches.md", "patch": "@@ -109,7 +109,7 @@ Enables net log events to be saved and writes them to `path`.\n \n ## --ssl-version-fallback-min=`version`\n \n-Sets the minimum SSL/TLS version (\"tls1\", \"tls1.1\" or \"tls1.2\") that TLS\n+Sets the minimum SSL/TLS versio...
2016-05-10T08:35:12
nodejs/node
461bf36d701f3f7c669e2d916d5a5bc17fc447bf
2550ddb04909f19068e947a18681e6c675346e42
http: fix test where aborted should not be emitted PR-URL: https://github.com/nodejs/node/pull/20077 Fixes: https://github.com/nodejs/node/issues/20107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -541,7 +541,8 @@ added: v0.3.8\n -->\n \n Marks the request as aborting. Calling this will cause remaining data\n-in the response to be dropped and the socket to be destroyed.\n+in the response to be dropped and the socket to be destroyed. After\n+calling this metho...
2019-06-07T12:20:43
vercel/next.js
f1a4f7ad7d2f77bfa189fe66665e999f4b41d6d0
e7a692537cb798402990064ab4bbbc41b689804a
fix turbopack mdx import map (#51881) I accidentally broke this with #49818
[ { "path": "packages/next-swc/crates/next-core/src/next_import_map.rs", "patch": "@@ -33,6 +33,7 @@ use crate::{\n next_server::context::ServerContextType,\n };\n \n+// Make sure to not add any external requests here.\n /// Computes the Next-specific client import map.\n #[turbo_tasks::function]\n pub as...
2023-06-28T14:19:33
rust-lang/rust
0ad96c1e1f12a21f4cb734acd76d94a27066700e
d79b669b09909e1280af940f7b2739d018e14327
Fix elided lifetimes in rustdoc
[ { "path": "compiler/rustc_borrowck/src/diagnostics/region_name.rs", "patch": "@@ -289,7 +289,7 @@ impl<'tcx> MirBorrowckCtxt<'_, '_, 'tcx> {\n \n debug!(\"give_region_a_name: error_region = {:?}\", error_region);\n match error_region.kind() {\n- ty::ReEarlyParam(ebr) => ebr.has_na...
2025-06-25T22:32:23
huggingface/transformers
315dcbe45cee1489a32fc228a80502b0a150936c
dc06f2dd2e3b7a4ce3f49392ac405307a9634355
Do not use accelerate hooks if the device_map has only 1 device (#43019) * unique device * comment * fix * simplify and add mismatched * style
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3963,7 +3963,7 @@ def from_pretrained(\n weight_mapping=weight_conversions,\n )\n \n- model.eval() # Set model in evaluation mode to deactivate DropOut modules by default\n+ model.eval() # Set model in evaluati...
2025-12-23T12:21:32
golang/go
301fd8ac8b6cd93708ad536eb054e1b081982a9b
d3672054fb58d5eaa241f15fa9d7fb9d61e9ac05
net: send EDNS(0) packet length in DNS query Advertise to DNS resolvers that we are willing and able to accept up to 1232 bytes in a DNS packet. The value 1232 was chosen based on https://dnsflagday.net/2020/. For #6464 For #21160 For #44135 For #51127 Fixes #51153 Change-Id: If9182d5210bfe047cf0a4d46163effc6812ab67...
[ { "path": "src/net/dnsclient_unix.go", "patch": "@@ -60,6 +60,19 @@ func newRequest(q dnsmessage.Question) (id uint16, udpReq, tcpReq []byte, err er\n \tif err := b.Question(q); err != nil {\n \t\treturn 0, nil, nil, err\n \t}\n+\n+\t// Accept packets up to maxDNSPacketSize. RFC 6891.\n+\tif err := b.Start...
2022-02-15T21:46:56
electron/electron
ea07d4c6c89d8d460e76b2d2ab9b0ebc51f9a432
0df2d882ea2286e6335f206b7002037fce66c4a5
Leak Wrappable's template Since it is declared as static variable it will be released automatically when process exits, which causes crashes in renderer process because the template will then be released later than V8 is closed. This commit simply leaks the template so the crash won't happen, this leak should be fine...
[ { "path": "native_mate/wrappable.h", "patch": "@@ -77,15 +77,15 @@ class Wrappable : public WrappableBase {\n // Init the class with T::BuildPrototype.\n void Init(v8::Isolate* isolate) {\n // Fill the object template.\n- if (templ_.IsEmpty()) {\n+ if (!templ_) {\n v8::Local<v8::ObjectTe...
2016-05-10T07:07:04
huggingface/transformers
dc06f2dd2e3b7a4ce3f49392ac405307a9634355
50ddcfd2b03dfd4ff03eacb1266d1439affecf53
Ensure CI runs `check_modeling_structure` and fixes for `make fixup` (#43002) * make fixup happy * Empty deprecated model list. * Add check_modeling_structure to CI
[ { "path": ".circleci/config.yml", "patch": "@@ -183,6 +183,7 @@ jobs:\n - run: python utils/check_modular_conversion.py\n - run: python utils/check_dummies.py\n - run: python utils/check_repo.py\n+ - run: python utils/check_modeling_structure.py\n -...
2025-12-23T10:15:10
vercel/next.js
5b883bb5d1de5a2d47d419dd0019e158b5f6896e
5b5ea47c54ba0440e2154b1366d71938df40a613
performance: enable minification for the server bundles (#51831) This PR makes the server code be minified. ## Why This will improve performance of the server code because of the lesser size, lesser time to parse and lesser code via tree sharking. Cons: this should lead to increased build times, so a `disab...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1766,7 +1766,11 @@ export default async function getBaseWebpackConfig(\n runtimeChunk: isClient\n ? { name: CLIENT_STATIC_FILES_RUNTIME_WEBPACK }\n : undefined,\n- minimize: !dev && (isClient || isEdgeServer),\n+...
2023-06-28T07:08:17
rust-lang/rust
d79b669b09909e1280af940f7b2739d018e14327
74570e526e6816b04c479a34dc1f2116e121e798
Fix pretty printing of placeholder types
[ { "path": "compiler/rustc_infer/src/infer/region_constraints/mod.rs", "patch": "@@ -655,7 +655,7 @@ impl<'tcx> fmt::Display for GenericKind<'tcx> {\n fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n match *self {\n GenericKind::Param(ref p) => write!(f, \"{p}\"),\n- ...
2025-06-25T17:07:18
nodejs/node
056b0bd6380dc7588123cc27104f6d7dfb652a26
88bac02beeef603a756486a484a5c01446672a3a
src: add missing option parser template for the DebugOptionsParser This allows embedders to run `node::options_parser::Parse` for a `node::DebugOptions`. PR-URL: https://github.com/nodejs/node/pull/28543 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Euge...
[ { "path": "src/node_options.cc", "patch": "@@ -226,6 +226,17 @@ class PerProcessOptionsParser : public OptionsParser<PerProcessOptions> {\n #if HAVE_INSPECTOR\n const DebugOptionsParser _dop_instance{};\n const EnvironmentOptionsParser _eop_instance{_dop_instance};\n+\n+// This Parse is not dead code. It is...
2019-07-04T22:28:22
golang/go
d3672054fb58d5eaa241f15fa9d7fb9d61e9ac05
bcb89fc17a0ff8b588a8d413fa120cc89e053561
cmd/compile: don't include instantiating types in type hash This CL is a bit overkill, but it is pretty safe for 1.18. We'll want to revisit for 1.19 so we can avoid the hash collisions between types, e.g. G[int] and G[float64], that will cause some slowdowns (but not incorrect behavior). Thanks Cherry for the simple ...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1428,7 +1428,7 @@ func WriteBasicTypes() {\n \n type typeAndStr struct {\n \tt *types.Type\n-\tshort string // \"short\" here means NameString\n+\tshort string // \"short\" here means TypeSymName\n \tregular string\n }\n ",...
2022-03-02T23:08:23
huggingface/transformers
50ddcfd2b03dfd4ff03eacb1266d1439affecf53
ccc7d90bcb4a94cd0888925c6abac941f3b8151d
Torch distrib smallfix (#43008) * guard counting of bytes * add small test * quality * simplify a bit
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4556,7 +4556,7 @@ def get_total_byte_count(\n \n total_byte_count = defaultdict(lambda: 0)\n tied_param_names = model.all_tied_weights_keys.keys()\n- tp_plan = model._tp_plan\n+ tp_plan = model._tp_plan if torch.distributed.is_avail...
2025-12-23T09:35:20
rust-lang/rust
e779ea0ea7b39c235baac816772829111e61511b
4b506ca0e1821e71fd8a6c7434dc02b5bd432a34
fix: Avoid .unwrap() when running the discover command Previously, the following configuration in settings.json: "rust-analyzer.workspace.discoverConfig": { "command": [ "oops", "develop-json", "{arg}" ], "progressLabel": "rust-analyzer", "filesT...
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/main_loop.rs", "patch": "@@ -783,9 +783,14 @@ impl GlobalState {\n DiscoverProjectParam::Path(it) => DiscoverArgument::Path(it),\n };\n \n- let handle =\n- ...
2025-06-30T13:46:53
vercel/next.js
702d3d291c47a860bb57132a996034d11765547f
2c856cb256c8cbf271d6fb393260a04469200624
Add retries and clear message to font fetching (#51890) Improve the problems mentioned in #45080. - Adding error retries (3 attempts) to font fetching. When you have a slow network, it might take >3s to load. - Improve the error message to tell you that you might have unstable network connection. - Do not cause build...
[ { "path": "packages/font/src/google/fetch-css-from-google-fonts.ts", "patch": "@@ -3,6 +3,22 @@ import fetch from 'next/dist/compiled/node-fetch'\n import { nextFontError } from '../next-font-error'\n import { getProxyAgent } from './get-proxy-agent'\n \n+async function retry<T>(fn: () => Promise<T>, attemp...
2023-06-27T23:57:06
nodejs/node
88bac02beeef603a756486a484a5c01446672a3a
d0e380172a0ffe862fe9ff28aad0532da536952b
build: remove broken intel vtune support Support for VTune profiling was added in commit a881b53 from November 2015 but has since bitrotted. Remove it. Fixes: https://github.com/nodejs/node/issues/28310 Refs: https://github.com/nodejs/node/pull/3785 PR-URL: https://github.com/nodejs/node/pull/28522 Reviewed-By: Coli...
[ { "path": "configure.py", "patch": "@@ -131,13 +131,6 @@\n help=\"Generate an executable with libgcc and libstdc++ libraries. This \"\n \"will not work on OSX when using the default compilation environment\")\n \n-parser.add_option(\"--enable-vtune-profiling\",\n- action=\"store_true\",\n- ...
2019-07-03T15:24:33
golang/go
2cb9e116d39176bd8a93609c63b175ac09eacea9
9eb14f1b0e748c74f6a7da4cd195db860928cfbc
doc/go1.18: warn about possible breakage of 1.18 generic code The Go 1 compatibility guarantee permits us to break code if there is a specification error or a bug. Emphasize that for generics. Change-Id: I8379a14cdab9f63bb747e961ca12d1adecfc2eb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/388454 Trust: Ian...
[ { "path": "doc/go1.18.html", "patch": "@@ -45,6 +45,26 @@ <h3 id=\"generics\">Generics</h3>\n generic code in production.\n </p>\n \n+<p>\n+ While we believe that the new language features are well designed\n+ and clearly specified, it is possible that we have made mistakes.\n+ We want to stress that t...
2022-02-28T18:19:43
electron/electron
566bb1f7086767d1172bf8bfff3b5277e4fdaed6
ab3122ef2a3575ac2d4eabb60f1b58366f70cf95
Turn the exception in protocol.registerStandardSchemes to warning
[ { "path": "lib/browser/api/protocol.js", "patch": "@@ -1,9 +1,10 @@\n-const app = require('electron').app\n+const {app} = require('electron')\n const {createProtocolObject, registerStandardSchemes} = process.atomBinding('protocol')\n \n exports.registerStandardSchemes = function (schemes) {\n if (app.isRe...
2016-05-09T00:49:28
huggingface/transformers
ccc7d90bcb4a94cd0888925c6abac941f3b8151d
347328108aa79959eda0e2eae0695c12f0101046
Prefill-related logic in input preparation for generation (#42088) * add prefill arg in generation * add a slow test * fix copies * can be like this but checking special tokens isn't good * ig this solves the issue with assisted_gen+prefill * update overwritten `prepare_inpits_for_generation` * prefill is actual...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -41,7 +41,9 @@\n class CandidateGenerator:\n \"\"\"Abstract base class for all candidate generators that can be applied during assisted generation.\"\"\"\n \n- def get_candidates(self, input_ids: torch.LongTensor) -> tuple[t...
2025-12-23T07:35:51
nodejs/node
5bed327a34625e7e60ac67970771556093a3d7bf
d0b0230e7dc536a311e0047c127875c17b998468
test: fix pty test hangs on aix Some pty tests persistently hung on the AIX CI buildbots. Fix that by adding a helper script that properly sets up the pty before spawning the script under test. On investigation I discovered that the test runner hung when it tried to close the slave pty's file descriptor, probably due...
[ { "path": "test/pseudo-tty/pseudo-tty.status", "patch": "@@ -1,40 +1,5 @@\n prefix pseudo-tty\n \n-[$system==aix]\n-# https://github.com/nodejs/build/issues/1820#issuecomment-505998851\n-# https://github.com/nodejs/node/pull/28469\n-# https://github.com/nodejs/node/pull/28541\n-console_colors: SKIP\n-consol...
2019-07-08T18:52:37
golang/go
986b04c0f12efa1c57293f147a9e734ec71f0363
a5b8b56d1d05d186999e4abf1e2147b6aa203ec9
encoding/binary: add AppendByteOrder AppendByteOrder specifies new methods for LittleEndian and BigEndian for appending an unsigned integer to a byte slice. The performance of AppendXXX methods are slower than PutXXX methods since the former needs to do a few slice operations, while the latter is essentially a single...
[ { "path": "src/encoding/binary/binary.go", "patch": "@@ -29,7 +29,7 @@ import (\n \t\"sync\"\n )\n \n-// A ByteOrder specifies how to convert byte sequences into\n+// A ByteOrder specifies how to convert byte slices into\n // 16-, 32-, or 64-bit unsigned integers.\n type ByteOrder interface {\n \tUint16([]b...
2022-02-16T00:59:59
huggingface/transformers
9971e410516146a78972cb9034eec1a408a29ede
42512f7956c7cea5810b2981513178553c299407
Do not return a tuple in mistral tokenizer Automapping (#42997) * do not return a tuple * add a test * fix test * improve doc
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -218,11 +218,12 @@\n (\"minimax\", \"GPT2Tokenizer\" if is_tokenizers_available() else None),\n (\n \"ministral3\",\n- (\n- \"MistralCommonBackend\"\n- if is_mistr...
2025-12-22T18:09:44
electron/electron
797b0ddb9a89b0da63fd9fd7ddd765c5f79b9dc2
af0afecb455ec550949c64f3cf56d6cc3069b41b
Fix exception when refreshing specs window
[ { "path": "spec/api-ipc-spec.js", "patch": "@@ -182,6 +182,10 @@ describe('ipc module', function () {\n })\n \n describe('ipc.sendSync', function () {\n+ afterEach(function () {\n+ ipcMain.removeAllListeners('send-sync-message')\n+ })\n+\n it('can be replied by setting event.returnValue',...
2016-05-09T11:08:50
nodejs/node
518ffc125680f0916635d2ed97c076dbff3bd05b
efc39464b0d813f15188d2d9cf14b74bcca61750
zlib: do not coalesce multiple `.flush()` calls This is an approach to address the issue linked below. Previously, when `.write()` and `.flush()` calls to a zlib stream were interleaved synchronously (i.e. without waiting for these operations to finish), multiple flush calls would have been coalesced into a single flu...
[ { "path": "lib/zlib.js", "patch": "@@ -49,6 +49,8 @@ const {\n } = require('buffer');\n const { owner_symbol } = require('internal/async_hooks').symbols;\n \n+const kFlushFlag = Symbol('kFlushFlag');\n+\n const constants = internalBinding('constants').zlib;\n const {\n // Zlib flush levels\n@@ -261,7 +263...
2019-07-03T10:38:05
golang/go
a5b8b56d1d05d186999e4abf1e2147b6aa203ec9
ec4687f337465b719efdeef72b357fa0b05879bb
reflect: allow Value.Bytes on addressable byte arrays Modify Value.Bytes to be callable addressable byte arrays. While related, the behavior of Value.SetBytes was not modified. Fixes #47066 Change-Id: Ic3ba4432353b8da5f33b3188e20034a33b2f6ee8 Reviewed-on: https://go-review.googlesource.com/c/go/+/357331 Trust: Josep...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -3682,15 +3682,40 @@ func TestTagGet(t *testing.T) {\n }\n \n func TestBytes(t *testing.T) {\n-\ttype B []byte\n-\tx := B{1, 2, 3, 4}\n+\tshouldPanic(\"on int Value\", func() { ValueOf(0).Bytes() })\n+\tshouldPanic(\"of non-byte slice\", func() { ValueOf([]s...
2021-09-04T20:02:09
huggingface/transformers
42512f7956c7cea5810b2981513178553c299407
5f1c05cfddcecb8a233e47ba086336ff205135ad
Fix deepspeed + quantization (#43006) * fix * style * fix * fix * no need to this class * rm * Apply suggestions from code review Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/integrations/compressed_tensors.py", "patch": "@@ -1,48 +0,0 @@\n-# coding=utf-8\n-# Copyright 2025 The HuggingFace Inc. team. All rights reserved.\n-#\n-# Licensed under the Apache License, Version 2.0 (the \"License\");\n-# you may not use this file except in compliance with th...
2025-12-22T16:59:51
electron/electron
60d7dd991d580ea57aa3a46902dcf9a30e0b1d7e
897d3769789d5f2fadd4fc7bd1bace9917248772
:memo: Fix small typos [ci skip]
[ { "path": "docs-translations/ko-KR/api/app.md", "patch": "@@ -41,7 +41,7 @@ Electron은 먼저 모든 윈도우의 종료를 시도하고 `will-quit` 이벤\n 않습니다.\n \n **역주:** 이 이벤트는 말 그대로 현재 어플리케이션에서 윈도우만 완전히 종료됬을 때\n-발생하는 이벤트 입니다. 따라서 어플리케이션을 완전히 종료하려면 이 이벤트에서\n+발생하는 이벤트입니다. 따라서 어플리케이션을 완전히 종료하려면 이 이벤트에서\n `app.quit()`를 호출해 주어야 합니다.\n \n ...
2016-05-09T07:23:11
vercel/next.js
a3d3016de866f1ad128bbf13111187eaf999d4b5
73c905dc53300b5c22ee69e9988deadce904e40d
next/node-polyfill-web-streams: fix web stream polyfill for Node v16 (#51901) ### What? Slack thread: https://vercel.slack.com/archives/C050WU03V3N/p1687889719318819 In Node 16, the ReadableStream is not on the global but instead under the `stream` package. We should polyfill the global with that implementation...
[ { "path": "packages/next/src/server/node-polyfill-web-streams.ts", "patch": "@@ -1,11 +1,22 @@\n // Polyfill Web Streams for the Node.js runtime.\n if (!global.ReadableStream) {\n- const { ReadableStream } =\n- require('next/dist/compiled/@edge-runtime/ponyfill') as typeof import('next/dist/compiled/@ed...
2023-06-27T19:46:23
huggingface/transformers
5f1c05cfddcecb8a233e47ba086336ff205135ad
e9f0f8e0cb40be6c3addc88f1282723f6932813c
[loading][TP] Fix device placement at loading-time, and simplify sharding primitives (#43003) * why was it so complicated * device * simplify * fix * imports * simplify quite a bit * fix
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -712,13 +712,13 @@ def _job():\n \n \n def spawn_tp_materialize(\n- thread_pool: ThreadPoolExecutor | None, tensor: torch.Tensor, sharding_method, tensor_idx, dtype=None\n+ thread_pool: ThreadPoolExecutor | None, tensor: torch.Tensor, sh...
2025-12-22T16:55:25
nodejs/node
e12f48ef07e837553ea9c537b08d3e4a44d3fad2
5a6aa66afa189882462761bbb294a8adb86430ae
path: move branch to the correct location This code branch only makes sense when i === length. Otherwise it'll already be handled. PR-URL: https://github.com/nodejs/node/pull/28556 Fixes: https://github.com/nodejs/node/issues/28549 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com...
[ { "path": "lib/path.js", "patch": "@@ -518,11 +518,11 @@ const win32 = {\n lastCommonSep = 3;\n }\n }\n+ if (lastCommonSep === -1)\n+ lastCommonSep = 0;\n }\n \n let out = '';\n- if (lastCommonSep === -1)\n- lastCommonSep = 0;\n // Generate the relativ...
2019-07-05T12:34:25
golang/go
4a13f6f42ded127dc0d097f7d1f89916cbd9e729
f79a983891123f57dd7d37d09a51a287ac6d4cad
compress/gzip: return unexpected EOF for certain truncated streams For cases where RFC 1952 requires a field, the code returns the error io.ErrUnexpectedEOF except in two places: for the FNAME flag or the FCOMMENT flag. These flags expect a null-terminated string and readString may return an EOF if the Reader is trunc...
[ { "path": "src/compress/gzip/gunzip.go", "patch": "@@ -211,14 +211,14 @@ func (z *Reader) readHeader() (hdr Header, err error) {\n \tvar s string\n \tif flg&flagName != 0 {\n \t\tif s, err = z.readString(); err != nil {\n-\t\t\treturn hdr, err\n+\t\t\treturn hdr, noEOF(err)\n \t\t}\n \t\thdr.Name = s\n \t}\...
2022-03-02T01:51:28
electron/electron
ad4450ec884efdae644b0214621d8a14cd4d1ae8
fe5dc5d28edebd4a9b80ea6f49e201ae61fec060
:memo: Small fixes [ci skip]
[ { "path": "docs-translations/ko-KR/api/clipboard.md", "patch": "@@ -7,7 +7,7 @@ const clipboard = require('electron').clipboard;\n clipboard.writeText('Example String');\n ```\n \n-X Window 시스템에선 selection 클립보드도 존재합니다. 이를 사용하려면 인자 뒤에\n+X Window 시스템에선 selection 클립보드도 존재합니다. 이를 사용하려면 인수 뒤에\n `selection` 문자열을 ...
2016-05-09T02:23:46
huggingface/transformers
f7d139c17a252bb7ea1190afe673a6b3bda54f57
64ec2ba1b27b5d97eca22076d2c73ce9c1d04c92
Fix incorrect library name in BitNet integration warning (#42966) * Fix incorrect library name in BitNet integration warning * Fix typos in BitNet integration docstrings * Fix docstring parameter mismatch in BitLinear
[ { "path": "src/transformers/integrations/bitnet.py", "patch": "@@ -89,7 +89,7 @@ def unpack_weights(packed: torch.Tensor, dtype: torch.dtype) -> torch.Tensor:\n \n Explanation of the example:\n ---------------------------\n- Let's take the first value for example 0b10100001, we we will only focus...
2025-12-22T14:46:53
vercel/next.js
72a02f45118b5f0c59ac58db36309226337d1184
a7db4fbec4fe6009a4401d77e8508ec0be8e84d5
test(filetrace): skip failing tests (vercel/turbo#5311) ### Description These tests fails 100% on the windows CI, disabling until we fix it. --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "crates/turbopack/tests/node-file-trace.rs", "patch": "@@ -206,9 +206,10 @@ static ALLOC: turbo_tasks_malloc::TurboMalloc = turbo_tasks_malloc::TurboMalloc;\n )]\n #[cfg_attr(\n not(feature = \"bench_against_node_nft\"),\n- case::ts_package_base(\"integration/ts-package/index.ts\"),\n- c...
2023-06-27T18:14:24
nodejs/node
5a6aa66afa189882462761bbb294a8adb86430ae
c31f7e595af85da8ada5d278e6e96e8537b57435
path: using .relative() should not return a trailing slash Resolving a path against root with `path.relative()` should not include a trailing slash. Fixes: https://github.com/nodejs/node/issues/28549 PR-URL: https://github.com/nodejs/node/pull/28556 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Weijia Wang...
[ { "path": "lib/path.js", "patch": "@@ -1090,11 +1090,16 @@ const posix = {\n // For example: from='/'; to='/foo'\n return to.slice(toStart + i);\n }\n- } else if (fromLen > length &&\n- from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) {\n- // We ...
2019-07-05T11:49:40
golang/go
40e24a942bce7b10e23a7282e673ac8a758ca378
fd2e1e743a86a53a30427cf3606543ecc9bd60bd
regexp: fix typo in the overview Correct the slice expression in the description of Index functions. Change-Id: I97a1b670c4c7e600d858f6550b647f677ef90b41 Reviewed-on: https://go-review.googlesource.com/c/go/+/360058 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Trust: ...
[ { "path": "src/regexp/regexp.go", "patch": "@@ -46,7 +46,7 @@\n // the match of the first parenthesized subexpression, and so on.\n //\n // If 'Index' is present, matches and submatches are identified by byte index\n-// pairs within the input string: result[2*n:2*n+1] identifies the indexes of\n+// pairs wi...
2021-11-01T14:46:47
huggingface/transformers
64ec2ba1b27b5d97eca22076d2c73ce9c1d04c92
817886a6086d0718f35c167ba5885d867ccbda32
Fix DocQA max_answer_len validation error message (#42948) * Fix DocQA max_answer_len validation error message * Revert DocQA sanitize parameters test * Fix QA max_answer_len validation error message * Revert QA sanitize parameters test
[ { "path": "src/transformers/pipelines/document_question_answering.py", "patch": "@@ -201,7 +201,7 @@ def _sanitize_parameters(\n postprocess_params[\"top_k\"] = top_k\n if max_answer_len is not None:\n if max_answer_len < 1:\n- raise ValueError(f\"max_answer_le...
2025-12-22T14:41:01
vercel/next.js
a04a34d3b780a02ca19ba9de8ec462044827e830
a54d08bd508f365337fda5caaf9f63f8ae57e725
Support relative url for openGraph.url and itunes.appArgument (#51877) To enable the ability of leveraging current `pathname` and configured `metadataBase` for other canonical like urls, we support those urls with auto resolving with `pathename` and `metadataBase` like canonical url, then you could just configure rela...
[ { "path": "packages/next/src/lib/metadata/resolve-metadata.test.ts", "patch": "@@ -59,6 +59,27 @@ describe('accumulateMetadata', () => {\n })\n })\n \n+ describe('itunes', () => {\n+ it('should resolve relative url starting with ./ with pathname for itunes.appArgument', async () => {\n+ const...
2023-06-27T17:01:49
nodejs/node
2c5716bd725dcead2b9fe5f66f22fb8cd932cb5a
84ad92d2e72526a847134815b32bec579d363712
src: simplify --debug flags Any use of --debug, --debug=, --debug-brk, or --debug-brk= now triggers an error. That means we can eliminate their aliases with --inspect counterparts and simplify the code. PR-URL: https://github.com/nodejs/node/pull/28615 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: J...
[ { "path": "src/node_options.cc", "patch": "@@ -270,7 +270,9 @@ DebugOptionsParser::DebugOptionsParser() {\n AddAlias(\"--inspect=\", { \"--inspect-port\", \"--inspect\" });\n \n AddOption(\"--debug\", \"\", &DebugOptions::deprecated_debug);\n- AddAlias(\"--debug=\", { \"--inspect-port\", \"--debug\" })...
2019-07-09T21:11:32
golang/go
fd2e1e743a86a53a30427cf3606543ecc9bd60bd
bebe9aa42322f951fc3972c263648297bf9e04d4
unicode/utf8: optimize Valid to parity with ValidString The benchmarks added in this change revealed that ValidString runs ~17% faster than Valid([]byte) on the ASCII prefix of the input. Inspection of the assembly revealed that the code generated for p[8:] required recomputing the slice capacity to handle the cap=0 s...
[ { "path": "src/unicode/utf8/utf8.go", "patch": "@@ -475,6 +475,11 @@ func RuneStart(b byte) bool { return b&0xC0 != 0x80 }\n \n // Valid reports whether p consists entirely of valid UTF-8-encoded runes.\n func Valid(p []byte) bool {\n+\t// This optimization avoids the need to recompute the capacity\n+\t// w...
2022-01-05T14:20:15
huggingface/transformers
817886a6086d0718f35c167ba5885d867ccbda32
f5d9d808b270a91f0d4fd7538f47e8af720c6b43
Fix formatting of trackio model tag (#42973) * Fix formatting of trackio model tag * changes * changes --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -1086,12 +1086,12 @@ def on_push_begin(self, args, state, control, model, **kwargs):\n if badge_markdown not in modelcard.AUTOGENERATED_TRAINER_COMMENT:\n modelcard.AUTOGENERATED_TRAINER_COMMENT += f\"\\n{badge_...
2025-12-22T10:49:00
vercel/next.js
a54d08bd508f365337fda5caaf9f63f8ae57e725
252c5a6908fde6015a72ea349e9e4cfae4175434
Fix windows fill metadata dynamic path (#51885) Fixes #51583 Fixes NEXT-1315
[ { "path": "packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts", "patch": "@@ -14,6 +14,7 @@ import { getImageSize } from '../../../server/image-optimizer'\n import { imageExtMimeTypeMap } from '../../../lib/mime-type'\n import { fileExists } from '../../../lib/file-exists'\n import { WEBP...
2023-06-27T16:16:24
huggingface/transformers
f5d9d808b270a91f0d4fd7538f47e8af720c6b43
0d2dbaa939269465a91579d47761ff69e9601eeb
Hardcode the factor in caching allocator (#42996) * small stuff * fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4590,8 +4590,6 @@ def caching_allocator_warmup(model: PreTrainedModel, expanded_device_map: dict,\n - Loading speed bottleneck is now almost only tensor copy (i.e. changing the dtype) and moving the tensors to the devices.\n However, we c...
2025-12-22T10:42:21
golang/go
9f1239b90a7a48c5dc68a7eee08d8e1fba56db80
6da16b6ad5787a043fc9978d2d009934e3b2e165
math/big: produce valid JSON in Int.MarshalJSON when nil Fixes #50940. Change-Id: Ie2a0c4505ca9d7e448017d9d00a020a6b3996be3 GitHub-Last-Rev: afd8c6b5598f43de25831c700b8d76cd97571426 GitHub-Pull-Request: golang/go#50941 Reviewed-on: https://go-review.googlesource.com/c/go/+/381963 Trust: Cherry Mui <cherryyz@google.co...
[ { "path": "src/math/big/intmarsh.go", "patch": "@@ -67,7 +67,10 @@ func (z *Int) UnmarshalText(text []byte) error {\n \n // MarshalJSON implements the json.Marshaler interface.\n func (x *Int) MarshalJSON() ([]byte, error) {\n-\treturn x.MarshalText()\n+\tif x == nil {\n+\t\treturn []byte(\"null\"), nil\n+\...
2022-02-12T15:19:18
rust-lang/rust
f167f9b49ec85dae8756c21f5183cdb1f43c6d4d
dbad97664ebe2eea14a2ea0d9b0df3d7218753cf
external-repos.md: small fixes
[ { "path": "src/doc/rustc-dev-guide/src/external-repos.md", "patch": "@@ -49,7 +49,7 @@ implement a new tool feature or test, that should happen in one collective rustc\n \n ### Josh subtrees\n \n-The [josh] tool is an alternative to git subtrees, which manages git history in a different way and scales bette...
2025-07-04T12:13:15
nodejs/node
84ad92d2e72526a847134815b32bec579d363712
cf929c04b082f0d1d980772d343f056ea4fd7359
doc: add example on how to create __filename, __dirname for esm PR-URL: https://github.com/nodejs/node/pull/28282 Fixes: https://github.com/nodejs/node/issues/28114 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Michaël Zasso <targos@pro...
[ { "path": "doc/api/esm.md", "patch": "@@ -278,7 +278,16 @@ These CommonJS variables are not available in ES modules.\n \n `require` can be imported into an ES module using [`module.createRequire()`][].\n \n-An equivalent for `__filename` and `__dirname` is [`import.meta.url`][].\n+An equivalent for variable...
2019-06-18T23:21:23
huggingface/transformers
007274db0fdd3a723aeb616ca9cfc51684c76cc4
1b280f998a86a930db3ced9f7108316c671b2d8b
[`Tests`] Fix inputs placement (#42963) * fix * more careful about the items * oops * ...
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -1202,21 +1202,30 @@ def test_all_tensors_are_parameter_or_buffer(self):\n config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()\n \n for model_class in self.all_model_classes:\n- # apparently this mo...
2025-12-22T08:10:48
vercel/next.js
252c5a6908fde6015a72ea349e9e4cfae4175434
7dfa56c7141ae2556af0d7fd837e0af686d8fa55
make stdout blocking on macos (#51883) ### What? Node.js sets stdout to non-blocking by default, rust expects it to be blocking so when logging a lot of data, it can happen that rust receives an error while writing causing it to panic, the error is just that the resource is temporarily unavailable, but rust doesn't ...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -276,6 +276,20 @@ const nextDev: CliCommand = async (argv) => {\n )\n }\n \n+ if (process.platform === 'darwin') {\n+ // rust needs stdout to be blocking, otherwise it will throw an error (on macOS at least) when writing a lot of ...
2023-06-27T14:55:27
electron/electron
9c71c9fa6abaa98e751d31e5d317cbe65e1fe533
0f2ae385ed6379ddabfd6dab4b54b17c0efbac3d
fix docs and spec
[ { "path": "atom/browser/api/atom_api_protocol.cc", "patch": "@@ -52,7 +52,7 @@ void Protocol::RegisterStandardSchemes(\n if (Browser::Get()->is_ready()) {\n isolate()->ThrowException(v8::Exception::Error(mate::StringToV8(\n isolate(),\n- \"\\\"protocol.registerStandardSchemes\\\" should...
2016-05-07T20:01:04
huggingface/transformers
1b280f998a86a930db3ced9f7108316c671b2d8b
9a90500b0b7a3f481c005a1398ab50539146dfbc
fix device dismatch issue for pe_audio_video model parallelism (#42917) * fix device dismatch issue for pe_audio_video model parallelism Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * skip the model parallelism unit test Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-by: Liu, Kaixu...
[ { "path": "src/transformers/models/timm_wrapper/modeling_timm_wrapper.py", "patch": "@@ -86,7 +86,8 @@ class TimmWrapperPreTrainedModel(PreTrainedModel):\n main_input_name = \"pixel_values\"\n input_modalities = (\"image\",)\n config: TimmWrapperConfig\n- _no_split_modules = []\n+ # add WA...
2025-12-22T07:26:32
rust-lang/rust
1a1b52acbf44f55f7458dd38b260479843fe3810
c96a69059ecc618b519da385a6ccd03155aa0237
clippy fix: indentation
[ { "path": "library/core/src/alloc/layout.rs", "patch": "@@ -61,8 +61,8 @@ impl Layout {\n /// * `align` must be a power of two,\n ///\n /// * `size`, when rounded up to the nearest multiple of `align`,\n- /// must not overflow `isize` (i.e., the rounded value must be\n- /// less than...
2025-07-04T11:33:36
nodejs/node
9e340357df763fcaa06376e14857dec468787e99
d38b075dd443df36a8099a9247a400d39c3afa61
doc: relax requirements for setAAD in CCM mode This was fixed in OpenSSL 1.1.1c (openssl/openssl@b48e3be947). The authentication tag can now be specified after setAAD was called, matching the behavior of the other supported AEAD modes (GCM, OCB). Refs: https://github.com/openssl/openssl/pull/7243 PR-URL: https://git...
[ { "path": "doc/api/crypto.md", "patch": "@@ -2837,7 +2837,7 @@ mode must adhere to certain restrictions when using the cipher API:\n bytes (`7 ≤ N ≤ 13`).\n - The length of the plaintext is limited to `2 ** (8 * (15 - N))` bytes.\n - When decrypting, the authentication tag must be set via `setAuthTag()` b...
2019-07-10T14:35:06
vercel/next.js
7dfa56c7141ae2556af0d7fd837e0af686d8fa55
363b2368b3da9e32350c8dfb0498d5f1737cc2d0
Fix missing request body in DELETE and OPTIONS Route Handlers (#51874) It looks like the `content-length` header can't be ignored for the request forwarded to the render worker. See https://github.com/nodejs/node/issues/27880. Closes #48096, closes #49310. Fix NEXT-1194 fix NEXT-1114
[ { "path": "packages/next/src/server/lib/server-ipc/utils.ts", "patch": "@@ -1,6 +1,5 @@\n export const forbiddenHeaders = [\n 'accept-encoding',\n- 'content-length',\n 'keepalive',\n 'content-encoding',\n 'transfer-encoding',", "additions": 0, "deletions": 1, "language": "Unknown" }, ...
2023-06-27T11:44:01
electron/electron
1ff33b7c81f61429c1e0bac5d32458dd3129cae1
b05fa2ed5b9a1cf2a135d6f61e67f13a221fee5e
protocol: fix registerStandardSchemes api
[ { "path": "atom/app/atom_content_client.cc", "patch": "@@ -183,13 +183,6 @@ base::string16 AtomContentClient::GetLocalizedString(int message_id) const {\n void AtomContentClient::AddAdditionalSchemes(\n std::vector<url::SchemeWithType>* standard_schemes,\n std::vector<std::string>* savable_schemes) ...
2016-05-05T18:34:16
rust-lang/rust
b315e9a2ceb341e07983f028347beafaa60cda0a
c96a69059ecc618b519da385a6ccd03155aa0237
clippy fix: rely on autoderef
[ { "path": "library/core/src/borrow.rs", "patch": "@@ -223,20 +223,20 @@ impl<T: ?Sized> BorrowMut<T> for T {\n #[stable(feature = \"rust1\", since = \"1.0.0\")]\n impl<T: ?Sized> Borrow<T> for &T {\n fn borrow(&self) -> &T {\n- &**self\n+ self\n }\n }\n \n #[stable(feature = \"rust1\",...
2025-07-04T11:27:13
huggingface/transformers
9a90500b0b7a3f481c005a1398ab50539146dfbc
70179949f7899e0ca235210f7188c6c9e0add77b
Single config attribute for weight tying (#42815) * merge two attr into one * delete tie encoder decoder * one more * mt5 * skip tests when tying is hardcoded * change test value to True, so we don't have to adjust hardcoded configs * awful decision in t5 to support two variants * delete my comment * not copie...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -125,9 +125,6 @@ class PreTrainedConfig(PushToHubMixin, RotaryEmbeddingConfigMixin):\n Whether cross-attention layers should be added to the model. Note, this option is only relevant for models\n that can be used as de...
2025-12-22T05:25:07
vercel/next.js
1bc2a5009c4fd7e6b649a8d209f491990f673425
69cbe4cbbf4bf6ee265d9e4a74f6b0a1addc5d31
Fix white screen when navigating to pages in certain cases (#51866) ## What? In the first implementation of App Router a year ago I added `return null` for this case which is incorrect as we have to suspend rendering when doing a navigation. The logic in `app-router.tsx` already handles that automatically. The ...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -404,12 +404,6 @@ function InnerLayoutRouter({\n // When the data has not resolved yet `use` will suspend here.\n const [flightData, overrideCanonicalUrl] = use(childNode.data)\n \n- // Handle case when navigating to ...
2023-06-27T10:31:40
nodejs/node
fe1b96d460b8d8c7895e91b2ab57ee1fbc0f0052
1cc5c547d5f83097b7190d8186533bf176df6c9f
src: clang build warning fix fix UB with string concatenations. += operator makes things clearer for compiler's perspective. PR-URL: https://github.com/nodejs/node/pull/28480 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "src/node_metadata.cc", "patch": "@@ -34,8 +34,10 @@ std::string GetOpenSSLVersion() {\n // sample openssl version string format\n // for reference: \"OpenSSL 1.1.0i 14 Aug 2018\"\n char buf[128];\n- const int start = search(OPENSSL_VERSION_TEXT, 0, ' ') + 1;\n- const int end = search(OPEN...
2019-06-30T14:51:25