repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
7bba4d12025b2e76aa0962a0dbacd4bf944d19a9
ab925343775847c224af9653cb141efd25846167
Fix video processing channel format (#41603) fix
[ { "path": "src/transformers/video_processing_utils.py", "patch": "@@ -57,12 +57,12 @@\n VideoInput,\n VideoMetadata,\n group_videos_by_shape,\n+ infer_channel_dimension_format,\n is_valid_video,\n load_video,\n make_batched_metadata,\n make_batched_videos,\n reorder_videos...
2025-10-15T13:48:01
vercel/next.js
5bc1e65efd5e9fa6ab16b63adbb080756f853766
d3c59a11477cf1a527e5496e4d9bc1ae8f55a62f
Add flag to switch to the experimental channel (#48896) This PR does three things: - Vendors the package `react-server-dom-webpack@experimental` as `react-server-dom-webpack-experimental` similar to React and React DOM - Upgrades all vendored React packages - Re-lands the `experimentalReact` flag to switch between...
[ { "path": "package.json", "patch": "@@ -204,6 +204,7 @@\n \"react-dom-builtin\": \"npm:react-dom@18.3.0-next-6eadbe0c4-20230425\",\n \"react-dom-experimental-builtin\": \"npm:react-dom@0.0.0-experimental-6eadbe0c4-20230425\",\n \"react-server-dom-webpack\": \"18.3.0-next-6eadbe0c4-20230425\",\n+...
2023-05-01T13:49:10
golang/go
7fbe2f4cc877a02465f36e10e7547e03bcb6e1af
11972353a67456d776cf891a9e46873e8a1fe630
doc/go1.18: document compiler change for "declared but not used" errors Fixes #49214. For #47694. Change-Id: Iba68ed17bfd81890309b6a6732087f87a03e1350 Reviewed-on: https://go-review.googlesource.com/c/go/+/366274 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go ...
[ { "path": "doc/go1.18.html", "patch": "@@ -29,6 +29,20 @@ <h2 id=\"language\">Changes to the language</h2>\n TODO: complete this section\n </p>\n \n+<h3 id=\"bug_fixes\">Bug fixes</h3>\n+\n+<p>\n+ The Go 1.18 compiler now correctly reports <code>declared but not used</code> errors\n+ for variables that ...
2021-11-22T20:21:12
rust-lang/rust
ac8f50473caf0b43c05e07028cae7f13d074efb5
19c1c709054ea1964d942259c5c33ad6489cd1e0
Fix `non_copy_const` ICE
[ { "path": "clippy_lints/src/non_copy_const.rs", "patch": "@@ -617,7 +617,7 @@ impl<'tcx> NonCopyConst<'tcx> {\n \n // Then a type check. Note we only check the type here as the result\n // gets cached.\n- let ty = EarlyBinder::bind(typeck.expr_ty(src_expr)).instantiate(tcx...
2025-06-19T19:30:13
huggingface/transformers
ab925343775847c224af9653cb141efd25846167
56a727dde5c29d902d58d984d346affc223ae241
enable sdpa enable gqa logic for Ascend NPU (#41601) * enable gqa logic for Ascend NPU * remove redundant comments * fix comments about Ascend NPU --------- Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
[ { "path": "src/transformers/integrations/sdpa_attention.py", "patch": "@@ -29,19 +29,15 @@ def repeat_kv(hidden_states: torch.Tensor, n_rep: int) -> torch.Tensor:\n \n def use_gqa_in_sdpa(attention_mask: Optional[torch.Tensor], key: torch.Tensor) -> bool:\n # GQA can only be used under the following con...
2025-10-15T13:45:28
vercel/next.js
d3c59a11477cf1a527e5496e4d9bc1ae8f55a62f
c1f15b0ee642977bc69bb52345931dcbf6e03742
Fix failing test on `canary` branch (#49038) Not sure when it was introduced (this was a warning before), but it's failing on `canary` right now: https://github.com/vercel/next.js/actions/runs/4851306015/jobs/8645117315
[ { "path": "test/e2e/switchable-runtime/app/layout.js", "patch": "@@ -1,6 +1,4 @@\n-export const config = {\n- revalidate: 0,\n-}\n+export const revalidate = 0\n \n export default function Root({ children }) {\n return (", "additions": 1, "deletions": 3, "language": "JavaScript" } ]
2023-05-01T13:23:14
golang/go
11972353a67456d776cf891a9e46873e8a1fe630
100d7ea50dbe601164f428f5e4203be7727093f9
cmd/go: allow a package that ends with _test having an internal test package Fixes #45477 Change-Id: I2f1ed281515ec40d31fd07ce9f4901777691bfa7 GitHub-Last-Rev: 7894d9400c95b8d84efe88f401fa75c3dd01921a GitHub-Pull-Request: golang/go#49673 Reviewed-on: https://go-review.googlesource.com/c/go/+/365534 Trust: Heschi Krei...
[ { "path": "src/cmd/go/testdata/script/test_issue45477.txt", "patch": "@@ -0,0 +1,12 @@\n+[short] skip # links and runs a test binary\n+\n+go test -v .\n+\n+-- go.mod --\n+module example.com/pkg_test\n+\n+-- pkg.go --\n+package pkg_test\n+\n+-- pkg_test.go --\n+package pkg_test", "additions": 12, "d...
2021-11-22T02:41:07
rust-lang/rust
eb2913b01b3e423b2bcd73cc62406ffecbe59ea3
8de4c7234dd9b97c9d76b58671343fdbbc9a433e
Fix unsoundness in some tests
[ { "path": "library/coretests/tests/io/borrowed_buf.rs", "patch": "@@ -66,7 +66,7 @@ fn clear() {\n \n #[test]\n fn set_init() {\n- let buf: &mut [_] = &mut [MaybeUninit::uninit(); 16];\n+ let buf: &mut [_] = &mut [MaybeUninit::zeroed(); 16];\n let mut rbuf: BorrowedBuf<'_> = buf.into();\n \n u...
2025-06-19T19:55:55
huggingface/transformers
56a727dde5c29d902d58d984d346affc223ae241
dc6fdeb7052d23a7efde1e7dc793c17e2cfe98b0
Add fast path for bidirectional mask creation to fix regression (#41586) * fixed performance regression * also fixed the older_torch function * Update src/transformers/masking_utils.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * fix * more general * fix slicing * fix data dependent...
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -405,6 +405,16 @@ def sdpa_mask_recent_torch(\n if allow_is_bidirectional_skip and _ignore_bidirectional_mask_sdpa(padding_mask):\n return None\n \n+ # vmap can incur performance issues as reported in #41566 for bidirectional mask as...
2025-10-15T13:30:39
electron/electron
d0962b1a93f8ddf4eff36292d37abbe403474a3f
02e0c169a22e4f94bda88581d1ece73e498499e0
Fix crash when passing empty path to addRecentDocument
[ { "path": "atom/browser/browser_mac.mm", "patch": "@@ -19,7 +19,12 @@\n }\n \n void Browser::AddRecentDocument(const base::FilePath& path) {\n- NSURL* u = [NSURL fileURLWithPath:base::mac::FilePathToNSString(path)];\n+ NSString* path_string = base::mac::FilePathToNSString(path);\n+ if (!path_string)\n+ ...
2015-12-15T09:17:24
vercel/next.js
dbccc794e3ed4a9fa6c15a541c7fa31b00c316be
3362851b921d3a80ffa3888044c96c6d1e185683
fix GlobalError interop and add test case (#49033) ### What? fixes handling of GlobalError interop adds a test case for client component bug ### Why? app dir client component interop is broken ### Turbopack changes * https://github.com/vercel/turbo/pull/4597 <!-- Tobias Koppers - add rspack to our ben...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230501.2#161aa1079155876a3fa3d19a6f4bcd8c662758a4\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-01T12:51:37
huggingface/transformers
dc6fdeb7052d23a7efde1e7dc793c17e2cfe98b0
3953b6544021657fd3105b2b69b81bab811bf044
Update a dataset reop link (#41618) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/kosmos2_5/test_processor_kosmos2_5.py", "patch": "@@ -299,7 +299,7 @@ def test_structured_kwargs_nested_from_dict(self):\n \n @require_torch\n def test_full_processor(self):\n- url = url_to_local_path(\"https://huggingface.co/kirp/kosmos2_5/resolve/main/receipt_00008.p...
2025-10-15T12:41:38
golang/go
17aa21279965f5d088606639c17aa60208a34b7d
773f43b35638092f9c0dc56f4a468dce2eb3a8ef
runtime: in TestSpuriousWakeupsNeverHangSemasleep, wait for the runtime to register handlers According to https://man7.org/linux/man-pages/man7/signal.7.html, the default behavior of SIGIO is to terminate the program. The Go runtime changes that behavior with its own signal handler, so the program will terminate if we...
[ { "path": "src/runtime/semasleep_test.go", "patch": "@@ -7,6 +7,7 @@\n package runtime_test\n \n import (\n+\t\"io\"\n \t\"os/exec\"\n \t\"syscall\"\n \t\"testing\"\n@@ -28,6 +29,10 @@ func TestSpuriousWakeupsNeverHangSemasleep(t *testing.T) {\n \n \tstart := time.Now()\n \tcmd := exec.Command(exe, \"After1...
2021-11-22T19:30:40
nodejs/node
e4c6c3bf2e6f8ee8f2d1d9b95fc731a5ac224fdf
2f338f3fa1ded597b8a8aa618e4fb09d87d6e45b
doc: fix error notes in `Buffer.from()` variants Make notes about `TypeError` conditions in `Buffer.from()` variants more accurate. PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/buffer.md", "patch": "@@ -787,7 +787,8 @@ Allocates a new `Buffer` using an `array` of octets.\n const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);\n ```\n \n-A `TypeError` will be thrown if `array` is not an `Array`.\n+A `TypeError` will be thrown if `array` is not an `Array`...
2019-03-30T18:45:19
huggingface/transformers
3953b6544021657fd3105b2b69b81bab811bf044
96d245a83da0c5b154b98ef6559f9981cc1aefc2
Reinstate early CUDA init fix (#41617) * Reinstate early CUDA init fix Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * Delay import further Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --------- Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github...
[ { "path": "src/transformers/generation/continuous_batching/continuous_api.py", "patch": "@@ -30,7 +30,6 @@\n from ...configuration_utils import PretrainedConfig\n from ...generation.configuration_utils import GenerationConfig\n from ...generation.logits_process import LogitsProcessor\n-from ...integrations....
2025-10-15T12:41:10
golang/go
773f43b35638092f9c0dc56f4a468dce2eb3a8ef
189b4a2f428be7264db76e5275c96d98b847383b
go/types, types2: substitute for type parameters in signatures when comparing type identity Generic signatures should be considered identical modulo type parameter renaming. Update Identical to reflect this, by substituting type parameters. Fixes #49722 Change-Id: I33743768c72d8aa59c29bf72fcbabc5974f0b805 Reviewed-o...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -1675,6 +1675,56 @@ func TestAssignableTo(t *testing.T) {\n \t}\n }\n \n+func TestIdentical(t *testing.T) {\n+\t// For each test, we compare the types of objects X and Y in the source.\n+\ttests := []struct {\n+\t\tsrc string\n+\t\twant ...
2021-11-22T17:47:53
nodejs/node
f89568e82569b983b6efb96088465cb472bc5e8c
1dd9662e2ba4934763ea764f2aede977c6c68339
doc: fix possible typo in buffer.md PR-URL: https://github.com/nodejs/node/pull/27030 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/buffer.md", "patch": "@@ -1034,7 +1034,7 @@ changes:\n compare `buf`.\n * `targetStart` {integer} The offset within `target` at which to begin\n comparison. **Default:** `0`.\n-* `targetEnd` {integer} The offset with `target` at which to end comparison\n+* `targetEnd` {integer} The of...
2019-03-31T08:14:42
vercel/next.js
7e0a6f83f6670152f3854bf360de3e1e53e12786
48323c9dfefc08eaf84d4ee077d345fe38a2dda8
chore: Update `swc_core` to `v0.75.41` (#48982) ### What? Update swc_core and `@swc/core`. ### Why? https://github.com/vercel/turbo/issues/4747 seems like a critical issue. ### How? - Fix WEB-969 ### Turbopack changes * https://github.com/vercel/turbo/pull/4688 <!-- OJ Kwon - ci(workflow): add a...
[ { "path": "Cargo.lock", "patch": "@@ -41,9 +41,9 @@ dependencies = [\n \n [[package]]\n name = \"aho-corasick\"\n-version = \"0.7.20\"\n+version = \"1.0.1\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac\"\...
2023-05-01T11:15:24
electron/electron
6347f0e321f6fa709ea383b586f9b3f04fe2b348
8ddf4da9ad59ed118d75e89c72f35ac1161e0a04
Upgrade node, fix #3786
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 38d791843463b19c623c97c1c550a4e3c5a406d4\n+Subproject commit 2e11f0fcb14dd035f9e073cf8b7778d60cf4f668", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-12-15T08:25:44
huggingface/transformers
bb0c3af995385fd070083610c98130fe9341c87a
70e871959c3ced65ee4804a55fb27b37876db2bf
More markdown file fixes (#41599) * Format markdown files Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Format markdown files Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Format markdown files Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlo...
[ { "path": "docs/source/en/index.md", "patch": "@@ -36,8 +36,6 @@ Explore the [Hub](https://huggingface.com/) today to find a model and use Transf\n \n Explore the [Models Timeline](./models_timeline) to discover the latest text, vision, audio and multimodal model architectures in Transformers.\n \n-\n-\n ##...
2025-10-15T12:29:27
golang/go
189b4a2f428be7264db76e5275c96d98b847383b
8f559bcb4666b2358c227aa1bd3a82f3b806d45a
cmd/go: forward the MallocNanoZone variable to script tests For #49138 Fixes #49723 Change-Id: Ia93130fdc042a1e2107be95cccd7e7eeaa909a87 Reviewed-on: https://go-review.googlesource.com/c/go/+/366254 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylo...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -146,6 +146,7 @@ var extraEnvKeys = []string{\n \t\"GO_TESTING_GOTOOLS\", // for gccgo testing\n \t\"GCCGO\", // for gccgo testing\n \t\"GCCGOTOOLDIR\", // for gccgo testing\n+\t\"MallocNanoZone\", // Needed to work around an apparen...
2021-11-22T19:01:26
nodejs/node
8bfce89926fdfdc8680afcf8b4ebf88ea99b94e5
5583d4d73ef750b27c9068ea0f05fae0de9f7766
tools: fix `test.py --time` PR-URL: https://github.com/nodejs/node/pull/27007 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail....
[ { "path": "tools/test.py", "patch": "@@ -1511,7 +1511,7 @@ def FormatTime(d):\n \n \n def FormatTimedelta(td):\n- if hasattr(td.total, 'total_seconds'):\n+ if hasattr(td, 'total_seconds'):\n d = td.total_seconds()\n else: # python2.6 compat\n d = td.seconds + (td.microseconds / 10.0**6)", "...
2019-03-30T06:18:26
vercel/next.js
ec8e0f911f48b4e3ca1ae17504e88123120e2c7f
0b07616eb23241c570fbe9f19a3b68a0a14f76fe
Ensure app/layout.tsx can export preferredRegion (#49031) Fixes a small bug where `layout` directly under `app` wasn't considered. <!-- 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. Ch...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -85,11 +85,12 @@ export async function getStaticInfoIncludingLayouts({\n }\n : pageStaticInfo\n \n- if (isInsideAppDir) {\n+ if (isInsideAppDir && appDir) {\n const layoutFiles = []\n const potentialLayoutFiles = pageExtensions...
2023-05-01T09:58:36
rust-lang/rust
4aa93a1129d68fe8107434d53b2e9c1c68ac61c1
d8e99530c8c017770c03e569dba712ec6c46d23c
Fix `clippy::question_mark` on let-else with cfg
[ { "path": "clippy_lints/src/question_mark.rs", "patch": "@@ -142,6 +142,7 @@ fn check_let_some_else_return_none(cx: &LateContext<'_>, stmt: &Stmt<'_>) {\n && let Some(ret) = find_let_else_ret_expression(els)\n && let Some(inner_pat) = pat_and_expr_can_be_question_mark(cx, pat, ret)\n ...
2025-06-19T18:51:20
huggingface/transformers
70e871959c3ced65ee4804a55fb27b37876db2bf
c4210796e073f1a85b8140b7cecba0d5d6d0c71c
Fix trainer simple tests (#41449) * fix * fix ray * train to tune * breaking changes wrt generation config * Fix ! * fix * fix * fix deepspeed ! * fix * fix * fix * improve logic * revert and fix * revert comment * oups * revert change * fix * style * typo in comment --------- Co-authored-by: Cyril...
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -302,7 +302,7 @@ def run_hp_search_ray(trainer, n_trials: int, direction: str, **kwargs) -> BestR\n for more options\n \"\"\"\n import ray\n- import ray.train\n+ import ray.tune\n \n def _objective(tri...
2025-10-15T12:09:00
golang/go
8f559bcb4666b2358c227aa1bd3a82f3b806d45a
81031300a7139cfb59f704bcbb97e333590aacd0
testing: mention that TB also covers the new type F Fixes #48146 Change-Id: I7c667a7915db81558514bc9fada6898c565eb0fd Reviewed-on: https://go-review.googlesource.com/c/go/+/365894 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Katie Hockman <katie@golang.org> Run-TryBot: Emmanuel Odeke <emmanuel@ori...
[ { "path": "src/testing/testing.go", "patch": "@@ -740,7 +740,7 @@ func fmtDuration(d time.Duration) string {\n \treturn fmt.Sprintf(\"%.2fs\", d.Seconds())\n }\n \n-// TB is the interface common to T and B.\n+// TB is the interface common to T, B, and F.\n type TB interface {\n \tCleanup(func())\n \tError(a...
2021-11-20T20:45:39
electron/electron
d0fe2ac904933559081a5d80bfd8d1e120e0cf06
db73647d07bacd728fd0160e738ef2ff44199e24
:memo: Fix confused translation [ci skip]
[ { "path": "docs-translations/ko-KR/api/browser-window.md", "patch": "@@ -5,8 +5,12 @@\n 다음 예제는 윈도우 창을 생성합니다:\n \n ```javascript\n+// 메인 프로세스에서\n const BrowserWindow = require('electron').BrowserWindow;\n \n+// 또는 랜더러 프로세스에서\n+const BrowserWindow = require('electron').remote.BrowserWindow;\n+\n var win = new...
2015-12-13T07:33:27
huggingface/transformers
fcd1ccdb78e7cc28a880e815ee883549f334a5ae
2b2c20f3155f843bef95d340920bf20a8b87bac7
[`Docs`] Fix changed references (#41614) * fix * fix * other ln
[ { "path": "docs/source/en/models.md", "patch": "@@ -139,10 +139,10 @@ with tempfile.TemporaryDirectory() as tmp_dir:\n new_model = AutoModel.from_pretrained(tmp_dir)\n ```\n \n-Sharded checkpoints can also be directly loaded with [`~transformers.modeling_utils.load_sharded_checkpoint`].\n+Sharded checkp...
2025-10-15T11:59:13
vercel/next.js
3a591d27cee19910852108e34ad6eb657b7fea7d
2dc5a34efdf70fcd21c15822f7046aa98960ea5a
More fluent GraphTraversal API (vercel/turbo#4598) ### Description This PR refactors the API of `GraphTraversal` to be more fluent, and less magical. It should make it easier to use and understand. Had this in store from trying to debug a lifetime issue in another branch. ### Testing Instructions Surface-level chan...
[ { "path": "crates/turbo-tasks/src/graph/graph_store.rs", "patch": "@@ -2,7 +2,8 @@ use std::collections::HashSet;\n \n /// A graph store is a data structure that will be built up during a graph\n /// traversal. It is used to store the results of the traversal.\n-pub trait GraphStore<Node>: Default {\n+pub t...
2023-05-01T08:48:38
golang/go
81031300a7139cfb59f704bcbb97e333590aacd0
5a3d871831c9febebe513863a26ecc6da1c9c4f3
misc/cgo/testcshared: skip TestGo2C2Go on Windows For #27019 Fixes #49457 Change-Id: I398abb7b555196ced34a6dd04b68195bf8bbdd38 Reviewed-on: https://go-review.googlesource.com/c/go/+/365994 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org>...
[ { "path": "misc/cgo/testcshared/cshared_test.go", "patch": "@@ -781,10 +781,10 @@ func copyFile(t *testing.T, dst, src string) {\n \n func TestGo2C2Go(t *testing.T) {\n \tswitch GOOS {\n-\tcase \"darwin\", \"ios\":\n-\t\t// Darwin shared libraries don't support the multiple\n+\tcase \"darwin\", \"ios\", \"w...
2021-11-22T00:19:26
huggingface/transformers
2b2c20f3155f843bef95d340920bf20a8b87bac7
e2122c4bcb74d942bb93c11dcb55aafc4c7fdf23
Update issue template (#41573) * update * fix
[ { "path": ".github/ISSUE_TEMPLATE/bug-report.yml", "patch": "@@ -48,18 +48,17 @@ body:\n - continuous batching: @remi-or @ArthurZucker @McPatate\n - pipelines: @Rocketknight1\n - tokenizers: @ArthurZucker and @itazap\n- - trainer: @zach-huggingface @SunMarc\n+ ...
2025-10-15T11:54:37
nodejs/node
0a5a762a16224479003dd44b7855b236fc481de9
dada2eba937cc88b323f5251b8e4cccbacee6d5b
doc: improve the doc of the 'information' event - Add missing argument - Reword a sentence - Rename the `res` argument to `info` in the example to avoid confusion PR-URL: https://github.com/nodejs/node/pull/27009 Fixes: https://github.com/nodejs/node/issues/26905 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> ...
[ { "path": "doc/api/http.md", "patch": "@@ -416,8 +416,11 @@ the client should send the request body.\n added: v10.0.0\n -->\n \n-Emitted when the server sends a 1xx response (excluding 101 Upgrade). This\n-event is emitted with a callback containing an object with a status code.\n+* `info` {Object}\n+ * `s...
2019-03-30T08:55:28
rust-lang/rust
044c99df78da9464e2ad0a90494af1e584123ab4
342f07ab31d523c17eb1fb8fe8aee48674309e23
Improve diagnostics for `concat_bytes!` with C string literals Use the same error as other invalid types for `concat_bytes!`, rather than using `ConcatCStrLit` from `concat!`. Also add more information with a note about why this doesn't work, and a suggestion to use a null-terminated byte string instead.
[ { "path": "compiler/rustc_builtin_macros/messages.ftl", "patch": "@@ -104,6 +104,8 @@ builtin_macros_concat_bytes_bad_repeat = repeat count is not a positive number\n builtin_macros_concat_bytes_invalid = cannot concatenate {$lit_kind} literals\n .byte_char = try using a byte character\n .byte_str =...
2025-06-19T00:08:15
electron/electron
a3f85a93a0480677d547c7ea5f343018ee0fb03a
517db752d797ff10b44b51aa345afa736eea5473
fix value of IDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE
[ { "path": "brightray/browser/devtools_manager_delegate.cc", "patch": "@@ -38,7 +38,7 @@ namespace {\n // A hack here:\n // Copy from grit/shell_resources.h of chromium repository\n // since libcontentchromium doesn't expose content_shell resources.\n-const int kIDR_CONTENT_SHELL_DEVTOOLS_DISCOVERY_PAGE = 25...
2015-12-12T05:26:47
huggingface/transformers
e89cef66252379cf19254d247ac9bb1bd2ab487f
26b7f668500281fe96c0ae4a9adcb603a60f0427
fix some case failures lead by "`torch.compile` recompiled part of th… (#41558) * fix some case failures lead by "`torch.compile` recompiled part of the forward pass" in xpu Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * update comment Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> --------- Signed-off-by: Wa...
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -839,7 +839,8 @@ def create_causal_mask(\n # Do not allow skip if we are compiling (this is to match BC)\n # TODO: cyril -> probably revisit and remove this, but a lot of tests rely on it\n if _is_torch_xpu_available:\n- allow_is...
2025-10-15T10:45:29
golang/go
5a3d871831c9febebe513863a26ecc6da1c9c4f3
2d7ae3fbd86d4b5471ac4044ece208b29cd0ef74
net: allow more generous slop in Fluctuation tests It appears that at least the OpenBSD kernel gets sloppier the longer the timeout we give it, up to an observed overhead of around 25%. Let's give it a little more than that (33%) in the comparison, and also increase the growth curve to match the actual observed times ...
[ { "path": "src/net/timeout_test.go", "patch": "@@ -655,11 +655,37 @@ const (\n \t// maxDynamicTimeout is the maximum timeout to attempt for\n \t// tests that automatically increase timeouts until succeess.\n \t//\n-\t// This should be a strict upper bound on the latency of the timeout: if a\n-\t// test woul...
2021-11-22T17:20:26
rust-lang/rust
9c8f3e9b1140ea3cf5245727c0787169cf59561e
d8e99530c8c017770c03e569dba712ec6c46d23c
Fix typo Add missing word (attribute) after the `#[expect]` attribute.
[ { "path": "clippy_lints/src/attrs/mod.rs", "patch": "@@ -207,7 +207,7 @@ declare_clippy_lint! {\n declare_clippy_lint! {\n /// ### What it does\n /// Checks for usage of the `#[allow]` attribute and suggests replacing it with\n- /// the `#[expect]` (See [RFC 2383](https://rust-lang.github.io/rfcs...
2025-06-19T15:26:08
electron/electron
a3dcf8ced663e974ac94ad5e50a1d25a43995a9d
5e70868fd0c005dc2c43bea15ca6e93da0b68741
Fix converter for std::set
[ { "path": "native_mate/converter.h", "patch": "@@ -230,7 +230,7 @@ struct Converter<std::set<T> > {\n typename std::set<T>::const_iterator it;\n int i;\n for (i = 0, it = val.begin(); it != val.end(); ++it, ++i)\n- result->Set(i, Converter<T>::ToV8(isolate, *it));\n+ result->Set(i, ...
2015-12-11T13:13:33
nodejs/node
7c1fc93e30e4dac664782c7d229823fd10fa71ba
66b95362dfabb72a92afe25c7a8d650f1e04e5e2
crypto: don't crash on unknown asymmetricKeyType PR-URL: https://github.com/nodejs/node/pull/26786 Fixes: https://github.com/nodejs/node/issues/26775 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "doc/api/crypto.md", "patch": "@@ -1129,18 +1129,23 @@ passing keys as strings or `Buffer`s due to improved security features.\n <!-- YAML\n added: v11.6.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/26786\n+ description: This property now returns `unde...
2019-03-19T20:38:23
huggingface/transformers
5db730786d87bde8397a207bd84ae0014054fc37
13a35a5057cbdc34b6c93a26d4e57987cbdd205c
[device_map] Accelerate loading by computing device_map much faster (#41548) * start * add the important fix * continue * big cleanup * type hints * add method * fix typehints * typehints * fix * oupsi * remove space * improve function * CI
[ { "path": "src/transformers/integrations/accelerate.py", "patch": "@@ -12,20 +12,23 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \"\"\"\n-Since, https://github.com/huggingface/transformers/pull/36963, loading is always performed with models ...
2025-10-15T09:18:57
vercel/next.js
2dc5a34efdf70fcd21c15822f7046aa98960ea5a
a26e2f3929061e798fb5368cf7a84446daea2dfb
Match TS's extends resolution algorithm (vercel/turbo#4754) ### Description Implements TS's `extends` [resolution algorithm](https://github.com/microsoft/TypeScript/blob/611a912d/src/compiler/commandLineParser.ts#L3294-L3326). In particular, there are a few cases that need to be properly handled: - Relative pa...
[ { "path": "crates/turbopack-ecmascript/src/typescript/resolve.rs", "patch": "@@ -10,7 +10,7 @@ use turbo_tasks_fs::{\n FileContent, FileContentVc, FileJsonContent, FileJsonContentVc, FileSystemPathVc,\n };\n use turbopack_core::{\n- asset::{Asset, AssetVc},\n+ asset::{Asset, AssetOptionVc, AssetVc...
2023-05-01T08:47:22
golang/go
9e94cc3666cc5ff6ecf5930fb5da48ba62ad8080
cd0bf3896677583074d33af0b9e538f237db5394
misc/cgo/test: remove unnecessary forward declaration This test otherwise fails to build on windows/arm64 as of CL 364774 due to a warning (promoted to an error) about a mismatched dllexport attribute. Fortunately, it seems not to need the forward-declared function in this file anyway. Updates #49633 Updates #49721 ...
[ { "path": "misc/cgo/test/testx.go", "patch": "@@ -113,7 +113,6 @@ typedef struct {\n \tint i;\n } Issue38408, *PIssue38408;\n \n-extern void GoFunc49633(void *context);\n extern void cfunc49633(void*); // definition is in test.go\n */\n import \"C\"", "additions": 0, "deletions": 1, "language": ...
2021-11-22T14:50:47
nodejs/node
66b95362dfabb72a92afe25c7a8d650f1e04e5e2
e57339493768de11a3e149a33dea11283791e6c3
src: fix warning on mismatched fn signature Add the missing `void* priv` to node_report's Initialize(). PR-URL: https://github.com/nodejs/node/pull/26950 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yongsheng Z...
[ { "path": "src/node_report_module.cc", "patch": "@@ -155,7 +155,8 @@ static void SetReportOnUncaughtException(\n \n static void Initialize(Local<Object> exports,\n Local<Value> unused,\n- Local<Context> context) {\n+ Local<Context> context,\...
2019-03-27T22:35:16
electron/electron
e295eb0de714ad29ec4a3962f82c9c4b45c477c5
467e3b25b2836758223e526f8af06d684b9853d6
Fix memory leak
[ { "path": "atom/browser/net/atom_network_delegate.cc", "patch": "@@ -201,7 +201,7 @@ int AtomNetworkDelegate::OnBeforeSendHeaders(\n \n auto wrapped_callback = listener_info->second.callback;\n auto details = ExtractRequestInfo(request);\n- details->Set(\"requestHeaders\", GetRequestHeadersDict(*...
2015-12-11T12:11:59
huggingface/transformers
13a35a5057cbdc34b6c93a26d4e57987cbdd205c
94df0e65602922be2831b3faa457a2bde78b936b
Enable non-streaming mode in `transformers serve` (#41446) * Enable non-streaming in transformers serve Remove typos Remove typos Remove typos * Fix tests * Arthur review
[ { "path": "src/transformers/commands/serving.py", "patch": "@@ -26,7 +26,7 @@\n import time\n import uuid\n from argparse import ArgumentParser, Namespace\n-from collections.abc import AsyncGenerator, Generator, Iterable\n+from collections.abc import Generator, Iterable\n from contextlib import asynccontext...
2025-10-15T07:37:26
vercel/next.js
97be2e672883a797ada61ebf0e1909816ea35c78
8e4888f1f682d70a2fa4a534f75f7287d1e38bc2
Fix CSS ordering issue with HMR (#49010) Closes #48807. The issue seems to be introduced with recent React Float change, which isn't a real problem but a behavior change. Resources are layered by the `precedence` key and the style insertion logic can be simplified as "insert the new stylesheet right after the existin...
[ { "path": "packages/next/src/client/app-link-gc.ts", "patch": "@@ -10,7 +10,7 @@ export function linkGc() {\n (node as HTMLLinkElement).tagName === 'LINK'\n ) {\n const link = node as HTMLLinkElement\n- if (link.dataset.precedence === 'next.js') {\n+ ...
2023-04-30T20:50:58
golang/go
cd0bf3896677583074d33af0b9e538f237db5394
6275b54a2a58a1a1bed7f2cc3bc92eca5affb8ff
cmd/go: report a helpful error when there are no modules in workspace The current error message that no go.mod files were found is not helpful, especially when a go.mod file exists in the current directory. Fixes #49594 Change-Id: I750475ce8654eeb3e0a2857d5a2de1a9c6ede415 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1371,14 +1371,24 @@\n //\n // Workspace maintenance\n //\n-// Go workspace provides access to operations on worskpaces.\n+// Go workspace provides access to operations on workspaces.\n //\n // Note that support for workspaces is built into many other commands...
2021-11-19T21:09:52
golang/go
6275b54a2a58a1a1bed7f2cc3bc92eca5affb8ff
e73c6c8808da281186a4d8f7107e34e9f7a4a9ee
Revert "cmd/go: temporarily skip TestScript/test_fuzz_minimize" This reverts CL 365315. Reason for revert: test may have been fixed by intervening changes. Change-Id: I110948d53a789527edf471f1637eadbd98a1fc5a Reviewed-on: https://go-review.googlesource.com/c/go/+/366074 Trust: Bryan C. Mills <bcmills@google.com> Tru...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_minimize.txt", "patch": "@@ -1,5 +1,3 @@\n-skip # flaky: https://golang.org/issue/49685\n-\n [!fuzz] skip\n [short] skip\n ", "additions": 0, "deletions": 2, "language": "Plain Text" } ]
2021-11-22T14:37:19
vercel/next.js
acb9f7a10579fc4e3ec848f5d0f3a5bacf288909
ae00e1206f653bbbc018c08dec355bf7ae216e40
Remove unused context providers (#48267) These were added early on based on some assumptions around how the params would be passed. In the actual implementation it works differently so these are just dead code. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled a...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -30,9 +30,7 @@ import {\n import { createHrefFromUrl } from './router-reducer/create-href-from-url'\n import {\n SearchParamsContext,\n- // ParamsContext,\n PathnameContext,\n- // LayoutSegmentsContext,\n } from '../../shared...
2023-04-30T13:38:04
huggingface/transformers
94df0e65602922be2831b3faa457a2bde78b936b
9e4199ede396f136b3dff1e918816fcc3a65f0a0
Benchmark overhaul (#41408) * Big refactor, still classes to move around and script to re-complexify * Move to streamer, isolate benches, propagate num tokens * Some refacto * Added compile mode to name * Re-order * Move to dt_tokens * Better format * Fix and disable use_cache by default * Fixed compile and SD...
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -1,10 +1,7 @@\n name: Self-hosted runner (benchmark)\r\n \r\n on:\r\n- push:\r\n- branches: [main]\r\n- pull_request:\r\n- types: [ opened, labeled, reopened, synchronize ]\r\n+ workflow_dispatch:\r\n \r\n concurrency:\r\n group: ${{ githu...
2025-10-14T19:41:43
electron/electron
afd736d9f91a3032dd46d47b20da76e0c419ae84
1683dd6197381a9119b1c1328e9f8a88c8532c32
Guard against null guest or embedder Uncaught exceptions would occur when these were null and the target origin was '*'
[ { "path": "atom/browser/lib/guest-window-manager.coffee", "patch": "@@ -76,12 +76,12 @@ ipcMain.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_METHOD', (event, guestId, met\n ipcMain.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_POSTMESSAGE', (event, guestId, message, targetOrigin) ->\n guestContents = BrowserWi...
2015-12-10T23:51:15
golang/go
e73c6c8808da281186a4d8f7107e34e9f7a4a9ee
b2aa1380d9ad9a46eb98cd2e1ad71fcbccdc2bd1
cmd/go: fix go work sync when there are zero workspace modules go work sync panics when there are no workspace modules. This is because the code that set the pruning mode only did so with modules present. This change changes pruningForGoVersion to properly return workspace pruning in workspace mode to prevent that. An...
[ { "path": "src/cmd/go/internal/modload/modfile.go", "patch": "@@ -124,6 +124,9 @@ const (\n )\n \n func pruningForGoVersion(goVersion string) modPruning {\n+\tif inWorkspaceMode() {\n+\t\treturn workspace\n+\t}\n \tif semver.Compare(\"v\"+goVersion, ExplicitIndirectVersionV) < 0 {\n \t\t// The go.mod file d...
2021-11-18T19:48:26
vercel/next.js
1d410c808dda404e9e252c72a104e16134087364
285e77541f55a8ec720a4b92154668eccce4dee1
Update type of preferredRegion (#49003) Follow-up to #48959, adds the right types after the renames of properties. <!-- 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 righ...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -66,7 +66,7 @@ checkFields<Diff<{\n dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'\n dynamicParams?: boolean\n fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-...
2023-04-30T13:21:38
electron/electron
658accab94f3c9682ae381b3b56ab99e9d67660a
461ee499888d2860c8c849f65d80339866b68dba
fix pointer usage
[ { "path": "atom/browser/api/atom_api_web_request.cc", "patch": "@@ -30,8 +30,8 @@ template<AtomNetworkDelegate::EventTypes type>\n void WebRequest::SetListener(mate::Arguments* args) {\n DCHECK_CURRENTLY_ON(BrowserThread::UI);\n \n- base::DictionaryValue* filter = new base::DictionaryValue();\n- args->G...
2015-12-09T19:16:03
rust-lang/rust
a9cc316954a1076621152e365f992f888a3ac2d0
d55a99a9ed8bbed98293840434e19c4401aa56bd
isolated_alloc: directly use mmap for allocations Update src/alloc/isolated_alloc.rs Co-authored-by: Ralf Jung <post@ralfj.de> Update src/alloc/isolated_alloc.rs Co-authored-by: Ralf Jung <post@ralfj.de> Update src/alloc/isolated_alloc.rs Co-authored-by: Ralf Jung <post@ralfj.de> Update src/alloc/isolated_alloc....
[ { "path": "src/tools/miri/src/alloc/isolated_alloc.rs", "patch": "@@ -1,4 +1,4 @@\n-use std::alloc::{self, Layout};\n+use std::alloc::Layout;\n \n use rustc_index::bit_set::DenseBitSet;\n \n@@ -11,7 +11,7 @@ const COMPRESSION_FACTOR: usize = 4;\n pub struct IsolatedAlloc {\n /// Pointers to page-aligned...
2025-05-31T09:00:52
huggingface/transformers
9e4199ede396f136b3dff1e918816fcc3a65f0a0
4c8d293599c73b2bec56cdaec39366f330038e2d
Gemma3 fixes (#41572) * Multiple device error fix * FA2 equivalence fix * Move the train fwd in cfg test * Style * Added comment * Made the comment more clear
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -798,7 +798,7 @@ def create_causal_mask_mapping(\n is_previous_image = nn.functional.pad(is_image, (1, 0), value=0)[:, :-1]\n new_image_start = is_image & ~is_previous_image\n image_group_ids = torch.cumsum(n...
2025-10-14T16:33:27
golang/go
ffb6c798281f1a3ec54421a11573cec7d517d117
e30ebaab0bd5d95178f77cf40998ab14a0341d17
go/types,types2: use allInteger to check type for shifted operand Fixes: #49705 Change-Id: I35a1c5f29b57f3facc5e89d33a8dec88e0ff4afa Reviewed-on: https://go-review.googlesource.com/c/go/+/365895 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@g...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -99,6 +99,7 @@ func asGoVersion(s string) string {\n // TODO(gri) enable as soon as the unified build supports this.\n var excludedForUnifiedBuild = map[string]bool{\n \t\"issue47818.go2\": true,\n+\t\"issue49705.go2\": true,\n }\n \n f...
2021-11-21T13:06:27
vercel/next.js
285e77541f55a8ec720a4b92154668eccce4dee1
57878be65f64c9d9de6da6d1f58570dcee27471f
Fix duplicated Edge Runtime warnings (#48987) When we enable `webpackBuildWorker` this module level `const apiRouteWarnings = new LRUCache({ max: 250 })` will be created in 3 workers, so users will see 4 outputs (last one is static optimization): <img width="740" alt="CleanShot 2023-04-29 at 20 20 38@2x" src="https:/...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -288,6 +288,12 @@ function getMiddlewareConfig(\n \n const apiRouteWarnings = new LRUCache({ max: 250 })\n function warnAboutExperimentalEdge(apiRoute: string | null) {\n+ if (\n+ process.env.NODE_ENV === 'production' &&\...
2023-04-29T22:27:48
huggingface/transformers
4c8d293599c73b2bec56cdaec39366f330038e2d
a99b1be3c73173509f71c261834d93d3d5e30ef1
Fix typsetting and content of llm_tutorial_optimization.md (#41172) * Fix typsetting of llm_tutorial_optimization Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix errors Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/llm_tutorial_optimization.md", "patch": "@@ -16,18 +16,18 @@ rendered properly in your Markdown viewer.\n Large Language Models (LLMs) such as GPT3/4, [Falcon](https://huggingface.co/tiiuae/falcon-40b), and [Llama](https://huggingface.co/meta-llama/Llama-2-70b-hf) are rapidly advan...
2025-10-14T15:40:26
golang/go
91abe4be0e8f3329bd891838fc047d83a5762c61
be18cd51dec6ac460949e96231dd05becc2cbcf7
test: fix -G=0 mode for longtest builder For -G=3 for test using 'any'. Change-Id: Ia37ee944a38be4f4330e62ad187f10f2d42e41bd Reviewed-on: https://go-review.googlesource.com/c/go/+/365839 Trust: Dan Scales <danscales@google.com> Run-TryBot: Dan Scales <danscales@google.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@...
[ { "path": "test/fixedbugs/issue49665.go", "patch": "@@ -1,4 +1,4 @@\n-// run\n+// run -gcflags=-G=3\n \n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-11-20T01:52:41
vercel/next.js
905b62e59917109867e4e3d88f51a3eca663ed71
986039db6e572c2650195c279bf8a854ef615af8
Fix scroll when loading.js/ts is used (#48986) ### What? Whenever you navigated and a page suspended through `loading` or an error happened caught by `error` in the first level of segments (e.g. `/dashboard` but not `/dashboard/settings`) scroll would not be applied. This happened because the focus and scroll handlin...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -157,7 +157,7 @@ interface ScrollAndFocusHandlerProps {\n children: React.ReactNode\n segmentPath: FlightSegmentPath\n }\n-class ScrollAndFocusHandler extends React.Component<ScrollAndFocusHandlerProps> {\n+class InnerScroll...
2023-04-29T17:43:55
huggingface/transformers
a99b1be3c73173509f71c261834d93d3d5e30ef1
82cae9eb520a2f852f79d71337548f9813c2aaa8
Revert some breaking changes bnb (#41581) fix
[ { "path": "src/transformers/quantizers/auto.py", "patch": "@@ -121,17 +121,15 @@ class AutoQuantizationConfig:\n @classmethod\n def from_dict(cls, quantization_config_dict: dict):\n quant_method = quantization_config_dict.get(\"quant_method\")\n- if quant_method is None:\n+ # W...
2025-10-14T14:28:16
golang/go
be18cd51dec6ac460949e96231dd05becc2cbcf7
d2f4c935f2e247dd9949094c8a4f3ab8df2ba3a0
cmd/compile: ensure generic function is loaded when it needs to be re-exported In the case where we need to re-export a generic function/method from another package in the export data of the current package, make sure it is loaded before trying to write it out. Fixed #49667 Change-Id: I177754bb762689f34cf5c8ad246d43...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -1418,6 +1418,12 @@ func (w *exportWriter) funcExt(n *ir.Name) {\n \t\tw.uint64(1 + uint64(n.Func.Inl.Cost))\n \t\tw.bool(n.Func.Inl.CanDelayResults)\n \t\tif n.Func.ExportInline() || n.Type().HasTParam() {\n+\t\t\tif n.Type().HasTParam...
2021-11-19T20:13:04
vercel/next.js
03189bb2ac5c9bc62fcf9bf80c579e870e23f64f
514d57aefa6e0c223eda80f1455eee01c7e4f629
Update resolve rule for `@swc/helpers` (#48980) ### What? Update resolve rule for `@swc/helpers` => `node_modules/@swc/helpers` to `@swc/helpers/_` => `node_modules/@swc/helpers/_` to select only `@swc/helpers@v0.5.0`. ### Why? Previous rule make webpack merge `@swc/helpers@v0.4.x` and `@swc/helpers@v0.5.x` ### Ho...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1071,8 +1071,9 @@ export default async function getBaseWebpackConfig(\n }\n : {}),\n \n- '@swc/helpers': path.dirname(\n- require.resolve('@swc/helpers/package.json')\n+ '@swc/helpers/_': path.join(\n+ ...
2023-04-29T12:06:08
huggingface/transformers
82cae9eb520a2f852f79d71337548f9813c2aaa8
4fad35ee4ac3ebc63cb9781beca0706a3d43875e
Add __iter__ to DynamicCache (#41569) * Add __iter__ to DynamicCache * Fix tests that use ddp init
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -176,6 +176,11 @@ def __init__(self, sliding_window: int):\n super().__init__()\n self.sliding_window = sliding_window\n self.cumulative_length = 0\n+ self._sliding_window_tensor = torch.tensor(self.sliding_window, dtyp...
2025-10-14T14:16:32
electron/electron
3ce46663b92e268d775c543b6b5f3bf7c1937c2f
90f113cd9072f80520ff3b37da8441e59df1f862
allow rebuilds. fixes #78
[ { "path": "npm/install.js", "patch": "@@ -9,6 +9,13 @@ var path = require('path')\n var extract = require('extract-zip')\n var download = require('electron-download')\n \n+var installedVersion = null\n+try {\n+ installedVersion = fs.readFileSync(path.join(__dirname, 'dist', 'version'), 'utf-8').replace(/^v...
2015-12-09T15:16:56
golang/go
d2f4c935f2e247dd9949094c8a4f3ab8df2ba3a0
57aba325c8c34f3354abc24fca7bc9627949a1c8
runtime/cgo: add example of Handle with void* parameter Fixes #49633 Change-Id: I12ca350f7dd6bfc8753a4a169f29b89ef219b035 Reviewed-on: https://go-review.googlesource.com/c/go/+/364774 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Ian Lance Taylor <iant@go...
[ { "path": "misc/cgo/test/cgo_test.go", "patch": "@@ -61,6 +61,7 @@ func Test32579(t *testing.T) { test32579(t) }\n func Test31891(t *testing.T) { test31891(t) }\n func Test42018(t *testing.T) { test42018(t) }\n func Test45451(t *testing.T) { te...
2021-11-17T17:54:22
huggingface/transformers
8fe4db53994cdccf7629284add65655e6ce73af4
c620c38bb04c80bb12350bec739c298918b5675d
[kernels] rm mra kernels (#41507) * fix modeling * remove kernel * fix style
[ { "path": "src/transformers/kernels/mra/cuda_kernel.cu", "patch": "@@ -1,383 +0,0 @@\n-#include \"cuda_kernel.h\"\n-\n-//////////////////////////////////////////////////////////////////////////////////////////////////\n-////////////////////////////////////////////////////////////////////////////////////////...
2025-10-14T11:34:04
vercel/next.js
861bc0d76c61d2cd4af267e43ce6327535d238f3
f2b920b2186242daa8f940ebf4029b164666d811
fix: error when image `width={Infinity}` (#48855) This handles the case when `Infinity` is passed to the Image `width` prop
[ { "path": "packages/next/src/client/image.tsx", "patch": "@@ -254,9 +254,12 @@ function generateImgAttrs({\n }\n \n function getInt(x: unknown): number | undefined {\n- if (typeof x === 'number' || typeof x === 'undefined') {\n+ if (typeof x === 'undefined') {\n return x\n }\n+ if (typeof x === 'nu...
2023-04-29T06:42:28
electron/electron
461ee499888d2860c8c849f65d80339866b68dba
c5b5bbbeb27801255f5f2a4d16deb264b5c89d31
fix response headers modification
[ { "path": "atom/browser/net/atom_network_delegate.cc", "patch": "@@ -44,9 +44,10 @@ bool MatchesFilterCondition(\n for (auto& pattern : info.url_patterns)\n if (pattern.MatchesURL(url))\n return true;\n+ return false;\n }\n \n- return false;\n+ return true;\n }\n \n base::Dictionary...
2015-12-04T01:54:01
rust-lang/rust
41ca0cb020fd2440a015f053f675303869bd17c6
1bb335244c311a07cee165c28c553c869e6f64a9
Adjust `with_generic_param_rib`. Currently all of its call sites construct a `LifetimeRibKind::Generics` value, which `with_generic_param_rib` then deconstructs (and panics if it's a different `LifetimeRibKind` variant). This commit makes the code simpler and shorter: the call sites just pass in the three values and ...
[ { "path": "compiler/rustc_resolve/src/late.rs", "patch": "@@ -869,11 +869,9 @@ impl<'ast, 'ra, 'tcx> Visitor<'ast> for LateResolutionVisitor<'_, 'ast, 'ra, 'tc\n self.with_generic_param_rib(\n &[],\n RibKind::Normal,\n- ...
2025-06-19T10:32:17
huggingface/transformers
c620c38bb04c80bb12350bec739c298918b5675d
0798797ec9733aa8cc45f7663df90806ab51a35f
[Qwen3VLMoe] Fixed: Expected self.dtype to be equal to src.dtype - routing_weights casting (#41420) * Fixed Expected self.dtype to be equal to src.dtype on eval * Fixed Expected self.dtype to be equal to src.dtype on eval * Fixed Expected self.dtype to be equal to src.dtype on eval * generated modeling_qwen3_vl_moe...
[ { "path": "src/transformers/models/ernie4_5_moe/modeling_ernie4_5_moe.py", "patch": "@@ -307,7 +307,7 @@ def forward(\n routing_weights = routing_weights / torch.clamp(\n routing_weights.sum(dim=-1, keepdim=True), min=self.norm_min\n )\n- routing_weights = rout...
2025-10-14T11:14:49
golang/go
b31dda8a2ad833ea5ec3c807119372b27cc0e782
5e774b0f5c9e9d5a0dab94620d2e0030226148c2
cmd/compile: handle `any` as alias like `byte` and `rune` `types.Types[types.TINTER]` is already used for `interface{}`, so we can conveniently just extend the existing logic that substitutes `byte` and `rune` with `uint8` and `int32` to also substitute `any`. Fixes #49665. Change-Id: I1ab1954699934150aab899b35037d5...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -924,11 +924,12 @@ func hashMightPanic(t *types.Type) bool {\n \t}\n }\n \n-// formalType replaces byte and rune aliases with real types.\n+// formalType replaces predeclared aliases with real types.\n // They've been separate interna...
2021-11-18T21:43:04
vercel/next.js
4f5f4769e5c27fd409e9df707edb88ab4b6f243b
799a05ce8fb1a7a06b1a7e35f67027cdecc24c45
preload fonts using ReactDOM.preload (#48931) This PR updates the way we preload fonts. Previously we tracked which fonts we needed to preload for each layer and rendered a `<link rel="preload" href="..." as="font" />` tag for each preloadable font. This unfortunately gets blocked by data fetching and we want to be...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app/layout-entry.tsx", "patch": "@@ -18,4 +18,8 @@ export {\n renderToReadableStream,\n decodeReply,\n } from 'next/dist/compiled/react-server-dom-webpack/server.edge'\n-export { preloadStyle } from 'next/dist/server/app-render/rsc/preloads'\n+e...
2023-04-28T22:50:20
huggingface/transformers
0798797ec9733aa8cc45f7663df90806ab51a35f
0566b6f5bdf474d51a34947f0957be84c42207bf
Fix an import error with PreTrainModel (#41571)
[ { "path": "src/transformers/quantizers/base.py", "patch": "@@ -32,6 +32,9 @@\n \n \n def _assign_original_dtype(module, original_dtype):\n+ # not very nice in a recursive function but it avoids a circular import\n+ from ..modeling_utils import PreTrainedModel\n+\n for child in module.children():\n...
2025-10-14T11:13:37
nodejs/node
e57339493768de11a3e149a33dea11283791e6c3
0916749c079267aee2fa91989cea0e58857b0939
test: fix error code typo PR-URL: https://github.com/nodejs/node/pull/27024 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> ...
[ { "path": "test/known_issues/test-fs-copyfile-respect-permissions.js", "patch": "@@ -23,8 +23,9 @@ function beforeEach() {\n fs.chmodSync(dest, '444');\n \n const check = (err) => {\n- assert.strictEqual(err.code, 'EACCESS');\n+ assert.strictEqual(err.code, 'EACCES');\n assert.strictEqual(fs.r...
2019-03-31T05:35:59
rust-lang/rust
a00961269107703772c4e8f071f0accbe0f1a7e5
f5e10748e53b543131b6472af3b3a2b6ff866e9b
Allow building Miri with --features from miri-script Otherwise there was no way to pass e.g. `--features tracing` just to the `cargo` commands issued on the root repository: CARGO_EXTRA_FLAGS applies the flags to the "cargo-miri" crate, too, which does not make sense for crate-specific features. Fix install_to_sysroo...
[ { "path": "src/tools/miri/miri-script/src/commands.rs", "patch": "@@ -32,15 +32,16 @@ impl MiriEnv {\n &mut self,\n quiet: bool,\n target: Option<impl AsRef<OsStr>>,\n+ features: &[String],\n ) -> Result<PathBuf> {\n if let Some(miri_sysroot) = self.sh.var_os(\"MIR...
2025-04-09T08:34:03
golang/go
5e774b0f5c9e9d5a0dab94620d2e0030226148c2
6027b2183d9a63a11f92d392fd2296e7b88402fc
net: simplify deadline fluctuation tests These tests were checking for fairly narrow timing windows, but were running in parallel and heavily dependent on timer and goroutine scheduling. This change eliminates unnecessary goroutines, runs the tests sequentially (dramatically shortening the timeouts to reduce the penal...
[ { "path": "src/net/mockserver_test.go", "patch": "@@ -11,7 +11,6 @@ import (\n \t\"fmt\"\n \t\"os\"\n \t\"sync\"\n-\t\"testing\"\n \t\"time\"\n )\n \n@@ -287,54 +286,6 @@ func transceiver(c Conn, wb []byte, ch chan<- error) {\n \t}\n }\n \n-func timeoutReceiver(c Conn, d, min, max time.Duration, ch chan<- e...
2021-11-18T21:07:13
huggingface/transformers
0566b6f5bdf474d51a34947f0957be84c42207bf
b3e3c3dc93f29770a768d6943c9fb9d377e5edce
Patch MistralCommonTokenizer (#41439) * Fix token_to_id and add add_generation_prompt * Fix spm download * Refactor spm * Try another possibly non-gated spm * Improve get_vocab * lint * Improve get_vocab * Add warn to piece_to_id * Improve from_pretrained raise and revert model spm * Revert fast
[ { "path": "src/transformers/tokenization_mistral_common.py", "patch": "@@ -115,11 +115,6 @@\n of returning overflowing tokens.\n return_special_tokens_mask (`bool`, *optional*, defaults to `False`):\n Whether or not to return special tokens mask information.\n- ...
2025-10-14T11:13:19
vercel/next.js
799a05ce8fb1a7a06b1a7e35f67027cdecc24c45
7bfd5829999b1d203e447d30de7e29108c31934a
Support preferredRegion and Support runtime/preferredRegion on layouts (#48959) ### What? Implements resolving of `runtime` and `preferredRegion` in layouts. It will resolve from the root layout down, each layout can override `runtime` or `preferredRegion`. ``` app ├── layout.js -> export const runtime = 'ed...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -35,6 +35,7 @@ export interface MiddlewareMatcher {\n \n export interface PageStaticInfo {\n runtime?: ServerRuntime\n+ preferredRegion?: string | string[]\n ssg?: boolean\n ssr?: boolean\n rsc?: RSCModuleType\n@@ -8...
2023-04-28T22:40:34
nodejs/node
20c3ac255619166485fd6f2a7dda09e9e842b7b6
86a29356f4ff2fb872d763fffddc53e89283aa1a
stream: do not unconditionally call `_read()` on `resume()` `readable.resume()` calls `.read(0)`, which in turn previously set `needReadable = true`, and so a subsequent `.read()` call would call `_read()` even though enough data was already available. This can lead to elevated memory usage, because calling `_read()`...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -475,7 +475,7 @@ Readable.prototype.read = function(n) {\n ret = null;\n \n if (ret === null) {\n- state.needReadable = true;\n+ state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;", "a...
2019-03-28T19:46:39
huggingface/transformers
b3e3c3dc93f29770a768d6943c9fb9d377e5edce
b84c0b31c674436b076bba818885226a0e0ddecc
[Qwen3VL] fix device mismatch error for FSDP2 training (#41536) For FSDP2, parameters might be on a meta device, and the weight.device attribute may not accurately reflect where the actual computation will happen during forward passes. ```log File "transformers/models/qwen3_vl_moe/modeling_qwen3_vl_moe.py", line 77...
[ { "path": "src/transformers/models/qwen3_omni_moe/modeling_qwen3_omni_moe.py", "patch": "@@ -1099,6 +1099,7 @@ def rot_pos_emb(self, grid_thw: torch.Tensor) -> torch.Tensor:\n \n def fast_pos_embed_interpolate(self, grid_thw):\n grid_ts, grid_hs, grid_ws = grid_thw[:, 0], grid_thw[:, 1], grid_th...
2025-10-14T10:28:25
vercel/next.js
b3071ad47e0a89f96ec813a69598e2e0196b5770
59e9b43319c65d8c890d3d2871ca3b0f2569692d
fix(turbopack): ignore underscore_started path (#48792) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Con...
[ { "path": "packages/next-swc/crates/next-core/src/app_structure.rs", "patch": "@@ -378,8 +378,11 @@ async fn get_directory_tree(\n }\n }\n DirectoryEntry::Directory(dir) => {\n- let result = get_directory_tree(dir, page_extensions);\n- su...
2023-04-28T17:47:59
rust-lang/rust
80bd8a436c8eb187edd451e2fa72e00ed9cfccb1
e7971e4a9b815968139b977ece9a76b62bf4fb10
fix: Temporarily disable `+` typing handler as it moves the cursor position
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -344,7 +344,7 @@ config_data! {\n /// - typing `{` in a use item adds a closing `}` in the right place\n /// - typing `>` to complete a return type `->` will insert a whitespace after it\n /// - typi...
2025-06-19T06:29:50
nodejs/node
9fbf0c60b583dae3d34598352c3c7614118cd035
1ee37aac09f263b00029561542cf3bea5db5113b
worker: use copy of process.env Instead of sharing the OS-backed store for all `process.env` instances, create a copy of `process.env` for every worker that is created. The copies do not interact. Native-addons do not see modifications to `process.env` from Worker threads, but child processes started from Workers do ...
[ { "path": "doc/api/process.md", "patch": "@@ -954,6 +954,11 @@ emitMyWarning();\n <!-- YAML\n added: v0.1.27\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/26544\n+ description: Worker threads will now use a copy of the parent thread’s\n+ `process.en...
2019-02-22T19:11:19
huggingface/transformers
1ee3b288a62c9de658e8be117d869c2a9b835a7c
cad74496ca19c463a5fcc0b35ef4a1c9da2b8c4e
[`from_pretrained`] Small refactor `from_pretrained`: move around unrelated stuff (#41445) * drafts * up * simplify modeling utils * more simplifications * type kwargs * up * move more accelerate related stuff * safeguarding? * nits * remove func when func is NOPE * more * nits * styling * yups * up * u...
[ { "path": "docs/source/en/main_classes/model.md", "patch": "@@ -42,7 +42,3 @@ set this to `False`.\n ## Pushing to the Hub\n \n [[autodoc]] utils.PushToHubMixin\n-\n-## Sharded checkpoints\n-\n-[[autodoc]] modeling_utils.load_sharded_checkpoint", "additions": 0, "deletions": 4, "language": "Mark...
2025-10-13T14:33:32
rust-lang/rust
644469e9613253321d09887ffe0fb2c98528ee21
d1d8e386c5e84c4ba857f56c3291f73c27e2d62a
Remove incorrect comments in `Weak` It is currently possible to create a dangling `Weak` to a DST by calling `Weak::new()` for a sized type, then doing an unsized coercion. Therefore, the comments are wrong. These comments were added in <https://github.com/rust-lang/rust/pull/73845>. As far as I can tell, the guarant...
[ { "path": "library/alloc/src/rc.rs", "patch": "@@ -3004,7 +3004,6 @@ pub struct Weak<\n // `Weak::new` sets this to `usize::MAX` so that it doesn’t need\n // to allocate space on the heap. That's not a value a real pointer\n // will ever have because RcInner has alignment at least 2.\n- // Th...
2025-06-19T05:04:24
golang/go
ac0da79a676c852fee4939b79baf97224cd0b334
80cb59c0c15d2391f7b8d2571121f8213df70f7b
cmd/go: temporarily skip TestScript/test_fuzz_minimize This test is failing on the longtest builders. Adding a skip temporarily until it can be diagnosed and fixed. For #49685 Change-Id: I0ceaf009f5029d1ad6f667f7cfee1f1605737bf3 Reviewed-on: https://go-review.googlesource.com/c/go/+/365315 Trust: Bryan C. Mills <bcm...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_minimize.txt", "patch": "@@ -1,3 +1,5 @@\n+skip # flaky: https://golang.org/issue/49685\n+\n [!fuzz] skip\n [short] skip\n ", "additions": 2, "deletions": 0, "language": "Plain Text" } ]
2021-11-19T17:51:25
vercel/next.js
59e9b43319c65d8c890d3d2871ca3b0f2569692d
e7c9d3c051e6027cf187e0d70565417d6037e37c
allow using the `nodejs` runtime for route handlers when using turbopack (#48791) ### What? We previously ran all route handlers with the edge runtime, which means you can't use built in node.js modules With this PR, the runtime can be selected as documented in the next.js docs Fixes WEB-873
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app/edge-route-bootstrap.ts", "patch": "@@ -1,10 +1,8 @@\n-// PAGE and PATHNAME is set from rust code\n-declare const PAGE: string, PATHNAME: string\n-\n import { EdgeRouteModuleWrapper } from 'next/dist/server/web/edge-route-module-wrapper'\n \n im...
2023-04-28T17:36:05
electron/electron
f77bb449522da886d1cc4ca53887d82d94908b4c
5e9aca4524fb28be14b471345cfefe4d7157c1bc
fix chrome app and user path conflicts
[ { "path": "chromium_src/chrome/common/chrome_paths.h", "patch": "@@ -17,7 +17,7 @@ class FilePath;\n namespace chrome {\n \n enum {\n- PATH_START = 1000,\n+ PATH_START = 2000,\n \n DIR_APP = PATH_START, // Directory where dlls and data reside.\n DIR_LOGS, // Directory where...
2015-12-08T17:30:08
nodejs/node
1ee37aac09f263b00029561542cf3bea5db5113b
f5b5fe3937ec353e43d30ae976725e0773e14c6f
src: implement generic backend for process.env Allow a generic string-based backing store, with no significance to the remainder of the process, as a store for `process.env`. PR-URL: https://github.com/nodejs/node/pull/26544 Fixes: https://github.com/nodejs/node/issues/24947 Reviewed-By: Ruben Bridgewater <ruben@brid...
[ { "path": "src/env.h", "patch": "@@ -551,6 +551,12 @@ class KVStore {\n v8::Local<v8::String> key) const = 0;\n virtual void Delete(v8::Isolate* isolate, v8::Local<v8::String> key) = 0;\n virtual v8::Local<v8::Array> Enumerate(v8::Isolate* isolate) const = 0;\n+\n+ virtual std::...
2019-03-13T14:32:37
huggingface/transformers
cad74496ca19c463a5fcc0b35ef4a1c9da2b8c4e
3813a8e3a1663993b3ec44c455cab8af1beca2b5
[model] Add VideoLLaMA3 implementation (#40499) * Add VideoLLaMA3 implementation * Run style fix * Switch to modular * Fix config and smart_resize * Fix * Fix * Fix style * Fix * Ruff fix * Rename * Rename * Fix * Clean * Fix consistency * Add doc * Fix * Fix * Fix doc * Update generated code * remo...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1188,6 +1188,8 @@\n title: TVP\n - local: model_doc/udop\n title: UDOP\n+ - local: model_doc/video_llama_3\n+ title: VideoLlama3\n - local: model_doc/video_llava\n title: VideoLlava\n - local: model_...
2025-10-13T13:54:34
golang/go
80cb59c0c15d2391f7b8d2571121f8213df70f7b
a94409660dbf05c1cdc2013aa2c7aa2489fe5c1c
internal/fuzz: fix chunk swap mutator When swapping two chunks of bytes in a slice, don't pick chunks which extend beyond the end of the slice. Also don't pick chunks which intersect with each other. Fixes #49047 Change-Id: I070eb1888d05ae849ec6122d01c40c45e602019f Reviewed-on: https://go-review.googlesource.com/c/g...
[ { "path": "src/internal/fuzz/mutators_byteslice.go", "patch": "@@ -284,7 +284,19 @@ func byteSliceSwapBytes(m *mutator, b []byte) []byte {\n \tfor dst == src {\n \t\tdst = m.rand(len(b))\n \t}\n-\tn := m.chooseLen(len(b) - src - 1)\n+\t// Choose the random length as len(b) - max(src, dst)\n+\t// so that we ...
2021-11-18T19:40:48
vercel/next.js
09c2eaea044c80c473aa75b3d3139e0dd740b638
9497c7ad5ee9bc04caadbfbb1366491830288ce3
chore(turborepo): Fixed clippy warnings (vercel/turbo#4744) ### Description Fixing all the random clippy warnings that made it into our code. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
[ { "path": "crates/turbopath/src/absolute_system_path_buf.rs", "patch": "@@ -166,9 +166,9 @@ impl AbsoluteSystemPathBuf {\n }\n }\n \n-impl Into<PathBuf> for AbsoluteSystemPathBuf {\n- fn into(self) -> PathBuf {\n- self.0\n+impl From<AbsoluteSystemPathBuf> for PathBuf {\n+ fn from(path: Abso...
2023-04-28T15:48:25
huggingface/transformers
66d8d7a07759c1a3138272244ca5f81834de9aa5
d621be82861ad02670731f9c6e5b7391855d534c
Fixed typos and formatting (#34215) #hacktoberfest
[ { "path": "i18n/README_fr.md", "patch": "@@ -227,7 +227,7 @@ Le modèle lui-même est un module [`nn.Module` PyTorch](https://pytorch.org/doc\n \n 1. Choisissez le bon framework pour chaque partie de la vie d'un modèle :\n - Entraînez des modèles de pointe en 3 lignes de code.\n- - Transférer un seul m...
2025-10-13T13:38:06
nodejs/node
f5b5fe3937ec353e43d30ae976725e0773e14c6f
e4e2b0ce134ce781847272ae0b4bb889e75f223f
src: allow per-Environment set of env vars Abstract the `process.env` backing mechanism in C++ to allow different kinds of backing stores for `process.env` for different Environments. PR-URL: https://github.com/nodejs/node/pull/26544 Fixes: https://github.com/nodejs/node/issues/24947 Reviewed-By: Ruben Bridgewater <r...
[ { "path": "src/env-inl.h", "patch": "@@ -447,6 +447,14 @@ inline uint64_t Environment::timer_base() const {\n return timer_base_;\n }\n \n+inline std::shared_ptr<KVStore> Environment::envvars() {\n+ return envvars_;\n+}\n+\n+inline void Environment::set_envvars(std::shared_ptr<KVStore> envvars) {\n+ env...
2019-03-13T12:24:27
golang/go
a94409660dbf05c1cdc2013aa2c7aa2489fe5c1c
e8cda0a6c925668972ada40602ada08468fa90dc
internal/fuzz: compute correct number of mutations When reconstructing inputs, we miscalculated the number of mutations that needed to be applied. If the count%chainedMutation == 0 we would apply 0 mutations, when we should actually be applying chainedMutation mutations, due to how count is incremented. Fixes #49047 ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt", "patch": "@@ -1,5 +1,3 @@\n-skip # https://golang.org/issue/49047\n-\n # TODO(jayconrod): support shared memory on more platforms.\n [!darwin] [!linux] [!windows] skip\n ", "additions": 0, "deletions": 2, "language": "Plain Te...
2021-11-18T21:30:55
vercel/next.js
e7c9d3c051e6027cf187e0d70565417d6037e37c
a141366ff6917f8c4a6c61e205f71eb25fb9b840
fix: bump minimum Node.js version to 16.8.0 (#48957) We bumped `undici` fetch which has a minimum version of 16.8.0 so we need to make sure `next` and `create-next-app` also have the same minimum version. Since 14.x reaches End-of-Life on [2023-04-30](https://github.com/nodejs/Release), we can drop support for 14 in ...
[ { "path": "docs/getting-started.md", "patch": "@@ -14,7 +14,7 @@ If you have questions about anything related to Next.js, you're always welcome t\n \n #### System Requirements\n \n-- [Node.js 14.18.0](https://nodejs.org/) or newer\n+- [Node.js 16.8.0](https://nodejs.org/) or newer\n - MacOS, Windows (includ...
2023-04-28T15:07:54
huggingface/transformers
cf1e9834ec7339f4c605ba96d9c4e5cf59594cad
6c901bdc0e1b9c727392f69b2d5fc15ceebec304
Restore cuda graphs to continuous batching (#41421) * Type hints and small fixes * Remove unusued params * Made slice inputs the default * ruffed * Updated some var name and moved index slicing * Logging arg in example * Added some padding debug var and reformat out cg * First working CG, fixe size * Working f...
[ { "path": "examples/pytorch/continuous_batching.py", "patch": "@@ -26,22 +26,25 @@\n \n from transformers import AutoModelForCausalLM, AutoTokenizer\n from transformers.generation import GenerationConfig\n+from transformers.generation.continuous_batching.requests import logger\n \n \n # MODEL_ID = \"Qwen/Qw...
2025-10-13T09:57:56
nodejs/node
75eaf25e78fcb21b338855404b2a6082a4414911
ef0701d31f8d409916847b8466d5d37dc241a9a2
buffer: use stricter `from()` input validation So far we did not throw an error for all types of invalid input. Functions do not return a buffer anymore and `number` and `symbol` validation is also improved. PR-URL: https://github.com/nodejs/node/pull/26825 Fixes: https://github.com/nodejs/node/issues/26741 Reviewed-...
[ { "path": "lib/buffer.js", "patch": "@@ -195,33 +195,23 @@ Buffer.from = function from(value, encodingOrOffset, length) {\n if (typeof value === 'string')\n return fromString(value, encodingOrOffset);\n \n- if (isAnyArrayBuffer(value))\n- return fromArrayBuffer(value, encodingOrOffset, length);\n+...
2019-03-20T16:10:06