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
36c56db0b1df9f5f3a7de3440808258c954c26ea
83f319cb3b4a422a5e8def1f7489a97de68267c1
build: use `0o` octal notation in configure This un-‘breaks’ the error message we print when using Python 3 to run `configure`. Refs: https://github.com/nodejs/help/issues/1457 PR-URL: https://github.com/nodejs/node/pull/22536 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewe...
[ { "path": "configure", "patch": "@@ -1575,7 +1575,7 @@ write('config.gypi', do_not_edit +\n \n write('config.status', '#!/bin/sh\\nset -x\\nexec ./configure ' +\n ' '.join([pipes.quote(arg) for arg in original_argv]) + '\\n')\n-os.chmod('config.status', 0775)\n+os.chmod('config.status', 0o775)\n \n co...
2018-08-26T14:18:32
rust-lang/rust
481abc136113185840b80355bad58f28a4717515
91a06226a1bb0fdee3ab2c12225ba7b901659383
fix doc
[ { "path": "book/src/lint_configuration.md", "patch": "@@ -735,7 +735,7 @@ Minimum chars an ident can have, anything below or equal to this will be linted.\n \n \n ## `missing-docs-allow-unused`\n-Whether to allow fields starting with underscore to skip documentation requirements\n+Whether to allow fields st...
2025-05-03T21:06:26
vercel/next.js
33d787047202280179b20d7129632caec6ac0af6
c9564849d47ed1ed8706c36377ba8b2b6d9d643b
Fix new-error command (#44720) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "plopfile.js", "patch": "@@ -1,5 +1,7 @@\n module.exports = function (plop) {\n- plop.setHelper('toFileName', (str) => str.toLowerCase().replace(/ /g, '-'))\n+ function getFileName(str) {\n+ return str.toLowerCase().replace(/ /g, '-')\n+ }\n \n plop.setGenerator('test', {\n description...
2023-01-09T13:56:00
electron/electron
8a7efcdcd2b565d2f03a45a79d0563f7b3ab7f8e
adb8fb59bde2fe529dde7c4aca93638a4b4168cf
Fix compilation error on Linux.
[ { "path": "atom/browser/atom_access_token_store.cc", "patch": "@@ -4,6 +4,8 @@\n \n #include \"atom/browser/atom_access_token_store.h\"\n \n+#include <utility>\n+\n #include \"atom/browser/atom_browser_context.h\"\n #include \"atom/browser/net/atom_url_request_context_getter.h\"\n \n@@ -33,7 +35,14 @@ AtomA...
2014-08-13T06:43:21
huggingface/transformers
07feaad8fbf4399def9235ce724308b05febb6f6
e40f301f1fad04eebc9a802a945a051afe92aa36
Fix bug in prefill_chunk_size that ignores disable_compile flag (#38067) Fix bug in prefill_chunk_size implementation that ignores disable_compile flag
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -4907,9 +4907,14 @@ def _prefill_chunking(self, input_ids: torch.LongTensor, generation_config: Gene\n input_chunks = torch.split(input_ids[:, :-1], chunk_size, dim=-1)\n \n if \"past_key_values\" not in model_kwargs:\n- ...
2025-05-13T13:23:23
golang/go
962d5c997af450af1de9a38eb6510cdfc86ea689
b29b123e079183a05abc1066007a51d4f565cd88
cmd/compile,go/types: restrict use of unsafe.{Add,Slice} to go1.17 or newer This CL updates cmd/compile (including types2) and go/types to report errors about using unsafe.Add and unsafe.Slice when language compatibility is set to Go 1.16 or older. Fixes #46525. Change-Id: I1bfe025a672d9f4b929f443064ad1effd38d0363 R...
[ { "path": "src/cmd/compile/internal/typecheck/func.go", "patch": "@@ -981,6 +981,12 @@ func tcRecover(n *ir.CallExpr) ir.Node {\n \n // tcUnsafeAdd typechecks an OUNSAFEADD node.\n func tcUnsafeAdd(n *ir.BinaryExpr) *ir.BinaryExpr {\n+\tif !types.AllowsGoVersion(curpkg(), 1, 17) {\n+\t\tbase.ErrorfVers(\"go...
2021-06-02T19:22:50
nodejs/node
22789fd6d0a53a986073373136c269016d4267c8
c57ed415f5378c050f0784137864565804401f54
child_process: fix handling of incorrect uid/gid in spawn uid/gid must be uint32, which is asserted on a c++ side but wasn't checked on a JS side and therefore resulted in a process crash. Refs: https://github.com/nodejs/node/issues/22570 PR-URL: https://github.com/nodejs/node/pull/22574 Reviewed-By: Anna Henningsen...
[ { "path": "lib/child_process.js", "patch": "@@ -38,7 +38,7 @@ const {\n ERR_INVALID_OPT_VALUE,\n ERR_OUT_OF_RANGE\n } = require('internal/errors').codes;\n-const { validateString } = require('internal/validators');\n+const { validateString, isInt32 } = require('internal/validators');\n const child_proce...
2018-08-28T23:48:37
vercel/next.js
9c6d56122bfe7cc6aef066cad88ee477a60a340a
8266bc280a311a777e8811bfb236ac4249645992
Fix broken links in @next/font API reference (#44714) ## 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 - [ ] Implements an existing fea...
[ { "path": "docs/api-reference/next/font.md", "patch": "@@ -83,7 +83,7 @@ Examples:\n \n ### `subsets`\n \n-The font [`subsets`](https://fonts.google.com/knowledge/glossary/subsetting) defined by an array of string values with the names of each subset you would like to be [preloaded](/docs/optimizing/fonts.m...
2023-01-09T09:39:56
huggingface/transformers
ab65ba47ad152ef19f067f099bc66dfd7c334829
8fb60bf6be70163a5de9d17d167506276fddbebc
fix: Propagate `lr_scheduler_kwargs` options to create LR Scheduler when LayerWiseDummyOptimizer is used (#34559) fix: fix get_scheduler
[ { "path": "src/transformers/optimization.py", "patch": "@@ -549,6 +549,7 @@ def get_scheduler(\n optimizer=optimizer_dict[param],\n num_warmup_steps=num_warmup_steps,\n num_training_steps=num_training_steps,\n+ scheduler_specific_kwargs=schedule...
2025-05-13T11:56:45
electron/electron
e7647ba18310f0498a5d330dba80f89e9dc5bf21
a8ca0329b4446d0fe924f9f9aaf6010ef9e092d7
mac: Fix crash when checking for update, fixes #575.
[ { "path": "atom/browser/auto_updater_mac.mm", "patch": "@@ -48,11 +48,13 @@ void RelaunchToInstallUpdate() {\n [[g_updater rac_valuesForKeyPath:@\"state\" observer:g_updater]\n subscribeNext:^(NSNumber *stateNumber) {\n int state = [stateNumber integerValue];\n- if (state == SQRLUpd...
2014-08-13T03:28:19
golang/go
b29b123e079183a05abc1066007a51d4f565cd88
6d9830111402d9bd69893a8ad6074ac92a5ddd0d
cmd/compile: remove spurious ir.Dump This ir.Dump call is a debugging artifact introduced in golang.org/cl/274103, which should never be printed for valid, non-generic code, but evidently can now sometimes appear due to how the parser handles invalid syntax. The parser should probably not recognize "x[2]" as a type e...
[ { "path": "src/cmd/compile/internal/noder/noder.go", "patch": "@@ -882,9 +882,6 @@ func (p *noder) typeExpr(typ syntax.Expr) ir.Ntype {\n \tif n == nil {\n \t\treturn nil\n \t}\n-\tif _, ok := n.(ir.Ntype); !ok {\n-\t\tir.Dump(\"NOT NTYPE\", n)\n-\t}\n \treturn n.(ir.Ntype)\n }\n ", "additions": 0, ...
2021-06-04T01:00:53
nodejs/node
4b47d2907ddcd3240f98a6c2db82815a864a346c
21e8ce2297b1dfbc20ff40c7d9acfb0cab22dbb5
build: do not copy v8-inspector* headers ar part of install These headers are exposed from V8 for embedder and should not be used by native addons. Fixes https://github.com/nodejs/node/issues/22415 PR-URL: https://github.com/nodejs/node/pull/22586 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael ...
[ { "path": "tools/install.py", "patch": "@@ -157,6 +157,14 @@ def files(action):\n headers(action)\n \n def headers(action):\n+ def ignore_inspector_headers(files, dest):\n+ inspector_headers = [\n+ 'deps/v8/include/v8-inspector.h',\n+ 'deps/v8/include/v8-inspector-protocol.h'\n+ ]\n+ f...
2018-08-29T16:31:25
vercel/next.js
ee7f5ae33d4e68538109d5aaf559ca079a59c4ee
ca5f265ab86dcb7efb5c6270ad642f0a239beee8
Add required default value for the ids parameter (#44694) Before migrating "loadable" the from js to ts, the reload-ready function initialized its "ids" parameter with an empty array. The migration step added the parameter type but removed the initialization. Providing an empty array as the default value for the ids ...
[ { "path": "packages/next/src/shared/lib/loadable.ts", "patch": "@@ -259,7 +259,7 @@ Loadable.preloadAll = () => {\n })\n }\n \n-Loadable.preloadReady = (ids?: (string | number)[]): Promise<void> => {\n+Loadable.preloadReady = (ids: (string | number)[] = []): Promise<void> => {\n return new Promise<void>...
2023-01-08T12:40:29
huggingface/transformers
3ad35d0bcaf5520f2b25441a50f205300a07f3d0
e3b70b0d1c15c87ba2010b00830fbd92b2c50252
update `require_read_token` (#38093) * update require_read_token * new repo * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -31,6 +31,7 @@\n import tempfile\n import threading\n import time\n+import types\n import unittest\n from collections import UserDict, defaultdict\n from collections.abc import Generator, Iterable, Iterator, Mapping\n@@ -560,21 +561,39 @@ def requi...
2025-05-13T10:07:07
electron/electron
a8ca0329b4446d0fe924f9f9aaf6010ef9e092d7
72e8b2882fa9ea742a2e1e7b9a677d6672f6b141
win: Show minimize button for unresizable window, fixes #411.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -313,7 +313,7 @@ void NativeWindowViews::SetResizable(bool resizable) {\n if (resizable)\n style |= WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_THICKFRAME;\n else\n- style &= ~(WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_THICKFRAME);\n+ ...
2014-08-12T14:58:19
golang/go
4d2b528795fe2534398d1b1a978e1037d4a9d2f0
5f034f9b46f32010434d64aa376bb118e899253a
[dev.typeparams] internal/buildcfg: turn on register ABI by default on ARM64 This CL enables all regabi experiments on ARM64 by default. regabiwrappers and regabireflect are enabled in the previous CLs. regabidefer is already enabled everywhere. regabig is no-op on ARM64 as it already has a G register. regabiargs is e...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -20,16 +20,16 @@ import (\n // was built with.)\n var Experiment goexperiment.Flags = parseExperiments()\n \n-var regabiSupported = GOARCH == \"amd64\"\n-var regabiDeveloping = GOARCH == \"arm64\"\n+var regabiSupported = GOARCH == \"amd64\" || GOARCH ==...
2021-06-03T14:30:47
huggingface/transformers
e3b70b0d1c15c87ba2010b00830fbd92b2c50252
4143f94d512c9649c08ba89648d38d121342abc3
Refactor image processor phi4 (#36976) * refactor image processor phi4 * nits fast image proc * add image tests phi4 * Fix image processing tests * update integration tests * remove revision and add comment in integration tests
[ { "path": "src/transformers/models/auto/image_processing_auto.py", "patch": "@@ -128,7 +128,7 @@\n (\"owlvit\", (\"OwlViTImageProcessor\", \"OwlViTImageProcessorFast\")),\n (\"paligemma\", (\"SiglipImageProcessor\", \"SiglipImageProcessorFast\")),\n (\"perceiver\", (\"Per...
2025-05-12T19:13:40
vercel/next.js
ca5f265ab86dcb7efb5c6270ad642f0a239beee8
56b201e2e71126347a7967cdab86a16ed6ab6010
Update redirects.md to fix a typo. (#44677) This will fix a typo where it says that the redirect will happen if the `missing` has matched. Which is not true. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](htt...
[ { "path": "docs/api-reference/next.config.js/redirects.md", "patch": "@@ -167,7 +167,7 @@ module.exports = {\n destination: '/another-page',\n },\n // if the header `x-dont-redirect` is present,\n- // this redirect will be applied\n+ // this redirect will NOT be applied\n ...
2023-01-07T11:56:57
electron/electron
6d9a88f415f0544cf9c9235c81acfe147cd344eb
0018d4b705add76f11fc75a2685a0d0d46df5d47
Fixed inconsistent newlines
[ { "path": "script/bootstrap.py", "patch": "@@ -34,6 +34,7 @@ def main():\n touch_config_gypi()\n update_atom_shell()\n \n+\n def parse_args():\n parser = argparse.ArgumentParser(description='Bootstrap this project')\n parser.add_argument('-u', '--url',\n@@ -47,6 +48,7 @@ def parse_args():\n ...
2014-08-12T12:28:18
rust-lang/rust
d0216b5386016c1cc3b2d1125c6716cfe19a218e
097cd98869cf07a2860bef16c0d4a2b3b019b23a
`fn check_opaque_type_parameter_valid` defer error
[ { "path": "compiler/rustc_borrowck/src/region_infer/opaque_types.rs", "patch": "@@ -267,13 +267,13 @@ impl<'tcx> InferCtxt<'tcx> {\n return Ty::new_error(self.tcx, e);\n }\n \n- if let Err(guar) = check_opaque_type_parameter_valid(\n+ if let Err(err) = check_opaque_type_par...
2025-05-03T03:01:24
golang/go
026480d06bd0b72e147953281b328c0283128e52
a2d6a2caebec473de95e29c48f076b01b7ab5af0
[dev.typeparams] cmd/compile: allow nil Syms in Sym.Less Allows sorting interfaces that contain embedded anonymous types. Fixes #46556. Change-Id: If19afa1d62432323b2e98957087867afbf3f9097 Reviewed-on: https://go-review.googlesource.com/c/go/+/324812 Trust: Matthew Dempsky <mdempsky@google.com> Trust: Dan Scales <da...
[ { "path": "src/cmd/compile/internal/types/sym.go", "patch": "@@ -110,6 +110,14 @@ func (a *Sym) Less(b *Sym) bool {\n \t\treturn false\n \t}\n \n+\t// Nil before non-nil.\n+\tif a == nil {\n+\t\treturn true\n+\t}\n+\tif b == nil {\n+\t\treturn false\n+\t}\n+\n \t// Exported symbols before non-exported.\n \t...
2021-06-03T20:05:22
huggingface/transformers
e387821a96ce23f4ba57d5d11a6c328500af3f98
f0e975c6cf825e5d258aa12ce49e4acc0f43ac40
Fix tot update in trainer (#37923) * fix total updates in epoch * add test; fix max_steps * replace with multi-gpu decorator
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2495,13 +2495,13 @@ def _inner_training_loop(\n step = -1\n epoch_iterator = iter(epoch_dataloader)\n # We chunkify the epoch iterator into gradient accumulation steps `n` batches\n- remainder = num_example...
2025-05-12T15:45:24
vercel/next.js
56b201e2e71126347a7967cdab86a16ed6ab6010
bc90465fb857c68fdb94990bfd33797de708e8d5
Refactor use of AsyncLocalStorage (#44668) Previously we were targeting lower versions of Node.js for `app` directory support, but a higher version of Node.js (with support for `AsyncLocalStorage`) was made required to use `undici` instead of `node-fetch`. This PR serves to: 1. Simplify the usage of those storage obj...
[ { "path": "packages/next/src/client/components/async-local-storage.ts", "patch": "@@ -0,0 +1,44 @@\n+import { AsyncLocalStorage } from 'async_hooks'\n+\n+class FakeAsyncLocalStorage<Store extends {}>\n+ implements AsyncLocalStorage<Store>\n+{\n+ disable(): void {\n+ throw new Error(\n+ 'Invariant:...
2023-01-07T03:55:48
rust-lang/rust
a82b7a63b7843b703d9ad41e52a215aaa2fa86ef
097cd98869cf07a2860bef16c0d4a2b3b019b23a
Async drop source info fix for proxy-drop-coroutine - fixes crash at debug info generation
[ { "path": "compiler/rustc_middle/src/ty/mod.rs", "patch": "@@ -1929,13 +1929,17 @@ impl<'tcx> TyCtxt<'tcx> {\n if arg_cor_ty.is_coroutine() {\n let span = self.def_span(def_id);\n let source_info = SourceInfo::outermost(span);\n+ // Even minimal, em...
2025-05-03T18:24:39
electron/electron
72e8b2882fa9ea742a2e1e7b9a677d6672f6b141
89539ca15ec67e76fff41842cf9e328c192b56f5
Upgrade libchromiumcontent. * Fix unresponsive event when in beforeunload handler. * Compile with clang 3.4 under Linux.
[ { "path": "script/lib/config.py", "patch": "@@ -5,7 +5,7 @@\n \n NODE_VERSION = 'v0.11.13'\n BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '61d53e9631625fa8e5d5043aabea18b96ed6a950'\n+LIBCHROMIUMCONTENT_COMMIT = 'fb188f45e178380e31300a0a6e5c686c3...
2014-08-12T12:17:30
golang/go
55b4310acdbd7bc7253936c44a845a98d82eaae7
6b1e4430bb79674ff523240608f106a1aeb7302e
[dev.typeparams] runtime: crash the GC at clobberdead pointer on ARM64 Extend CL 310330 to ARM64, which now has clobberdead mode implemented in the compiler. Change-Id: I07f6951d81a0797ef7a74e48b79db5cea2bf876b Reviewed-on: https://go-review.googlesource.com/c/go/+/324766 Trust: Cherry Mui <cherryyz@google.com> Run-T...
[ { "path": "src/runtime/mbitmap.go", "patch": "@@ -386,10 +386,10 @@ func findObject(p, refBase, refOff uintptr) (base uintptr, s *mspan, objIndex ui\n \t// If s is nil, the virtual address has never been part of the heap.\n \t// This pointer may be to some mmap'd region, so we allow it.\n \tif s == nil {\n-...
2021-06-03T16:26:18
huggingface/transformers
f0e975c6cf825e5d258aa12ce49e4acc0f43ac40
31791b16a15a627338eeac99cbd78e38703fb56d
fix the inconsist docstring in apply_chat_template (#38069) The commit (https://github.com/huggingface/transformers/commit/5cf11e5ab9591652ee025069658f9af5a98e455e) fixed the type hints for the parameter `tools` in apply_chat_template, but the docstring was not changed.
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1553,7 +1553,7 @@ def apply_chat_template(\n Args:\n conversation (Union[List[Dict[str, str]], List[List[Dict[str, str]]]]): A list of dicts\n with \"role\" and \"content\" keys, representing the chat ...
2025-05-12T15:32:01
rust-lang/rust
8995ac0448312c94f85ffe3ec92e44b85834aead
4a1dc96652ea5cbd7e0273df19c828324699f4db
Use runtime feature detection for fma routines on x86 Get performance closer to the glibc implementations by adding assembly fma routines, with runtime feature detection so they are used even if not compiled with `+fma` (as the distributed standard library is often not). Glibc uses ifuncs, this implementation stores a...
[ { "path": "library/compiler-builtins/etc/function-definitions.json", "patch": "@@ -343,13 +343,15 @@\n \"fma\": {\n \"sources\": [\n \"libm/src/math/arch/aarch64.rs\",\n+ \"libm/src/math/arch/x86/fma.rs\",\n \"libm/src/math/fma.rs\"\n ],\n \"typ...
2025-04-29T22:16:41
nodejs/node
8e189794dfd4a83378af50358c68f97eb65cf1b2
366ffdcf29423f2675a7fc8a18ad928a8b1d44f3
test: remove skip of OS X bug Three tests are skipped because of Applie bug 17894467. That bug exists in OS X 10.10, but we no longer support 10.10 (and neither does Apple). Remove the test-skipping. PR-URL: https://github.com/nodejs/node/pull/22546 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Sakthip...
[ { "path": "test/parallel/test-dgram-send-empty-array.js", "patch": "@@ -2,9 +2,6 @@\n \n const common = require('../common');\n \n-if (common.isOSX)\n- common.skip('because of 17894467 Apple bug');\n-\n const assert = require('assert');\n const dgram = require('dgram');\n ", "additions": 0, "deleti...
2018-08-27T02:39:29
vercel/next.js
bc90465fb857c68fdb94990bfd33797de708e8d5
526c7cd5352824108cf877159d6d52ce0992d380
Fix check-precompiled for next-server (#44669) Since this needs to updated quite often this moves it out of the `compiled` folder and pre-compiles on package build instead. x-ref: https://github.com/vercel/next.js/actions/runs/3858962360/jobs/6578078564
[ { "path": "packages/next/src/compiled/next-server/style.js", "patch": "@@ -1 +0,0 @@\n-(()=>{var e={597:()=>{},762:(e,t,r)=>{var n;r(597);var i=r(522);function _interopDefaultLegacy(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var s=_interopDefaultLegacy(i);function _defineProperties(e,...
2023-01-06T22:58:17
electron/electron
f96485f950a49d2e4bfac16cd8d63d2901435965
79dfb2d2f31f7590fdf899e998f862a19cd64f7c
linux: Fix error when generating symbols. Somehow strip would return 1 when a directory is passed, so we have to wrap it in a script to avoid the error.
[ { "path": "atom.gyp", "patch": "@@ -636,7 +636,10 @@\n # Gyp action requires a output file, add a fake one here.\n '<(PRODUCT_DIR)/dummy_file',\n ],\n- 'action': [ 'strip', '<@(_inputs)' ],\n+ 'action': [\n+ 'tools/posix/...
2014-08-11T11:08:29
huggingface/transformers
8ea72d12a24ed7b594bfd8e166b7705049f2a7b4
5c85018072b38bd96cb9a1a6dbac30ff9c179f1f
Fix mt5 test on AMD devices (#38081)
[ { "path": "tests/models/mt5/test_modeling_mt5.py", "patch": "@@ -1121,4 +1121,4 @@ def test_small_integration_test(self):\n mtf_score = -(labels.shape[-1] * loss.item())\n \n EXPECTED_SCORE = -84.9127\n- self.assertTrue(abs(mtf_score - EXPECTED_SCORE) < 1e-4)\n+ self.assertLess...
2025-05-12T14:59:00
golang/go
6b1e4430bb79674ff523240608f106a1aeb7302e
1c947e4f31331ffbc0397a7781c443903f1da473
[dev.typeparams] cmd/compile: implement clobberdead mode on ARM64 For debugging. Change-Id: I5875ccd2413b8ffd2ec97a0ace66b5cae7893b24 Reviewed-on: https://go-review.googlesource.com/c/go/+/324765 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@goo...
[ { "path": "src/cmd/compile/internal/arm64/ssa.go", "patch": "@@ -1114,8 +1114,34 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tv.Fatalf(\"FlagConstant op should never make it to codegen %v\", v.LongString())\n \tcase ssa.OpARM64InvertFlags:\n \t\tv.Fatalf(\"InvertFlags should never make it to c...
2021-06-03T16:23:14
rust-lang/rust
00d3fdce7cb36a8c3fa090f797bdd093665cbe93
d7df5bdf2986e596aeaeec38e732711c69ebbce1
Allow linking rustc and rustdoc against the same single tracing crate By consecutively initializing `tracing` and `rustc_log`, Rustdoc assumes that these involve 2 different tracing crates. I would like to be able to build rustdoc against the same tracing crate that rustc_log is also built against. Previously this ar...
[ { "path": "compiler/rustc_log/src/lib.rs", "patch": "@@ -37,6 +37,7 @@ use std::env::{self, VarError};\n use std::fmt::{self, Display};\n use std::io::{self, IsTerminal};\n \n+use tracing::dispatcher::SetGlobalDefaultError;\n use tracing_core::{Event, Subscriber};\n use tracing_subscriber::filter::{Directiv...
2025-05-03T16:57:20
vercel/next.js
35264c365930f6f498d7ef5b2afd04e262b7ab72
6578b139368a3df9074c3e6799d0584c31cc8ef1
Add support for rendering MDX as a server component (#44651) Adds support for rendering MDX as a Server Component. The main reason a MDX file couldn't be rendered as a Server Component is that `@mdx-js/react` has a legacy/deprecated context setup in the file. Because of calling `React.createContext` the MDX file ...
[ { "path": "examples/app-dir-mdx/.gitignore", "patch": "@@ -0,0 +1,36 @@\n+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n+\n+# dependencies\n+/node_modules\n+/.pnp\n+.pnp.js\n+\n+# testing\n+/coverage\n+\n+# next.js\n+/.next/\n+/out/\n+\n+# production\n+/build\n+\n+# ...
2023-01-06T21:09:05
electron/electron
80c77ef3a8a65290746ffe6f043985823540f3a1
cad9580796d699921745a8122434a594a8867ea2
Fix cpplint warning.
[ { "path": "atom/browser/atom_resource_dispatcher_host_delegate.cc", "patch": "@@ -4,6 +4,8 @@\n \n #include \"atom/browser/atom_resource_dispatcher_host_delegate.h\"\n \n+#include <string>\n+\n #include \"base/logging.h\"\n #include \"content/public/browser/render_frame_host.h\"\n #include \"content/public/...
2014-08-11T07:56:23
huggingface/transformers
5c85018072b38bd96cb9a1a6dbac30ff9c179f1f
7eaa90b87bcbd5013737fa183a5f7166c891fa9f
docs: fix md style (#38057)
[ { "path": "docs/source/en/model_doc/roberta.md", "patch": "@@ -23,6 +23,7 @@ rendered properly in your Markdown viewer.\n \">\n <img alt=\"SDPA\" src=\"https://img.shields.io/badge/SDPA-DE3412?style=flat&logo=pytorch&logoColor=white\">\n </div>\n+\n ## Overview\n \n The RoBERTa model was proposed in [RoBERT...
2025-05-12T14:56:31
golang/go
6d9830111402d9bd69893a8ad6074ac92a5ddd0d
e0d029f75846f84f79e63f6100c57047f4a3fa98
cmd/link: use correct alignment in PE DWARF sections Set the correct section flags to insure that .debug_* sections are using 1-byte alignment instead of the default. This seems to be important for later versions of LLVM-mingw on windows (shows up on the windows/arm64 builder). Updates #46406. Change-Id: I023d520837...
[ { "path": "src/cmd/link/internal/ld/pe.go", "patch": "@@ -475,7 +475,7 @@ func (f *peFile) addDWARFSection(name string, size int) *peSection {\n \toff := f.stringTable.add(name)\n \th := f.addSection(name, size, size)\n \th.shortName = fmt.Sprintf(\"/%d\", off)\n-\th.characteristics = IMAGE_SCN_MEM_READ | I...
2021-06-03T18:50:10
vercel/next.js
6578b139368a3df9074c3e6799d0584c31cc8ef1
015a7dd9ee1e345e66f8f8abc325beeb801e1cc8
Replace usage of example.com in gssp-redirect tests (#44664) Uses example.vercel.sh as example.com flakes quite a bit. Fixes: https://github.com/vercel/next.js/actions/runs/3857935438/jobs/6576287232
[ { "path": "test/integration/gssp-redirect-base-path/pages/gsp-blog/[post].js", "patch": "@@ -29,7 +29,7 @@ export const getStaticProps = ({ params }) => {\n let destination = '/404'\n \n if (params.post.includes('dest-external')) {\n- destination = 'https://example.com'\n+ destination = 'h...
2023-01-06T20:48:41
huggingface/transformers
4220039b29f04f5ad4d8334b226a8d068dfb1afb
8efe3a9d7783a763b1bac2e7907325235152c6db
Fix OneFormer integration test (#38016) * Fix integration tests * format
[ { "path": "tests/models/oneformer/test_modeling_oneformer.py", "patch": "@@ -528,32 +528,22 @@ def test_inference_no_head(self):\n with torch.no_grad():\n outputs = model(**inputs)\n \n- expected_slice_hidden_state = torch.tensor(\n- [[0.2723, 0.8280, 0.6026], [1.2699, ...
2025-05-12T14:02:41
nodejs/node
1a25f9639a9668d8ea90022b0f3d3b47d29971b6
b2f0cfa6b0e139a2f990d4e1e7104abf015fe8e7
doc: remove redundant 'Example:' and similar notes Some nits were also fixed in passing. PR-URL: https://github.com/nodejs/node/pull/22537 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <lui...
[ { "path": "doc/api/assert.md", "patch": "@@ -675,7 +675,7 @@ changes:\n Throws `value` if `value` is not `undefined` or `null`. This is useful when\n testing the `error` argument in callbacks. The stack trace contains all frames\n from the error passed to `ifError()` including the potential new frames for\n...
2018-08-26T16:02:27
electron/electron
cbb5004ff97ba16823fd96666edde067799f8691
9145a08395aa32fa2ca94660652aca9cdd7dd7ae
Fix compilation error of Constructor and ScopedPersistent in node 0.10.
[ { "path": "native_mate/constructor.h", "patch": "@@ -126,7 +126,7 @@ class Constructor {\n \n Constructor(const base::StringPiece& name) : name_(name) {}\n virtual ~Constructor() {\n- constructor_.Reset();\n+ MATE_PERSISTENT_RESET(constructor_);\n }\n \n v8::Handle<v8::FunctionTemplate> GetFun...
2014-08-10T04:17:47
rust-lang/rust
7106e21227634768597a4283166f20ee7a9c037b
56f018286b8feeed22284afc14c97aa2600afb88
fix: `manual_unwrap_or_default` FP on ref binding
[ { "path": "clippy_lints/src/matches/manual_unwrap_or.rs", "patch": "@@ -1,5 +1,6 @@\n use clippy_utils::consts::ConstEvalCtxt;\n use clippy_utils::source::{SpanRangeExt as _, indent_of, reindent_multiline};\n+use rustc_ast::{BindingMode, ByRef};\n use rustc_errors::Applicability;\n use rustc_hir::def::Res;\...
2025-05-03T15:38:52
golang/go
e0d029f75846f84f79e63f6100c57047f4a3fa98
dd7ba3ba2c860c40be6d70b63d4a678449cae80f
runtime: avoid gp.lockedm race in exitsyscall0 Following https://golang.org/cl/291329, exitsyscall0 accesses gp.lockedm after releasing gp to the global runq. This creates a race window where another M may schedule the (unlocked) G, which subsequently calls LockOSThread, setting gp.lockedm and thus causing exitsyscall...
[ { "path": "src/runtime/proc.go", "patch": "@@ -4083,8 +4083,16 @@ func exitsyscall0(gp *g) {\n \tif schedEnabled(gp) {\n \t\t_p_ = pidleget()\n \t}\n+\tvar locked bool\n \tif _p_ == nil {\n \t\tglobrunqput(gp)\n+\n+\t\t// Below, we stoplockedm if gp is locked. globrunqput releases\n+\t\t// ownership of gp, ...
2021-06-02T21:44:43
huggingface/transformers
a5c6172c81d69a6fa2c3b1340d72fc669b941dcd
a31fa218ad5bd5620734593ab5032eb71fddb2f6
[VLM] fix loading issues (#38051) * fix qwen2-vl loading * fix a few nore models * delete print * fix copies
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -219,22 +219,19 @@ def is_local_dist_rank_0():\n # DO NOT MODIFY, KEPT FOR BC ONLY\n VLMS = [\n \"aria\",\n- \"aya_vision\",\n+ \"ayavision\",\n \"emu3\",\n \"fuyu\",\n- \"got_ocr2\",\n+ \"gotocr2\",\n \"gemma3\",\n ...
2025-05-12T10:14:04
vercel/next.js
1f0a56632c966e7a3917899671b7444fc5566714
0e9c6170ea3153cc285b7572dba32f38e5631d19
fix(turborepo): Run update notifier on turbo that is actually executed (vercel/turbo#3190) To avoid running the update notifier twice, we delay running it until the shim decides between executing local turbo or current turbo. At that point, we check either the local turbo version or the current turbo version and ru...
[ { "path": "crates/turbo-updater/src/lib.rs", "patch": "@@ -107,6 +107,7 @@ pub fn check_for_updates(\n current_version: &str,\n timeout: Option<Duration>,\n interval: Option<Duration>,\n+ is_global_turbo: bool,\n ) -> Result<(), UpdateNotifierError> {\n // bail early if the user has disab...
2023-01-06T19:52:37
electron/electron
9145a08395aa32fa2ca94660652aca9cdd7dd7ae
3d713baa4c33baebfac82b242e8897504592c590
Fix compilation error with node 0.10.
[ { "path": "native_mate/compat.h", "patch": "@@ -38,6 +38,7 @@\n v8::Integer::NewFromUnsigned(isolate, data)\n #define MATE_EXTERNAL_NEW(isolate, data) v8::External::New(isolate, data)\n #define MATE_BOOLEAN_NEW(isolate, data) v8::Boolean::New(isolate, data)\n+#define MATE_OBJECT_NEW(isolate) v8::Object::N...
2014-08-10T03:20:41
nodejs/node
66e6d7835ea699d8efe5f53974ed7bcffe7f8a9f
08aad66411a11218674f40a393e2af91cc26ee40
doc: warn against streaming from character devices charcter device streaming works just like any other streams, but hangs on the close callsite due to the worker thread being blocked on the read and main thread waiting for any async event that may not occur. Document this behavior and suggest a potential workaround. ...
[ { "path": "doc/api/fs.md", "patch": "@@ -1464,6 +1464,26 @@ the specified file descriptor. This means that no `'open'` event will be\n emitted. `fd` should be blocking; non-blocking `fd`s should be passed to\n [`net.Socket`][].\n \n+The blocking `fd`, if pointing to a character device (such as keyboard or\n...
2018-06-08T14:23:25
rust-lang/rust
48b72c52f35be9d4d0c6ee4c42487354b73d931e
3ea420a697d4fe73c1348d40dac02718fcfccbd9
tests: add FIXME issue for `debuginfo-type-name-layout-ice-94961-2.rs`
[ { "path": "tests/ui/debuginfo/debuginfo-type-name-layout-ice-94961-2.rs", "patch": "@@ -1,4 +1,6 @@\n-//FIXME~ ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture\n+// ignore-tidy-linelength\n+// FIXME(#140620)~ ERROR values of the type `[u8; usize::MAX]` are too big for the ...
2025-05-02T15:34:59
golang/go
c790964ae457f244e634184a810b226b27bf7e0b
9a99e728fecccb992a175f9d39c5c64d78d429fc
[dev.typeparams] cmd/compile/internal/types2: convert testdata/fixedbugs tests to type set sytax Change-Id: I2ad94c71bebb93e0e3f4eba9d5199a3b3e9fa63d Reviewed-on: https://go-review.googlesource.com/c/go/+/324530 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert ...
[ { "path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue39634.go2", "patch": "@@ -31,12 +31,12 @@ type x7[A any] struct{ foo7 }\n func main7() { var _ foo7 = x7[int]{} }\n \n // crash 8\n-type foo8[A any] interface { type A }\n+type foo8[A any] interface { ~A }\n func bar8[A foo8[A]](a A) {}\n fu...
2021-06-02T22:45:43
rust-lang/rust
3ea420a697d4fe73c1348d40dac02718fcfccbd9
cb73af3e2da60268e8f5f67871870a86b9fff23d
tests: justify why `want-abort-got-unwind{,2}.rs` ignore additional errors
[ { "path": "tests/ui/panic-runtime/want-abort-got-unwind.rs", "patch": "@@ -1,16 +1,18 @@\n // ignore-tidy-linelength\n //@ build-fail\n-//@ dont-require-annotations: ERROR\n //@ dont-check-compiler-stderr\n //@ aux-build:panic-runtime-unwind.rs\n //@ compile-flags:-C panic=abort\n \n+// NOTE: depending on t...
2025-05-02T15:44:07
vercel/next.js
3b91ca98a3d2c73325c297e13cdc77d637c6fe8f
3c87e1b52af1f4e163a980d2e180ed1ff574e8ee
hmr error improvements (#30616) Co-authored-by: Hannes Bornö <hannes.borno@vercel.com> Co-authored-by: Hannes Bornö <borno.hannes@gmail.com>
[ { "path": ".eslintignore", "patch": "@@ -36,3 +36,4 @@ bench/nested-deps/pages/**\n bench/nested-deps/components/**\n packages/next-bundle-analyzer/index.d.ts\n examples/with-typescript-graphql/lib/gql/\n+test/development/basic/hmr/components/parse-error.js\n\\ No newline at end of file", "additions": 1...
2023-01-06T19:35:16
electron/electron
760f7ed24f3c3d73d50ae690ce1ae2b46e2a68df
488f7d168bd244f01b5706505e5a4fc3b0d13dad
Fix "warning: field 'widget_' is uninitialized when used here".
[ { "path": "brightray/browser/views/inspectable_web_contents_view_views.cc", "patch": "@@ -18,7 +18,7 @@ class DevToolsWindowDelegate : public views::ClientView,\n DevToolsWindowDelegate(InspectableWebContentsViewViews* shell,\n views::View* view,\n views::...
2014-08-09T01:34:06
nodejs/node
68dff4a67b7222770f90fc5d9bdd884f8db4a24b
31b3273eaa02ee12188a4c7a64a0d4adfbe22670
child_process: allow typed arrays for input doc: Update child_process docs, stating typed arrays are allowed. error: Update error message for `ERR_INVALID_SYNC_FORK_INPUT` lib: Use isArrayBufferView instead of isUint8Array test: Update test-child-process-spawnsync-input to test for all typed arrays an...
[ { "path": "doc/api/child_process.md", "patch": "@@ -688,6 +688,10 @@ configuration at startup.\n <!-- YAML\n added: v0.11.12\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/22409\n+ description: The `input` option can now be any `TypedArray` or a\n+ `...
2018-08-20T07:11:40
golang/go
97cb0113a358a24931bc91c956da0cb023f2776c
6b1cdeaef3099b32d244cef7bb5adc4d7b7628fc
[dev.typeparams] cmd/compile: fix export/import of constants with typeparam type A constant will have a TYPEPARAM type if it appears in a place where it must match that typeparam type (e.g. in a binary operation with a variable of that typeparam type). If so, then we must write out its actual constant kind as well, so...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -1061,26 +1061,50 @@ func constTypeOf(typ *types.Type) constant.Kind {\n }\n \n func (w *exportWriter) value(typ *types.Type, v constant.Value) {\n-\tir.AssertValidTypeForConst(typ, v)\n \tw.typ(typ)\n+\tvar kind constant.Kind\n+\tvar v...
2021-06-02T07:03:25
huggingface/transformers
a31fa218ad5bd5620734593ab5032eb71fddb2f6
716819b8309324302e00a3488a3c3d6faa427f79
🔴 Video processors as a separate class (#35206) * initial design * update all video processors * add tests * need to add qwen2-vl (not tested yet) * add qwen2-vl in auto map * fix copies * isort * resolve confilicts kinda * nit: * qwen2-vl is happy now * qwen2-5 happy * other models are happy * fix copies...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -39,6 +39,8 @@\n title: Tokenizers\n - local: image_processors\n title: Image processors\n+ - local: video_processors\n+ title: Video processors\n - local: backbones\n title: Backbones\n - local: feature_extractors\n...
2025-05-12T09:55:51
rust-lang/rust
cb73af3e2da60268e8f5f67871870a86b9fff23d
a6cac47500a43ff872475801a83a70c414e756a1
tests: explain why `two-panic-runtimes.rs` ignores target-dependent errors
[ { "path": "tests/ui/panic-runtime/two-panic-runtimes.rs", "patch": "@@ -1,11 +1,19 @@\n // ignore-tidy-linelength\n //@ build-fail\n-//@ dont-require-annotations: ERROR\n //@ dont-check-compiler-stderr\n //@ aux-build:panic-runtime-unwind.rs\n //@ aux-build:panic-runtime-unwind2.rs\n //@ aux-build:panic-run...
2025-05-02T15:40:31
vercel/next.js
3c87e1b52af1f4e163a980d2e180ed1ff574e8ee
beb37f0c5d122d51a8d18bac6318903f6055b740
chore: improves console warnings related to edge runtime (#44563) ## :book: What's in there? With Edge Function GA for API Routes, it would make sense to suggest developer to change their runtime key from `experimental-edge` to `edge`. Current behavior is: 1. when using `experimental-edge` in API route: > p...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -2,6 +2,7 @@ import type { NextConfig } from '../../server/config-shared'\n import type { Middleware, RouteHas } from '../../lib/load-custom-routes'\n \n import { promises as fs } from 'fs'\n+import LRUCache from 'next/dist/c...
2023-01-06T19:28:51
electron/electron
b93564894ce3ca476c0b8550d7405af2b46cdca9
54b8a62920c525543bfc3c1b7bf792c4b0a12e71
Make script quit when error happens in child processes.
[ { "path": "script/build.py", "patch": "@@ -20,7 +20,9 @@ def main():\n args = parse_args()\n for config in args.configuration:\n build_path = os.path.join('out', config)\n- subprocess.call([ninja, '-C', build_path, args.target])\n+ ret = subprocess.call([ninja, '-C', build_path, args.target])\...
2014-08-08T15:23:56
nodejs/node
31b3273eaa02ee12188a4c7a64a0d4adfbe22670
dd03706d62937d759bbd358fd122e46c2c769cb8
test: remove string literal from strictEqual() Remove 3rd argument from assert.deepStrictEqual() in test/parallel/test-stream2-writable.js to allow for debugging to work properly. PR-URL: https://github.com/nodejs/node/pull/22512 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gma...
[ { "path": "test/parallel/test-stream2-writable.js", "patch": "@@ -55,7 +55,8 @@ for (let i = 0; i < chunks.length; i++) {\n });\n \n tw.on('finish', common.mustCall(function() {\n- assert.deepStrictEqual(tw.buffer, chunks, 'got chunks in the right order');\n+ // got chunks in the right order\n+ ...
2018-08-24T20:27:00
rust-lang/rust
a6cac47500a43ff872475801a83a70c414e756a1
d7df5bdf2986e596aeaeec38e732711c69ebbce1
tests: fix a panic strategy in `cfg_false_no_std-2.rs` To avoid having target-dependent "unwinding panics are not supported without std" errors, without regressing test intention.
[ { "path": "tests/ui/cfg/cfg_false_no_std-2.rs", "patch": "@@ -1,7 +1,11 @@\n // Error, the linked empty library is `no_std` and doesn't provide a panic handler.\n \n-//@ dont-require-annotations: ERROR\n //@ dont-check-compiler-stderr\n+\n+// NOTE: fix a panic strategy to prevent differing errors subject to...
2025-05-02T15:29:00
huggingface/transformers
716819b8309324302e00a3488a3c3d6faa427f79
8f08318769c15fdb6b64418cbb070e8a8b405ffb
fix(conversion): Fix size mismatch error during TF->PT model loading (#38014)
[ { "path": "src/transformers/modeling_tf_pytorch_utils.py", "patch": "@@ -585,8 +585,8 @@ def load_tf2_state_dict_in_pytorch_model(pt_model, tf_state_dict, allow_missing_\n loaded_pt_weights_data_ptr = {}\n missing_keys_pt = []\n for pt_weight_name, pt_weight in current_pt_params_dict.items():\n-...
2025-05-10T11:11:07
vercel/next.js
beb37f0c5d122d51a8d18bac6318903f6055b740
a38b5d2f34bd229fbaac6655593e7bd9d2f5602a
Fix paths for check-examples script (#44661) These paths needed updating from the new template paths. Fixes: https://github.com/vercel/next.js/actions/runs/3855317263/jobs/6570244567
[ { "path": "scripts/check-examples.sh", "patch": "@@ -2,14 +2,14 @@\n \n for folder in examples/* ; do\n if [ -f \"$folder/package.json\" ]; then\n- cp -n packages/create-next-app/templates/default/gitignore $folder/.gitignore;\n+ cp -n packages/create-next-app/templates/default/js/gitignore $folder/...
2023-01-06T19:23:12
nodejs/node
dd03706d62937d759bbd358fd122e46c2c769cb8
2eef0778344b00609760cf7fcc12508e10c27516
http2: throw better error when accessing unbound socket proxy Fixes: https://github.com/nodejs/node/issues/22268 PR-URL: https://github.com/nodejs/node/pull/22486 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Revie...
[ { "path": "doc/api/errors.md", "patch": "@@ -1033,6 +1033,12 @@ The `Http2Session` settings canceled.\n An attempt was made to connect a `Http2Session` object to a `net.Socket` or\n `tls.TLSSocket` that had already been bound to another `Http2Session` object.\n \n+<a id=\"ERR_HTTP2_SOCKET_UNBOUND\"></a>\n+#...
2018-08-23T17:38:31
huggingface/transformers
8f08318769c15fdb6b64418cbb070e8a8b405ffb
87e971e14d21b1c667faac17b27664c27e5ffaf3
enable generation fsdp/utils cases on XPU (#38009) * enable generation fsdp/utils test cases on XPU Signed-off-by: Yao Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao Matrix <matrix.yao@intel.com> * xx Signed-off-by: Yao Matrix <matrix.yao@intel.com> * use backend_xx APIs Signed-off-by: Yao Matrix ...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -2986,28 +2986,37 @@ def _device_agnostic_dispatch(device: str, dispatch_table: dict[str, Callable],\n \"cpu\": 0,\n \"default\": 0,\n }\n+ BACKEND_TORCH_ACCELERATOR_MODULE = {\n+ \"cuda\": torch.cuda,\n+ \"cpu\...
2025-05-09T20:52:41
vercel/next.js
54ef48f79677f8edf5735dbdd09e5ef8912787a1
3a9e53276885a237f42ad37f592a6cc325032c7f
docs: clarify default `basePath` value (#44642) Closes #43946 ## 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 - [ ] Implements an exist...
[ { "path": "docs/api-reference/next.config.js/basepath.md", "patch": "@@ -15,7 +15,7 @@ description: Learn more about setting a base path in Next.js\n \n To deploy a Next.js application under a sub-path of a domain you can use the `basePath` config option.\n \n-`basePath` allows you to set a path prefix for ...
2023-01-06T17:55:39
nodejs/node
ccb303e03795cee25527edb867f7903477ed5de6
50aa85dc9bf47c7fad280aba40401a14c81a1aac
repl: improve error output 1) Currently extra properties on an error will be ignored, if thrown. This information will from now on be visible. 2) In case someone threw a non error object it would have resulted in `[object Object]`. Instead, the full object will now be visible. 3) Some cases were not detected pro...
[ { "path": "lib/repl.js", "patch": "@@ -410,29 +410,50 @@ function REPLServer(prompt,\n \n self._domain.on('error', function debugDomainError(e) {\n debug('domain error');\n- const top = replMap.get(self);\n- const pstrace = Error.prepareStackTrace;\n- Error.prepareStackTrace = prepareStackTra...
2018-08-21T01:22:18
huggingface/transformers
87e971e14d21b1c667faac17b27664c27e5ffaf3
aaed2f557718b7b762a88bd0fd700cfca9851193
Fix linalg.norm for CovnNextV2 (#38015) Fix norm
[ { "path": "src/transformers/models/convnextv2/modeling_convnextv2.py", "patch": "@@ -83,7 +83,7 @@ def __init__(self, dim: int):\n \n def forward(self, hidden_states: torch.FloatTensor) -> torch.FloatTensor:\n # Compute and normalize global spatial feature maps\n- global_features = torch....
2025-05-09T16:44:28
golang/go
6b1cdeaef3099b32d244cef7bb5adc4d7b7628fc
c7b98115815a04d9efa664c163d39f5fea38b32c
[dev.typeparams] cmd/link: include "go build" output in test logs If running "go build" outputs anything, write it to the test log even if the test succeeds. This makes it easier to diagnose errors within the compiler by adding print statements and finding them in the test log, even if the compiler exits successfully....
[ { "path": "src/cmd/link/internal/ld/dwarf_test.go", "patch": "@@ -101,8 +101,11 @@ func gobuild(t *testing.T, dir string, testfile string, gcflags string) *builtFi\n \t}\n \n \tcmd := exec.Command(testenv.GoToolPath(t), \"build\", gcflags, \"-o\", dst, src)\n-\tif b, err := cmd.CombinedOutput(); err != nil ...
2021-06-02T00:00:26
electron/electron
d175a998113fd2af8d22f41013a9a8afc647b4c5
724b29d6d489db02bc2049b0638319243674fe05
Fix pylint warning.
[ { "path": "script/coffeelint.py", "patch": "@@ -1,6 +1,5 @@\n #!/usr/bin/env python\n \n-import errno\n import glob\n import os\n import sys", "additions": 0, "deletions": 1, "language": "Python" } ]
2014-08-08T09:32:00
huggingface/transformers
aaed2f557718b7b762a88bd0fd700cfca9851193
7f1a97bae36e2d106175995931a506b3f735854d
Fix cache update! (#38046) * fix slicing * better fix
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1402,7 +1402,7 @@ def update(\n value_states = value_states.to(v_out.dtype)\n \n # assume this only happens in prefill phase when prompt length > sliding_window_size (= max_cache_len)\n- if cache_position.shape[0] > self.max_c...
2025-05-09T15:54:48
nodejs/node
50aa85dc9bf47c7fad280aba40401a14c81a1aac
fa3d6bedf9b1507bc17265eb9fad70b623247d85
crypto: deprecate _toBuf PR-URL: https://github.com/nodejs/node/pull/22501 Fixes: https://github.com/nodejs/node/issues/22425 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgew...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1031,6 +1031,14 @@ With the current crypto API, having `Cipher.setAuthTag()` and\n when called. They have never been documented and will be removed in a future\n release.\n \n+<a id=\"DEP0114\"></a>\n+### DEP0114: crypto._toBuf()\n+\n+Type: Runtime\n+\n+The...
2018-08-24T08:37:45
electron/electron
724b29d6d489db02bc2049b0638319243674fe05
336908eba091f9077afbf2ee30252aacf0f9633c
win: Fix calling lint scripts with win32 python.
[ { "path": "script/coffeelint.py", "patch": "@@ -3,33 +3,27 @@\n import errno\n import glob\n import os\n-import subprocess\n import sys\n \n+from lib.util import execute\n \n-SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))\n+\n+SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)...
2014-08-08T08:41:10
golang/go
dd7ba3ba2c860c40be6d70b63d4a678449cae80f
4f572d707661e3e84ff262d6c605eb6fa1f77abd
net: don't rely on system hosts in TestCVE202133195 Also don't unnecessarily deref the error return. Fixes #46504 Change-Id: I22d14ac76776f8988fa0774bdcb5fcd801ce0185 Reviewed-on: https://go-review.googlesource.com/c/go/+/324190 Trust: David Chase <drchase@google.com> Trust: Damien Neil <dneil@google.com> Run-TryBot...
[ { "path": "src/net/dnsclient_unix_test.go", "patch": "@@ -1898,61 +1898,62 @@ func TestCVE202133195(t *testing.T) {\n \t// Change the default resolver to match our manipulated resolver\n \toriginalDefault := DefaultResolver\n \tDefaultResolver = &r\n-\tdefer func() {\n-\t\tDefaultResolver = originalDefault\...
2021-06-02T16:20:22
huggingface/transformers
7f1a97bae36e2d106175995931a506b3f735854d
9f9020fed3bf7863efb90d3f146f2bb53ce29dc3
Fix reduce-labels in BEIT Fast Image Processor (#38042) * Fixed reduce-labels * Little doc fix * Change docstring
[ { "path": "docs/source/en/model_doc/beit.md", "patch": "@@ -150,6 +150,7 @@ If you're interested in submitting a resource to be included here, please feel f\n [[autodoc]] BeitImageProcessor\n - preprocess\n - post_process_semantic_segmentation\n+\n ## BeitImageProcessorFast\n \n [[autodoc]] BeitImag...
2025-05-09T15:51:46
nodejs/node
1c05b16c9e7b8d054d1661c61ae054efe83108ac
e9876fd4f1b44381f28c61adfce45707f46eaef9
src: fix NODE_OPTIONS parsing bug I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: https://github.com/nodejs/node/issues/22526 Refs: https://github.com/nodejs/node/pull/22392 PR-URL: https://github.com/nodejs/node/pull/2252...
[ { "path": "src/node.cc", "patch": "@@ -2922,7 +2922,8 @@ void Init(std::vector<std::string>* argv,\n index = node_options.find(' ', index + 1);\n if (index - prev_index == 1) continue;\n \n- const std::string option = node_options.substr(prev_index + 1, index);\n+ const std::string opt...
2018-08-26T00:34:05
electron/electron
4890eebd3ae5b4a20dc153eab032ad2af8b80817
7f9ac88c31ba5964a4e1dc91fff5f709d5bce312
Open output file in binary mode in download() This fixes #553.
[ { "path": "script/lib/util.py", "patch": "@@ -31,7 +31,7 @@ def scoped_cwd(path):\n \n def download(text, url, path):\n safe_mkdir(os.path.dirname(path))\n- with open(path, 'w') as local_file:\n+ with open(path, 'wb') as local_file:\n web_file = urllib2.urlopen(url)\n file_size = int(web_file.in...
2014-08-08T06:08:01
golang/go
bc1fbe204443cc2e32391b79effe9c18f295d0c2
a3b5084204a69e441fa1cc4162a14d93c3507d54
[dev.fuzz] internal/fuzz: notify coordinator for minimization When a worker process finds a crasher, it now sends that result directly to the coordinator without attempting to minimize it first. The coordinator stops sending new inputs and sends the unminimized crasher back to a worker (any worker) for minimization. ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_minimize.txt", "patch": "@@ -6,12 +6,8 @@\n # We clean the fuzz cache during this test. Don't clean the user's cache.\n env GOCACHE=$WORK/gocache\n \n-# TODO(b/181800488): remove -parallel=1, here and below. For now, when a\n-# crash is found, all workers keep...
2021-05-21T16:44:26
huggingface/transformers
a72cb314347bd6b393eb4a48d597c2e57bfd5c4a
1dfad4beb2273b82e91c45a9cb2511028d4e0e24
enable utils test cases on XPU (#38005) * enable utils test cases on XPU Signed-off-by: Yao Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao Matrix <matrix.yao@intel.com> * Update tests/utils/test_skip_decorators.py Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>...
[ { "path": "tests/utils/test_cache_utils.py", "patch": "@@ -28,6 +28,7 @@\n require_torch,\n require_torch_accelerator,\n require_torch_gpu,\n+ require_torch_multi_accelerator,\n require_torch_multi_gpu,\n slow,\n torch_device,\n@@ -355,7 +356,7 @@ def test_dynamic_cache_hard(self)...
2025-05-09T06:45:01
vercel/next.js
02f97ab0d9c5c32d14a8d035b44201241146ebe9
8b99e06e30007a1b1d31636544d0c16a1b71c8ee
Fix font unit test on Azure (#44618) The error message differs slightly based on the Node.js version so this special cases it. Fixes: https://dev.azure.com/nextjs/next.js/_build/results?buildId=45839&view=logs&j=8af7cf9c-43a1-584d-6f5c-57bad8880974&t=7ae70e63-3625-50f4-6764-5b3e72b4bd7a
[ { "path": "test/unit/google-font-loader.test.ts", "patch": "@@ -166,7 +166,9 @@ describe('@next/font/google loader', () => {\n variableName: 'myFont',\n })\n ).rejects.toThrowErrorMatchingInlineSnapshot(\n- `\"Cannot read properties of undefined (reading 'subsets')\"`\n+ ...
2023-01-06T02:55:21
nodejs/node
e9876fd4f1b44381f28c61adfce45707f46eaef9
c917540f2280dd1047f9d44a4ba29ca90e64c2ab
doc: document removed error codes PR-URL: https://github.com/nodejs/node/pull/22100 Fixes: https://github.com/nodejs/node/issues/22061 Refs: https://github.com/nodejs/node/pull/21491 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1848,6 +1848,204 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.\n A module file could not be resolved while attempting a [`require()`][] or\n `import` operation.\n \n+## Legacy Node.js Error Codes\n+\n+> Stability: 0 - Deprecated. These...
2018-08-02T06:58:19
huggingface/transformers
121f7037c7acd26eec6db405f2e2cb6d70e4931c
5f5ccfdc545d94202ded13217613032c81151aa5
fix document masking for chunked attention (#37429) * fix document masking for chunked attention * remove accidental debugging sum
[ { "path": "src/transformers/integrations/flex_attention.py", "patch": "@@ -122,7 +122,7 @@ def make_flex_block_causal_mask(\n \n if attention_chunk_size is not None:\n # we create an arange, then we just // by chunk size to get [0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3]\n- document_ids = (docum...
2025-05-09T06:22:00
golang/go
4f572d707661e3e84ff262d6c605eb6fa1f77abd
e11d14225c032a7c2722798db3c309762fa99757
io/fs: minor corrections to Sub docs Fixes #44376 Change-Id: I9cd21adb9d4d434c3d8b8eb8af3042b70c763ea1 Reviewed-on: https://go-review.googlesource.com/c/go/+/296389 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
[ { "path": "src/io/fs/sub.go", "patch": "@@ -19,10 +19,10 @@ type SubFS interface {\n \n // Sub returns an FS corresponding to the subtree rooted at fsys's dir.\n //\n-// If fs implements SubFS, Sub calls returns fsys.Sub(dir).\n-// Otherwise, if dir is \".\", Sub returns fsys unchanged.\n+// If dir is \".\"...
2021-02-25T16:21:52
vercel/next.js
8b99e06e30007a1b1d31636544d0c16a1b71c8ee
08c9530241e1c9245a5db861e504c8ed71b93abb
Improve errors caused by Next.js client hook called in a server component (#44588) Throws if any of the Next.js client hooks are used in a server component in DEV. ``` Error: useSearchParams only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org...
[ { "path": "packages/next/src/client/components/client-hook-in-server-component-error.ts", "patch": "@@ -0,0 +1,14 @@\n+import React from 'react'\n+\n+export function clientHookInServerComponentError(\n+ hookName: string\n+): void | never {\n+ if (process.env.NODE_ENV !== 'production') {\n+ // If useSta...
2023-01-06T02:21:56
electron/electron
c9702b56e2a01a04d347e5a9731cd61a5504b5b4
279eb23b38cbc7ce1ce2523b8ac3400c11c2f60c
Build only Debug version.
[ { "path": "appveyor.yml", "patch": "@@ -17,7 +17,7 @@ install:\n - cmd: SET PATH=C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\;%PATH%\n - cmd: SET PATH=C:\\python27;%PATH%\n - cmd: python script/bootstrap.py\n- - python script/build.py\n+ - python script/build.py -c Debug\n \n test_script:\n - nod...
2014-08-08T00:18:16
golang/go
aa9cfdf775692a9fa6cc4ea9768415d73323c0cc
0c123cdf8ba88991e51fdb3523fdc7df03cf3118
[dev.typeparams] runtime: update ABIInternal assembly with register ABI on ARM64 mcall calls a closure (using ABIInternal) with an argument. Update it to pass the argument in register. Panic functions tail-call Go panic functions using ABIInternal. Update them to pass the arguments in registers. Race functions are c...
[ { "path": "src/runtime/asm_arm64.s", "patch": "@@ -152,7 +152,13 @@ TEXT gogo<>(SB), NOSPLIT|NOFRAME, $0\n // Switch to m->g0's stack, call fn(g).\n // Fn must never return. It should gogo(&g->sched)\n // to keep running g.\n-TEXT runtime·mcall(SB), NOSPLIT|NOFRAME, $0-8\n+TEXT runtime·mcall<ABIInternal>(SB...
2021-05-29T01:56:50
huggingface/transformers
5f5ccfdc545d94202ded13217613032c81151aa5
d231f5a7d4d110fffe91ba31b4995c8574036c14
[`AutoDocstring`] Based on inspect parsing of the signature (#33771) * delete common docstring * nit * updates * push * fixup * move stuff around fixup * no need for dataclas * damn nice modular * add auto class docstring * style * modular update * import autodocstring * fixup * maybe add original doc! *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -21,6 +21,8 @@\n title: Adding a new model to Transformers\n - local: modular_transformers\n title: Modular Transformers\n+ - local: auto_docstring\n+ title: Document your models\n - local: task_summary\n title: What 🤗 ...
2025-05-08T21:46:07
vercel/next.js
08c9530241e1c9245a5db861e504c8ed71b93abb
9d133ff550c3cd8ec0826cea06222292b726c84b
Fix docs only change for canary (#44617) Corrects the docs only change on the canary branch x-ref: https://github.com/vercel/next.js/actions/runs/3851804915/jobs/6563359142
[ { "path": "scripts/run-for-change.js", "patch": "@@ -65,7 +65,7 @@ async function main() {\n const typeIndex = process.argv.indexOf('--type')\n const type = typeIndex > -1 && process.argv[typeIndex + 1]\n const isNegated = process.argv.indexOf('--not') > -1\n- const alwaysCanary = process.argv.includ...
2023-01-06T01:55:25
nodejs/node
ea8b932f30665436796c7e5abd485f048a0f41c8
4dc8467dbb1f6a46c25931f92467a04bb384a830
util: restore all information in inspect The former implementation lacked symbols on the iterator objects without prototype. This is now fixed. The special handling for overriding `Symbol.iterator` was removed as it's very difficult to deal with this properly. Manipulating the symbols is just not supported. PR-URL: h...
[ { "path": "lib/util.js", "patch": "@@ -513,13 +513,6 @@ function getPrefix(constructor, tag, fallback) {\n return '';\n }\n \n-function addExtraKeys(source, target, keys) {\n- for (const key of keys) {\n- target[key] = source[key];\n- }\n- return target;\n-}\n-\n function findTypedConstructor(value)...
2018-08-21T15:39:01
electron/electron
58a09f6495e5de154244d42fec60af9a7c33ce20
c2885f77c946cd42bb55a04353b2f97abfeec446
linux: Fix detecting Alt modifier.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -82,7 +82,8 @@ bool IsAltKey(const content::NativeWebKeyboardEvent& event) {\n \n bool IsAltModifier(const content::NativeWebKeyboardEvent& event) {\n typedef content::NativeWebKeyboardEvent::Modifiers Modifiers;\n- return (event.modifiers == ...
2014-08-07T08:45:54
huggingface/transformers
b3db4ddb2255bb4c8c4340fa630a53ac1cc53dee
c7c2f08994b1cacd77ead61e1627b7017df13bf9
enable mamba2 integration cases on xpu (#38006) * enable mamba2 integration cases on XPU Signed-off-by: Yao Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao Matrix <matrix.yao@intel.com> --------- Signed-off-by: Yao Matrix <matrix.yao@intel.com>
[ { "path": "tests/models/mamba2/test_modeling_mamba2.py", "patch": "@@ -18,7 +18,14 @@\n from parameterized import parameterized\n \n from transformers import AutoTokenizer, Mamba2Config, is_torch_available\n-from transformers.testing_utils import require_read_token, require_torch, require_torch_gpu, slow, t...
2025-05-08T19:48:09
golang/go
dc2cb529a8c9e4b771163be1974ef39d76c3f548
d2b435117d3a1db612ad894125b8ab673a5a46ee
[dev.typeparams] runtime: mark assembly functions called directly from compiler ABIInternal For functions such as gcWriteBarrier and panicIndexXXX, the compiler generates ABIInternal calls directly. And they must not use wrappers because it follows a special calling convention or the caller's PC is used. Mark them as ...
[ { "path": "src/cmd/internal/obj/arm64/obj7.go", "patch": "@@ -325,9 +325,9 @@ func (c *ctxt7) rewriteToUseGot(p *obj.Prog) {\n \t\t// CALL REGTMP\n \t\tvar sym *obj.LSym\n \t\tif p.As == obj.ADUFFZERO {\n-\t\t\tsym = c.ctxt.Lookup(\"runtime.duffzero\")\n+\t\t\tsym = c.ctxt.LookupABI(\"runtime.duffzero\"...
2021-05-27T22:07:36
nodejs/node
4dc8467dbb1f6a46c25931f92467a04bb384a830
211834234622f4da6347b1bec04333471a8443e3
test: add test unknown credential error of process.setgroups Added test to check ERR_UNKNOWN_CREDENTIAL of process.setgroups to increase coverage. PR-URL: https://github.com/nodejs/node/pull/22368 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin I...
[ { "path": "test/parallel/test-process-setgroups.js", "patch": "@@ -45,3 +45,10 @@ assert.throws(\n }\n );\n });\n+\n+assert.throws(() => {\n+ process.setgroups([1, 'fhqwhgadshgnsdhjsdbkhsdabkfabkveyb']);\n+}, {\n+ code: 'ERR_UNKNOWN_CREDENTIAL',\n+ message: 'Group identifier does not exist: fhqwhga...
2018-08-16T22:45:55
rust-lang/rust
61488e5070b0af9697250af27df5d0aa36fe7c73
3350c1eb3fd8fe1bee1ed4c76944d707bd256876
Fix test simd/extract-insert-dyn on s390x Fix the test for s390x by enabling s390x vector extension via `target_feature(enable = "vector")`(#127506). As this is is still gated by `#![feature(s390x_target_feature)]` we need that attribute also.
[ { "path": "tests/codegen/simd/extract-insert-dyn.rs", "patch": "@@ -1,6 +1,12 @@\n //@compile-flags: -C opt-level=3 -C no-prepopulate-passes\n \n-#![feature(core_intrinsics, repr_simd, arm_target_feature, mips_target_feature)]\n+#![feature(\n+ core_intrinsics,\n+ repr_simd,\n+ arm_target_feature,\n...
2025-04-28T20:25:00
vercel/next.js
5f2c9d0b301588cec60c3bfb6b36cb7ece787659
2c49972219790b72107ef992c6ed3df7d93a75d4
Update subset validation in @next/font/google and fix CJK bug (#44594) Currently there's a bug when selecting Chinese, Japanese or Korean (CJK) as subsets. ```js const notoSans = Noto_Sans_JP({ subsets: ['japanese'], }) ``` It actually doesn't work, nothing preloads. This PR solves this by removing CJK langu...
[ { "path": "errors/google-fonts-missing-subsets.md", "patch": "@@ -6,7 +6,7 @@ Preload is enabled for a font that is missing a specified subset.\n \n #### Possible Ways to Fix It\n \n-Specify which subsets to preload for that font.\n+##### Specify which subsets to preload for that font.\n \n - On a font per ...
2023-01-05T23:51:38
electron/electron
3d989b6736dc7ce36dce4de84ef579aa6bbb430b
daa00e6539ece0cb91d4f6125403587c49376582
win: Fix the key code of Alt.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -550,8 +550,12 @@ void NativeWindowViews::HandleKeyboardEvent(\n const content::NativeWebKeyboardEvent& event) {\n if (menu_bar_autohide_ &&\n (event.modifiers & content::NativeWebKeyboardEvent::AltKey) &&\n+#if defined(USE_X11)\n ...
2014-08-07T07:02:27
golang/go
ff9f5fb8591c6d3e4cd4881e75f49440a3a875c2
1c6a2ea2ea4b04416f7344ee5effe81816c7200b
cmd/link: recognize clang linker error in testCGOLTO Also recognize a case in which GCC does not run (from https://build.golang.org/log/7f6d8b35c905b9829f05906beccca44f208aa569). Fixes #46517 Change-Id: I4fe4164a5df92b2dec08fd767f65a4d5479f3f36 Reviewed-on: https://go-review.googlesource.com/c/go/+/324169 Trust: Ian...
[ { "path": "src/cmd/link/cgo_test.go", "patch": "@@ -121,11 +121,14 @@ func testCGOLTO(t *testing.T, cc string, test int) {\n \t\tt.Logf(\"go build failed: %v\", err)\n \n \t\t// Error messages we've seen indicating that LTO is not supported.\n+\t\t// These errors come from GCC or clang, not Go.\n \t\tvar no...
2021-06-02T14:43:57
nodejs/node
656da16e1c6c76ee1b96745bc8a92750ed4435d5
57d98bc7323b4f72631074cd68a9306f33066bb8
test,stream: fix pipeline test so it runs well on Windows in older nodes This test is ported automatically in readable-stream, and it fails there on Windows and older Node.js versions because of some bad interactions between the code and the event loop on Windows. See: https://github.com/nodejs/readable-stream/issues...
[ { "path": "test/parallel/test-stream-pipeline.js", "patch": "@@ -165,8 +165,13 @@ const { promisify } = require('util');\n \n {\n const server = http.createServer((req, res) => {\n+ let sent = false;\n const rs = new Readable({\n read() {\n+ if (sent) {\n+ return;\n+ }\...
2018-08-22T08:46:50
vercel/next.js
77f40ae9f1510ebb306d6c1563b989359b10190b
a79d85d1a9e4ef20fc39243675129b95259537ed
Correct link to full list of `Permissions-Policy` permissions (#44607) The current link to specification doesn't have most of the policies, which are spread across multiple different documents. I have changed the link to [w3c Policy Controlled Features](https://github.com/w3c/webappsec-permissions-policy/blob/main/...
[ { "path": "docs/advanced-features/security-headers.md", "patch": "@@ -76,7 +76,7 @@ This header indicates whether the site should be allowed to be displayed within\n \n ### [Permissions-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy)\n \n-This header allows you to control w...
2023-01-05T21:48:49
huggingface/transformers
d23aae2b8c8738a12ab1b6710e60ae5866beaf9d
e296c63cd486c7da646c9e00eefd6a94fdf443a7
[VLMs] support attention backends (#37576) * update models * why rename * return attn weights when sdpa * fixes * fix attn implementation composite * fix moshi * add message * add typings * use explicitly all flags for each attn type * fix some tests * import what is needed * kosmos on main has ew attentio...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -833,6 +833,7 @@ def to_diff_dict(self) -> dict[str, Any]:\n if \"model_type\" in value:\n # Needs to be set even if it's not in the diff\n diff[\"model_type\"] = value[\"model_type\"]\n...
2025-05-08T16:18:54