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
be26c761146db8357653df345e505a624b2153da
a58f37720d389fe921b35daf45afb1c4e2c02274
assert: improve the strict equal messages In case reference (un)equal objects fail in assertion, it should be clear that it is about the reference equality and not about the object properties. This is fixed by improving the message in such cases. Refs: https://github.com/nodejs/node/issues/22763 PR-URL: https://gith...
[ { "path": "lib/internal/assert.js", "patch": "@@ -13,10 +13,13 @@ let white = '';\n const kReadableOperator = {\n deepStrictEqual: 'Expected inputs to be strictly deep-equal:',\n strictEqual: 'Expected inputs to be strictly equal:',\n+ strictEqualObject: 'Expected \"actual\" to be reference-equal to \"...
2018-09-24T11:09:27
electron/electron
2be5393768a3d7e1f548b4ff4e95601284595894
b54caccb227b721350ef438c468f3a7859e50dae
Don't print error to console in default_app
[ { "path": "atom/browser/default_app/main.js", "patch": "@@ -48,7 +48,6 @@ if (option.file && !option.webdriver) {\n } catch(e) {\n if (e.code == 'MODULE_NOT_FOUND') {\n app.focus();\n- console.error(e.stack);\n dialog.showErrorBox('Error opening app', 'The app provided is not a valid ...
2014-11-05T11:08:09
golang/go
20a04f60417b60ab5c1ce2dfcdefce1ff57f5914
1b995f91a526ff165952218848c3173026a8dc53
[dev.typeparams] cmd/compile: delay method value wrapper generation until walk As walk already create the wrapper if necessary. With this change, test/inline.go need to be changed to use errorcheckwithauto, for matching "inlining call to ..." in autogenerated position for method value wrapper, since when we don't gen...
[ { "path": "src/cmd/compile/internal/typecheck/expr.go", "patch": "@@ -542,7 +542,7 @@ func tcDot(n *ir.SelectorExpr, top int) ir.Node {\n \n \tif (n.Op() == ir.ODOTINTER || n.Op() == ir.ODOTMETH) && top&ctxCallee == 0 {\n \t\tn.SetOp(ir.OMETHVALUE)\n-\t\tn.SetType(MethodValueWrapper(n).Type())\n+\t\tn.SetTy...
2021-06-26T18:31:03
vercel/next.js
4911a27eaedd66995f6af528e4fc68c5f1448df4
98b43a07094e6df2bd40cf0e190708751ead3537
Add docs on how to use MDX with app (#44923) Explains how to use the recent changes that allow for rendering MDX as server components. <!-- 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 belo...
[ { "path": "packages/next-mdx/readme.md", "patch": "@@ -4,6 +4,8 @@ Use [MDX](https://github.com/mdx-js/mdx) with [Next.js](https://github.com/verce\n \n ## Installation\n \n+For usage with the `app` directory see the section below.\n+\n ```\n npm install @next/mdx @mdx-js/loader @mdx-js/react\n ```\n@@ -76,...
2023-01-26T20:31:49
nodejs/node
a58f37720d389fe921b35daf45afb1c4e2c02274
ccbedd55a64449f00102f1b17cd6b75944f3a931
test: add dns.onlookupall() to increase coverage Added test that callback should be called when error occurs in dns.lookupall(). PR-URL: https://github.com/nodejs/node/pull/22985 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail...
[ { "path": "test/internet/test-dns-lookup.js", "patch": "@@ -1,7 +1,9 @@\n 'use strict';\n \n require('../common');\n-const dnsPromises = require('dns').promises;\n+const common = require('../common');\n+const dns = require('dns');\n+const dnsPromises = dns.promises;\n const { addresses } = require('../commo...
2018-09-19T16:33:52
electron/electron
b54caccb227b721350ef438c468f3a7859e50dae
c499dfbb2245dff090255bf5880b3ef233a0cb5e
linux: Print error to console when GUI is not ready
[ { "path": "atom/browser/ui/message_box_views.cc", "patch": "@@ -4,6 +4,10 @@\n \n #include \"atom/browser/ui/message_box.h\"\n \n+#if defined(USE_X11)\n+#include <gtk/gtk.h>\n+#endif\n+\n #include \"atom/browser/native_window.h\"\n #include \"base/callback.h\"\n #include \"base/message_loop/message_loop.h\"...
2014-11-05T10:58:00
golang/go
c95464f0ea3f87232b1f3937d1b37da6f335f336
ed01ceaf4838cd67fd802df481769fa9ae9d0440
internal/buildcfg: refactor GOEXPERIMENT parsing code somewhat This CL extracts out a ParseGOEXPERIMENT helper function that parses GOOS/GOARCH/GOEXPERIMENT values and returns active and baseline experiment flag sets and an error value, without affecting any global state. This will be used in the subsequent CL for 'go...
[ { "path": "src/cmd/go/internal/cfg/cfg.go", "patch": "@@ -79,7 +79,7 @@ func defaultContext() build.Context {\n \n \t// The experiments flags are based on GOARCH, so they may\n \t// need to change. TODO: This should be cleaned up.\n-\tbuildcfg.UpdateExperiments(ctxt.GOARCH)\n+\tbuildcfg.UpdateExperiments(c...
2021-06-25T20:24:10
vercel/next.js
c474d53ac14088ef40d03f6f6dc8464bd94905af
dc13baf6e7a3b63c241efd3c223df4d8fbec1983
Handle routing by calling Next.js code (vercel/turbo#3446) This implements routing by using a-yet-to-be-implemented API exposed by Next.js. The API follows something similar to: ```typescript type MakeResolver = (config: NextConfig) => Resolver; type Resolver = (IncomingMessage, ServerResponse) => Promise<void> ...
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -17,6 +17,7 @@ mime = \"0.3.16\"\n once_cell = \"1.13.0\"\n qstring = \"0.7.2\"\n regex = \"1.6.0\"\n+reqwest = { workspace = true, features = [\"stream\"] }\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n turbo-tasks = { path = \"../...
2023-01-26T20:15:48
rust-lang/rust
b73d3b4384e65ab3d0d7af0e2d2f6c07ef1620aa
e04158caed74f678d9562b5505d94e0bfb864a5f
fix issue-14725
[ { "path": "clippy_lints/src/unwrap.rs", "patch": "@@ -224,8 +224,10 @@ impl<'tcx> Delegate<'tcx> for MutationVisitor<'tcx> {\n }\n }\n \n- fn mutate(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {\n- self.is_mutated = true;\n+ fn mutate(&mut self, cat: &PlaceWithHirId<'tcx>, _: Hir...
2025-05-08T17:21:14
nodejs/node
f8d69911bef0ddd150d0f66f7a75b4655cf60b00
884dbe9b7f21414b628da43c7016de742ef39454
errors: use ERR_OUT_OF_RANGE for index errors Remove ERR_INDEX_OUT_OF_RANGE in favor of ERR_OUT_OF_RANGE which is capable of providing more detail. (In one instance, use ERR_BUFFER_OUT_OF_BOUNDS which is more accurate in that one instance.) PR-URL: https://github.com/nodejs/node/pull/22969 Reviewed-By: James M Snell ...
[ { "path": "doc/api/buffer.md", "patch": "@@ -1085,7 +1085,7 @@ console.log(buf1.compare(buf2, 5, 6, 5));\n // Prints: 1\n ```\n \n-[`ERR_INDEX_OUT_OF_RANGE`] is thrown if `targetStart < 0`, `sourceStart < 0`,\n+[`ERR_OUT_OF_RANGE`] is thrown if `targetStart < 0`, `sourceStart < 0`,\n `targetEnd > target.byt...
2018-09-20T03:04:47
electron/electron
c499dfbb2245dff090255bf5880b3ef233a0cb5e
f6ba308ff88ed37d0f3a71484a2166f3d5077e64
mac: Implement dialog.showErrorBox
[ { "path": "atom/browser/ui/message_box_mac.mm", "patch": "@@ -141,4 +141,13 @@ void ShowMessageBox(NativeWindow* parent_window,\n contextInfo:nil];\n }\n \n+void ShowErrorBox(const base::string16& title, const base::string16& content) {\n+ NSAlert* alert = [[NSAlert alloc] init];\n+ ...
2014-11-05T09:27:04
golang/go
942bcc2d4f4e66b617c225aed1ba4d4d42a08ed2
d417b8cf87bd8e0f8362aa1cc9b7dadd221731c9
[dev.typeparams] cmd/compile: fix wrong AST generation in devirtualization CL 330671 moved rewrite method calls to escape analysis. It accidently made the AST invalid, by removing the OCALLMETH set operation during devirtualization pass. Change-Id: I862ffd7f880de55969d7784d9e7b3c38894f6b68 Reviewed-on: https://go-rev...
[ { "path": "src/cmd/compile/internal/devirtualize/devirtualize.go", "patch": "@@ -50,6 +50,7 @@ func Call(call *ir.CallExpr) {\n \t\tif base.Flag.LowerM != 0 {\n \t\t\tbase.WarnfAt(call.Pos(), \"devirtualizing %v to %v\", sel, typ)\n \t\t}\n+\t\tcall.SetOp(ir.OCALLMETH)\n \t\tcall.X = x\n \tcase ir.ODOTINTER...
2021-06-26T06:57:51
vercel/next.js
93c6d585a7e74824263f3ec291e108951fece3ef
07fdc49f497df0e8cbf6f4198e44b699596e042e
Handle routing by calling Next.js code (vercel/turbo#3446) This implements routing by using a-yet-to-be-implemented API exposed by Next.js. The API follows something similar to: ```typescript type MakeResolver = (config: NextConfig) => Resolver; type Resolver = (IncomingMessage, ServerResponse) => Promise<void> ...
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -17,6 +17,7 @@ mime = \"0.3.16\"\n once_cell = \"1.13.0\"\n qstring = \"0.7.2\"\n regex = \"1.6.0\"\n+reqwest = { workspace = true, features = [\"stream\"] }\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n turbo-tasks = { path = \"../turbo-tasks\" }", ...
2023-01-26T20:15:48
nodejs/node
af5d98641dbe7af65cc14d27cef1b0bde751fee9
0ae146cd8ea59d5245840f211a63def0fa9997cb
http2: close fd in doSendFileFD() This commit closes the file descriptor in two code paths that return from doSendFileFD(). PR-URL: https://github.com/nodejs/node/pull/23047 Fixes: https://github.com/nodejs/node/issues/23029 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.col...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -2149,6 +2149,7 @@ function doSendFileFD(session, options, fd, headers, streamOptions, err, stat) {\n isDirectory) {\n const err = isDirectory ?\n new ERR_HTTP2_SEND_FILE() : new ERR_HTTP2_SEND_FILE_NOSEEK();\n+ tryClose(fd);\n ...
2018-09-24T03:44:10
electron/electron
f6ba308ff88ed37d0f3a71484a2166f3d5077e64
10e195a44426960c8eaba07777726def4b3540d6
Use dialog.showErrorBox for showing errors
[ { "path": "atom/browser/default_app/main.js", "patch": "@@ -49,13 +49,7 @@ if (option.file && !option.webdriver) {\n if (e.code == 'MODULE_NOT_FOUND') {\n app.focus();\n console.error(e.stack);\n- dialog.showMessageBox({\n- type: 'warning',\n- buttons: ['OK'],\n- ti...
2014-11-05T08:05:29
golang/go
ed01ceaf4838cd67fd802df481769fa9ae9d0440
d1916e5e843d0341c2d82edf08335ac181c41bd8
runtime/race: use race build tag on syso_test.go All other test files in the runtime/race package have race build tag, except syso_test.go. The test is only relevant if the race detector is supported. So apply the build tag. Fixes #46931. Change-Id: Icdb94214d3821b4ccf61133412ef39b4d7cc7691 Reviewed-on: https://go-r...
[ { "path": "src/runtime/race/syso_test.go", "patch": "@@ -2,14 +2,8 @@\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 !android && !js && !ppc64le\n-// +build !android,!js,!ppc64le\n-\n-// Note: we don't run on Android or ppc64 becau...
2021-06-25T19:58:38
rust-lang/rust
eff20bfd29c22cbb2a21b325b420f2cf3fef3ad0
e964ccafedcf7a505f90f31370d568e649286176
Fix `tests/rustdoc-json` path
[ { "path": "triagebot.toml", "patch": "@@ -1002,7 +1002,7 @@ message = \"This PR changes a file inside `tests/crashes`. If a crash was fixed,\n \n [mentions.\"tests/rustdoc-json\"]\n message = \"\"\"\n-These commits modify `test/rustdoc-json`.\n+These commits modify `tests/rustdoc-json`.\n rustdoc-json is a ...
2025-05-08T16:08:40
vercel/next.js
98b43a07094e6df2bd40cf0e190708751ead3537
82fe0d918f50b2860da1d5d0a0d497c3934d8a59
Update debug logs for app cache (#45291) Cleans up the debug logs a bit to be more usable
[ { "path": "packages/next/src/server/lib/incremental-cache/fetch-cache.ts", "patch": "@@ -74,11 +74,10 @@ export default class FetchCache implements CacheHandler {\n }\n \n const items = await res.json()\n- const item = items[key]\n+ const item = items?.[key]\n \n if (!i...
2023-01-26T19:43:47
huggingface/transformers
78d771c3c21922642fc9546ccb973cc7a182ab34
0f41c41a463ddd447e4248f4b5f9eb6728e8191d
[docs] Format fix (#38414) fix table
[ { "path": "docs/source/en/cache_explanation.md", "patch": "@@ -56,10 +56,10 @@ Attention is calculated independently in each layer of the model, and caching is\n \n Refer to the table below to compare how caching improves efficiency.\n \n-| without caching | with caching | | | |\n-|---|---|---|---|---|\n...
2025-06-03T16:53:23
golang/go
d1916e5e843d0341c2d82edf08335ac181c41bd8
5160896c69a83f14bc54beb04be4c089333a0387
go/types: in TestCheck/issues.src, import regexp/syntax instead of cmd/compile/internal/syntax TestCheck/issues.src was failing after running rm -r $(go env GOROOT)/pkg/*/cmd as the builders do when building binary releases. For users who write programs that depend on go/types, it should be reasonable for end users ...
[ { "path": "src/go/types/testdata/check/issues.src", "patch": "@@ -6,7 +6,7 @@ package issues\n \n import (\n \t\"fmt\"\n-\tsyn \"cmd/compile/internal/syntax\"\n+\tsyn \"regexp/syntax\"\n \tt1 \"text/template\"\n \tt2 \"html/template\"\n )\n@@ -329,10 +329,10 @@ func (... /* ERROR can only use ... with final...
2021-06-24T02:06:50
vercel/next.js
767dccb9c55a6b0679a758ac9600c9c8ec64280c
8b42ea51de116c4e1dc1f92f57dcfade51d49cec
decode magic identifiers in error overlay (vercel/turbo#3433)
[ { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/container/Errors.tsx", "patch": "@@ -345,6 +345,7 @@ export const styles = css`\n margin-bottom: var(--size-gap);\n color: var(--color-error);\n white-space: pre-wrap;\n+ overflow-wrap: break-word;\n }\n \n .errors-body...
2023-01-26T16:50:20
electron/electron
10e195a44426960c8eaba07777726def4b3540d6
490a12d38a77eb0463ba5c00b952abad1bf9d5bb
win: Implement dialog.showErrorBox
[ { "path": "atom/browser/ui/message_box_views.cc", "patch": "@@ -26,6 +26,10 @@\n #include \"ui/views/window/native_frame_view.h\"\n #endif\n \n+#if defined(OS_WIN)\n+#include \"ui/base/win/message_box_win.h\"\n+#endif\n+\n namespace atom {\n \n namespace {\n@@ -350,4 +354,10 @@ void ShowMessageBox(NativeWin...
2014-11-05T08:05:11
huggingface/transformers
0f41c41a463ddd447e4248f4b5f9eb6728e8191d
279000bb7059728166786cd525e35b8152883fdf
Fix hqq issue (#38551) * bc * style
[ { "path": "src/transformers/quantizers/quantizer_hqq.py", "patch": "@@ -135,7 +135,11 @@ def _find_hqq_quantizable_layers(model, layers):\n \n # Append new expected layers based on _ref_keys\n _ref_keys = HQQLinear(\n- linear_layer=None, quant_config=None, compute_dtyp...
2025-06-03T15:58:31
golang/go
d01bc571f7e55c7376f34e86be4e5660887bd30c
37f9a8f69d6299783eac8848d87e27eb563500ac
runtime: make ncgocall a global counter ncgocall was stored per M, runtime.NumCgoCall lost the counter when a M die. Fixes #46789 Change-Id: I85831fbb2713f4c30d1800d07e1f47aa0031970e GitHub-Last-Rev: cbc15fa870de776d3fbf3b62fc9a5e01792e6a26 GitHub-Pull-Request: golang/go#46842 Reviewed-on: https://go-review.googleso...
[ { "path": "src/runtime/cgocall.go", "patch": "@@ -110,6 +110,8 @@ func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr {\n \treturn as.retval\n }\n \n+var ncgocall uint64 // number of cgo calls in total for dead m\n+\n // Call from Go to C.\n //\n // This must be nosplit because it's used for ...
2021-06-22T00:24:05
huggingface/transformers
e8b292e35f331d3c3de85f7e5d3496b0e13d3d6f
8cb96787a6bd87f43ff651b8ac40974c1fe75a7c
Fix `utils/notification_service.py` (#38556) * fix * fix * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/notification_service.py", "patch": "@@ -615,7 +615,10 @@ def payload(self) -> str:\n pattern = r\"<(https://github.com/huggingface/transformers/actions/runs/.+?/job/.+?)\\|(.+?)>\"\n items = re.findall(pattern, line)\n elif...
2025-06-03T13:59:31
electron/electron
490a12d38a77eb0463ba5c00b952abad1bf9d5bb
e004d53d2a67a024239d5ece67d0dbe8d91642d6
Add dialog.showErrorBox API
[ { "path": "atom/browser/api/atom_api_dialog.cc", "patch": "@@ -103,6 +103,7 @@ void Initialize(v8::Handle<v8::Object> exports, v8::Handle<v8::Value> unused,\n v8::Handle<v8::Context> context, void* priv) {\n mate::Dictionary dict(context->GetIsolate(), exports);\n dict.SetMethod(\"showMe...
2014-11-05T08:04:39
vercel/next.js
2df50f29a4cbde9b881425a6d9fc195a58ea4c2c
bab3226eaa318090b51ef60a4fe895509cc9547a
decode magic identifiers in error overlay (vercel/turbo#3433)
[ { "path": "crates/next-core/js/src/overlay/internal/container/Errors.tsx", "patch": "@@ -345,6 +345,7 @@ export const styles = css`\n margin-bottom: var(--size-gap);\n color: var(--color-error);\n white-space: pre-wrap;\n+ overflow-wrap: break-word;\n }\n \n .errors-body > h2[data-severit...
2023-01-26T16:50:20
nodejs/node
d102a85cd9d55342ec6ad46a274d24ae43c85ea5
3ea05883c8dcf69e2fa5ffc73556dda51c16e228
src: simplify `MessagePort` construction code a bit Using `ASSIGN_OR_RETURN_UNWRAP` would return if the created `MessagePort` object had no internal fields. That would be a bug, so switch to a checked conversion instead. PR-URL: https://github.com/nodejs/node/pull/23036 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-...
[ { "path": "src/node_messaging.cc", "patch": "@@ -483,14 +483,14 @@ MessagePort* MessagePort::New(\n Local<Function> ctor;\n if (!GetMessagePortConstructor(env, context).ToLocal(&ctor))\n return nullptr;\n- MessagePort* port = nullptr;\n \n // Construct a new instance, then assign the listener ins...
2018-09-23T17:26:30
golang/go
9fe7c38d3d7cd8a90e33515981dd00e1233563c9
f4198f85d505c21eee3f2686466e72daa7413232
[dev.typeparams] cmd/compile: fix TestUnifiedCompare We need to start the capture walk from expr.Body, not expr, otherwise in quirks mode we'll set all of the captured variables' positions to expr.Body.Rbrace. Change-Id: Ic93f2773ae3756c2ec88dac17b4e9fb5a0771734 Reviewed-on: https://go-review.googlesource.com/c/go/+/...
[ { "path": "src/cmd/compile/internal/noder/writer.go", "patch": "@@ -1281,7 +1281,7 @@ func (w *writer) captureVars(expr *syntax.FuncLit) (closureVars []posObj, locals\n \t\tlocalsIdx: make(map[types2.Object]int),\n \t}\n \n-\tsyntax.Walk(expr, &v)\n+\tsyntax.Walk(expr.Body, &v)\n \n \treturn v.closureVars, ...
2021-06-25T08:49:26
huggingface/transformers
caf708da1be8a0ee2961ab1b9e9e2fdbef908fec
fdf86fb4407a42eeec2733f6566c1ede914bb1cc
[TP] Change command in tests to `python3` (#38555) * Fix: change to `python3` * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/tensor_parallel/test_tensor_parallel.py", "patch": "@@ -77,7 +77,7 @@ def torchrun(self, script: str, is_torchrun: bool = True):\n f\"torchrun --nproc_per_node {self.nproc_per_node} --master_port {get_torch_dist_unique_port()} {tmp.name}\"\n ).split()\n ...
2025-06-03T11:03:33
electron/electron
77724345c4228b58c9b73a489d3c04706f44795a
4c12a4369dbd7dc8612a9a9930bd089f627130e1
Upgrade brightray, fixes #769
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 52b2a6bfac3e5e1527c0dcfba6f5a5d2aa6ad9dd\n+Subproject commit 57022bdad1b22f3d0dbd3c3680adc54bc3f6d384", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-11-04T02:01:17
nodejs/node
3ea05883c8dcf69e2fa5ffc73556dda51c16e228
4e084addcd1d1ff7b69824ab72db316f6a6b2428
src: fix a typo in the comment withing -> within PR-URL: https://github.com/nodejs/node/pull/23078 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ih...
[ { "path": "src/node_options.h", "patch": "@@ -288,7 +288,7 @@ class OptionsParser {\n }\n };\n \n- // Represents a field of type T withing `Options` that can be looked up\n+ // Represents a field of type T within `Options` that can be looked up\n // as a C++ member field.\n template <typename T>...
2018-09-25T11:13:44
golang/go
f4198f85d505c21eee3f2686466e72daa7413232
3f1a517a45d2e443a327e0b28df17698e299ea50
[dev.typeparams] cmd/compile: generate wrappers within unified IR This CL extends unified IR to handle creating wrapper methods. There's relatively little about this code that's actually specific to unified IR, but rewriting this logic allows a few benefits: 1. It decouples unified IR from reflectdata.methodWrapper, ...
[ { "path": "src/cmd/compile/internal/gc/main.go", "patch": "@@ -186,6 +186,7 @@ func Main(archInit func(*ssagen.ArchInfo)) {\n \tbase.AutogeneratedPos = makePos(src.NewFileBase(\"<autogenerated>\", \"<autogenerated>\"), 1, 0)\n \n \ttypecheck.InitUniverse()\n+\ttypecheck.InitRuntime()\n \n \t// Parse and typ...
2021-06-24T04:33:24
huggingface/transformers
fdf86fb4407a42eeec2733f6566c1ede914bb1cc
ca0a682796b249788118b2876a2f49cb6ad33694
[bugfix] [WIP] fix apply_rotary_emb error on Ascend NPU (#38491) [bugfix] fix apply_rotary_emb error on Ascend NPU
[ { "path": "src/transformers/integrations/npu_flash_attention.py", "patch": "@@ -23,6 +23,7 @@\n \n import torch_npu\n from einops import rearrange, repeat\n+ from torch_npu import npu_rotary_mul\n \n \n # FlashAttention2 is supported on Ascend NPU with down-right aligned causal mask by default.\n...
2025-06-03T09:31:49
electron/electron
4c12a4369dbd7dc8612a9a9930bd089f627130e1
a3a21b5b8805df8fa656592e9f278afd6fba9b1d
Fixes Event.prevenDefault() not working, closes #771
[ { "path": "atom/browser/api/event_emitter.cc", "patch": "@@ -20,9 +20,8 @@ namespace {\n v8::Persistent<v8::ObjectTemplate> event_template;\n \n void PreventDefault(mate::Arguments* args) {\n- args->GetThis()->SetHiddenValue(\n- StringToV8(args->isolate(), \"prevent_default\"),\n- v8::True(args->...
2014-11-03T15:24:20
golang/go
3f1a517a45d2e443a327e0b28df17698e299ea50
badb98364b3710933de89bfe579fb8d1f82741c8
[dev.typeparams] cmd/compile: refactor "need to emit" logic for types This CL refactors out a single reflectdata.NeedEmit function that reports whether the current compilation unit needs to emit the runtime type descriptor and method wrappers for a given type. As a minor side bonus, this CL also skips compiling the "...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -927,29 +927,27 @@ func writeType(t *types.Type) *obj.LSym {\n \tif t.IsPtr() && t.Sym() == nil && t.Elem().Sym() != nil {\n \t\ttbase = t.Elem()\n \t}\n+\tif tbase.Kind() == types.TFORW {\n+\t\tbase.Fatalf(\"unresolved defined type: ...
2021-06-24T18:31:56
rust-lang/rust
a07c71d77303330c10069d545652ed299a805a69
f31bf4a94e5670570f19efbcd577a3632129cc68
Fix minor typo in installation.md
[ { "path": "src/doc/rustc-dev-guide/src/autodiff/installation.md", "patch": "@@ -1,6 +1,6 @@\n # Installation\n \n-In the near future, `std::autodiff` should become available in nightly builds for users. As a contribute however, you will still need to build rustc from source. Please be aware that the msvc ta...
2025-05-08T13:36:53
huggingface/transformers
bf68dd9e6e25f63a17aa793b557316c5765521fd
de4cf5a38e9678b9e465867a8a6b88ea727bea52
[tests] expand flex-attn test for vision models (#38434) * expand the test for VLMs * typo * mark models `supports_flex` + expand test for additional kwargs * flex attn for refactored vision models * fix copies * fix * unskip * style * address comments
[ { "path": "examples/modular-transformers/modeling_new_task_model.py", "patch": "@@ -12,24 +12,52 @@\n \n from ...cache_utils import Cache, HybridCache, StaticCache\n from ...generation import GenerationMixin\n+from ...modeling_flash_attention_utils import FlashAttentionKwargs\n+from ...modeling_outputs impo...
2025-06-03T07:40:44
electron/electron
48d54e8d3a2b1e117b62fcf022d89ed4d09887f1
4ebe58df572897fe8d14397d069095445457a5d7
Fix JavaScript errors in webview
[ { "path": "atom/common/lib/init.coffee", "patch": "@@ -1,6 +1,7 @@\n-path = require 'path'\n-timers = require 'timers'\n-Module = require 'module'\n+process = global.process\n+path = require 'path'\n+timers = require 'timers'\n+Module = require 'module'\n \n process.atomBinding = (name) ->\n try", ...
2014-11-03T14:18:03
nodejs/node
4e084addcd1d1ff7b69824ab72db316f6a6b2428
0227635315c3aa1c31e6814325822a1e4306372e
errors: fix ERR_SOCKET_BAD_PORT message The current message says 'Port should be > 0' meaning '0' is an invalid value. You can pass '0' to get a random port from the system. The correct message for this error is 'Port should be >= 0'. PR-URL: https://github.com/nodejs/node/pull/23015 Reviewed-By: Anna Henningsen <ann...
[ { "path": "doc/api/errors.md", "patch": "@@ -1521,7 +1521,7 @@ An invalid (negative) size was passed for either the `recvBufferSize` or\n <a id=\"ERR_SOCKET_BAD_PORT\"></a>\n ### ERR_SOCKET_BAD_PORT\n \n-An API function expecting a port > 0 and < 65536 received an invalid value.\n+An API function expecting ...
2018-09-22T07:28:03
huggingface/transformers
de4cf5a38e9678b9e465867a8a6b88ea727bea52
ccc859620a3b36c822ab93df46e7384141c92aaa
Fix blip2 tests (#38510) * fix 1: not sure * fix 2: _supports_flex_attn = False * fix 3: embedding_output = self.layernorm(query_embeds.to(self.layernorm.weight.dtype)) * fix 4: query_embeds = query_embeds.to(self.layernorm.weight.dtype) * fix 5: text_embeds = text_embeds.to(dtype=torch.float16) * fix 5: question...
[ { "path": "src/transformers/models/blip_2/modeling_blip_2.py", "patch": "@@ -1196,6 +1196,8 @@ def forward(\n query_length if query_length is not None else query_embeds.shape[1] if query_embeds is not None else 0\n )\n \n+ # `Blip2QFormerModel` is kept as fp32\n+ query_embe...
2025-06-02T20:46:35
vercel/next.js
35f68bc69155650f727d5fecd1606dea908fd7a6
8f05c0c07e0796b6e4e8c3610a49e3828d1ee8ef
[edge] improve `fetch` stack traces in edge runtime (#44750) Right now, when doing the following in an Edge API: ```typescript export default async () => { await fetch("https://hello.world"); }; ``` The stack trace generated does not contain the actual line of code that caused the error. This gives a bad developer...
[ { "path": "packages/next/src/server/web/sandbox/context.ts", "patch": "@@ -15,6 +15,7 @@ import { pick } from '../../../lib/pick'\n import { fetchInlineAsset } from './fetch-inline-assets'\n import type { EdgeFunctionDefinition } from '../../../build/webpack/plugins/middleware-plugin'\n import { UnwrapPromi...
2023-01-26T10:16:53
electron/electron
1731d609b7f27f1cbfe01f7407ce2743e35772e2
cf9f249f0769f9c526ae691234a5f81f79b25b6f
Fix double freeing WebContents
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -58,12 +58,9 @@ WebContents::WebContents(const mate::Dictionary& options)\n if (options.Get(\"isGuest\", &is_guest) && is_guest)\n params.guest_delegate = this;\n \n- storage_.reset(content::WebContents::Create(params));\n- storage_...
2014-11-03T11:45:09
nodejs/node
5605cec0db9481d4cc85da1a7869f1d725c4357f
ea3bb9add27cfddf8a8408fefa65f8dc75a5d0bb
process: add `multipleResolves` event This adds the `multipleResolves` event to track promises that resolve more than once or that reject after resolving. It is important to expose this to the user to make sure the application runs as expected. Without such warnings it would be very hard to debug these situations. P...
[ { "path": "doc/api/process.md", "patch": "@@ -97,6 +97,59 @@ the child process.\n The message goes through serialization and parsing. The resulting message might\n not be the same as what is originally sent.\n \n+### Event: 'multipleResolves'\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `type` {string} The e...
2018-08-09T19:06:32
huggingface/transformers
ccc859620a3b36c822ab93df46e7384141c92aaa
1094dd34f73dae1d9a91a6632635934516612490
Fix `Gemma2IntegrationTest` (#38492) * fix * fix * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * skip-ci * update * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -116,6 +116,7 @@\n is_peft_available,\n is_phonemizer_available,\n is_pretty_midi_available,\n+ is_psutil_available,\n is_pyctcdecode_available,\n is_pytesseract_available,\n is_pytest_available,\n@@ -1053,6 +1054,19 @@ d...
2025-06-02T20:45:09
golang/go
2493c727425547db935a1c6e519bc19d01476380
f190a9280ddcaa958610e104a3f6c105fedd3fee
[dev.typeparams] cmd/compile: rewrite method call into method expression during escape analysis CL 330331 extended escape analysis to analyze method expression calls the same as normal method calls. We can now simply desugar method calls into function calls in escape analysis. To do this, two things must be changed: ...
[ { "path": "src/cmd/compile/internal/devirtualize/devirtualize.go", "patch": "@@ -50,7 +50,6 @@ func Call(call *ir.CallExpr) {\n \t\tif base.Flag.LowerM != 0 {\n \t\t\tbase.WarnfAt(call.Pos(), \"devirtualizing %v to %v\", sel, typ)\n \t\t}\n-\t\tcall.SetOp(ir.OCALLMETH)\n \t\tcall.X = x\n \tcase ir.ODOTINTER...
2021-06-24T16:05:09
vercel/next.js
1f628e6c8efce8feeefa16c96ac7fc21c788287b
5b47ad748bc6dab7a0e62b29929e9d7ea24632fc
fix clippy warnings (vercel/turbo#3490)
[ { "path": "crates/turbo-tasks-memory/src/memory_backend.rs", "patch": "@@ -77,7 +77,7 @@ impl MemoryBackend {\n backend_job_id_factory: IdFactory::new(),\n task_cache: DashMap::default(),\n memory_limit,\n- gc_queue: (memory_limit != usize::MAX).then(|| GcQueue...
2023-01-26T09:48:42
electron/electron
45f4a25ac9be46d67bcb95b7ae6f74ae27cc1135
f43c227806196a5ff8bf312af76b32515fdd1ccd
fix for cpplint
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -40,8 +40,7 @@ WebContents::WebContents(content::WebContents* web_contents)\n : content::WebContentsObserver(web_contents),\n guest_instance_id_(-1),\n guest_opaque_(true),\n- auto_size_enabled_(false)\n- {\n+ ...
2014-11-02T15:32:33
huggingface/transformers
1a25fd2f6de6ebde6a957d01d3b7437e917f9cb3
05ad826002f613a294169933510a043804a2a354
Fix amp deprecation issue (#38100) apex amp is deprecated
[ { "path": "src/transformers/trainer.py", "patch": "@@ -151,7 +151,6 @@\n check_torch_load_is_safe,\n find_labels,\n is_accelerate_available,\n- is_apex_available,\n is_apollo_torch_available,\n is_bitsandbytes_available,\n is_datasets_available,\n@@ -191,9 +190,6 @@\n \n DEFAU...
2025-06-02T14:15:41
nodejs/node
b01e617dcc4cf3f38f2b4516545aaf14d352f6e4
ead5c4c054863cbc82bd2c2a8ddb31860f9e51f7
doc: require two approvals to land changes Currently, changes require approval by one Collaborator in most cases. However there are situations where two approvals are required. For example, breaking changes require two approvals from TSC members. And fast-tracking a request requires two approvals. Additionally, altho...
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -112,10 +112,11 @@ comment that explains why the PR does not require a CI run.\n \n ### Code Reviews\n \n-All pull requests must be reviewed and accepted by a Collaborator with\n-sufficient expertise who is able to take full responsibility for the\n-change. In...
2018-08-10T21:49:21
vercel/next.js
d5504cea2c03970216fc9073420d0e6e19d0e95a
f2a295de9d96589b5bbc82b94e5998dcb0263378
Allow metadata related exports in TS plugin (#45282) This PR ensures that `metadata` and `generateMetadata` are valid exports for pages and layouts during the TS plugin check. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see ...
[ { "path": "packages/next/src/server/next-typescript.ts", "patch": "@@ -29,7 +29,12 @@ const DISALLOWED_SERVER_REACT_APIS: string[] = [\n ]\n \n const LEGACY_CONFIG_EXPORT = 'config'\n-const ALLOWED_EXPORTS = ['config', 'generateStaticParams']\n+const ALLOWED_EXPORTS = [\n+ 'config',\n+ 'generateStaticPara...
2023-01-25T22:48:19
golang/go
37f9a8f69d6299783eac8848d87e27eb563500ac
c309c89db5aa15e1dad486c49ed4fd1babd23360
go/types: fix a bug in package qualification logic CL 313035 had a bug, initializing pkgPathMap by walking the imported package being considered rather than check.pkg. Fix this, and enhance our tests to exercise this bug as well as other edge cases. Also fix error assertions in issues.src to not use quotation marks ...
[ { "path": "src/go/types/check_test.go", "patch": "@@ -202,7 +202,7 @@ func asGoVersion(s string) string {\n \treturn \"\"\n }\n \n-func checkFiles(t *testing.T, sizes Sizes, goVersion string, filenames []string, srcs [][]byte, manual bool) {\n+func checkFiles(t *testing.T, sizes Sizes, goVersion string, fil...
2021-06-24T15:01:49
electron/electron
9ed6ad816590b83b11b75e077223d605e8719e53
c0cd8fca80b87e824226eb16acd083cc9d387332
Forbid using protocol module before app is ready, fixes #661
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -148,20 +148,15 @@ void App::SetDesktopName(const std::string& desktop_name) {\n \n mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(\n v8::Isolate* isolate) {\n- Browser* browser = Browser::Get();\n+ auto browser = base::Unretained(B...
2014-10-30T14:27:29
huggingface/transformers
c72ba6944171e2e6dd4f4a93d61b24fa52b718f5
beaed8ce01c2f24e1d520efd96e7091f0f0623e2
Add ColQwen2 to 🤗 transformers (#35778) * feat: add colqwen2 (wip) * tests: fix test_attention_outputs * tests: reduce hidden size to accelerate tests * tests: fix `test_attention_outputs` 🥳 * fix: fix wrong parent class for `ColQwen2ForRetrievalOutput` * fix: minor typing and style changes * chore: run `make ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -937,6 +937,8 @@\n title: CLVP\n - local: model_doc/colpali\n title: ColPali\n+ - local: model_doc/colqwen2\n+ title: ColQwen2\n - local: model_doc/data2vec\n title: Data2Vec\n - local: model_doc/depl...
2025-06-02T12:58:01
nodejs/node
357aeaad6230d73e19994a7237b1ef8cb01c2124
4e09fc33595cf60280077607492f8353f5bfdbcf
doc: fix optional parameters in n-api.md The thread_finalize_data and thread_finalize_cb parameters in napi_create_threadsafe_function are optional. PR-URL: https://github.com/nodejs/node/pull/22998 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/n-api.md", "patch": "@@ -4447,8 +4447,8 @@ by the `async_hooks` API.\n - `[in] max_queue_size`: Maximum size of the queue. `0` for no limit.\n - `[in] initial_thread_count`: The initial number of threads, including the main\n thread, which will be making use of this function.\n-- `[in] th...
2018-09-21T14:17:38
rust-lang/rust
1fbfbb59e9409022ae3b6ddb497ee7b4ca6d725e
e0e2a93cf2e36be513c36176d26f14ddb9f24002
Fix integer_division false negative for NonZero denominators
[ { "path": "clippy_lints/src/operators/integer_division.rs", "patch": "@@ -1,6 +1,8 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n+use clippy_utils::ty::is_type_diagnostic_item;\n use rustc_hir as hir;\n use rustc_lint::LateContext;\n+use rustc_span::symbol::sym;\n \n use super::INTEGER_DIVISION;\...
2025-04-21T16:29:26
golang/go
ddb09af1b85ee9ae278ef338df56c4d91c1acd0d
df00abc61b415eb05d4df9fd2bf3fdda1aaaaba3
[dev.typeparams] cmd/compile: add derived types and subdictionaries to dictionaries This is code in progress to generate the two main other types of entries in dictionaries: - all types in the instantiated function derived from the type arguments (which are currently concrete, but will eventually be gcshapes) ...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -700,6 +700,11 @@ func (n *UnaryExpr) SetOp(op Op) {\n \t}\n }\n \n+// Probably temporary: using Implicit() flag to mark generic function nodes that\n+// are called to make getGfInfo analysis easier in one pre-order pass.\n+func (n *InstExpr) Imp...
2021-06-08T01:13:15
vercel/next.js
f2a295de9d96589b5bbc82b94e5998dcb0263378
e8b208d1702b15df5b403dc211d14df0a75da9b4
Fix typo in TS plugin (#45279)
[ { "path": "packages/next/src/server/next-typescript.ts", "patch": "@@ -305,15 +305,15 @@ export function createTSPlugin(modules: {\n )\n ) {\n if (ts.isVariableDeclarationList(node.declarationList)) {\n- for (const declarartion of node.declarationList.d...
2023-01-25T22:12:08
huggingface/transformers
a75b9ffb5c653efbc8279d563f2275c2fd592575
493cf1554b5c5fb879ae200e21488eb6931be2ba
Update Loss Functions to Accept Tensor num_items_in_batch (#38029) * Update Loss Functions to Accept Tensor num_items_in_batch * Fix device mismatch by moving num_items_in_batch to loss device in fixed_cross_entropy * fix the ruff check * delete the unused if stat * fix the type problem
[ { "path": "src/transformers/loss/loss_utils.py", "patch": "@@ -35,6 +35,11 @@ def fixed_cross_entropy(\n reduction = \"sum\" if num_items_in_batch is not None else \"mean\"\n loss = nn.functional.cross_entropy(source, target, ignore_index=ignore_index, reduction=reduction)\n if reduction == \"su...
2025-06-02T09:31:44
nodejs/node
4e09fc33595cf60280077607492f8353f5bfdbcf
1b274287c91fdd1c86d954b758569e2de7a43018
tools: .eslintrc.js messages "default" typo style "Default" typo pattern for .eslintrc.js messages * all methods and syntax keywords between backticks * written numbers * moving /* eslint-disable max-len */ * Error object backtick PR-URL: https://github.com/nodejs/node/pull/22868 Reviewed-By: Rich Trott <rtrott@gmai...
[ { "path": ".eslintrc.js", "patch": "@@ -123,27 +123,28 @@ module.exports = {\n 'no-proto': 'error',\n 'no-redeclare': 'error',\n 'no-restricted-modules': ['error', 'sys'],\n+ /* eslint-disable max-len */\n 'no-restricted-properties': [\n 'error',\n {\n object: 'assert'...
2018-09-14T23:05:11
rust-lang/rust
d87763dc4f98e2dcec5c819a678242a0142b80d7
f52e1be6954ef3f11907d23a5334b346b7f167dc
Remark test naming exception
[ { "path": "src/doc/rustc-dev-guide/src/tests/best-practices.md", "patch": "@@ -70,6 +70,11 @@ related tests.\n > //!\n > //! Regression test for <https://github.com/rust-lang/rust/issues/123456>.\n > ```\n+>\n+> One exception to this rule is [crashes tests]: there it is canonical that\n+> tests are named on...
2025-05-08T11:03:14
electron/electron
c0cd8fca80b87e824226eb16acd083cc9d387332
25f69df341ca82f2b535dd8773acb4a48bee49c0
Upgrade native_mate, fixes #660
[ { "path": "vendor/native_mate", "patch": "@@ -1 +1 @@\n-Subproject commit b1f7cfa9da1f53158a4992428b40a780c9617632\n+Subproject commit 4a1d11b2bea0907c66bf986ab635e161a1a16385", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-10-30T13:55:03
golang/go
cce621431a9bce86527b25898a01a7a693cc56a8
600a2a4ffb9a273a3a1635b60120ffc768741aa9
cmd/compile: fix wrong type in SSA generation for OSLICE2ARRPTR Fixes #46907 Change-Id: I6a2728d2f2159df583b32f40f6100d3e90c34dd7 Reviewed-on: https://go-review.googlesource.com/c/go/+/330672 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Matthew De...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -3174,7 +3174,7 @@ func (s *state) expr(n ir.Node) *ssa.Value {\n \t\tarrlen := s.constInt(types.Types[types.TINT], n.Type().Elem().NumElem())\n \t\tcap := s.newValue1(ssa.OpSliceLen, types.Types[types.TINT], v)\n \t\ts.boundsCheck(arrlen, cap...
2021-06-24T18:45:32
huggingface/transformers
64d14ef28dac918e13d833d5a76280ae6c998d35
fde1120b6c299055ad0c5304e51acfd4f9a834fc
Fix setting FLASH_ATTENTION_DETERMINISTIC after importing (#37185) transformers.enable_full_determinism enables deterministic flash attention using `FLASH_ATTENTION_DETERMINISTIC` https://github.com/huggingface/transformers/blob/800510c67bfc5cedd0bb7635648a07f39719be43/src/transformers/trainer_utils.py#L79 However, c...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -279,7 +279,7 @@ def fa_peft_integration_check(\n \n \n flash_241 = is_flash_attn_greater_or_equal(\"2.4.1\")\n-deterministic_g = os.environ.get(\"FLASH_ATTENTION_DETERMINISTIC\", \"0\") == \"1\"\n+deterministic_g = None\n \n \n de...
2025-06-02T09:08:20
vercel/next.js
e8b208d1702b15df5b403dc211d14df0a75da9b4
e868f77ede6839aa97099efd303ee5028ffbde3c
TS plugin: warn about `amp` config in app (#45254) Asked by @ijjk in https://github.com/vercel/next.js/pull/45228#discussion_r1086004983: <img width="1171" alt="CleanShot 2023-01-25 at 10 26 15@2x" src="https://user-images.githubusercontent.com/3676859/214526847-6481e33b-060e-4e15-bf1d-4274760068f5.png"> ## ...
[ { "path": "packages/next/src/server/next-typescript.ts", "patch": "@@ -28,6 +28,7 @@ const DISALLOWED_SERVER_REACT_APIS: string[] = [\n 'createFactory',\n ]\n \n+const LEGACY_CONFIG_EXPORT = 'config'\n const ALLOWED_EXPORTS = ['config', 'generateStaticParams']\n \n const ALLOWED_PAGE_PROPS = ['params', 's...
2023-01-25T21:19:19
nodejs/node
1b274287c91fdd1c86d954b758569e2de7a43018
06f6ac179c674bd5d2b26505327f64eaceeb7644
test: add string-decoder fuzz test PR-URL: https://github.com/nodejs/node/pull/22709 Fixes: https://github.com/nodejs/node/issues/22626 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.col...
[ { "path": "test/parallel/test-string-decoder-fuzz.js", "patch": "@@ -0,0 +1,48 @@\n+'use strict';\n+require('../common');\n+const { StringDecoder } = require('string_decoder');\n+const util = require('util');\n+const assert = require('assert');\n+\n+// Tests that, for random sequences of bytes, our StringDe...
2018-09-05T15:32:34
huggingface/transformers
98568d1e25e810c9b1ccf700e5a8eea86db24824
d0fccbf7ef4a856b10c15f5a112f91eb04aaf941
Fix incorrect bbox_embed initialization when decoder_bbox_embed_share=False in GroundingDINO (#38238) * A shallow copy in groundingdino Fixes #37333 * Supprimer une ligne vide dans la classe GroundingDinoForObjectDetection * Translate comments in the GroundingDinoForObjectDetection class from French to English
[ { "path": "src/transformers/models/grounding_dino/modeling_grounding_dino.py", "patch": "@@ -2454,16 +2454,25 @@ def __init__(self, config: GroundingDinoConfig):\n _class_embed = GroundingDinoContrastiveEmbedding(config)\n \n if config.decoder_bbox_embed_share:\n- _bbox_embed = Gr...
2025-05-30T13:02:18
electron/electron
25f69df341ca82f2b535dd8773acb4a48bee49c0
35e5c2172f0972cc94592d82b4ebe43cdca6933e
Throw error when BrowserWindow is created before app is ready
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -5,6 +5,7 @@\n #include \"atom/browser/api/atom_api_window.h\"\n \n #include \"atom/browser/api/atom_api_web_contents.h\"\n+#include \"atom/browser/browser.h\"\n #include \"atom/browser/native_window.h\"\n #include \"atom/common/native_mate_conve...
2014-10-30T13:32:35
golang/go
df00abc61b415eb05d4df9fd2bf3fdda1aaaaba3
b55cc6687d8f805663e9e803ad5293d1b399ce37
[dev.typeparams] cmd/compile: skip escape analysis diagnostics for wrappers This CL changes escape analysis to skip reporting diagnostics (at least for parameter tagging) for generated wrappers. We're inconsistent about when/where wrappers are generated, which made errorcheck tests of escape analysis unnecessarily br...
[ { "path": "src/cmd/compile/internal/escape/escape.go", "patch": "@@ -365,6 +365,11 @@ func (b *batch) paramTag(fn *ir.Func, narg int, f *types.Field) string {\n \t\treturn fmt.Sprintf(\"arg#%d\", narg)\n \t}\n \n+\t// Only report diagnostics for user code;\n+\t// not for wrappers generated around them.\n+\t...
2021-06-24T16:07:52
vercel/next.js
d8492d957310834a83717c70f0821c17c2acbde9
b2e2319141674f3e9f35d90e0a494c24998a821e
nextest.toml update to next-dev-tests and add retries (vercel/turbo#3456) This updates nextest.toml to use the new package name for next-dev tests, `next-dev-tests` and adds up to 2 additional retries (for a total of 3 attempts) since these tests tend to be flakey. **Note**: This requires `cargo-nextest` version ...
[ { "path": ".config/nextest.toml", "patch": "@@ -1,12 +1,7 @@\n-[profile.default]\n+[[profile.default.overrides]]\n+filter = \"package(next-dev-tests)\"\n # Default is 100ms. Extending this addresses false positives in the\n # next-dev integration tests.\n-#\n-# TODO: Move this to [[profile.default.overrides...
2023-01-25T17:24:12
rust-lang/rust
322451c7d22167c1ba4c5f34b5fba07b4ed5a8ee
4c69f8d0a7e079b7aa8ef2c1581f2252c0ef9a2f
Fix postfix snippets duplicating derefs
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/postfix.rs", "patch": "@@ -311,34 +311,35 @@ fn include_references(initial_element: &ast::Expr) -> (ast::Expr, String) {\n \n let mut prefix = String::new();\n \n+ let mut found_ref_or_deref = false;\n+\n while let Some(pare...
2025-05-08T08:43:47
huggingface/transformers
d0fccbf7ef4a856b10c15f5a112f91eb04aaf941
858ce6879a4aa7fa76a7c4e2ac20388e087ace26
Fix convert_internvl_weights_to_hf.py to support local paths (#38264) fix(internvl): add local path support to convert_internvl_weights_to_hf.py
[ { "path": "src/transformers/models/internvl/convert_internvl_weights_to_hf.py", "patch": "@@ -15,7 +15,7 @@\n import gc\n import os\n import re\n-from typing import Optional\n+from typing import Literal, Optional\n \n import torch\n from einops import rearrange\n@@ -124,6 +124,29 @@\n CONTEXT_LENGTH = 8192\...
2025-05-30T12:56:32
nodejs/node
06f6ac179c674bd5d2b26505327f64eaceeb7644
ab6ddc063469efd55c8b9f51a46b0f9d99369914
string_decoder: fix number of replacement chars Fixes: https://github.com/nodejs/node/issues/22626 PR-URL: https://github.com/nodejs/node/pull/22709 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Colli...
[ { "path": "src/string_decoder.cc", "patch": "@@ -71,16 +71,17 @@ MaybeLocal<String> StringDecoder::DecodeData(Isolate* isolate,\n kIncompleteCharactersEnd);\n if (Encoding() == UTF8) {\n // For UTF-8, we need special treatment to align with the V8 decoder:\n- // If an inc...
2018-09-05T12:24:45
electron/electron
b1f7cfa9da1f53158a4992428b40a780c9617632
cc9d22292361e8b74e82a4e6a77407c17b4bfda7
Don't throw error in Constructor
[ { "path": "native_mate/constructor.h", "patch": "@@ -154,8 +154,6 @@ class Constructor {\n Wrappable* object = internal::InvokeFactory(args, factory);\n if (object)\n object->Wrap(isolate, args->GetThis());\n- else\n- args->ThrowError();\n \n MATE_METHOD_RETURN_UNDEFINED();\n }",...
2014-10-30T13:31:53
golang/go
600a2a4ffb9a273a3a1635b60120ffc768741aa9
a9bb38222a06333176cafc5637083e0322277c09
cmd/go: don't try to add replaced versions that won't be selected In Go 1.12, we added a heuristic to 'go mod tidy' to resolve packages by adding replaced-but-not-required modules before falling back to searching for modules from the network. Unfortunately, that heuristic fails when the replaced version is already low...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -428,6 +428,15 @@ func queryImport(ctx context.Context, path string, rs *Requirements) (module.Ver\n \t\t\t\t\tmv = module.ZeroPseudoVersion(\"v0\")\n \t\t\t\t}\n \t\t\t}\n+\t\t\tmg, err := rs.Graph(ctx)\n+\t\t\tif err != nil {\n+\t\t\t\treturn...
2021-06-24T03:29:10
vercel/next.js
2725a379bb130632ef51b2f2eacef7b7ed9783b6
ac0b6d2a719fd6656b555dc398e73c01c71feae4
Attach exports information in SWC transforms (#45261) Fixes NEXT-414 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] I...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -45,6 +45,7 @@ pub fn server_actions<C: Comments>(\n closure_candidates: Default::default(),\n annotations: Default::default(),\n extra_items: Default::default(),\n+ export_actions: Default::default(...
2023-01-25T11:51:59
huggingface/transformers
858ce6879a4aa7fa76a7c4e2ac20388e087ace26
ab5067e7fd53d2b6676158c353d76ead49bc8415
make it go brrrr (#38409) * make it go brrrr * date time * update * fix * up * uppp * up * no number i * udpate * fix * [paligemma] fix processor with suffix (#38365) fix pg processor * [video utils] group and reorder by number of frames (#38374) fix * Fix convert to original state dict for VLMs (#38385)...
[ { "path": "utils/patch_helper.py", "patch": "@@ -35,61 +35,121 @@\n ```\n \"\"\"\n \n-import argparse\n+import json\n+import subprocess\n \n-from git import GitCommandError, Repo\n-from packaging import version\n+import transformers\n \n \n-def get_merge_commit(repo, pr_number, since_tag):\n+LABEL = \"for p...
2025-05-30T09:19:42
nodejs/node
50944f34fea03c52e533f1b1e20ebc0de2365a72
a5b92a7bb4f1b85f0901a2872da93bb4449aa42e
doc: fix heading levels in C++ style guide Adjust heading levels to align with the table of contents. Refs: https://github.com/nodejs/node/pull/23028 PR-URL: https://github.com/nodejs/node/pull/23061 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tob...
[ { "path": "CPP_STYLE_GUIDE.md", "patch": "@@ -32,11 +32,11 @@ these rules:\n \n ## Formatting\n \n-## Left-leaning (C++ style) asterisks for pointer declarations\n+### Left-leaning (C++ style) asterisks for pointer declarations\n \n `char* buffer;` instead of `char *buffer;`\n \n-## C++ style comments\n+###...
2018-09-22T18:37:32
golang/go
cc04ab463dd6c86ad8d22bbadba4d325fffa2131
df99a270b36fe9f0b8bd43ba05e305fa738d2de6
[dev.fuzz] testing: report T.Deadline when running seed values T.Deadline should return the test deadline, set with -timeout. When fuzz targets are run with seed values as unit tests, either with or without -fuzz, T.Deadline should work inside the fuzz function. There is no deadline when fuzzing, even if -fuzztime is...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_deadline.txt", "patch": "@@ -0,0 +1,37 @@\n+# TODO(jayconrod): support shared memory on more platforms.\n+[!darwin] [!linux] [!windows] skip\n+\n+[short] skip\n+\n+# The fuzz function should be able to detect whether -timeout\n+# was set with T.Deadline. Note ...
2021-06-23T23:23:37
vercel/next.js
ac0b6d2a719fd6656b555dc398e73c01c71feae4
6a51edc35d51777a3cc78d773ae0a6a4b25933d1
Update transform exports and tests (#45251) <!-- 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 that you're making: --> ## Bug - [ ] Rel...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -239,7 +239,7 @@ where\n config.clone(),\n path,\n cm,\n- comments,\n+ comments.clo...
2023-01-25T09:44:13
huggingface/transformers
ab5067e7fd53d2b6676158c353d76ead49bc8415
42ef218b58de79415ab45377a1e8de8dca3929f0
fix: handle no scheduler passed by user (#38407)
[ { "path": "src/transformers/generation/continuous_batching.py", "patch": "@@ -1270,9 +1270,14 @@ def _run_generation_loop(self):\n self.model.dtype,\n )\n \n- scheduler = SCHEDULER_MAPPING.get(self.generation_config.scheduler)\n- if scheduler is None:\n- ...
2025-05-30T09:00:44
nodejs/node
4da11f2dc5df6ccdcfefed2bd2cf26221e176185
2790db5e3d74c4f7521cc27a1115228700dd4049
tls: fix DEP0083 after upgrading to OpenSSL 1.1.0 Setting ecdhCurve to false is already unsupported, so the deprecation should already be EOL. The test was skipped ever since we upgraded to OpenSSL 1.1.0. PR-URL: https://github.com/nodejs/node/pull/22953 Refs: https://github.com/nodejs/node/pull/16130 Reviewed-By: Lu...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1648,17 +1648,20 @@ the `REPLServer` itself. Do not use this function.\n ### DEP0083: Disabling ECDH by setting ecdhCurve to false\n <!-- YAML\n changes:\n+ - version: v10.0.0\n+ pr-url: https://github.com/nodejs/node/pull/19794\n+ description: End-o...
2018-09-19T17:40:44
golang/go
a9bb38222a06333176cafc5637083e0322277c09
86d72fa2cba51342ba5617abf43a732f9fd668ca
net: remove hard-coded timeout in dialClosedPort test helper The helper function claims that dialing a closed port should be "nearly instantaneous", but that is empirically not the case on OpenBSD or Windows. The tests do not appear to be particularly sensitive to the exact upper bound otherwise, so let's just remove ...
[ { "path": "src/net/dial_test.go", "patch": "@@ -155,40 +155,27 @@ func slowDialTCP(ctx context.Context, network string, laddr, raddr *TCPAddr) (*T\n \treturn c, err\n }\n \n-func dialClosedPort(t *testing.T) (actual, expected time.Duration) {\n-\t// Estimate the expected time for this platform.\n-\t// On Wi...
2021-06-23T01:48:11
vercel/next.js
b2e2319141674f3e9f35d90e0a494c24998a821e
40b5e41c1f876aeb2bdaa11aa488232c25c09448
fix chunk optimization (vercel/turbo#3450) before it just merged all stuff into one chunk when over the chunk limit
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -810,8 +810,9 @@ impl FileSystemPathVc {\n )\n }\n if let Some((path, ext)) = this.path.rsplit_once('.') {\n- // check if `ext` is a real extension, and not a \".\" in a directory name\n- if !ext.con...
2023-01-25T07:26:49
rust-lang/rust
47cd0e733c3498dab7fc775d04475b23dd0e172c
b2de3f4611c1d4ab8f3c1e703ddaf46c5ad52019
Fix minor typo in serialization.md
[ { "path": "src/doc/rustc-dev-guide/src/serialization.md", "patch": "@@ -169,7 +169,7 @@ The `LazyArray<[T]>` and `LazyTable<I, T>` types provide some functionality over\n than the one being read.\n \n **note**: `LazyValue<T>` does not cache its value after being deserialized the\n-first time. Instead the ...
2025-05-08T08:13:50
huggingface/transformers
42ef218b58de79415ab45377a1e8de8dca3929f0
81cff7ad34dac20708a76caa259420b2407a1c48
[Qwen2.5-Omni] Fix dtype of cos,sin when used with flash attention (#38453) * Fix dtype of cos,sin when used with flash attention * Fix dtype of cos,sin when used with flash attention
[ { "path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py", "patch": "@@ -1034,8 +1034,8 @@ def __init__(self, dim: int, num_heads: int = 16) -> None:\n \n def _apply_rotary_pos_emb_flashatt(self, tensor: torch.Tensor, freqs: torch.Tensor) -> torch.Tensor:\n tensor_ = tensor.float...
2025-05-29T18:24:40
rust-lang/rust
ae25c39f2216ea1f6f062faac71761cd3f1bdd16
7e552b46af72df390ed233b58a7f51650515b2a8
Update documentation of OnceLock::get_or_init. Explicitly point out that if the function panics the init function might be called multiple times.
[ { "path": "library/std/src/sync/once_lock.rs", "patch": "@@ -279,7 +279,7 @@ impl<T> OnceLock<T> {\n ///\n /// Many threads may call `get_or_init` concurrently with different\n /// initializing functions, but it is guaranteed that only one function\n- /// will be executed.\n+ /// will be e...
2025-05-08T07:33:38
golang/go
86d72fa2cba51342ba5617abf43a732f9fd668ca
44a12e5f33bed2189735d8466b38fe455fe9b752
time: handle invalid UTF-8 byte sequences in quote to prevent panic Fixes #46883 Updates CL 267017 Change-Id: I15c307bfb0aaa2877a148d32527681f79df1a650 Reviewed-on: https://go-review.googlesource.com/c/go/+/330289 Reviewed-by: Kevin Burke <kev@inburke.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: I...
[ { "path": "src/time/format.go", "patch": "@@ -751,8 +751,11 @@ type ParseError struct {\n \n // These are borrowed from unicode/utf8 and strconv and replicate behavior in\n // that package, since we can't take a dependency on either.\n-const runeSelf = 0x80\n-const lowerhex = \"0123456789abcdef\"\n+const (\...
2021-06-23T04:59:48
vercel/next.js
5ca8bd943a66a56d2c7d2544043613fa27c769d3
a6dcbfedd03b3f5e96b6f27ceb8f3968832b7ada
Revert "Fix new-error command" (#45221)
[ { "path": "plopfile.js", "patch": "@@ -1,7 +1,6 @@\n module.exports = function (plop) {\n- function getFileName(str) {\n- return str.toLowerCase().replace(/ /g, '-')\n- }\n+ const toFileName = (str) => str.toLowerCase().replace(/ /g, '-')\n+ plop.setHelper('toFileName', toFileName)\n \n plop.setGen...
2023-01-25T00:47:48
huggingface/transformers
81cff7ad34dac20708a76caa259420b2407a1c48
e508965df7edac73caa9fe9935f22a5cad143b1d
Fix `Gemma3IntegrationTest` (#38471) * check * check * check * check * check * check * check * test style bot * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/gemma3/test_modeling_gemma3.py", "patch": "@@ -28,11 +28,14 @@\n is_torch_available,\n )\n from transformers.testing_utils import (\n+ Expectations,\n cleanup,\n+ is_flash_attn_2_available,\n require_flash_attn,\n require_read_token,\n require_torch,\n- r...
2025-05-29T14:51:12
electron/electron
eaa5e136b65927bff0705c8678a4e2223edbe9ef
0839915538b196a99e5fb4ef0b1c59c03093e714
fix broken links
[ { "path": "docs/README.md", "patch": "@@ -16,8 +16,8 @@\n \n Custom DOM elements:\n \n-* [`File` object](app/file-object.md)\n-* [`<webview>` tag](app/web-view-tag.md)\n+* [`File` object](api/file-object.md)\n+* [`<webview>` tag](api/web-view-tag.md)\n \n Modules for browser side:\n ", "additions": 2, ...
2014-10-27T21:43:29
golang/go
44a12e5f33bed2189735d8466b38fe455fe9b752
73496e0df0ba4284f460d1955ddf6bb096957c9f
cmd/go: search breadth-first instead of depth-first for test dependency cycles When we are looking for a dependency cycle involving a specific package, we need to keep track of visited packages in order to avoid repeatedly traversing a cycle that does not involve that package. If we're keeping track of all visited pa...
[ { "path": "src/cmd/go/internal/load/test.go", "patch": "@@ -116,7 +116,7 @@ func TestPackagesAndErrors(ctx context.Context, opts PackageOpts, p *Package, co\n \t\t\t// Can't change that code, because that code is only for loading the\n \t\t\t// non-test copy of a package.\n \t\t\tptestErr = &PackageError{\n...
2021-06-23T19:28:37
huggingface/transformers
e508965df7edac73caa9fe9935f22a5cad143b1d
8e5cefcb1e0a494f08f31f7c5ace375c71a54ab6
Cleanup `BatchFeature` and `BatchEncoding` (#38459) * Use dict comprehension to create dict * Fix type annotation Union[Any] doesn't really make any sense * Remove methods that are already implemented in the `UserDict` parent class
[ { "path": "src/transformers/feature_extraction_utils.py", "patch": "@@ -75,7 +75,7 @@ def __init__(self, data: Optional[dict[str, Any]] = None, tensor_type: Union[Non\n super().__init__(data)\n self.convert_to_tensors(tensor_type=tensor_type)\n \n- def __getitem__(self, item: str) -> Unio...
2025-05-29T14:13:43
vercel/next.js
018208fb15c9b969e173684668cea89588f4c536
43b6e08eea25e25b69513bfb3b4793c5d484913c
Add editor links to RSC build error (#45179)
[ { "path": "packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -154,7 +154,8 @@ export function getRscError(\n \n const error = new SimpleWebpackError(\n fileName,\n- formattedError[0] +\n+ 'ReactServerComponentsError:\\n' +\n+ formattedError[0] +\n ...
2023-01-24T23:13:37
electron/electron
89990ec0375fd066d8c688f678a47e69245e8485
cc9ff77dd2fd1ba13b4b545411e7d66276f34c79
Don't throw exception on closed guest window
[ { "path": "atom/browser/lib/guest-window-manager.coffee", "patch": "@@ -55,14 +55,16 @@ ipc.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_OPEN', (event, args...) ->\n [url, frameName, options] = args\n event.returnValue = createGuest event.sender, url, options\n \n-ipc.on 'ATOM_SHELL_GUEST_WINDOW_MANAG...
2014-10-27T15:59:11
golang/go
73496e0df0ba4284f460d1955ddf6bb096957c9f
222ed1b38af0fb6f83f80062092a267dcbd354df
net: use absDomainName in the Windows lookupPTR test helper The real net code uses subtle heuristics to transform a domain name to its absolute form. Since lookupPTR isn't checking that transformation specifically, it should use the real code instead of using a different heuristic. Fixes #46882 Change-Id: I503357e0f...
[ { "path": "src/net/lookup_windows_test.go", "patch": "@@ -299,7 +299,7 @@ func lookupPTR(name string) (ptr []string, err error) {\n \tptr = make([]string, 0, 10)\n \trx := regexp.MustCompile(`(?m)^Pinging\\s+([a-zA-Z0-9.\\-]+)\\s+\\[.*$`)\n \tfor _, ans := range rx.FindAllStringSubmatch(r, -1) {\n-\t\tptr =...
2021-06-23T01:24:57
huggingface/transformers
8e5cefcb1e0a494f08f31f7c5ace375c71a54ab6
ad9dd3d17bee17aae03588cf193b72dc4d34ab64
Fix TypeError in save_pretrained error handling (fixes #38422) (#38449)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3746,7 +3746,7 @@ def save_pretrained(\n error_names.append(unknown)\n \n if shared_names:\n- error_names.append(set(shared_names))\n+ error_names.extend(shared_names)\n \n ...
2025-05-29T13:58:16
nodejs/node
a0c1326257b9679b056d8611ccdee2d6757b0bf0
c67d3d0c3caf74795871f813dbef2ec3fc196e58
http2: add ping event Add a `Http2Session` event whenever a non-ack `PING` is received. Fixes: https://github.com/nodejs/node/issues/18514 PR-URL: https://github.com/nodejs/node/pull/23009 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ujjwal Sharma <usharm...
[ { "path": "doc/api/http2.md", "patch": "@@ -222,6 +222,16 @@ session.on('localSettings', (settings) => {\n });\n ```\n \n+#### Event: 'ping'\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `payload` {Buffer} The `PING` frame 8-byte payload\n+\n+The `'ping'` event is emitted whenever a `PING` frame is received f...
2018-09-21T21:14:04
vercel/next.js
e4aebc9115cc6eb858b285208fc8c1ce2699c9a4
0a94c3088d588171c58bfdfffcd9819eaa44cafd
fix: use the correct value in termsize tuple (vercel/turbo#3458) In #3371, I messed up and used the number of rows instead of the number of columns as the width of the terminal. We now don't require a very tall terminal to print out the full update message: ![Screen Shot 2023-01-24 at 11 51 54 AM](https://user-ima...
[ { "path": "crates/turbo-updater/src/ui/mod.rs", "patch": "@@ -35,12 +35,12 @@ pub fn message(text: &str) -> Result<(), UpdateNotifierError> {\n };\n \n // render differently depending on viewport\n- if let Some((term_width, _)) = size {\n+ if let Some((_, num_cols)) = size {\n // if po...
2023-01-24T20:56:04
huggingface/transformers
ad9dd3d17bee17aae03588cf193b72dc4d34ab64
a6f7acb6036d2fdd2736edbe08dee8526ce765b4
🔴 [VLM] modeling updates (#38317) * updates * fixup * fix tests * fix test * fix * let it be here for now, till monday * two more fixes * persimmon * fixup * fix * fixup * make sure fuyu runs now that LM has new attn API * fixup + tests * qwen vl uses new mask interface as well * qwen image features for...
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -673,7 +673,7 @@ class AriaPreTrainedModel(PreTrainedModel):\n _supports_cache_class = True\n _supports_quantized_cache = True\n _supports_static_cache = False # MoE models don't work with torch.compile (dynamic slicing)\n-...
2025-05-29T11:08:23