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
electron/electron
02714d466cf761ce892ece919b3df5aeddbd34ad
741c8f3d983c4625c8b8b6b51b20dfce7768f7b2
Fix crash when requesting invalid url
[ { "path": "atom/browser/net/url_request_fetch_job.cc", "patch": "@@ -96,14 +96,22 @@ void URLRequestFetchJob::StartAsync(scoped_ptr<base::Value> options) {\n dict->GetString(\"referrer\", &referrer);\n dict->Get(\"session\", &session);\n \n+ // Check if URL is valid.\n+ GURL formated_url(url);\n+ if ...
2015-08-13T13:21:23
nodejs/node
dfaa61fa18b5008912583ee8e00ebbd4f96debf6
81b25eac21c15aa8fffda92f1501b9ffd593df5e
assert: make `actual` and `expected` getters The `actual` and `expected` properties on an instance of `AssertionError` is now a getter to prevent inspecting these when inspecting the error. These values will be visible in the error message and showing them otherwise would decrease the readability of the error. PR-URL...
[ { "path": "lib/internal/assert.js", "patch": "@@ -395,6 +395,14 @@ class AssertionError extends Error {\n this.operator = operator;\n Error.captureStackTrace(this, stackStartFn);\n }\n+\n+ [inspect.custom](recurseTimes, ctx) {\n+ // This limits the `actual` and `expected` property default insp...
2018-12-28T14:36:26
huggingface/transformers
42fe769928b505158bc6a0342f47b10693b81927
4c017465bd0855143ab010d6a97d92e0fd542d50
SmolVLM test fixes (#40275) * Fix SmolVLM tests * Add the proper CUDA expectations as well * Split 'A10 and A100 expectations * Ruff --------- Co-authored-by: Akos Hadnagy <akoshuggingface@mi325x8-123.atl1.do.cpe.ice.amd.com>
[ { "path": "src/transformers/integrations/executorch.py", "patch": "@@ -128,11 +128,7 @@ def export_text_decoder(self):\n \"\"\"Export the text decoder component.\"\"\"\n \n # Create text decoder exportable wrapper\n- self.exportable_text_decoder = TorchExportableModuleForDecoderOnlyLM...
2025-08-19T19:22:06
vercel/next.js
67aceea72ba1b20063078d887f90739301bc4a80
8c98a207f224f5514e5ca2760b2ece886ec65d53
Align on next-transform-font (#47179) fix NEXT-827 ([link](https://linear.app/vercel/issue/NEXT-827)) This aligns use of the next/font transform across the workspace under a single crate, now called `next-transform-font`.
[ { "path": "packages/font/src/google/validate-google-font-function-call.ts", "patch": "@@ -16,7 +16,7 @@ type FontOptions = {\n subsets: string[]\n }\n /**\n- * Validate the data recieved from next-swc next_font_loaders on next/font/google calls\n+ * Validate the data recieved from next-swc next-transform-...
2023-03-16T15:33:04
golang/go
c8dd89ed3dde52933d981d7d7c4c200160f47ec3
f3758443424dd6e411e2ac0108efdefd2ad7b294
net/http: add Cookie.Valid method The (*http.Cookie).String method used by SetCookie will silently discard or sanitize any fields it deems invalid, making it difficult to tell whether a cookie will be sent as expected. This change introduces a new (*http.Cookie).Valid method which may be used to check if any cookie f...
[ { "path": "api/next.txt", "patch": "@@ -142,3 +142,4 @@ pkg testing, type FuzzResult struct, T time.Duration\n pkg testing, type InternalFuzzTarget struct\n pkg testing, type InternalFuzzTarget struct, Fn func(*F)\n pkg testing, type InternalFuzzTarget struct, Name string\n+pkg net/http, method (*Cookie) Va...
2021-07-29T19:47:23
rust-lang/rust
3f0df08a9a9433e3ab093ab88555a6537a8c4548
23f79c10eb76b2e8922fd7a279ec1483a7e2843c
fix: don't duplicate must_use for functions and traits
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute.rs", "patch": "@@ -264,13 +264,13 @@ static KIND_TO_ATTRIBUTES: LazyLock<FxHashMap<SyntaxKind, &[&str]>> = LazyLock::\n FN,\n attrs!(\n item, linkable,\n- \"cold\", \"ign...
2025-06-02T19:35:13
huggingface/transformers
8636b309e6c573a6ebef4f2e0c683673b1b50d0b
bebeccb06a3c10cc8fedf27faaa8ed904df3353b
Fix chat CLI GPU loading and request_id validation issues (#40230) (#40232) * Fix chat CLI GPU loading and request_id validation issues (#40230) This commit addresses two critical bugs in the transformers chat CLI: 1. **GPU Loading Issue**: Changed default device from "cpu" to "auto" in ChatArguments - Chat CLI n...
[ { "path": "src/transformers/commands/chat.py", "patch": "@@ -246,7 +246,7 @@ class ChatArguments:\n default=\"main\",\n metadata={\"help\": \"Specific model version to use (can be a branch name, tag name or commit id).\"},\n )\n- device: str = field(default=\"cpu\", metadata={\"help\"...
2025-08-19T15:33:44
nodejs/node
284b20bf75ced9f29161275ae3b0d6eac6abe5ef
c2d8a54474624f9894683a7d1e6b297f055487e5
test: fix test/pummel/test-fs-largefile.js test-fs-largefile.js calls `fs.close()` without a callback which results in an error as of Node.js 10.0.0. Add a `common.mustCall()` callback so the test passes again. PR-URL: https://github.com/nodejs/node/pull/25372 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-B...
[ { "path": "test/pummel/test-fs-largefile.js", "patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n \n const assert = require('assert');\n const fs = require('fs');\n@@ -46,7 +46,7 @@ assert.strictEqual(rea...
2019-01-07T03:36:14
electron/electron
777f99193f1e09b0e4ef8614c051b0651cc904af
d0ef43bd12095a4c71af4bf5dd1be5aacd29d0ef
Update native_mate to fix VS compilation error
[ { "path": "vendor/native_mate", "patch": "@@ -1 +1 @@\n-Subproject commit 24d31e204698bafc65c50295167764fbb0f28bc0\n+Subproject commit b41635e80921bddbf1a36f030490e063cd593477", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-08-13T05:44:37
golang/go
f3758443424dd6e411e2ac0108efdefd2ad7b294
4707a6c284a9d8a0927cbc1badc6d09535a79bff
cmd/compile: fix -W=3 output after the # line I've noticed for a while that there is some duplicated and some useful information being put out in -W=3 mode after the comment marker (besides the position). dumpNodeHeader puts out a comment marker '#' before putting out the position of a node (which is for almost all n...
[ { "path": "src/cmd/compile/internal/ir/fmt.go", "patch": "@@ -1061,8 +1061,8 @@ func dumpNodeHeader(w io.Writer, n Node) {\n \t\t}\n \t}\n \n-\tif n.Typecheck() != 0 {\n-\t\tfmt.Fprintf(w, \" tc(%d)\", n.Typecheck())\n+\tif n.Sym() != nil && n.Op() != ONAME && n.Op() != ONONAME && n.Op() != OTYPE {\n+\t\tfm...
2021-10-05T00:54:51
rust-lang/rust
ba53d9749798a32a9ce3a2db4123942ed81252a7
ac69f1eecb698f14ed2df060cca99af8ba8f658d
Fix cast from u128 to f128
[ { "path": "src/int.rs", "patch": "@@ -915,7 +915,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {\n let name_suffix = match self.type_kind(dest_typ) {\n TypeKind::Float => \"tisf\",\n TypeKind::Double => \"tidf\",\n- TypeKind::FP128 => \"tixf\",\n+ TypeKind...
2025-06-02T16:44:42
vercel/next.js
588bf8ee2008b68f390820b108bd02e64410914c
26a17fac6dcbdb024175f7c7acc43095775f48f6
improve turbopack error overlay (#47132) ### What? Improve the UX of the error overlay ### Why? * error overlay doesn't reopen when closed, but new error appear * error overlay shows non-actionable warnings in node_modules * error overlay shows unrelevant errors in node_modules ### How? * low priority for errors ...
[ { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/components/Dialog/DialogHeaderTabList.tsx", "patch": "@@ -1,23 +1,23 @@\n-import * as React from \"react\";\n+import * as React from 'react'\n \n-import { noop as css } from \"../../helpers/noop-template\";\n-import { clsx } from \"../../...
2023-03-16T14:45:46
huggingface/transformers
bebeccb06a3c10cc8fedf27faaa8ed904df3353b
249d7c6929436465f45ec01df67d0517b259b858
fix which routing method (#40283)
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -284,7 +284,7 @@ def topk(vals, k):\n def mlp_forward(self, hidden_states):\n import torch.distributed as dist\n \n- if dist.is_available() and dist.is_initialized():\n+ if dist.is_available() and dist.is_initialized() and hasattr(se...
2025-08-19T14:35:13
nodejs/node
c2d8a54474624f9894683a7d1e6b297f055487e5
b83088b0bb2b8dfa6ee72a807cc10fe1ac898278
doc: wrap and punctuate YAML description text stream.md was the only YAML in doc/api that was using `>` for line continuation, and only used it for a few descriptions, most used the same wrapping style the rest of the documentation does. Also added punctuation and capitialization to a few description sentences. Fixe...
[ { "path": "doc/api/stream.md", "patch": "@@ -788,9 +788,8 @@ added: v0.9.4\n changes:\n - version: v10.0.0\n pr-url: https://github.com/nodejs/node/pull/17979\n- description: >\n- The `'readable'` is always emitted in the next tick after `.push()`\n- is called\n+ description: The `'rea...
2019-01-09T17:32:08
electron/electron
78171e2072e5f1fc3797f561cfee5b8d7183fe70
94c1fb32a7d69d30c3f84b66ed37f16cf6c9a033
Don't use C++11 to not crash VS
[ { "path": "atom/browser/net/js_asker.cc", "patch": "@@ -54,22 +54,20 @@ void HandlerCallback(v8::Isolate* isolate,\n base::Bind(holder->callback, true, base::Passed(&options)));\n }\n \n-// func.bind(func, ...).\n-template<typename... ArgTypes>\n+// func.bind(func, arg1, arg2).\n+// NB(zcbenz): Using ...
2015-08-12T15:14:20
golang/go
4002616f9a34410797e7bbff142c374a1de3ac6b
2e107b43c7afd166c7ff98b254485bce102d4b46
strings,bytes: avoid allocations in Trim/TrimLeft/TrimRight There is evidence that the vast majority of uses for Trim* involve cutsets with a single ASCII character, and the vast majority of remaining uses involve cutsets with a small (<4) ASCII characters. For this reason it makes sense to provide better fast paths f...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -867,6 +867,8 @@ func lastIndexFunc(s []byte, f func(r rune) bool, truth bool) int {\n // most-significant bit of the highest word, map to the full range of all\n // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,\n // ensuring that any n...
2021-06-04T11:58:55
huggingface/transformers
c93594e286a15d2b3d69433451e4a3bf4e025f8a
2f1a8ad4ba39a684078e157d2685fe0131e25346
[detection] fix correct `k_proj` weight and bias slicing in D-FINE (#40257) Fix: correct k_proj weight and bias conversion in D-FINE
[ { "path": "src/transformers/models/d_fine/convert_d_fine_original_pytorch_checkpoint_to_hf.py", "patch": "@@ -364,8 +364,8 @@ def read_in_q_k_v(state_dict, config, model_name):\n if model_name in [\"dfine_n_coco\", \"dfine_n_obj2coco_e25\", \"dfine_n_obj365\"]:\n state_dict[f\"model.deco...
2025-08-19T09:44:37
vercel/next.js
26a17fac6dcbdb024175f7c7acc43095775f48f6
f36a6d8964730a592308fab2b0be95362c26fdb6
Adjust transpiler to support inlined server functions with annotations (#47186) This PR makes sure that we are not appending statements after the function or arrow expression, if they're actions. Instead we put all them in a `ParenExpr` so the entire thing can be defined inline. fix NEXT-813 ([link](https://linear.app...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -125,7 +125,8 @@ impl<C: Comments> ServerActions<C> {\n ident: &Ident,\n function: Option<&mut Box<Function>>,\n arrow: Option<&mut ArrowExpr>,\n- ) -> (Option<Box<Function>>, Option<Box<ArrowExpr>>) {\n...
2023-03-16T13:01:42
nodejs/node
ddbb7d7777bea03b50b0c78fa4c535081e61dde2
e54d11e2f64aadc74ea52185b4430afbe034f09b
deps: cherry-pick 56f6a76 from upstream V8 Original commit message: [turbofan] Fix -0 check for subnormals. Previously we'd check `x` for -0 by testing `(1.0 / x) == -Infinity`, but this will yield the wrong results when `x` is a subnormal, i.e. really close to 0. In CSA we already perform bit c...
[ { "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.8',\n+ 'v8_embedder_string': '-node.9',\n \n ##### V8 defaults for Node.js #####\n "...
2018-12-29T14:14:54
electron/electron
94c1fb32a7d69d30c3f84b66ed37f16cf6c9a033
d9b845fcdfd5795aea716002b934a2835b892342
Try work around VS's bug
[ { "path": "atom/browser/net/js_asker.cc", "patch": "@@ -65,7 +65,8 @@ v8::Local<v8::Value> BindFunctionWith(v8::Isolate* isolate,\n v8::Local<v8::Function> bind_func =\n v8::Local<v8::Function>::Cast(bind.ToLocalChecked());\n std::vector<v8::Local<v8::Value>> converted = {\n- func, mate::Conv...
2015-08-12T15:07:15
rust-lang/rust
b0041b8a05e2d6090dbf59f715b52cba3ca73359
52882f6522ae9f34f1d574b2efabc4b18e691ae0
Disable f64 minimum/maximum tests for arm 32 This disables the f64 minimum/maximum tests for the arm-unknown-linux-gnueabihf job. The next release will be supporting cross-compiled doctests, and these tests fail on that platform. It looks like this was just fixed via https://github.com/llvm/llvm-project/pull/142170, ...
[ { "path": "library/core/src/num/f64.rs", "patch": "@@ -943,7 +943,7 @@ impl f64 {\n /// This returns NaN when *either* argument is NaN, as opposed to\n /// [`f64::max`] which only returns NaN when *both* arguments are NaN.\n ///\n- /// ```\n+ /// ```ignore-arm-unknown-linux-gnueabihf (see ...
2025-06-02T15:49:54
huggingface/transformers
2f1a8ad4ba39a684078e157d2685fe0131e25346
a2e76b908b1fd68a71117be1bcc9389869c6f445
Fix setting attention for multimodal models (#39984) * fix * use non-explicit `None` * keep previously set attn if exists
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -410,15 +410,17 @@ def _attn_implementation(self):\n def _attn_implementation(self, value: Optional[Union[str, dict]]):\n \"\"\"We set it recursively on the sub-configs as well\"\"\"\n # Set if for current config\n- ...
2025-08-19T09:35:11
vercel/next.js
824c97458c753504e1d08233aa9379bd5834f0eb
7b07a94cfc05fb3b94e304d9619bb0ad7a3b06b3
track invalidation reasons (vercel/turbo#4208) ### Description tracks reasons for invalidation and reports them as updated event fixes WEB-722 fixes WEB-221
[ { "path": "crates/node-file-trace/src/lib.rs", "patch": "@@ -23,7 +23,8 @@ use turbo_tasks::{\n backend::Backend,\n primitives::{OptionStringVc, StringsVc},\n util::FormatDuration,\n- NothingVc, TaskId, TransientInstance, TransientValue, TurboTasks, TurboTasksBackendApi, Value,\n+ NothingV...
2023-03-16T12:49:34
nodejs/node
b406c9c4e95e6e90c43df843512a4c761ad9affa
ccc06a3c3291546c777da74cd3bdff903b33c607
doc: add clarification for exception behaviour Document current behaviour where some methods can be called when an exception is pending, while others cannot and explain the behaviour. PR-URL: https://github.com/nodejs/node/pull/25339 Refs: https://github.com/nodejs/abi-stable-node/issues/356 Reviewed-By: Colin Ihrig ...
[ { "path": "doc/api/n-api.md", "patch": "@@ -527,6 +527,15 @@ exception is pending and no additional action is required. If the\n instead of simply returning immediately, [`napi_is_exception_pending`][]\n must be called in order to determine if an exception is pending or not.\n \n+In many cases when an N-API...
2019-01-04T14:47:27
electron/electron
337460cdc278afbb2753680cf49b8442892db4bf
ee51e37db7e1a0739d6bb2be463b4458b637e3c9
Enable return error for arbitray request job
[ { "path": "atom/browser/net/js_asker.cc", "patch": "@@ -110,6 +110,18 @@ void AskForOptions(v8::Isolate* isolate,\n handler.Run(request, wrapped_callback.ToLocalChecked());\n }\n \n+bool IsErrorOptions(base::Value* value, int* error) {\n+ if (value->IsType(base::Value::TYPE_DICTIONARY)) {\n+ base::Dic...
2015-08-12T05:50:31
golang/go
f580b7511491c866a102f3f8be912be8f824b830
17c513e722e72739a59851e3a052952de36315aa
all: update go.mod for golang.org/x/net Somehow CL 353390 managed to update the vendored code to d2e5035098b3, but not the go.mod and other version references. Fix. Change-Id: Ic265c10f7bd7ec982671b46c5d9ae50636a13309 Reviewed-on: https://go-review.googlesource.com/c/go/+/354391 Trust: Damien Neil <dneil@google.com> ...
[ { "path": "src/go.mod", "patch": "@@ -4,7 +4,7 @@ go 1.18\n \n require (\n \tgolang.org/x/crypto v0.0.0-20210817164053-32db794688a5\n-\tgolang.org/x/net v0.0.0-20211004220534-69340ce214a7\n+\tgolang.org/x/net v0.0.0-20211005215030-d2e5035098b3\n )\n \n require (", "additions": 1, "deletions": 1, ...
2021-10-06T19:16:47
rust-lang/rust
166f664495bf76e932b115f6a92a89bd2a067b54
660aede53066ca0ab4354160d982d19b7962739b
Use the informative error as the main const eval error message
[ { "path": "tests/ui/indexing_slicing_index.rs", "patch": "@@ -68,7 +68,7 @@ fn main() {\n // This should be linted, since `suppress-restriction-lint-in-const` default is false.\n const { &ARR[idx4()] };\n //~^ ERROR: indexing may panic\n- //~| ERROR: evaluation of `main\n+ //~| ERROR: inde...
2025-05-28T10:29:08
huggingface/transformers
a2e76b908b1fd68a71117be1bcc9389869c6f445
2b59207a7238b04f02a3837e53006265b51199a8
🚨🚨 Switch default compilation to fullgraph=False (#40137) * switch default * docstring * docstring * rework tests and remove outdated restrictions * simplify * we need a check for static cache * fix * rename var * fix * revert * style * rename test
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -43,7 +43,7 @@\n \n logger = logging.get_logger(__name__)\n METADATA_FIELDS = (\"_from_model_config\", \"_commit_hash\", \"_original_object_hash\", \"transformers_version\")\n-NEED_SETUP_CACHE_CLASSES_MAPPING = {}\n+STATIC_CACHE_CL...
2025-08-19T09:26:22
nodejs/node
ccc06a3c3291546c777da74cd3bdff903b33c607
9b7226d66c330f700f1672b34dbc4c2aba1b9592
doc: clarify timing of socket.connecting Fixes: https://github.com/nodejs/node/issues/25328 PR-URL: https://github.com/nodejs/node/pull/25333 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Beth Griggs <Bethany.Gr...
[ { "path": "doc/api/net.md", "patch": "@@ -666,11 +666,12 @@ added: v6.1.0\n -->\n \n If `true`,\n+[`socket.connect(options[, connectListener])`][`socket.connect(options)`] was\n+called and has not yet finished. It will stay `true` until the socket becomes\n+connected, then it is set to `false` and the `'con...
2019-01-04T00:09:24
vercel/next.js
341daf9c7dd873cf8cd19192a7da329d9ad3b2f4
a3dff7c8da9a49e89f63f67785a75eb7cff90169
Ensure router.refresh() matches revalidatePath('/') behavior (#46723) Ensures `router.refresh()` matches the upcoming `revalidatePath('/')` api. This also ensures that when server context has changed it applies to all routes, not just the one that triggered the refresh. - When `router.refresh()` is called we fetc...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -38,7 +38,6 @@ import {\n createInitialRouterState,\n InitialRouterStateParameters,\n } from './router-reducer/create-initial-router-state'\n-import { fetchServerResponse } from './router-reducer/fetch-server-response'\n import...
2023-03-16T09:14:21
electron/electron
1e9eaba4233057c6517871c409cc68a98a34f183
a8681b00729b13ed7a72f7575e25e01dda35af19
win: Fix compiler warning
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -69,7 +69,8 @@ ProcessOwner GetProcessOwner(int process_id,\n return OWNER_NONE;\n \n // First search for NativeWindow.\n- if ((*window = NativeWindow::FromWebContents(web_contents)))\n+ *window = NativeWindow::FromWebContents(web_content...
2015-08-11T15:38:59
golang/go
17c513e722e72739a59851e3a052952de36315aa
058fa255bcbe414011f5b9f469f44ec64a168224
cmd/compile: make encoding/binary loads/stores cheaper to inline The encoding/binary little- and big-endian load and store routines are frequently used in performance sensitive code. They look fairly complex to the inliner. Though the routines themselves can be inlined, code using them typically cannot be. Yet they ty...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -275,14 +275,31 @@ func (v *hairyVisitor) doNode(n ir.Node) bool {\n \t\t}\n \t\tif n.X.Op() == ir.OMETHEXPR {\n \t\t\tif meth := ir.MethodExprName(n.X); meth != nil {\n-\t\t\t\tfn := meth.Func\n-\t\t\t\tif fn != nil && types.IsRuntimePkg(fn.S...
2021-09-13T22:28:55
huggingface/transformers
2b59207a7238b04f02a3837e53006265b51199a8
56c44213b332e71e0cdd209fdfc83448dbdbac40
Fix slow static cache export tests (#40261)
[ { "path": "src/transformers/integrations/executorch.py", "patch": "@@ -325,14 +325,14 @@ def export(\n \"input_ids\": input_ids,\n \"cache_position\": cache_position\n if cache_position is not None\n- else torch.arange(input_ids.shape[-1], dtype...
2025-08-19T09:24:07
electron/electron
a8681b00729b13ed7a72f7575e25e01dda35af19
e6a2b0a479391a09a148e2fb7ceac0f4a742cc4f
Fix emitting did-attach event
[ { "path": "atom/browser/web_view_guest_delegate.cc", "patch": "@@ -162,6 +162,7 @@ void WebViewGuestDelegate::WillAttach(\n const base::Closure& completion_callback) {\n embedder_web_contents_ = embedder_web_contents;\n is_full_page_plugin_ = is_full_page_plugin;\n+ completion_callback.Run();\n }\n...
2015-08-11T07:59:16
nodejs/node
0c8dedd103f78e3f6f9cc907240b9beaabdf12c3
9987f1abb92461af5b2da61befe7ce0c1ab19503
test: clean up wasm fixtures PR-URL: https://github.com/nodejs/node/pull/25360 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/fixtures/shared-memory.wat", "patch": "@@ -0,0 +1,8 @@\n+;; Compiled using the WebAssembly Tootkit (https://github.com/WebAssembly/wabt)\n+;; $ wat2wasm --enable-threads shared-memory.wat -o shared-memory.wasm\n+\n+(module\n+ ;; Create shared memory with initial 1 page (64KiB) and max 1 pag...
2019-01-06T00:58:16
vercel/next.js
7b07a94cfc05fb3b94e304d9619bb0ad7a3b06b3
5fbd11c4ff2a444525095f2e5d09471b872eea2b
Switch to testing::fixture (vercel/turbo#4211) ### Description The old `test_generator::test_resources` could only find resources relative to the project root, and not relative to the test file. Because of the new nextpack directory structure, this causes all kinds of headaches between running in nextpack and running...
[ { "path": "crates/turbopack-tests/Cargo.toml", "patch": "@@ -14,10 +14,11 @@ turbopack = { workspace = true }\n \n [dev-dependencies]\n anyhow = { workspace = true }\n+dunce = { workspace = true }\n once_cell = { workspace = true }\n serde = { workspace = true }\n serde_json = { workspace = true }\n-test-ge...
2023-03-16T02:15:48
huggingface/transformers
56c44213b332e71e0cdd209fdfc83448dbdbac40
5d9a715e305ee27620fbbd5437fbde93b88b0640
[detection] fix attention mask for RT-DETR-based models (#40269) * Fix get_contrastive_denoising_training_group attention * Add bool attention_mask conversion
[ { "path": "examples/modular-transformers/modeling_test_detr.py", "patch": "@@ -561,6 +561,10 @@ def forward(\n f\"Attention mask should be of size {(batch_size, 1, target_len, source_len)}, but is\"\n f\" {attention_mask.size()}\"\n )\n+ if ...
2025-08-19T09:15:56
golang/go
e38ec96c69f826516a99f16952bd73c766f96719
39a4df49674540ba8b835ece03edb8d304941187
time: truncate fractional seconds longer than 9 digits Fixes #48685 Change-Id: Id246708878c2902b407ab759537f6b545a1f459f GitHub-Last-Rev: 4d985192c5a66ae8891539f166ef88b53cd1cbea GitHub-Pull-Request: golang/go#48750 Reviewed-on: https://go-review.googlesource.com/c/go/+/353713 Run-TryBot: Ian Lance Taylor <iant@golan...
[ { "path": "src/time/format.go", "patch": "@@ -1420,16 +1420,19 @@ func parseNanoseconds(value string, nbytes int) (ns int, rangeErrString string,\n \t\terr = errBad\n \t\treturn\n \t}\n+\tif nbytes > 10 {\n+\t\tvalue = value[:10]\n+\t\tnbytes = 10\n+\t}\n \tif ns, err = atoi(value[1:nbytes]); err != nil {\n...
2021-10-03T15:45:38
rust-lang/rust
b331b8b96d86a6433df957a3cc49ed51f3656135
e6152cdf5b31bd844a4cc1049433859d54863602
Use the informative error as the main const eval error message
[ { "path": "compiler/rustc_const_eval/src/const_eval/error.rs", "patch": "@@ -1,6 +1,6 @@\n use std::mem;\n \n-use rustc_errors::{DiagArgName, DiagArgValue, DiagMessage, Diagnostic, IntoDiagArg};\n+use rustc_errors::{Diag, DiagArgName, DiagArgValue, DiagMessage, IntoDiagArg};\n use rustc_middle::mir::AssertK...
2025-05-28T10:29:08
vercel/next.js
a3dff7c8da9a49e89f63f67785a75eb7cff90169
9a89c4933dd35940b007e0a872ba3c529854a76b
Fix(typedRoutes): fixed files from directories other than pages and app getting into Route (#47184) 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(...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -371,6 +371,11 @@ export class NextTypesPlugin {\n if (!this.typedRoutes) return\n \n const isApp = filePath.startsWith(this.appDir + path.sep)\n+ const isPages = !isApp && filePath.startsWith(this.pagesDir + p...
2023-03-16T00:58:33
electron/electron
e6a2b0a479391a09a148e2fb7ceac0f4a742cc4f
0f990d40ccc9eb47df66c518bb166a95e5e6b5e3
Fix finding the WebContents of a pending renderer process Apparently after Chrome 44 a renderer process can be started before the corresponding render view is created, though it can be patched but from the source code Chromium is enforcing this everywhere now, so fixing it on our side seems the only reliable solution....
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -20,6 +20,7 @@\n #include \"atom/common/options_switches.h\"\n #include \"base/command_line.h\"\n #include \"base/files/file_util.h\"\n+#include \"base/stl_util.h\"\n #include \"base/strings/string_util.h\"\n #include \"base/strings/string_number...
2015-08-11T07:39:17
nodejs/node
9987f1abb92461af5b2da61befe7ce0c1ab19503
4a6ec3bd05e2e2d3f121e0d3dea281a6ef7fa32a
test: tune test-uv-threadpool-schedule test-uv-threadpool-schedule has been failing consistently in node-daily-master CI. It also fails consistently on my personal laptop. These changes make it pass consistently with current master but fail consistently with Node.js 10.11 (which was the last release in the 10.x line b...
[ { "path": "test/internet/test-uv-threadpool-schedule.js", "patch": "@@ -31,13 +31,13 @@ function onResolve() {\n 'fast I/O was throttled due to threadpool congestion.');\n \n // More realistic expectation: finish disc I/O at least within\n- // a time duration that is 1/100th of net I/O....
2019-01-06T00:21:00
golang/go
9062a5298bdee895dd9f4e9c07ffd3e261c0ac13
f05c67f18259800e4847e44c9ca34de2bf5ed198
cmd/compile/internal/types2: break cycles in invalid types This CL reverses the change in CL 284254 (which was ported to types2) which originated in CL 240901 to address a crash in a test created by a fuzzer (that crash appears to be avoided in other ways, now). This exposed another bug in typeset.go where we don't l...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -358,6 +358,7 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t\t\tif tn == t.obj {\n \t\t\t\t\tcheck.cycleError(path[i:])\n \t\t\t\t\tt.info = invalid\n+\t\t\t\t\tt.underlying = Typ[Invalid]\n \t\t\t\t\treturn t.i...
2021-10-06T16:03:34
electron/electron
2dc533c4b9370e488f87d37c56737064ad2701a5
bc0619540950deeb09c10590f37d56e2c2a1069d
Fix search path of ffmpeg It is somehow set to @load_path by Chromium.
[ { "path": "atom.gyp", "patch": "@@ -459,6 +459,16 @@\n '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework',\n ],\n },\n+ {\n+ 'postbuild_name': 'Fix path of ffmpeg',\n+ 'action': [\n+ ...
2015-08-11T02:55:27
vercel/next.js
9a89c4933dd35940b007e0a872ba3c529854a76b
0e91549397dd4a795c7e9187068b1a8bcecb2d7c
fix: app dir with `next dev` and `output: export` (#47171) This PR is a follow up to PR #47022 which broke `next dev`. A test has been added to confirm `next dev` works as expected. fix NEXT-825 ([link](https://linear.app/vercel/issue/NEXT-825)) ([NEXT-825](https://linear.app/vercel/issue/NEXT-825))
[ { "path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts", "patch": "@@ -39,12 +39,14 @@ export async function fetchServerResponse(\n \n try {\n let fetchUrl = url\n- if (process.env.__NEXT_CONFIG_OUTPUT === 'export') {\n- fetchUrl = new URL(url) // clone\n- ...
2023-03-16T00:36:08
nodejs/node
3255ae4cd170113d5162970b9890d69a3e7b8b06
ff0f99b725b127f2828ac223ed5517e436f86efa
doc: fix heading in cpp style guide Names of c-like structs do not have to end with an underscore. PR-URL: https://github.com/nodejs/node/pull/25303 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "CPP_STYLE_GUIDE.md", "patch": "@@ -13,7 +13,7 @@\n * [CamelCase for methods, functions, and classes](#camelcase-for-methods-functions-and-classes)\n * [snake\\_case for local variables and parameters](#snake_case-for-local-variables-and-parameters)\n * [snake\\_case\\_ for private class fie...
2019-01-01T15:05:59
golang/go
415f0a33750a7cb4ad282fc5aa664d3fde244f84
316057142cc6055952621ccbaccc53d58d88be3f
cmd/link: keep go.buildid alive on AIX external linking As we use relative addressing for text symbols in functab, it is important that the offsets we computed stay unchanged by the external linker, i.e. all symbols in Textp should not be removed by the external linker. Most of them are actually referenced (our deadco...
[ { "path": "src/cmd/link/internal/ld/symtab.go", "patch": "@@ -676,7 +676,7 @@ func (ctxt *Link) symtab(pcln *pclntab) []sym.SymKind {\n \n \tif ctxt.IsAIX() && ctxt.IsExternal() {\n \t\t// Add R_XCOFFREF relocation to prevent ld's garbage collection of\n-\t\t// runtime.rodata, runtime.erodata and runtime.ep...
2021-10-06T16:39:41
rust-lang/rust
0718d8f29fbdba50fa559eb6ffa05e9bdb93b3f6
d6cc62c8c50a5eb45372dc6c97bf76601653f028
Fix some warning blocks that contain Markdown Contents inside of an HTML element only get interpreted as Markdown (as opposed to HTML) if its separated from the HTML tags with line breaks.
[ { "path": "src/doc/rustc-dev-guide/src/autodiff/flags.md", "patch": "@@ -16,7 +16,9 @@ LooseTypes // Risk incorrect derivatives instead of aborting when missing Type I\n ```\n \n <div class=\"warning\">\n+\n `LooseTypes` is often helpful to get rid of Enzyme errors stating `Can not deduce type of <X>` and t...
2025-06-02T14:21:40
rust-lang/rust
a18f23210c018a2cb43d5eb467bfb484a03cdb27
4c1f3c63d78544ba204766b92b70a60ee126d410
Support derive-macros for rename prefix magic
[ { "path": "src/tools/rust-analyzer/Cargo.toml", "patch": "@@ -21,6 +21,8 @@ smol_str.opt-level = 3\n text-size.opt-level = 3\n serde.opt-level = 3\n salsa.opt-level = 3\n+dissimilar.opt-level = 3\n+\n # This speeds up `cargo xtask dist`.\n miniz_oxide.opt-level = 3\n ", "additions": 2, "deletions": ...
2025-06-02T13:22:03
vercel/next.js
0e91549397dd4a795c7e9187068b1a8bcecb2d7c
4c3f59f88d8821675f5a63de6d9a7de4a4fbc397
chore(ci): automatically deploy selected examples (#47130) fix NEXT-822 ([link](https://linear.app/vercel/issue/NEXT-822)) ([NEXT-822](https://linear.app/vercel/issue/NEXT-822)) ---------
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -952,6 +952,29 @@ jobs:\n - run: ./scripts/publish-native.js\n - run: ./scripts/publish-release.js\n \n+ deployExamples:\n+ name: Deploy examples\n+ runs-on: ubuntu-latest\n+ needs: [publishRelease]\n+ steps:\n+ ...
2023-03-16T00:01:26
nodejs/node
f39b3e33719cdb7102e9ae7b67a13de4dd681949
86ae2c182b425e08e8a98fcd47220d452cc94f53
src: trace_events: fix race with metadata events Multiple threads may be concurrently adding to the metadata_events list. Protect access with a mutex. Fixes: https://github.com/nodejs/node/issues/24129 PR-URL: https://github.com/nodejs/node/pull/25235 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/tracing/agent.cc", "patch": "@@ -207,9 +207,17 @@ void Agent::AppendTraceEvent(TraceObject* trace_event) {\n id_writer.second->AppendTraceEvent(trace_event);\n }\n \n+void Agent::AddMetadataEvent(std::unique_ptr<TraceObject> event) {\n+ Mutex::ScopedLock lock(metadata_events_mutex_);\n+ ...
2018-12-27T00:55:36
golang/go
316057142cc6055952621ccbaccc53d58d88be3f
7109323af5a8c7e076fa2af7185caa6185df97cd
cmd/go: do not pass a local prefix to the compiler in module mode In GOPATH mode, source files may import other packages using relative (“local”) paths. In module mode, relative imports are never allowed: import paths must always be fully specified. When local imports are allowed, we pass a local-import prefix to the...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1678,9 +1678,10 @@ func (p *Package) DefaultExecName() string {\n func (p *Package) load(ctx context.Context, opts PackageOpts, path string, stk *ImportStack, importPos []token.Position, bp *build.Package, err error) {\n \tp.copyBuild(opts, bp)\n \n...
2021-09-28T15:52:45
huggingface/transformers
6b5bd117231f969713ed79fd4870903ab3c93edf
e472efb9ac06af641add26c354d2f024c0978395
docs: Update OLMo model card (#40233) * Updated OLMo model card * Update OLMo description Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Fix typo Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Fix cli typo Co-authored-by: Steven Liu <59462357+stevhliu@users.n...
[ { "path": "docs/source/en/model_doc/olmo.md", "patch": "@@ -15,28 +15,110 @@ rendered properly in your Markdown viewer.\n -->\n *This model was released on 2024-02-01 and added to Hugging Face Transformers on 2024-04-17.*\n \n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ ...
2025-08-18T20:35:39
rust-lang/rust
4c1f3c63d78544ba204766b92b70a60ee126d410
4d7b1a44dba285c9c6e3506b1d1ec76dc66a2c34
fix: Fix edition handling for names in rename logic
[ { "path": "src/tools/rust-analyzer/crates/hir/src/semantics.rs", "patch": "@@ -659,7 +659,7 @@ impl<'db> SemanticsImpl<'db> {\n \n /// Checks if renaming `renamed` to `new_name` may introduce conflicts with other locals,\n /// and returns the conflicting locals.\n- pub fn rename_conflicts(&self, ...
2025-05-30T09:35:17
huggingface/transformers
e472efb9ac06af641add26c354d2f024c0978395
59862209cac2335dc3a6f8f94c0c842a0f4b2f94
Fix benchmark workflow (#40254) Correct init_db.sql path Co-authored-by: Akos Hadnagy <akoshuggingface@mi325x8-123.atl1.do.cpe.ice.amd.com>
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -48,7 +48,7 @@ jobs:\n \r\n - name: Run database init script\r\n run: |\r\n- psql -f benchmark/init_db.sql\r\n+ psql -f benchmark/utils/init_db.sql\r\n env:\r\n PGDATABASE: metrics\r\n PGHOS...
2025-08-18T18:14:16
nodejs/node
86ae2c182b425e08e8a98fcd47220d452cc94f53
9db9e7e541c1ff9a30b7f1b61c6d3a7b6d30fab3
doc: fix process.stdin example Fixes: https://github.com/nodejs/node/issues/20503 PR-URL: https://github.com/nodejs/node/pull/25344 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail....
[ { "path": "doc/api/process.md", "patch": "@@ -1856,8 +1856,9 @@ a [Readable][] stream.\n process.stdin.setEncoding('utf8');\n \n process.stdin.on('readable', () => {\n- const chunk = process.stdin.read();\n- if (chunk !== null) {\n+ let chunk;\n+ // Use a loop to make sure we read all available data.\n+...
2019-01-04T18:21:27
vercel/next.js
4c3f59f88d8821675f5a63de6d9a7de4a4fbc397
02125cf3b1dfba52b240fd6e0f959d896e4b6195
Implement server entry creation in client layer (#47127 In short, this PR adds a 3rd layer to the server compiler. This extra layer is for marking the modules when re-entering the server layer from a client component. It is almost identical to the existing server layer and it should have all the same bundling and r...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -102,6 +102,18 @@ impl<C: Comments> ServerActions<C> {\n remove_directive,\n &mut is_action_fn,\n );\n+\n+ if is_action_fn && !self.config.is_server {\n+ ...
2023-03-15T22:58:18
golang/go
7109323af5a8c7e076fa2af7185caa6185df97cd
aecf4b12e100dbf1ced36f981fbf00ae64d32af8
all: update golang.org/x/net to pull in CL 353390 Fixes #48564. Fixes #23559. Change-Id: I8e0b646c4791d3a6fb17df1af0a7175b68ce8983 Reviewed-on: https://go-review.googlesource.com/c/go/+/353870 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Rev...
[ { "path": "src/go.mod", "patch": "@@ -4,7 +4,7 @@ go 1.18\n \n require (\n \tgolang.org/x/crypto v0.0.0-20210817164053-32db794688a5\n-\tgolang.org/x/net v0.0.0-20210825183410-e898025ed96a\n+\tgolang.org/x/net v0.0.0-20211004220534-69340ce214a7\n )\n \n require (", "additions": 1, "deletions": 1, ...
2021-10-04T17:50:02
huggingface/transformers
01c03bf4eea3f9a37031fc6dd30a01a6ba130fda
2bcf9f6c7ef7f84b3c3aeec51e117429ecdc1254
fix: Catch correct ConnectionError for additional_chat_templates (#39874) * fix: Catch correct ConnectionError for additional_chat_templates * fix: don't catch timeout * fix: formatting
[ { "path": "src/transformers/utils/hub.py", "patch": "@@ -176,7 +176,7 @@ def list_repo_templates(\n ]\n except (GatedRepoError, RepositoryNotFoundError, RevisionNotFoundError):\n raise # valid errors => do not catch\n- except (ConnectionError, HTTPError):\n+ ex...
2025-08-18T16:25:47
electron/electron
7423c899684e90d5a2be841d2841a7f147a104a1
4337c07425e441c35c0a88f080be4384e5e40deb
Fix compilation warnings caused by chrome44 update
[ { "path": "atom/app/node_main.cc", "patch": "@@ -5,11 +5,12 @@\n #include \"atom/app/node_main.h\"\n \n #include \"atom/browser/javascript_environment.h\"\n-#include \"atom/common/node_includes.h\"\n #include \"gin/array_buffer.h\"\n #include \"gin/public/isolate_holder.h\"\n #include \"gin/v8_initializer.h...
2015-08-11T02:08:34
vercel/next.js
4824d96fabc26894d08e9fb0d93554190c2110de
d57e09e4fccac58ca9a7e55d3bd8e02943b31aba
Fix `RenderOpts` type import (#47167) Something missed in #47128.
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -26,11 +26,12 @@ import type {\n FlightManifest,\n } from \"next/dist/build/webpack/plugins/flight-manifest-plugin\";\n import type { RenderData } from \"types/turbopack\";\n+import type { RenderOpts } from \"next/d...
2023-03-15T18:07:16
nodejs/node
9db9e7e541c1ff9a30b7f1b61c6d3a7b6d30fab3
ae2d1f0e05449221ee770a393e5c967b359d9b1b
src: move per-process global variables into node::per_process So that it's easier to tell whether we are manipulating per-process global states that may need to be treated with care to avoid races. Also added comments about these variables and moved some of them to a more suitable compilation unit: - Move `v8_initia...
[ { "path": "src/env.cc", "patch": "@@ -79,7 +79,8 @@ IsolateData::IsolateData(Isolate* isolate,\n if (platform_ != nullptr)\n platform_->RegisterIsolate(isolate_, event_loop);\n \n- options_.reset(new PerIsolateOptions(*per_process_opts->per_isolate));\n+ options_.reset(\n+ new PerIsolateOptions...
2019-01-01T05:56:53
golang/go
aecf4b12e100dbf1ced36f981fbf00ae64d32af8
4d8db00641cc9ff4f44de7df9b8c4f4a4f9416ee
internal/fuzz: log average execs/sec since last log This change also fixes a bug with calculating the total interesting count. When fuzzing with an empty corpus, the fuzzing engine adds an starting corpus value in that run in order to start fuzzing. That meant that the interesting total count was off by one: it would ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz.txt", "patch": "@@ -184,6 +184,20 @@ stdout ok\n ! stdout ^ok\n stdout FAIL\n \n+\n+# Fuzzing indicates that one new interesting value was found with an empty\n+# corpus, and the total size of the cache is now 1.\n+go clean -fuzzcache\n+go test -fuzz=Fuzz -fuz...
2021-10-05T20:25:06
huggingface/transformers
2bcf9f6c7ef7f84b3c3aeec51e117429ecdc1254
aa458249195c8a69c5c60f2a5bcfe494056a6d3d
Fixes for EncoderDecoderCache (#40008) * Add expectation to t5 for rocm 9.4 * Made EncoderDecoderCache compatible with nn.DataParallel * Fixed t5gemma EncoderDecoderCache * Added todos in autoformer * Ruff * Init is self-contained * Review compliance * Fixed kwargs init of EncoderDecoderCache
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1464,13 +1464,31 @@ class EncoderDecoderCache(Cache):\n ```\n \"\"\"\n \n- def __init__(self, self_attention_cache: Cache, cross_attention_cache: Cache):\n- self.self_attention_cache = self_attention_cache\n- self.cross_atte...
2025-08-18T15:51:05
electron/electron
7d22da516941ea821c7c428fd12eebadb138110f
2dd8bc0c78de33d9f61aa2ee54b5ba6ad3fdaa77
Fix API changes in DevToolsManagerDelegate.
[ { "path": "brightray/browser/devtools_manager_delegate.cc", "patch": "@@ -12,27 +12,21 @@\n #include \"base/strings/string_number_conversions.h\"\n #include \"base/strings/stringprintf.h\"\n #include \"base/strings/utf_string_conversions.h\"\n-#include \"browser/browser_context.h\"\n+#include \"common/conte...
2015-07-23T10:18:03
vercel/next.js
b590ec396171e440e0fb4320d7f84f10c25a0ad6
c27b546908c104d737d1a888c7679c802e361e16
feat: add `output: export` support for `appDir` (#47022) We can now support `next export` for `appDir` because of the new config added in #46744. fixes NEXT-775 ([NEXT-775](https://linear.app/vercel/issue/NEXT-775))
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1282,6 +1282,7 @@ export default async function build(\n enableUndici: config.experimental.enableUndici,\n locales: config.i18n?.locales,\n defaultLocale: config.i18n?.defaultLocale,\n+ nextCon...
2023-03-14T20:43:46
nodejs/node
5774688e2614ccb89749ea2f523014c6479616aa
309e7723eac0442972bbaa6a725366b8ab150892
lib: support overriding http\s.globalAgent Overriding `require('http[s]').globalAgent` is now respected by consequent requests. In order to achieve that, the following changes were made: 1. Implmentation in `http`: `module.exports.globalAgent` is now defined through `Object.defineProperty`. Its getter and setter ret...
[ { "path": "lib/http.js", "patch": "@@ -21,7 +21,7 @@\n \n 'use strict';\n \n-const { Agent, globalAgent } = require('_http_agent');\n+const httpAgent = require('_http_agent');\n const { ClientRequest } = require('_http_client');\n const { methods } = require('_http_common');\n const { IncomingMessage } = re...
2018-12-21T18:17:15
golang/go
8e36ab055162efa6f67f3b9ee62f625ac8874901
810b08b8ec28ea00bce4c008f7c1b48bc9f3e134
bytes, strings: add Cut Using Cut is a clearer way to write the vast majority (>70%) of existing code that calls Index, IndexByte, IndexRune, and SplitN. There is more discussion on https://golang.org/issue/46336. Fixes #46336. Change-Id: Ia418ed7c3706c65bf61e1b2c5baf534cb783e4d3 Reviewed-on: https://go-review.googl...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -1192,3 +1192,16 @@ func Index(s, sep []byte) int {\n \t}\n \treturn -1\n }\n+\n+// Cut slices s around the first instance of sep,\n+// returning the text before and after sep.\n+// The found result reports whether sep appears in s.\n+// If sep does not appear in...
2021-09-21T14:59:16
rust-lang/rust
ec9e560a3010a8424b241d1671bdd81d87011204
52882f6522ae9f34f1d574b2efabc4b18e691ae0
Fix `create-docs-artifacts.sh` with new bors
[ { "path": "src/ci/scripts/create-doc-artifacts.sh", "patch": "@@ -15,7 +15,8 @@ fi\n branch=$(git branch --show-current || echo)\n \n if [ -n \"$branch\" ]; then\n- branch=\"${branch}-\"\n+ # Strip automation/bors/ prefix if present\n+ branch=\"${branch#automation/bors/}-\"\n fi\n \n if [ \"${GITHU...
2025-06-02T13:08:39
huggingface/transformers
aa458249195c8a69c5c60f2a5bcfe494056a6d3d
d6fad86d23787e54218dbec362ae9f7dc20dd1b0
[`CI`] Fix repo consistency (#40249) * fix * doc --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/models/ovis2/configuration_ovis2.py", "patch": "@@ -18,7 +18,8 @@\n \n \n class Ovis2VisionConfig(PretrainedConfig):\n- r\"\"\"This is the configuration class to store the configuration of a [`Ovis2VisionModel`]. It is used to instantiate a\n+ r\"\"\"\n+ This is the conf...
2025-08-18T15:32:17
electron/electron
28093a4d2d6b3eae728a1764f21fcdc8cb3db63e
4e3187fbbda3bd1742881987a8bf2326a6c29b77
Fix a crash issue in GetProcessOwner if no renderer view host is found.
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -58,11 +58,15 @@ enum ProcessOwner {\n OWNER_GUEST_WEB_CONTENTS,\n OWNER_NONE, // it might be devtools though.\n };\n+\n ProcessOwner GetProcessOwner(int process_id,\n NativeWindow** window,\n ...
2015-08-06T07:03:04
vercel/next.js
ed25015ffdd302fc39cfe9a0ab919f84d49f2128
3cceec3cc66f785f4d71a70635f0849280ab9f2e
Revert vercel/turbo#3542 (vercel/turbo#4197) ### Description The fix introduced in vercel/turbo#3542 was a workaround for CSS in dynamic imports being included multiple times in a page, potentially overriding precedence of earlier chunks, but introduced its own precedence issue (the semantics of `@layer` are not full...
[ { "path": "crates/turbopack-css/src/chunk/writer.rs", "patch": "@@ -5,10 +5,7 @@ use std::{\n \n use anyhow::Result;\n use turbo_tasks::{primitives::StringVc, ValueToString};\n-use turbopack_core::{\n- chunk::{ChunkItem, ModuleId},\n- code_builder::CodeBuilder,\n-};\n+use turbopack_core::{chunk::Chunk...
2023-03-14T17:54:06
nodejs/node
a5c9491e730940a28001249fd62e547740725a69
ec5884a94f24351b2920ac3e54960999fdc05054
test: fix test-tls-securepair-client test-tls-securepair-client has been failing for over a year but no one noticed because pummel tests are almost never run. In preparation for running pummel tests once a day in CI, fix test-tls-securepair-client. PR-URL: https://github.com/nodejs/node/pull/25222 Reviewed-By: Anna ...
[ { "path": "test/pummel/test-tls-securepair-client.js", "patch": "@@ -29,6 +29,9 @@ if (!common.opensslCli)\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+if (common.isWindows)\n+ common.skip('test does not work on Windows'); // ...but it should!\n+\n const net = require('net');\n const as...
2018-12-26T06:22:31
huggingface/transformers
7a0ba0d7d833848f84de4d2f7fdc851ac71466ed
00b4dfb7860c13eaf12613b815f3b5ef2d22ce52
[typing] fix type annotation error in DepthPro model image processor (#40238) * fix type annotation error in DepthPro model image processor * fix * run make fix-copies
[ { "path": "src/transformers/models/depth_pro/image_processing_depth_pro.py", "patch": "@@ -318,7 +318,7 @@ def post_process_depth_estimation(\n self,\n outputs: \"DepthProDepthEstimatorOutput\",\n target_sizes: Optional[Union[TensorType, list[tuple[int, int]], None]] = None,\n- ) ...
2025-08-18T14:42:13
golang/go
72c52bfbe2f72fbcacc865e18f132366bdd2effa
ac60900759c29d9c06d9fe131825c4677e47d6a1
net/http: parse HTTP version strings according to RFC 7230 RFC 2616 permits multiple digits in the major and minor numbers of an HTTP version: https://datatracker.ietf.org/doc/html/rfc2616#section-3.1 RFC 7230 obsoletes 2616 and tightens the specification to permit only a single digit in the major and minor number:...
[ { "path": "src/net/http/request.go", "patch": "@@ -779,11 +779,10 @@ func removeZone(host string) string {\n \treturn host[:j] + host[i:]\n }\n \n-// ParseHTTPVersion parses an HTTP version string.\n+// ParseHTTPVersion parses an HTTP version string according to RFC 7230, section 2.6.\n // \"HTTP/1.0\" retu...
2021-06-07T23:16:45
electron/electron
0e8a585157441358fac9e5a1ec389337f003ac17
11ffb9dfb6898f24a26a40e767c17b6bd83783f8
Fix content::BrowserPluginDelegate::DidResizeElement API changes. Chromium has removed old_size in DidResizeElement interface as the 'old_size' is internal.
[ { "path": "atom/renderer/guest_view_container.cc", "patch": "@@ -47,14 +47,12 @@ void GuestViewContainer::SetElementInstanceID(int element_instance_id) {\n std::make_pair(element_instance_id, this));\n }\n \n-void GuestViewContainer::DidResizeElement(const gfx::Size& old_size,\n- ...
2015-08-04T09:07:31
huggingface/transformers
f417a1aad44df6f20101d1fe8cbf918020190268
a36d51e801ba0f4a534eccba57cacfa7092abcec
remove transpose_for_scores call in ESM-2 (#40210) * remove transpose_for_scores call Signed-off-by: Peter St. John <pstjohn@nvidia.com> * fix copied evolla code Signed-off-by: Peter St. John <pstjohn@nvidia.com> --------- Signed-off-by: Peter St. John <pstjohn@nvidia.com>
[ { "path": "src/transformers/models/esm/modeling_esm.py", "patch": "@@ -426,9 +426,10 @@ def forward(\n \n bsz, q_len, _ = hidden_states.size()\n \n- query_layer = self.transpose_for_scores(self.query(hidden_states))\n- key_layer = self.transpose_for_scores(self.key(hidden_states))\n- ...
2025-08-18T14:28:59
nodejs/node
7afdfaec083310baa66c05daf33409a7b55528dd
7ed790e9dbf7827056b2859a57e9ad72863c1d50
crypto: fix key object wrapping in sync keygen PR-URL: https://github.com/nodejs/node/pull/25326 Fixes: https://github.com/nodejs/node/issues/25322 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jas...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1951,27 +1951,22 @@ changes:\n - `publicExponent`: {number} Public exponent (RSA). **Default:** `0x10001`.\n - `divisorLength`: {number} Size of `q` in bits (DSA).\n - `namedCurve`: {string} Name of the curve to use (EC).\n- - `publicKeyEncoding`: {Object}...
2019-01-03T17:59:34
vercel/next.js
c27b546908c104d737d1a888c7679c802e361e16
e6bca73d8763b8312a1cf1a1e36defb175d3fe02
re-enable next-dev-tests (#47087) ### What? enables the next-dev-tests crate integration tests from trubopack ### Why? to unblock the move PR we temporarily disabled the tests ### How? Fix the new location and fix the expect dependency Fixes WEB-708 --------- Co-authored-by: Justin Ridgewell <j...
[ { "path": ".devcontainer/Dockerfile", "patch": "@@ -12,7 +12,11 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \\\n libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 \\\n libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \\\n libxdamage1 libxss1...
2023-03-14T15:05:19
electron/electron
11ffb9dfb6898f24a26a40e767c17b6bd83783f8
46c7ba734b6b63dcf241cf33e5bd595969f265dc
Fix node::Buffer API changes.
[ { "path": "atom/common/api/atom_api_native_image.cc", "patch": "@@ -148,17 +148,18 @@ mate::ObjectTemplateBuilder NativeImage::GetObjectTemplateBuilder(\n \n v8::Local<v8::Value> NativeImage::ToPNG(v8::Isolate* isolate) {\n scoped_refptr<base::RefCountedMemory> png = image_.As1xPNGBytes();\n- return node...
2015-08-04T08:50:33
nodejs/node
6f27f5350caa41b6a174386c07a4f2e72dc94f77
e7c6f4f68adf3bea6a8cdcfe6870f423efeccfce
test: fix test-benchmark-zlib The addition of brotli to zlib benchmarks means that test-benchmark-zlib needs to be modified. This is that modification. PR-URL: https://github.com/nodejs/node/pull/25365 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca...
[ { "path": "test/benchmark/test-benchmark-zlib.js", "patch": "@@ -6,6 +6,7 @@ const runBenchmark = require('../common/benchmark');\n \n runBenchmark('zlib',\n [\n+ 'algorithm=brotli',\n 'method=deflate',\n 'n=1',\n 'options=true',", ...
2019-01-06T02:41:59
vercel/next.js
e6bca73d8763b8312a1cf1a1e36defb175d3fe02
c0cccf47f40434658620778c225e3a9d28461584
Add support for scrolling to hash fragment (#46995) Adds support for scrolling based on the [hash fragment](https://en.wikipedia.org/wiki/URI_fragment) in client-side navigations for the App Router, mirroring browser behavior. - `#main-content` → scrolls to `id="main-content"` or `name="main-content"` property ...
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -237,6 +237,7 @@ export function hydrate() {\n changeByServerResponse: () => {},\n focusAndScrollRef: {\n apply: false,\n+ hashFragment: null,\n },\n }}\n >", ...
2023-03-14T12:17:10
huggingface/transformers
a36d51e801ba0f4a534eccba57cacfa7092abcec
57e230cdb2e78f020a2f1d9e7887593c39f9fe84
🚨 Always return Cache objects in modelings (to align with generate) (#39765) * watch the world burn * fix models, pipelines * make the error a warning * remove kwargs and return_legacy_cache * fix reformer
[ { "path": "examples/modular-transformers/modeling_dummy_bert.py", "patch": "@@ -13,7 +13,7 @@\n from torch import nn\n \n from ...activations import ACT2FN\n-from ...cache_utils import Cache, EncoderDecoderCache\n+from ...cache_utils import Cache, DynamicCache, EncoderDecoderCache\n from ...modeling_attn_ma...
2025-08-18T14:26:35
electron/electron
46c7ba734b6b63dcf241cf33e5bd595969f265dc
fc4031ec264294e63238a0f13dc702de44e7ed96
Fix WillAttach API changes in content::BrowserPluginGuestDelegate.
[ { "path": "atom/browser/web_view_guest_delegate.cc", "patch": "@@ -158,7 +158,8 @@ void WebViewGuestDelegate::SetGuestHost(content::GuestHost* guest_host) {\n void WebViewGuestDelegate::WillAttach(\n content::WebContents* embedder_web_contents,\n int element_instance_id,\n- bool is_full_page_plug...
2015-08-04T08:46:11
golang/go
ac60900759c29d9c06d9fe131825c4677e47d6a1
e82ed0cd83cec1e6d15ba5a037f77c0b9f1ec8c2
cmd/go: use os.ErrProcessDone rather than matching error string Change-Id: Ied57fb6e71d56618d46aeb36a37a709e08b4346e Reviewed-on: https://go-review.googlesource.com/c/go/+/354136 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-b...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -1172,7 +1172,7 @@ func waitOrStop(ctx context.Context, cmd *exec.Cmd, interrupt os.Signal, killDel\n \t\terr := cmd.Process.Signal(interrupt)\n \t\tif err == nil {\n \t\t\terr = ctx.Err() // Report ctx.Err() as the reason we interrupted.\n-\t\t} else if e...
2021-10-05T22:29:50
nodejs/node
e7c6f4f68adf3bea6a8cdcfe6870f423efeccfce
398916a821b9cd49528644942a9ecd2783895a86
doc: fs.mkdir('/') throws EPERM on Windows Fixes: https://github.com/nodejs/node/issues/25110 PR-URL: https://github.com/nodejs/node/pull/25340 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ben Coe <bencoe@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -2212,6 +2212,15 @@ fs.mkdir('/tmp/a/apple', { recursive: true }, (err) => {\n });\n ```\n \n+On Windows, using `fs.mkdir()` on the root directory even with recursion will\n+result in an error:\n+\n+```js\n+fs.mkdir('/', { recursive: true }, (err) => {\n+ // => [Erro...
2019-01-04T00:26:10
vercel/next.js
c0cccf47f40434658620778c225e3a9d28461584
1e47bc23c356f7a60d7e43376f258c53692ef77f
Add @feedthejim as a codeowner for docs, examples and errors (#47104) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": ".github/CODEOWNERS", "patch": "@@ -2,10 +2,10 @@\n # https://help.github.com/en/articles/about-code-owners\n \n * @timneutkens @ijjk @shuding @huozhi @feedthejim\n-/.github/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @balazsorban44 @jankaifer\n-/docs/ @timneutkens @ijjk @s...
2023-03-14T08:44:36
huggingface/transformers
57e230cdb2e78f020a2f1d9e7887593c39f9fe84
47938f8f8df23c01248a417cd031c2b4b16a2da5
Fix more pylint warnings (#40204) Fix pylint warnings Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/image_transforms.py", "patch": "@@ -748,7 +748,7 @@ def _expand_for_data_format(values):\n elif isinstance(values, tuple) and len(values) == 2 and isinstance(values[0], int):\n values = (values, values)\n elif isinstance(values, tuple) and len(values) ...
2025-08-18T14:17:16
rust-lang/rust
8b5b6d053a044895fd8a88e2cb3c1e9127b3c7ba
2e527f03d1c6b428cedbea52c1b644c4d0abe1c4
add fixme to improve error matching
[ { "path": "tests/ui/macros/borrowck-error-in-macro.rs", "patch": "@@ -1,5 +1,6 @@\n //@ aux-build: borrowck-error-in-macro.rs\n //@ error-pattern: a call in this macro requires a mutable binding due to mutable borrow of `d`\n+//FIXME: remove error-pattern (see #141896)\n \n extern crate borrowck_error_in_ma...
2025-06-02T11:21:18
golang/go
2a5d4ea97e0dd6f1e192aac081430b848084521b
5758c40ac850f249eccd1676974aac11cb0e8b66
runtime: make funcspdelta inlineable funcspdelta should be inlined: It is a tiny wrapper around another func. The sanity check prevents that. Condition the sanity check on debugPcln. While we're here, make the sanity check throw when it fails. Change-Id: Iec022b8463b13a8e5a6d8479e7ddcb68909d6fe0 Reviewed-on: https://...
[ { "path": "src/runtime/symtab.go", "patch": "@@ -1035,8 +1035,9 @@ func funcline(f funcInfo, targetpc uintptr) (file string, line int32) {\n \n func funcspdelta(f funcInfo, targetpc uintptr, cache *pcvalueCache) int32 {\n \tx, _ := pcvalue(f, f.pcsp, targetpc, cache, true)\n-\tif x&(goarch.PtrSize-1) != 0 {...
2021-10-05T20:52:50
nodejs/node
853bee0acfb79ce64202c4e23dc4343b491fa864
6c0162149bc96de44e7596ebb8c668e46256279d
lib: move DEP0023 to end of life This commit moves DEP0023 to end of life status. The os.getNetworkInterfaces() method was introduced in the unstable 0.5.0 release, and runtime deprecated in 0.6.0, the first stable release of its existence. This commit also fixes an inaccuracy in the deprecation, as the replacement (...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -513,6 +513,9 @@ The `os.tmpDir()` API is deprecated. Please use [`os.tmpdir()`][] instead.\n ### DEP0023: os.getNetworkInterfaces()\n <!-- YAML\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/25280\n+ description: En...
2018-12-30T01:30:48
vercel/next.js
16131e2d4905dcf8f2e8629d1007b47112d80461
2579ad7648a1c247ae2c99013b37cb2f24d2296f
Fix #46621 - include status code in cache (#47096) Fixes #46621 As explained here https://github.com/vercel/next.js/issues/46621, > Using fetch to retrieve data inside a page on server side, the response status code is incorrect when simply loading/reloading the page. It looks like nextjs is caching the respon...
[ { "path": "packages/next/src/server/lib/patch-fetch.ts", "patch": "@@ -195,6 +195,7 @@ export function patchFetch({\n data: {\n headers: Object.fromEntries(res.headers.entries()),\n body: base64Body,\n+ status: res.status,\n ...
2023-03-14T04:37:22
huggingface/transformers
47938f8f8df23c01248a417cd031c2b4b16a2da5
2fe43376cdde02b7ffcf117e6eb9aa4375fb2dd1
Add Ovis2 model and processor implementation (#37088) * Add Ovis2 model and processor implementation * Apply style fixes * Add unit tests for Ovis2 image processing and processor * Refactor image processing functions for clarity and efficiency * Add Ovis2 ImageProcessorFast * Refactor Ovis2 code * Refactor Ovis2...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1077,6 +1077,8 @@\n title: OmDet-Turbo\n - local: model_doc/oneformer\n title: OneFormer\n+ - local: model_doc/ovis2\n+ title: Ovis2\n - local: model_doc/owlvit\n title: OWL-ViT\n - local: model_doc/...
2025-08-18T14:05:49
electron/electron
140ba2858afd32e1ee647bb6e39879cb7000a3e5
3379641fe211b37e7264c2e56de5a9f7c3f57c84
Fix cpplint warnings
[ { "path": "atom/browser/api/atom_api_cookies.cc", "patch": "@@ -345,4 +345,4 @@ mate::Handle<Cookies> Cookies::Create(\n \n } // namespace api\n \n-} // namespace atotContext\n+} // namespace atom", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-08-10T07:36:47
golang/go
e31c9ab557e9f5ee20a61914f1a2bf94191997dc
96fface83ad69b6d6ad8059d61d232737572e85d
cmd/link,runtime: remove functab relocations Use an offset from runtime.text instead. This removes the last relocation from functab generation, which lets us simplify that code. size before after Δ % addr2line 3680818 3652498 -28320 -0.769% api 4944850 4892418 -52432 -1.060% asm ...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -539,79 +539,23 @@ func numPCData(ldr *loader.Loader, s loader.Sym, fi loader.FuncInfo) uint32 {\n \treturn numPCData\n }\n \n-// Helper types for iterating pclntab.\n-type pclnSetAddr func(*loader.SymbolBuilder, *sys.Arch, int64, loader.Sym, int64)...
2021-09-24T17:57:37
huggingface/transformers
e4bd2c858daa5815aa271fde3b63c4a85923599d
6333eb986ac85b3ae4cf4c7c819363ef9cd374e7
Fix ESM token_dropout crash when using inputs_embeds instead of input_ids (#40181) * fix: Error after calling ESM model with input embeddings not input ids * propagate changes to other models
[ { "path": "src/transformers/models/esm/modeling_esm.py", "patch": "@@ -216,7 +216,7 @@ def forward(\n # a factor of (fraction of unmasked tokens during training) / (fraction of unmasked tokens in sample).\n # This is analogous to the way that dropout layers scale down outputs during evaluati...
2025-08-18T13:22:10
vercel/next.js
c3ef208282b1cb05ea4f63b5825ad2980cd79614
b4be6eb290f75773d904ed644585a594e0fe35ee
fix(mdx): export NextMDXOptions interface (#46441) ## Description This allow to type mdx option externaly ```js /** @type {import('@next/mdx').NextMDXOptions} */ export const options = {} ``` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a hel...
[ { "path": "packages/next-mdx/index.d.ts", "patch": "@@ -5,7 +5,7 @@ import { RuleSetConditionAbsolute } from 'webpack'\n \n type WithMDX = (config: NextConfig) => NextConfig\n \n-interface NextMDXOptions {\n+export interface NextMDXOptions {\n /**\n * A webpack rule test to match files to treat as MDX....
2023-03-14T04:13:14
rust-lang/rust
28cf70229287d9327b38fcdbbc58503eaf075552
52882f6522ae9f34f1d574b2efabc4b18e691ae0
Fix citool tests when executed ocally They couldn't be executed locally before due to some additional environment reads.
[ { "path": "src/ci/citool/tests/jobs.rs", "patch": "@@ -51,6 +51,8 @@ fn get_matrix(event_name: &str, commit_msg: &str, branch_ref: &str) -> String {\n .env(\"GITHUB_EVENT_NAME\", event_name)\n .env(\"COMMIT_MESSAGE\", commit_msg)\n .env(\"GITHUB_REF\", branch_ref)\n+ .env(\"GI...
2025-06-02T11:34:29
golang/go
55e7f7e12d46292e130a3b48c86bac2a6e5a1739
695a59b5139ca8791e19b84259dc85622eea47e8
cmd/compile: fix problem with methods of instantiated types which are nointerface In the case of a nointerface method on an instantiated type, we still have to call methodWrapper, because methodWrapper generates the actual generic method on the type as well. Currently, we don't call methodWrapper, so the method on the...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -329,7 +329,11 @@ func methods(t *types.Type) []*typeSig {\n \t\tif f.Type.Recv() == nil {\n \t\t\tbase.Fatalf(\"receiver with no type on %v method %v %v\", mt, f.Sym, f)\n \t\t}\n-\t\tif f.Nointerface() {\n+\t\tif f.Nointerface() && ...
2021-09-30T00:47:19
huggingface/transformers
6333eb986ac85b3ae4cf4c7c819363ef9cd374e7
e5886f9194ab6e19a7187c72d0b42be17bbc09cd
Fix more typos (#40212) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "docs/source/en/model_doc/blip-2.md", "patch": "@@ -46,7 +46,7 @@ The original code can be found [here](https://github.com/salesforce/LAVIS/tree/5\n - One can use [`Blip2Processor`] to prepare images for the model, and decode the predicted tokens ID's back to text.\n \n > [!NOTE]\n-> BLIP models a...
2025-08-18T12:52:12