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
golang/go
8f923a4e3c03829874b43291f2bdfd12e2d8189b
d3a80c795e9368e9dfac4efb49e3ee041513d24a
net/netip: add missing encoding.BinaryUnmarshaler to AddrPort and Prefix The Addr type got an encoding.BinaryUnmarshaler implementation, but not AddrPort and Prefix. This commit adds the missing implementation of that interface to these types. It also adds two round trip tests that follow the template of the existing ...
[ { "path": "src/net/netip/leaf_alts.go", "patch": "@@ -41,3 +41,14 @@ func bePutUint32(b []byte, v uint32) {\n \tb[2] = byte(v >> 8)\n \tb[3] = byte(v)\n }\n+\n+func leUint16(b []byte) uint16 {\n+\t_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808\n+\treturn uint16(b[0]) | uint16(b[1])<<8...
2021-11-02T20:33:23
huggingface/transformers
e54bb62a73d2da84f973df17d2604338760b702f
6dc9ed87a02db8b4ecc26a5e98596cd2bba380b5
Simplify and improve model loading logic (#41103) * remove unexpected keys from inputs (they have nothing to do there) * remove input * simplify a lot init * fix * fix check for non-persistent buffer * revert because too many old and bad models... * remove comment * type hint * make it a real test * remove mo...
[ { "path": "conftest.py", "patch": "@@ -64,8 +64,7 @@\n \"test_load_save_without_tied_weights\",\n \"test_tied_weights_keys\",\n \"test_model_weights_reload_no_missing_tied_weights\",\n- \"test_mismatched_shapes_have_properly_initialized_weights\",\n- \"test_matched_shapes_have_loaded_weigh...
2025-09-25T15:28:27
vercel/next.js
2505e1114616990759ad75712840140289aa08a7
2d420f01a98ae6711fc0151bc3b07fb9d3053a80
fix: Adding search field decorator (#48350) ### Updating Tigris example - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://git...
[ { "path": "examples/with-tigris/db/models/todoItems.ts", "patch": "@@ -1,6 +1,7 @@\n import {\n Field,\n PrimaryKey,\n+ SearchField,\n TigrisCollection,\n TigrisCollectionType,\n TigrisDataTypes,\n@@ -11,6 +12,7 @@ export class TodoItem implements TigrisCollectionType {\n @PrimaryKey(TigrisData...
2023-04-13T19:51:12
nodejs/node
4e9dc31817498ae03fcf7c2136d5d69b863a135c
97ce5e0b4b614872ced69ba800bc726d464e92f2
doc: fix nits in writing-tests.md * Correct a typo. * Normalize spaces. * Split a paragraph with different topics. PR-URL: https://github.com/nodejs/node/pull/26543 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/guides/writing-tests.md", "patch": "@@ -285,19 +285,21 @@ assert.throws(\n \n Output written by tests to stdout or stderr, such as with `console.log()` or\n `console.error()`, can be useful when writing tests, as well as for debugging\n-them during later maintenance. The output will be supre...
2019-03-09T11:53:31
huggingface/transformers
6dc9ed87a02db8b4ecc26a5e98596cd2bba380b5
a579de7f5e00a9fdb1e9828aa3ab78385959f231
Fix format of compressed_tensors.md (#41155) * Fix table format Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix format Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/quantization/compressed_tensors.md", "patch": "@@ -65,11 +65,11 @@ print(f\"{mem_params/2**30:.4f} GB\")\n \n ## Model checkpoint\n \n-compressed-tensor models are defined through its configuration entry. The following example is taken from the [nm-testing/Meta-Llama-3.1-8B-Instruc...
2025-09-25T14:50:15
electron/electron
0c5fe03999919f97395229d3e9414686770d5cf0
079796de26faa45b7979cb72a5e405d884332d78
Fix module types available in the renderer process The doc previously stated `only GUI-unrelated` modules are available to the renderer process. I think it should be `only GUI-related`
[ { "path": "docs/api/remote.md", "patch": "@@ -3,7 +3,7 @@\n The `remote` module provides a simple way to do inter-process communication\n (IPC) between the renderer process (web page) and the main process.\n \n-In Electron, only GUI-unrelated modules are available in the renderer process.\n+In Electron, onl...
2015-10-28T10:40:01
golang/go
35a588109b2a6d8b610be08d32aaf99ef1549085
035963c7f5d82b5bf1501f407919031f815bd038
net: accept "." as a valid domain name Fixes #45715 Change-Id: Ibdaa91c97d34473061b377325ebe9a3bf5696c8e Reviewed-on: https://go-review.googlesource.com/c/go/+/360314 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ia...
[ { "path": "src/net/dnsclient.go", "patch": "@@ -76,6 +76,11 @@ func equalASCIIName(x, y dnsmessage.Name) bool {\n // (currently restricted to hostname-compatible \"preferred name\" LDH labels and\n // SRV-like \"underscore labels\"; see golang.org/issue/12421).\n func isDomainName(s string) bool {\n+\t// Th...
2021-11-01T03:22:38
vercel/next.js
2d420f01a98ae6711fc0151bc3b07fb9d3053a80
d4d779145c40334ccfca761481fb52ea7f6cb7cc
Fix dev case when proxying to self (#48318) This ensures we don't pass along original headers when an API route is proxying back to the dev server. x-ref: [slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1681231721085539)
[ { "path": "packages/next/src/server/next-server.ts", "patch": "@@ -1434,6 +1434,7 @@ export default class NextNodeServer extends BaseServer {\n const invokeHeaders: typeof req.headers = {\n 'cache-control': '',\n ...req.headers,\n+ 'x-middleware-invoke': ...
2023-04-13T15:33:53
nodejs/node
3afa5d7ba8d7b25ff3acda303c20e41230342e18
1acf3b155f6345c6d3ad24f90cd49ec9d83424f5
crypto: improve error handling in parseKeyEncoding This change only affects KeyObject.export(). PR-URL: https://github.com/nodejs/node/pull/26455 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Tro...
[ { "path": "lib/internal/crypto/keys.js", "patch": "@@ -178,6 +178,9 @@ function isStringOrBuffer(val) {\n }\n \n function parseKeyEncoding(enc, keyType, isPublic, objName) {\n+ if (enc === null || typeof enc !== 'object')\n+ throw new ERR_INVALID_ARG_TYPE('options', 'object', enc);\n+\n const isInput ...
2019-03-05T17:35:50
golang/go
755ede0c5b6a9398170e1da0dae94df1b98352aa
6b223e872a255b2722ea921c9d42adcbb5d1d4d5
cmd/go: fix bugs in replacement path handling These are tested in golang.org/cl/357169 and golang.org/cl/358540. Change-Id: I5add3f202db71731487f2688234c547abe1fd287 Reviewed-on: https://go-review.googlesource.com/c/go/+/361416 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.or...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -968,7 +968,7 @@ func makeMainModules(ms []module.Version, rootDirs []string, modFiles []*modfile\n \t\t\tfor _, r := range modFiles[i].Replace {\n \t\t\t\tif replacedByWorkFile[r.Old.Path] {\n \t\t\t\t\tcontinue\n-\t\t\t\t} else if prev, ok := r...
2021-10-19T18:05:29
huggingface/transformers
a579de7f5e00a9fdb1e9828aa3ab78385959f231
1dd22a234cdbec840d139871720447baf809158b
Add Parakeet (#39062) * first commit Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com> * update to handle masking for bs>1 Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com> * Add tests and docs Signed-off-by: nithinraok <nithinrao.koluguri@gmail.com> * update model ids Signed-off-by: nithinraok <n...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -935,6 +935,8 @@\n title: MusicGen\n - local: model_doc/musicgen_melody\n title: MusicGen Melody\n+ - local: model_doc/parakeet\n+ title: Parakeet\n - local: model_doc/pop2piano\n title: Pop2Piano\n -...
2025-09-25T13:52:24
rust-lang/rust
2dfab750e7b75eb0fd2dd81ddcc3b818924f2df6
bf1a276db3c265f1265ad1820c831386f2d5a31b
fix ci/cd error
[ { "path": "clippy_lints/src/operators/identity_op.rs", "patch": "@@ -262,12 +262,18 @@ fn is_expr_used_with_type_annotation<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx E\n /// Check if the expression is an associated function without a type instance.\n /// Example:\n /// ```\n-/// Default::default()\n-/// // ...
2025-06-14T09:24:09
nodejs/node
2699f8c860084565a8b3748b3fdf1ebba204f3f7
c957b0517766729f931a1ef7ab134f75d6a01864
src: merge debug-only `SealHandleScope`s Instead of repeating the same `#ifdef DEBUG` + `SealHandleScope` pattern over and over, create an utility that does this for us. PR-URL: https://github.com/nodejs/node/pull/26459 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater....
[ { "path": "src/api/environment.cc", "patch": "@@ -23,7 +23,6 @@ using v8::MaybeLocal;\n using v8::Message;\n using v8::MicrotasksPolicy;\n using v8::ObjectTemplate;\n-using v8::SealHandleScope;\n using v8::String;\n using v8::Value;\n \n@@ -35,9 +34,7 @@ static bool AllowWasmCodeGenerationCallback(Local<Con...
2019-03-05T22:03:24
vercel/next.js
dde19eb944a1123434ab599219e93a20d096f321
9c9db8f4d81d6b1d6143e5e9209d0cd394d3498a
refactoring for standalone turbopack cli and benchmarking in turbo (vercel/turbo#4553) ### Description * enable bench CI again * add @vercel/turbopack-node alias to avoid duplicate IPC logic add turbopack-bench to share benchmarking logic * add next.js --turbo to benchmark * add turbopack-cli as standalone dev ...
[ { "path": "crates/turbo-binding/Cargo.toml", "patch": "@@ -96,6 +96,7 @@ __turbo_tasks_testing = [\"__turbo\", \"turbo-tasks-testing\"]\n __turbo_updater = [\"__turbo\", \"turbo-updater\"]\n \n __turbopack = [\"turbopack\"]\n+__turbopack_bench = [\"__turbopack\", \"turbopack-bench\"]\n __turbopack_cli_utils...
2023-04-13T09:55:32
golang/go
75952abc6a8a8ad09e6bb1966c66b9a68b5d6c4e
fb8b1764d8e8afdaf5d8fd00af3720e42d96ad9c
unicode/utf8: add AppendRune Example Also, correct TestAppendRune error message. Change-Id: I3ca3ac7051af1ae6d449381b78efa86c2f6be8ac Reviewed-on: https://go-review.googlesource.com/c/go/+/354529 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Trust: Robert Findley <rfin...
[ { "path": "src/unicode/utf8/example_test.go", "patch": "@@ -214,3 +214,13 @@ func ExampleValidString() {\n \t// true\n \t// false\n }\n+\n+func ExampleAppendRune() {\n+\tbuf1 := utf8.AppendRune(nil, 0x10000)\n+\tbuf2 := utf8.AppendRune([]byte(\"init\"), 0x10000)\n+\tfmt.Println(string(buf1))\n+\tfmt.Println...
2021-10-07T07:30:03
rust-lang/rust
d6a9081612e55b4d755163ce54d94ea0a96e4a2b
7c10378e1fee5ddc6573b916aeb884ab10e0de17
Async drop - fix for StorageLive/StorageDead codegen for pinned async drop future
[ { "path": "compiler/rustc_mir_transform/src/coroutine/drop.rs", "patch": "@@ -132,6 +132,7 @@ fn build_poll_switch<'tcx>(\n body: &mut Body<'tcx>,\n poll_enum: Ty<'tcx>,\n poll_unit_place: &Place<'tcx>,\n+ fut_pin_place: &Place<'tcx>,\n ready_block: BasicBlock,\n yield_block: BasicBlo...
2025-06-08T14:32:04
electron/electron
f69bafd48a69054908f91b3a419491c2c504a96e
fa24e15d8bfd5371050d89a47b711aefc247566e
Win: Fix adding '.*' to filename in callback.
[ { "path": "atom/browser/ui/file_dialog_win.cc", "patch": "@@ -272,7 +272,8 @@ bool ShowSaveDialog(atom::NativeWindow* parent_window,\n \n bool matched = false;\n for (size_t i = 0; i < filter.second.size(); ++i) {\n- if (base::EndsWith(file_name, filter.second[i], false)) {\n+ if (filter.s...
2015-10-27T12:03:28
nodejs/node
c957b0517766729f931a1ef7ab134f75d6a01864
914d90835986722fe8e07e7894032ad0ecde13e6
http: send connection: close when closing conn HTTP/1.1 mandates connections which do not support keep-alive and close the connection send the connection: close header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.10 This page also provides more information: https://developer.mozilla.org/en-US/do...
[ { "path": "lib/_http_server.js", "patch": "@@ -506,10 +506,12 @@ function onParserExecute(server, socket, parser, state, ret) {\n \n const noop = () => {};\n const badRequestResponse = Buffer.from(\n- `HTTP/1.1 400 ${STATUS_CODES[400]}${CRLF}${CRLF}`, 'ascii'\n+ `HTTP/1.1 400 ${STATUS_CODES[400]}${CRLF}` ...
2019-03-06T11:07:47
vercel/next.js
e21b93b5233ddf9ddfb347400cc1f4239ee0d3bc
e8f6ddcae8274852bf478c43197013a10df9c452
feat(turbopack): initial mdxrs config support (#47886) <!-- 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 Cont...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -386,7 +386,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-230412.2#d1df1a810f0fec704ebcf2201691261d1249703d\"\n+source = \"git+https://github.com/v...
2023-04-13T06:17:28
golang/go
fb8b1764d8e8afdaf5d8fd00af3720e42d96ad9c
90462dfc3aa99649de90bb587af56a9cb0214665
errors: add errors.Unwrap example Change-Id: Id2336a6059f7a8d627e6c0661a4d4c05485b65f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/355589 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Cherry Mui <cherryyz@google...
[ { "path": "src/errors/wrap_test.go", "patch": "@@ -265,3 +265,13 @@ func ExampleAs() {\n \t// Output:\n \t// Failed at path: non-existing\n }\n+\n+func ExampleUnwrap() {\n+\terr1 := errors.New(\"error1\")\n+\terr2 := fmt.Errorf(\"error2: [%w]\", err1)\n+\tfmt.Println(err2)\n+\tfmt.Println(errors.Unwrap(err2...
2021-10-13T14:16:37
rust-lang/rust
de4f8e2bc6303b78f550ebe91f29e8c1a149c6ec
4ef75291b5dd6739212f1f61666d19d4e086690d
fix: `manual_ok_err` suggests wrongly with references
[ { "path": "clippy_lints/src/matches/manual_ok_err.rs", "patch": "@@ -1,9 +1,9 @@\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::source::{indent_of, reindent_multiline};\n use clippy_utils::sugg::Sugg;\n-use clippy_utils::ty::option_arg_ty;\n+use clippy_utils::ty::{option_arg_ty, pe...
2025-06-14T07:45:14
rust-lang/rust
7d708a45afad8a692ac6b57a3d332c07f81c2c57
4ef75291b5dd6739212f1f61666d19d4e086690d
fix: `needless_doctest_main` panic when doctest is invalid
[ { "path": "clippy_lints/src/doc/needless_doctest_main.rs", "patch": "@@ -105,7 +105,10 @@ pub fn check(\n },\n Ok(None) => break,\n Err(e) => {\n- e.cancel();\n+ // See issue #15041....
2025-06-14T06:54:37
nodejs/node
914d90835986722fe8e07e7894032ad0ecde13e6
4fb88cd8881441bb9af3bacc326fe3d9339de0d0
n-api: improve performance creating strings Improve performance creating strings using N-API by ensuring that the strings are not internalized. Added test cases for latin-1 and utf-16 strings. PR-URL: https://github.com/nodejs/node/pull/26439 Fixes: https://github.com/nodejs/node/issues/26437 Reviewed-By: Anna Henni...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -1315,12 +1315,15 @@ napi_status napi_create_string_latin1(napi_env env,\n napi_value* result) {\n CHECK_ENV(env);\n CHECK_ARG(env, result);\n+ RETURN_STATUS_IF_FALSE(env,\n+ (length == NAPI_AUTO_LENGTH) || len...
2019-03-04T22:02:27
vercel/next.js
d105b23f7f2ef08a65eeeb4ce72fe1df4adab74d
1d300456c02f82642f7ceff71dacfc2b3d965380
Fix app dir vanilla-extract support (#48306) Closes #48222. This PR introduces a new utility function that checks the resource path, module type, and loaders to replace the existing CSS regex in the Flight loaders and plugins. The new function is more robust and can be extended to correctly support other librari...
[ { "path": "packages/next/src/build/webpack/loaders/utils.ts", "patch": "@@ -15,6 +15,25 @@ export function isClientComponentModule(mod: {\n \n export const regexCSS = /\\.(css|scss|sass)(\\?.*)?$/\n \n+// This function checks if a module is able to emit CSS resources. You should\n+// never only rely on a si...
2023-04-12T22:58:30
golang/go
90462dfc3aa99649de90bb587af56a9cb0214665
ad6ce55a55ec445ac946e825532bde5784f8d72b
time: fix looking for zone offset when date is close to a zone transition The old implement passed start - 1 or end in func lookup to adjust the offset.But if the time is close to the last zoneTrans, like the issue, testcase and comment, the "start" from lookup will be omega. It can't be adjusted correctly. Fixes #49...
[ { "path": "src/time/time.go", "patch": "@@ -1433,17 +1433,17 @@ func Date(year int, month Month, day, hour, min, sec, nsec int, loc *Location) T\n \n \tunix := int64(abs) + (absoluteToInternal + internalToUnix)\n \n-\t// Look for zone offset for t, so we can adjust to UTC.\n-\t// The lookup function expects...
2021-11-02T15:17:21
huggingface/transformers
05fb90c96903cf0e3d8376316a23d7401969690b
44682e71314f004c8cf157f76e6956e58f6f730f
Fix single quotes in markdown (#41154) Fix typos Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/TRANSLATING.md", "patch": "@@ -50,7 +50,7 @@ Begin translating the text!\n \n 1. Start with the `_toctree.yml` file that corresponds to your documentation chapter. This file is essential for rendering the table of contents on the website.\n \n- - If the `_toctree.yml` file doesn’t exist f...
2025-09-25T13:03:26
nodejs/node
4fe66a3c7f32ae2efda64603eba111c42014b35b
4d89fcc6d6581dfbe798fd0dc76d83fda98c1b87
test: bump test-bootstrap-modules.js limit PR-URL: https://github.com/nodejs/node/pull/26520 Fixes: https://github.com/nodejs/node/issues/26528 Refs: https://github.com/nodejs/node/pull/25594 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Richard Lau <riclau@uk.ibm.com>...
[ { "path": "test/parallel/test-bootstrap-modules.js", "patch": "@@ -10,7 +10,7 @@ const assert = require('assert');\n \n const isMainThread = common.isMainThread;\n const kCoverageModuleCount = process.env.NODE_V8_COVERAGE ? 1 : 0;\n-const kMaxModuleCount = (isMainThread ? 64 : 86) + kCoverageModuleCount;\n+...
2019-03-08T14:59:59
electron/electron
2a85bd3360e6cedad8607bc1c5ade2d635332e72
d1c5d0745146eb980c1612999cfe9fa2ebfa9ab9
Update libchromiumcontent: fix private API call
[ { "path": "script/lib/config.py", "patch": "@@ -8,7 +8,7 @@\n \n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '78e54bc39a04b758ed5167cd980cc4d9951bd629'\n+LIBCHROMIUMCONTENT_COMMIT = '464aff2398f...
2015-10-27T06:25:42
golang/go
7aed6dd7e18e2ad3ac0f4eb692188ed7a90b778b
58ec92527041f88d427390a92619cd9a927b6aba
strings, bytes: deprecate Title Title doesn't handle Unicode punctuation and language-specific capitalization rules. Replace the BUG comment with a Deprecated one, suggesting a more robust alternative, and allowing Title to be exposed to tooling. Fixes #48367. Change-Id: I952f1f37cd35b587a95893fb022827bdd9ec7de9 Rev...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -746,7 +746,8 @@ func isSeparator(r rune) bool {\n // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin\n // words mapped to their title case.\n //\n-// BUG(rsc): The rule Title uses for word boundaries does not handle U...
2021-10-28T21:08:22
vercel/next.js
9c9db8f4d81d6b1d6143e5e9209d0cd394d3498a
4de4b71701486ac0952ad3840e3164c98f74194d
feat(turbopack): initial mdxRs next.config.js support (vercel/turbo#4442) ### Description Related with WEB-488. This PR enables `mdxRs` configuration option from next.config.js's `experimental`. When it is enabled, it allows to transform `.md` and `.mdx` with mdx compiler with inheriting any existing jsx transform o...
[ { "path": "crates/turbopack-mdx/src/lib.rs", "patch": "@@ -1,7 +1,7 @@\n #![feature(min_specialization)]\n \n use anyhow::{anyhow, Result};\n-use mdxjs::compile;\n+use mdxjs::{compile, Options};\n use turbo_tasks::{primitives::StringVc, Value};\n use turbo_tasks_fs::{rope::Rope, File, FileContent, FileSyste...
2023-04-12T22:05:24
huggingface/transformers
44682e71314f004c8cf157f76e6956e58f6f730f
750dd2a401b803ba5542ed15251c7c743b2fd85b
Adapt and test huggingface_hub v1.0.0 (#40889) * Adapt and test huggingface_hub v1.0.0.rc0 * forgot to bump hfh * bump * code quality * code quality * relax dependency table * fix has_file * install hfh 1.0.0.rc0 in circle ci jobs * repostiryo * push to hub now returns a commit url * catch HfHubHTTPError * ...
[ { "path": "setup.py", "patch": "@@ -114,12 +114,12 @@\n \"GitPython<3.1.19\",\n \"hf-doc-builder>=0.3.0\",\n \"hf_xet\",\n- \"huggingface-hub>=0.34.0,<1.0\",\n+ \"huggingface-hub==1.0.0.rc1\",\n \"importlib_metadata\",\n \"ipadic>=1.0.0,<2.0\",\n \"jinja2>=3.1.0\",\n \"kenl...
2025-09-25T11:13:50
electron/electron
f1fad96b568687e98c6d48b0a05e54f60b1dcadb
a84f4dc3e62a84e2cae0c90329b28ab89bd63660
Fix missing spell
[ { "path": "docs-translations/th-TH/README.md", "patch": "@@ -19,16 +19,16 @@\n ## แหล่งอ้างอิงของ API\n \n * [สรุปความ](api/synopsis.md)\n-* [Process Object](api/process.md)\n-* [คำสั่งของ Chrome Command Line Switches ที่รองรับ](api/chrome-command-line-switches.md)\n+* [โปรเซสออบเจค](api/process.md)\n+* [คำ...
2015-10-27T05:36:43
golang/go
58ec92527041f88d427390a92619cd9a927b6aba
3e9e02412e7770e46c7e725e17dee09a7d79f32c
debug/plan9obj: export ErrNoSymbols This allows callers of *File.Symbols to distinguish absence of symbols from other errors as can already by done in debug/elf. Fixes #48052 Change-Id: I5ba15d8473911e516c016a69c1f1c710f7fc4cd5 Reviewed-on: https://go-review.googlesource.com/c/go/+/350229 Run-TryBot: Ian Lance Taylo...
[ { "path": "src/debug/plan9obj/file.go", "patch": "@@ -301,11 +301,15 @@ func newTable(symtab []byte, ptrsz int) ([]Sym, error) {\n \treturn syms, nil\n }\n \n+// ErrNoSymbols is returned by File.Symbols if there is no such section\n+// in the File.\n+var ErrNoSymbols = errors.New(\"no symbol section\")\n+\n...
2021-08-29T04:31:03
vercel/next.js
1d300456c02f82642f7ceff71dacfc2b3d965380
848e6fbfaab51afe9f6581591b407017ff2914e1
Fix missing favicon when other icon exist (#48311) When collecting static icons we need both collect the one from layout and page, but for root level route `/` we missed the `favicon.ico` before so when other icon existed, the root page's collected icons will cover root layout collected ones, which resulted into favic...
[ { "path": "packages/next/src/build/webpack/loaders/metadata/discover.ts", "patch": "@@ -57,13 +57,13 @@ export async function createStaticMetadataFromRoute(\n {\n segment,\n resolvePath,\n- isRootLayer,\n+ isRootLayoutOrRootPage,\n loaderContext,\n pageExtensions,\n }: {\n segm...
2023-04-12T21:07:47
nodejs/node
b05fd4baa87886674721101eaf38b75716037891
687f30467b67db9f39334cd19faa484c20a4ab06
lib: explicitly initialize debuglog during bootstrap This patch splits the implementation of util.debuglog into a separate file and explicitly initialize it during pre-execution since the initialization depends on environment variables. Also delays the call to `debuglog` in modules that are loaded during bootstrap to ...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -27,8 +27,15 @@ Readable.ReadableState = ReadableState;\n const EE = require('events');\n const Stream = require('stream');\n const { Buffer } = require('buffer');\n-const util = require('util');\n-const debug = util.debuglog('stream');\n+\n+let debuglog;\n+...
2019-03-06T11:54:12
huggingface/transformers
750dd2a401b803ba5542ed15251c7c743b2fd85b
7258ea44bc0c0a425a468f66f8559d1de8c4126d
Fix: align Qwen2.5-VL inference rope index with training by passing s… (#41153) Fix: align Qwen2.5-VL inference rope index with training by passing second_per_grid_ts
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -1558,6 +1558,7 @@ def prepare_inputs_for_generation(\n model_inputs.get(\"input_ids\", None),\n image_grid_thw=image_grid_thw,\n video_grid_thw=video_grid_thw,\n+ ...
2025-09-25T10:33:46
golang/go
4c7cafdd03426bc2b9fb1275d13d0abc755dde16
091948a55fb198be4202c21a5809ec68d77f70c4
net/http: distinguish between timeouts and client hangups in TimeoutHandler Fixes #48948 Change-Id: I411e3be99c7979ae289fd937388aae63d81adb59 GitHub-Last-Rev: 14abd7e4d774ed5ef63aa0a69e80fbc8b5a5af26 GitHub-Pull-Request: golang/go#48993 Reviewed-on: https://go-review.googlesource.com/c/go/+/356009 Reviewed-by: Damien...
[ { "path": "src/net/http/export_test.go", "patch": "@@ -88,12 +88,7 @@ func SetPendingDialHooks(before, after func()) {\n \n func SetTestHookServerServe(fn func(*Server, net.Listener)) { testHookServerServe = fn }\n \n-func NewTestTimeoutHandler(handler Handler, ch <-chan time.Time) Handler {\n-\tctx, cancel...
2021-11-05T17:27:35
nodejs/node
ede1a7ceb4e5ef6ae28cfc14bd8a3a26f7521515
91e1a043a656c58ac25ff5dd4b60e9684f3c3452
tools: fix test.py --shell This fixes the necessary plumbing to make the --shell argument have its intended effect. PR-URL: https://github.com/nodejs/node/pull/26449 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "tools/test.py", "patch": "@@ -918,12 +918,12 @@ def GetTestStatus(self, context, sections, defs):\n \n class Context(object):\n \n- def __init__(self, workspace, buildspace, verbose, vm, args, expect_fail,\n+ def __init__(self, workspace, verbose, vm, args, expect_fail,\n timeout...
2019-03-05T11:40:24
vercel/next.js
e97100c5eaff9351ab8b6c83c5341994f22f60e9
ccaa7d6482ba06aaf44c60301116c009bdf33d5a
feat(turbopack): support initial compiler.emotion / compiler.styledComponents flag (#47991) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -386,7 +386,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-230411.2#8a6c4b81f4952627cfac60b1a77240c1ea02ec4b\"\n+source = \"git+https://github.com/v...
2023-04-12T20:05:18
huggingface/transformers
7258ea44bc0c0a425a468f66f8559d1de8c4126d
2c4caa19e79ec8b6e2d401d58bdc63088e453600
Fix loading logic flaw with regards to unexpected and missing keys (#40850) * Unexpected keys should be ignored at load with device map * remove them all * fix logic flaw * fix * simplify * style * fix * revert caching allocator change * add other test * add nice doc --------- Co-authored-by: Cyril Vallez <...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -738,8 +738,6 @@ def _load_state_dict_into_meta_model(\n file_pointer = safe_open(shard_file, framework=\"pt\", device=tensor_device)\n \n for param_name, empty_param in state_dict.items():\n- if param_name not in expected_keys:...
2025-09-24T14:44:42
golang/go
091948a55fb198be4202c21a5809ec68d77f70c4
dbd3cf884986c88f5b3350709c0f51fa02330805
time: make Ticker.Reset(0) panic Fixes #49315 Change-Id: I0887bad1059b25ae0749bfa1ed6ddccbecca7951 Reviewed-on: https://go-review.googlesource.com/c/go/+/361074 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel...
[ { "path": "src/time/tick.go", "patch": "@@ -48,8 +48,12 @@ func (t *Ticker) Stop() {\n }\n \n // Reset stops a ticker and resets its period to the specified duration.\n-// The next tick will arrive after the new period elapses.\n+// The next tick will arrive after the new period elapses. The duration d\n+//...
2021-11-03T14:23:29
electron/electron
f399f50e9ee11f51a2d02eeef3eb1672e95434bc
e6f54f447cee43d6e0ddab913bcea5fa84b955cb
Fix calling showItemInFolder in renderer The remote method always assumes the existence of the remote object but doesn't keep a reference to it, so if we only keep the reference of a remote method we will get into troubles once the remote object is garbage collected. We should probably fix this in remote module, but ...
[ { "path": "atom/common/api/lib/shell.coffee", "patch": "@@ -1,4 +1,5 @@\n module.exports = process.atomBinding 'shell'\n \n if process.platform is 'win32' and process.type is 'renderer'\n- module.exports.showItemInFolder = require('remote').process.atomBinding('shell').showItemInFolder\n+ module.exports.s...
2015-10-26T08:48:27
vercel/next.js
4de4b71701486ac0952ad3840e3164c98f74194d
e851dc3453387d37f33f5865a2a87ece25f1f037
feat(ecmascript): support configurable styled component options (vercel/turbo#4535) ### Description WEB-670. This PR expands config options for the styled components transform. However this is not a full fix yet, there are some additional failures in the test case need further investigations. <!-- ✍️ Write a shor...
[ { "path": "crates/turbopack-ecmascript/src/transform/mod.rs", "patch": "@@ -9,6 +9,7 @@ use swc_core::{\n common::{chain, util::take::Take, FileName, Mark, SourceMap},\n ecma::{\n ast::{Module, ModuleItem, Program},\n+ atoms::JsWord,\n preset_env::{self, Targets},\n tr...
2023-04-12T16:23:48
nodejs/node
82a256ac6740b7a6d29439af911b86a7a0b2e63f
76e67e98843978223a74b177f4e53411caf95516
test: fix tests so they work in worker threads Use the `cwd` option for child_process instead of `process.chdir()` to allow tests to work with worker threads. PR-URL: https://github.com/nodejs/node/pull/26453 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jam...
[ { "path": "test/parallel/test-cli-eval.js", "patch": "@@ -34,9 +34,6 @@ const path = require('path');\n const fixtures = require('../common/fixtures');\n const nodejs = `\"${process.execPath}\"`;\n \n-if (!common.isMainThread)\n- common.skip('process.chdir is not available in Workers');\n-\n if (process.ar...
2019-03-05T13:56:16
huggingface/transformers
6d1875924c9f15eb4d2d491c9f37c6dd7455cf06
3ca43d34b197d10e79c00f7651daa6e0a6d3504f
Fixed loading LongT5 from legacy checkpoints (#40724) * Fixed loading LongT5 from legacy checkpoints * Adapted the fix to work with missing lm_head
[ { "path": "src/transformers/models/longt5/modeling_longt5.py", "patch": "@@ -1267,6 +1267,36 @@ def dummy_inputs(self):\n }\n return dummy_inputs\n \n+ def _try_load_missing_tied_module(self, key):\n+ module = self\n+ if key.endswith(\".weight\"):\n+ key = key[: -...
2025-09-24T12:13:18
golang/go
dbd3cf884986c88f5b3350709c0f51fa02330805
71559a6ffd26031fe562b461d6472fdddbe617eb
net/http: fix comment of writeRequest Change-Id: I5ebfc6a89323cc086ea0e0b619370dc45da1f3a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/345437 Reviewed-by: Damien Neil <dneil@google.com> Trust: Damien Neil <dneil@google.com> Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Damien Neil <dneil@google.com>...
[ { "path": "src/net/http/transport.go", "patch": "@@ -2481,7 +2481,7 @@ type requestAndChan struct {\n \tcallerGone <-chan struct{} // closed when roundTrip caller has returned\n }\n \n-// A writeRequest is sent by the readLoop's goroutine to the\n+// A writeRequest is sent by the caller's goroutine to the\n...
2021-08-28T17:38:38
vercel/next.js
ccaa7d6482ba06aaf44c60301116c009bdf33d5a
89366ff44c90063ad1b17cbc762240d06e2ff36e
parallel route: fix payload not being sent on refetch (#48294) This PR fixes a bug introduced in #48253 where I inadvertently didn't return the refetch payloads anymore <!-- 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...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -1137,11 +1137,12 @@ export async function renderToHTMLOrFlight(\n return path\n .map((item) => {\n // we don't need to send over default routes in the flight data\n- ...
2023-04-12T15:37:37
nodejs/node
31147c47043827dd8b0a08c1befe4110c8d9174f
ceb73e714afce53c4d736c1495e800e86d3cd3f2
buffer: do not affect memory after target for utf16 write Do not write one character too much before shifting the whole result to the left when using UTF16-LE, possibly overwriting already-used memory while doing so. Fixes: https://github.com/nodejs/node/issues/26422 PR-URL: https://github.com/nodejs/node/pull/26432...
[ { "path": "src/string_bytes.cc", "patch": "@@ -287,18 +287,19 @@ size_t StringBytes::WriteUCS2(Isolate* isolate,\n CHECK_EQ(reinterpret_cast<uintptr_t>(aligned_dst) % sizeof(*dst), 0);\n \n // Write all but the last char\n+ max_chars = std::min(max_chars, static_cast<size_t>(str->Length()));\n+ if (ma...
2019-03-04T16:17:05
huggingface/transformers
3ca43d34b197d10e79c00f7651daa6e0a6d3504f
b33cb700978bbd9d5152fdc650d022ee11619347
Fixed MXFP4 model storage issue (#41118)
[ { "path": "src/transformers/quantizers/quantizer_mxfp4.py", "patch": "@@ -379,7 +379,7 @@ def update_param_name(self, param_name: str) -> str:\n return param_name.replace(\"down_proj\", \"down_proj_blocks\")\n return param_name\n \n- def get_state_dict_and_metadata(self, model):\n...
2025-09-24T12:11:51
golang/go
71559a6ffd26031fe562b461d6472fdddbe617eb
7be227ccd0213dd10d831f87c133bc8ac2cbdc73
runtime: fix racy stackForceMove check Currently, newstack loads gp.stackguard0 twice to check for different poison values. The race window between these two checks can lead to unintentional stack doubling, and ultimately to stack overflows. Specifically, newstack checks if stackguard0 is stackPreempt first, then it ...
[ { "path": "src/runtime/stack.go", "patch": "@@ -1002,7 +1002,7 @@ func newstack() {\n \t// NOTE: stackguard0 may change underfoot, if another thread\n \t// is about to try to preempt gp. Read it just once and use that same\n \t// value now and below.\n-\tpreempt := atomic.Loaduintptr(&gp.stackguard0) == sta...
2021-11-05T19:58:34
vercel/next.js
c57b687abbe189fc1c0309d99d75a74773361f0d
958150d15be0bbd6a05fad99fc301461b8864734
Update metadata interface types (#48259) <!-- 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 Contributors ### Impro...
[ { "path": "packages/next/src/lib/metadata/types/metadata-interface.ts", "patch": "@@ -319,7 +319,7 @@ interface Metadata extends DeprecatedMetadataFields {\n * The common verification tokens for the document.\n * @example\n * ```tsx\n- * { verification: { google: \"google-site-verification=123456...
2023-04-12T14:30:41
nodejs/node
9164543bdc31f1f3b0c997bcd2fc3b8462996878
03c71a95e236484fc65a171308dac5a2b55cf618
src: fix wrong enum reference in node.cc PR-URL: https://github.com/nodejs/node/pull/26430 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "src/node.cc", "patch": "@@ -398,7 +398,7 @@ MaybeLocal<Value> StartMainThreadExecution(Environment* env) {\n }\n \n if (env->options()->prof_process) {\n- env->set_execution_mode(Environment::ExecutionMode::kPrintBashCompletion);\n+ env->set_execution_mode(Environment::ExecutionMode::kP...
2019-03-04T15:28:57
huggingface/transformers
b33cb700978bbd9d5152fdc650d022ee11619347
b0c7034d5862d99b6040fcedb437bc1cbd0220cc
🚨Refactor: Update text2text generation pipelines to use max_new_tokens… (#40928) * Refactor: Update text2text generation pipelines to use max_new_tokens and resolve max_length warning * docs(text2text_generation): 更新参数注释以反映现代生成实践 将max_length参数注释更新为max_new_tokens,以符合现代生成实践中指定生成新token数量的标准做法 * refactor(text2text_gen...
[ { "path": "src/transformers/pipelines/text2text_generation.py", "patch": "@@ -123,7 +123,7 @@ def _sanitize_parameters(\n \n return preprocess_params, forward_params, postprocess_params\n \n- def check_inputs(self, input_length: int, min_length: int, max_length: int):\n+ def check_inputs(self,...
2025-09-24T11:54:55
electron/electron
70fe169b0f2c091c32ace2b5455e5023ad0bf143
2effe6eff56cecb2c53f823170a18208961d31de
nativemate: use maybe version of v8::Function::Call to avoid exceptions
[ { "path": "atom/common/native_mate_converters/callback.h", "patch": "@@ -70,10 +70,13 @@ struct V8FunctionInvoker<ReturnType(ArgTypes...)> {\n v8::Local<v8::Function> holder = function->NewHandle();\n v8::Local<v8::Context> context = holder->CreationContext();\n v8::Context::Scope context_scope(...
2015-10-24T16:40:38
vercel/next.js
958150d15be0bbd6a05fad99fc301461b8864734
3003bff6fa921c1df851d3e442beba9f1e5c65ef
Add suffix to static metadata images (#48202) ### What? The change in #47985 breaks the URLs of static image files like `/(group)/opengraph-image.png` to `/opengraph-image.png-012345`. References from `/` are also broken. ### Why? This is because only `opengraph-image.ts` and `opengraph-image.tsx` are considered. ...
[ { "path": "packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts", "patch": "@@ -114,19 +114,24 @@ async function nextMetadataImageLoader(this: any, content: Buffer) {\n import path from 'next/dist/shared/lib/isomorphic/path'\n import { interpolateDynamicPath } from 'next/dist/server/ser...
2023-04-12T14:30:31
huggingface/transformers
04a0bb569c674c627e5658e1f48d16312bb25bab
071c7b142321ae31b621ccd8b4446d4a39fa3a58
Fix broken `` expressions in markdown files (#41113) Fix broken expressions in markdown files Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/model_doc/llama3.md", "patch": "@@ -60,7 +60,7 @@ Tips:\n \n - Weights for the Llama3 models can be obtained by filling out [this form](https://ai.meta.com/resources/models-and-libraries/llama-downloads/)\n - The architecture is exactly the same as Llama2.\n-- The tokenizer is a BP...
2025-09-24T11:34:12
nodejs/node
f3d620787403c00ee5c7d5e9e1601d389802082b
617f0554beca8f323d7d8922d3f1186a94720dfe
doc: fix the example implementation of MemoryRetainer We need to be careful not to include the size of non-pointer fields in the parent's self size if we want to track them separately as a different node. Refs: https://github.com/nodejs/node/pull/26161/files#r259170771 PR-URL: https://github.com/nodejs/node/pull/262...
[ { "path": "src/memory_tracker.h", "patch": "@@ -44,6 +44,13 @@ class NodeBIO;\n * // Node name and size comes from the MemoryInfoName and SelfSize of\n * // AnotherRetainerClass\n * tracker->TrackField(\"another_retainer\", another_retainer_);\n+ *\n+ * // Add non_pointer_retainer...
2019-02-22T13:50:15
electron/electron
9b36abc8167af721a0128fadda04800a31a8132b
2effe6eff56cecb2c53f823170a18208961d31de
Update web-contents.md The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h.
[ { "path": "docs/api/web-contents.md", "patch": "@@ -36,6 +36,7 @@ Returns:\n \n This event is like `did-finish-load` but emitted when the load failed or was\n cancelled, e.g. `window.stop()` is invoked.\n+The full list of error codes and their meaning is available [here](https://code.google.com/p/chromium/c...
2015-10-25T15:00:29
golang/go
93bab8a2f918afa8417f7b46da69c21d643de880
53bab198d93153f0123cb806ebb2b5c9ebbe8dc7
crypto/elliptic: port P-224 and P-384 to fiat-crypto Also, adopt addchain code generation for field inversion, and switch P-521 to Montgomery multiplication, which is significantly slower but allows us to reuse the P-224/P-256/P-384 wrapper code. No one uses P-521 anyway, and it's still faster than it was in Go 1.16. ...
[ { "path": "src/cmd/compile/internal/ssa/stmtlines_test.go", "patch": "@@ -89,6 +89,9 @@ func TestStmtLines(t *testing.T) {\n \t\tif pkgname == \"runtime\" {\n \t\t\tcontinue\n \t\t}\n+\t\tif pkgname == \"crypto/elliptic/internal/fiat\" {\n+\t\t\tcontinue // golang.org/issue/49372\n+\t\t}\n \t\tif e.Val(dwar...
2021-10-30T04:27:51
huggingface/transformers
071c7b142321ae31b621ccd8b4446d4a39fa3a58
80f20e0ff8786087bb581fd4ce1eba2d69d62352
Fix the error where a keyword argument appearing before *args (#41099) Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/commands/add_new_model_like.py", "patch": "@@ -755,7 +755,7 @@ def register_subcommand(parser: ArgumentParser):\n )\n add_new_model_like_parser.set_defaults(func=add_new_model_like_command_factory)\n \n- def __init__(self, path_to_repo=None, *args):\n+ def _...
2025-09-24T11:27:37
vercel/next.js
92ddc4a27d0af8bf8954ef532e766d7016f5f70c
5977121e5e3371237e6049babec1c200e04dcac7
parallel routes: remove the per-route default 404 handler (#48286) This PR fixes an issue where throwing a notFound error in a parallel route at the top level at the root level would trigger a notfound boundary at the parallel route level, which meant in practice that you could still see the other slots being rende...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -645,8 +645,6 @@ export async function renderToHTMLOrFlight(\n getComponent: notFound[0],\n injectedCSS: injectedCSSWithCurrentLayout,\n })\n- : rootLayoutAtThisLevel\n- ? [DefaultNot...
2023-04-12T11:27:25
nodejs/node
617f0554beca8f323d7d8922d3f1186a94720dfe
3c83f934378ca1af517cbf35981e59ede877c0ec
src: fix build when NODE_USE_V8_PLATFORM is not defined PR-URL: https://github.com/nodejs/node/pull/26380 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refae...
[ { "path": "src/node_v8_platform-inl.h", "patch": "@@ -149,7 +149,7 @@ struct V8Platform {\n inline void DrainVMTasks(v8::Isolate* isolate) {}\n inline void CancelVMTasks(v8::Isolate* isolate) {}\n inline void StartTracingAgent() {\n- if (!trace_enabled_categories.empty()) {\n+ if (!per_process::...
2019-03-01T19:51:25
golang/go
df1837799d418eed6b4921cd1252dd8eae76cd98
6f32d2050d7f0a9d0c529a1a7a21aa8c1d63fa20
runtime: make consistentHeapStats acquire/release nosplit consistentHeapStats is updated during a stack allocation, so a stack growth during an acquire or release could cause another acquire to happen before the operation completes fully. This may lead to an invalid sequence number. Fixes #49395. Change-Id: I41ce339...
[ { "path": "src/runtime/mstats.go", "patch": "@@ -790,7 +790,15 @@ type consistentHeapStats struct {\n //\n // The caller's P must not change between acquire and\n // release. This also means that the caller should not\n-// acquire a P or release its P in between.\n+// acquire a P or release its P in between...
2021-11-03T18:49:51
huggingface/transformers
80f20e0ff8786087bb581fd4ce1eba2d69d62352
1d81247b0c17f78c5076fa4966025fa7b92e0a88
[Qwen3-next] Fix dimension mismatch in torch_chunk_gated_delta_rule and torch_recurrent_gated_delta_rule (#40963) (#41036) * fix mismatched dims for qwen3 next * propagate changes * chore: renamed tot_heads to total_sequence_length * Apply suggestion from @vasqu Co-authored-by: Anton Vlasjuk <73884904+vasqu@users....
[ { "path": "src/transformers/models/qwen3_next/modeling_qwen3_next.py", "patch": "@@ -458,15 +458,15 @@ def torch_chunk_gated_delta_rule(\n x.transpose(1, 2).contiguous().to(torch.float32) for x in (query, key, value, beta, g)\n ]\n \n- batch_size, sequence_length, num_heads, k_head_dim = key....
2025-09-24T11:18:27
vercel/next.js
5977121e5e3371237e6049babec1c200e04dcac7
17e44d29074e880ec249023edc9112ac35d6fa87
interception routes: add new sibling matcher marker + validation (#48276) This PR adds a new marker for intercepting siblings routes + adds some validation to intercepting routes ( you shouldn't use (..) at the top level!) also fixes a bug with any interception from `/` when navigating from a child route the ...
[ { "path": "packages/next/src/lib/generate-interception-routes-rewrites.ts", "patch": "@@ -21,9 +21,9 @@ export function generateInterceptionRoutesRewrites(\n const { interceptingRoute, interceptedRoute } =\n extractInterceptionRouteInformation(appPath)\n \n- const normalizedInterceptingRo...
2023-04-12T09:50:01
electron/electron
f89d28a63ebdaff666a2d22cec50f27a753562da
d74ef5c078e2a13074147281cbed51378ee5315d
Simplify the auto-updater implementations We used to use Sparkle on OS X, and the design was reserved to be extended to all platforms, which are all wrong now.
[ { "path": "atom/browser/api/atom_api_auto_updater.cc", "patch": "@@ -5,8 +5,9 @@\n #include \"atom/browser/api/atom_api_auto_updater.h\"\n \n #include \"base/time/time.h\"\n-#include \"atom/browser/auto_updater.h\"\n #include \"atom/browser/browser.h\"\n+#include \"atom/browser/native_window.h\"\n+#include ...
2015-10-23T07:40:56
nodejs/node
3c83f934378ca1af517cbf35981e59ede877c0ec
3770ab99a8a976542a9ecb90ab2e24393e0d642d
http: check for existance in resetHeadersTimeoutOnReqEnd socket.parser can be undefined under unknown circumstances. This is a fix for a bug I cannot reproduce but it is affecting people. Fixes: https://github.com/nodejs/node/issues/26366 PR-URL: https://github.com/nodejs/node/pull/26402 Reviewed-By: Richard Lau <ri...
[ { "path": "lib/_http_server.js", "patch": "@@ -755,7 +755,7 @@ function resetHeadersTimeoutOnReqEnd() {\n const parser = this.socket.parser;\n // Parser can be null if the socket was destroyed\n // in that case, there is nothing to do.\n- if (parser !== null) {\n+ if (parser) {\n parser.parsingH...
2019-03-02T18:09:44
rust-lang/rust
3f0940628301acd58b0b1a267b28c1ca3e6240c8
033fa352272864e2cd625a07b48e9d536b204036
Add patch to fix a run-make test
[ { "path": "build_system/src/test.rs", "patch": "@@ -9,8 +9,8 @@ use crate::build;\n use crate::config::{Channel, ConfigInfo};\n use crate::utils::{\n create_dir, get_sysroot_dir, get_toolchain, git_clone, git_clone_root_dir, remove_file,\n- run_command, run_command_with_env, run_command_with_output_a...
2025-06-14T01:13:35
golang/go
f063e0da28d441065d36f7d676f86d478f67db1f
4f543b59c5618abccf0e78a17a2aeb173c085a91
runtime: add harddecommit GODEBUG flag This change adds a new debug flag that makes the runtime map pages PROT_NONE in sysUnused on Linux, in addition to the usual madvise calls. This behavior mimics the behavior of decommit on Windows, and is helpful in debugging the scavenger. sysUsed is also updated to re-map the p...
[ { "path": "src/runtime/extern.go", "patch": "@@ -78,6 +78,11 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \tIf the line ends with \"(forced)\", this GC was forced by a\n \truntime.GC() call.\n \n+\tharddecommit: setting harddecommit=1 causes memory that is returned to t...
2021-10-18T19:01:33
huggingface/transformers
65dcd66cc852f552c6c34d1ef898f891f3ad3f21
43a613c8da4d34b32935e1cc3b169c129e040155
🚨 [V5] Remove deprecated training arguments (#41017) * Remove deprecated training arguments from V5 Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Remove deprecated training arguments from V5 Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix comments Signed-off-by: Yuanyuan Chen <cyyever@outlook.co...
[ { "path": "examples/pytorch/question-answering/trainer_qa.py", "patch": "@@ -83,7 +83,7 @@ def evaluate(self, eval_dataset=None, eval_examples=None, ignore_keys=None, metr\n # Only the main node log the results by default\n self.log(metrics)\n \n- if self.args.tpu_metrics_debu...
2025-09-24T10:01:27
vercel/next.js
17e44d29074e880ec249023edc9112ac35d6fa87
b9618ea620500c0f01cf5ad5acf5514dc98e41aa
app-router: add batching support for RSC router payloads (#48253) This PR basically adds support for processing multiple router payloads. Previously we were only handling one payload at a time but now that we introduced parallel routes, we need to be able to render and return separate parts of the layout separately...
[ { "path": "packages/next/src/client/components/router-reducer/apply-flight-data.ts", "patch": "@@ -2,10 +2,9 @@ import { CacheNode, CacheStates } from '../../../shared/lib/app-router-context'\n import { FlightDataPath } from '../../../server/app-render/types'\n import { fillLazyItemsTillLeafWithHead } from ...
2023-04-12T07:53:13
electron/electron
a3f62da615221a3e98c43d518b0c03a45783aa4d
95fe4beda83318949c51e0100d46f221ab2b265e
Fix passing Date object in remote Close #2017.
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -11,6 +11,7 @@ valueToMeta = (sender, value, optimizeSimpleObject=false) ->\n meta.type = 'value' if value is null\n meta.type = 'array' if Array.isArray value\n meta.type = 'error' if value instanceof Error\n+ meta.type = 'date' if value i...
2015-10-23T06:51:25
nodejs/node
e95e7f9af540c88e93701ff6ca2f38986deb8e99
d38cd82513584c9d7c463aa809e5ee483a66eae3
stream: make sure 'readable' is emitted before ending the stream Fixes: https://github.com/nodejs/node/issues/25810 PR-URL: https://github.com/nodejs/node/pull/26059 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "lib/_stream_readable.js", "patch": "@@ -505,20 +505,12 @@ function onEofChunk(stream, state) {\n }\n }\n state.ended = true;\n+ state.needReadable = false;\n \n- if (state.sync) {\n- // If we are sync, wait until next tick to emit the data.\n- // Otherwise we risk emitting data in...
2019-02-11T12:20:26
rust-lang/rust
033fa352272864e2cd625a07b48e9d536b204036
3812cf454d81831de8de73b1f7010b5067b00e5a
Fix for run-make tests
[ { "path": ".github/workflows/ci.yml", "patch": "@@ -12,6 +12,8 @@ permissions:\n env:\n # Enable backtraces for easier debugging\n RUST_BACKTRACE: 1\n+ # For the run-make tests.\n+ LLVM_BIN_DIR: /usr/bin\n \n jobs:\n build:\n@@ -48,7 +50,9 @@ jobs:\n \n - name: Install packages\n # `llvm-1...
2025-06-13T20:38:25
golang/go
0bc98b3e9b3b6b55489bb9ffed54377e678eba28
37951d888152c6f3a2e4c11c609bfb0fbad6b15d
syscall: fix mkall.sh for openbsd/386 CL 287654 converted the syscall package on openbsd/386 to use libc. However, the mksyscall.pl invocation wasn't adjusted. Do so now to use syscall_openbsd_libc.go like the other libc-based openbsd ports. Change-Id: I48a7bd6ce4c25eca5222f560ed584e412b466111 Reviewed-on: https://go...
[ { "path": "src/syscall/mkall.sh", "patch": "@@ -283,7 +283,7 @@ netbsd_arm64)\n \tmktypes=\"GOARCH=$GOARCH go tool cgo -godefs\"\n \t;;\n openbsd_386)\n-\tGOOSARCH_in=\"syscall_openbsd1.go syscall_openbsd_$GOARCH.go\"\n+\tGOOSARCH_in=\"syscall_openbsd_libc.go syscall_openbsd_$GOARCH.go\"\n \tmkerrors=\"$mke...
2021-11-05T16:09:22
huggingface/transformers
43a613c8da4d34b32935e1cc3b169c129e040155
f64354e89a55a456e024b301468da2dbb10e11b3
Update ruff to 0.13.1 + target Python 3.10 + apply fixes (#37809) Update ruff to 0.13.1 target it to Python 3.10 and apply its fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "pyproject.toml", "patch": "@@ -14,7 +14,7 @@ exclude_lines = [\n ]\n \n [tool.ruff]\n-target-version = \"py39\"\n+target-version = \"py310\"\n line-length = 119\n \n [tool.ruff.lint]\n@@ -27,7 +27,10 @@ line-length = 119\n # UP031: Use format specifiers instead of percent format\n # UP004: Class ...
2025-09-24T06:37:21
vercel/next.js
df16f74f0f8207073dead088cbdf6514255cfcef
c11bce5989073d135d63cfbbf63f71bd687c891b
Fix the typo on README.md (#48274) This is a very tiny fix. I hope it helps. `examples` → `example`
[ { "path": "examples/with-dynamic-import/README.md", "patch": "@@ -1,6 +1,6 @@\n # Example app with dynamic-imports\n \n-This examples shows how to dynamically import modules via [`import()`](https://github.com/tc39/proposal-dynamic-import) API\n+This example shows how to dynamically import modules via [`imp...
2023-04-12T02:07:38
electron/electron
95fe4beda83318949c51e0100d46f221ab2b265e
d5c964c68c6cee99af54a0053322bda6d793cda8
Pass real Error object in error event
[ { "path": "atom/browser/api/atom_api_auto_updater.cc", "patch": "@@ -23,8 +23,15 @@ AutoUpdater::~AutoUpdater() {\n auto_updater::AutoUpdater::SetDelegate(NULL);\n }\n \n-void AutoUpdater::OnError(const std::string& error) {\n- Emit(\"error\", error);\n+void AutoUpdater::OnError(const std::string& messag...
2015-10-23T06:36:36
nodejs/node
8a291a8e83313c42cc8c755a4d3125c6c07a1322
e96ac8434a037e3795af713d2153e13381206f2d
doc: clarify http.Agent constructor options PR-URL: https://github.com/nodejs/node/pull/26412 Fixes: https://github.com/nodejs/node/issues/26357 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ruben Bri...
[ { "path": "doc/api/http.md", "patch": "@@ -116,13 +116,19 @@ added: v0.3.4\n Can have the following fields:\n * `keepAlive` {boolean} Keep sockets around even when there are no\n outstanding requests, so they can be used for future requests without\n- having to reestablish a TCP connection. **Def...
2019-03-03T11:28:17
huggingface/transformers
99b0995138c17ef953959c70f35cb2bdc41111a2
00f3d90720957cb4a723d29004424368025b7ae6
Remove bad test skips (#41109) * remove bad skips * remove more * fix inits
[ { "path": "src/transformers/models/d_fine/modeling_d_fine.py", "patch": "@@ -459,6 +459,12 @@ def _init_weights(self, module):\n nn.init.constant_(layer.layers[-1].weight, 0)\n nn.init.constant_(layer.layers[-1].bias, 0)\n \n+ if hasattr(module, \"reg_scale...
2025-09-23T18:39:28
golang/go
37951d888152c6f3a2e4c11c609bfb0fbad6b15d
62c6ff4296fa5919a208552c57b44e4710b4e5e1
net/netip: optimize As4 and As16 name old time/op new time/op delta As16-8 2.88ns ± 3% 2.16ns ± 3% -25.19% (p=0.000 n=15+15) Fixes #49379 Updates #20859 Change-Id: If4cf58d19ed0e2ac0f179da5c132ed37061e4cb7 Reviewed-on: https://go-review.googlesource.com/c/go/+/361674 Trust: Josh Bleecher Snyder <josharian@g...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -698,21 +698,19 @@ const (\n // IPv6 addresses with zones are returned without their zone (use the\n // Zone method to get it).\n // The ip zero value returns all zeroes.\n-func (ip Addr) As16() [16]byte {\n-\tvar ret [16]byte\n-\tbePutUint64(ret[:8], ip.addr...
2021-11-05T17:07:11
rust-lang/rust
1d036f408efa6e12b2fcd35588b4595fde5b0af2
c9995d2492dc94ea92ac6639ac8757199da749d0
Fix incorrect suggestion when calling an associated type with a type anchor Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "compiler/rustc_hir_typeck/src/method/suggest.rs", "patch": "@@ -724,7 +724,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n {\n let def_path = tcx.def_path_str(adt_def.did());\n err.span_suggestion(\n- ty.span.to(item_ident.span),\n+ ...
2025-06-13T22:08:28
vercel/next.js
c11bce5989073d135d63cfbbf63f71bd687c891b
7126b066db87a3d255dee3925bafb6d76dd10457
Opt-into worker mode when appDir is enabled (#47857) This unblocks further optimization opportunities as well as fixes for systematic problems such as NEXT-227. After this PR, only production mode of non-app projects will be running on the legacy main process mode. --------- Co-authored-by: JJ Kasper <jj@jjsw...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -388,6 +388,12 @@ const nextDev: CliCommand = async (argv) => {\n true\n )\n }\n+\n+ if (config.experimental?.appDir && !devServerOptions.useWorkers) {\n+ Log.error(\n+ `Disabling...
2023-04-11T20:26:49
electron/electron
d5c964c68c6cee99af54a0053322bda6d793cda8
07adbc8e8a07a39e69a0d0989017ce9e1ef1698d
Fix passing Error object in remote Closes #3089
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -10,6 +10,7 @@ valueToMeta = (sender, value, optimizeSimpleObject=false) ->\n meta.type = 'buffer' if Buffer.isBuffer value\n meta.type = 'value' if value is null\n meta.type = 'array' if Array.isArray value\n+ meta.type = 'error' if value ...
2015-10-23T06:23:05
nodejs/node
a132b8ae5cc928f98fcc87bec6c3cd0cd221632f
9a2025ca8a859fb5e96fcfcf9a34e678a65cee0b
src: fix more extra-semi warnings PR-URL: https://github.com/nodejs/node/pull/26340 Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "src/inspector_js_api.cc", "patch": "@@ -320,4 +320,4 @@ void Initialize(Local<Object> target, Local<Value> unused,\n } // namespace node\n \n NODE_MODULE_CONTEXT_AWARE_INTERNAL(inspector,\n- node::inspector::Initialize);\n+ node::...
2019-02-27T19:14:58
huggingface/transformers
00f3d90720957cb4a723d29004424368025b7ae6
cfa022e71996e3a3dc8eb9b495716fa9d3447b5d
Fix `_get_test_info` for inherited tests (#41106) * fix _get_test_info * fix patched * add comment * ruff --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3357,15 +3357,27 @@ def _get_test_info():\n stack_from_inspect = inspect.stack()\n # but visit from the top frame to the most recent frame\n \n+ actual_test_file, _actual_test_class = test_file, test_class\n test_frame, test_obj, te...
2025-09-23T17:35:24
golang/go
62c6ff4296fa5919a208552c57b44e4710b4e5e1
3796df1b13c6be62ca28244dcd6121544770e371
runtime: fix a lock rank ordering and some edges. The first stack-trace in #49361 shows that traceBuf must precede fin in lockrank ordering, since traceBuf is acquired in StartTrace(), which eventually leads to getting fin in queueFinalizer(). It is fine to move traceBuf above fin, since there are no other conflicting...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -51,9 +51,9 @@ const (\n \tlockRankItab\n \tlockRankReflectOffs\n \tlockRankHchan // Multiple hchans acquired in lock order in syncadjustsudogs()\n+\tlockRankTraceBuf\n \tlockRankFin\n \tlockRankNotifyList\n-\tlockRankTraceBuf\n \tlockRankTraceStrings\n \tlo...
2021-11-04T23:03:49
rust-lang/rust
efc88151ba212eba76d731d92ebfb46fa5168176
3f1e4739acc5fa0ab78ef0a491b6eabea0341165
Fix to make the test zst_no_llvm_alloc pass
[ { "path": "src/common.rs", "patch": "@@ -265,6 +265,19 @@ impl<'gcc, 'tcx> ConstCodegenMethods for CodegenCx<'gcc, 'tcx> {\n let alloc_id = prov.alloc_id();\n let base_addr = match self.tcx.global_alloc(alloc_id) {\n GlobalAlloc::Memory(alloc) => {\n+ ...
2025-06-13T19:49:37
huggingface/transformers
cfa022e71996e3a3dc8eb9b495716fa9d3447b5d
869735d37d0f929311ac6611728c482a4414ba8c
[tests] gpt2 + `CausalLMModelTester` (#41003) * tmp commit * tmp commit * tmp commit * rm old GPT2ModelTester * nit bug * add facilities for encoder-decoder tests; add comments on ALL overwrites/extra fns * vision_encoder_decoder
[ { "path": "tests/causal_lm_tester.py", "patch": "@@ -316,6 +316,27 @@ def test_token_classification_model(self):\n (self.model_tester.batch_size, self.model_tester.seq_length, self.model_tester.num_labels),\n )\n \n+ def test_question_answering_model(self):\n+ if self.model_tes...
2025-09-23T17:07:06
nodejs/node
49f1bb9b9366c928b82046695c288699fce012ad
60aaf2c2144d68eae063e09b5216338341d83633
stream: ensure writable.destroy() emits error once Prevent the `'error'` event from being emitted multiple times if `writable.destroy()` is called with an error before the `_destroy()` callback is called. Emit the first error, discard all others. PR-URL: https://github.com/nodejs/node/pull/26057 Fixes: https://githu...
[ { "path": "lib/internal/streams/destroy.js", "patch": "@@ -10,10 +10,15 @@ function destroy(err, cb) {\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n- } else if (err &&\n- (!this._writableState || !this._writableState.errorEmitted)) {\n- process.ne...
2019-02-12T18:24:39
golang/go
3796df1b13c6be62ca28244dcd6121544770e371
c58417b97f2b8d16176ddd294ae4471f834ab4d6
net/netip: don't accept ParseAddr with leading zeros Fixes #49365 Updates #30999 Change-Id: Ic92bce01b435baf70574c65524bde82f9cee3d8d Reviewed-on: https://go-review.googlesource.com/c/go/+/361534 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Josh Bleecher Sny...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -155,9 +155,14 @@ func (err parseAddrError) Error() string {\n func parseIPv4(s string) (ip Addr, err error) {\n \tvar fields [4]uint8\n \tvar val, pos int\n+\tvar digLen int // number of digits in current octet\n \tfor i := 0; i < len(s); i++ {\n \t\tif s[i]...
2021-11-05T04:35:55
vercel/next.js
bb04928e33e83868bb4354197caab7f01e74b950
98ad490a42d951412bad58a8d03079a626f2ad8c
Chunking Refactor pt. 2 (vercel/turbo#4450) ### Description Next.js side: https://github.com/vercel/next.js/pull/47961 Previous episode: https://github.com/vercel/turbo/pull/4397 In this episode, we: 1. Get rid of `ChunkGroupVc`. `ChunkGroupVc` previously took care of: a. optimizing chunks; b. adding a...
[ { "path": "crates/turbopack-core/src/chunk/chunking_context.rs", "patch": "@@ -0,0 +1,55 @@\n+use std::fmt::Debug;\n+\n+use anyhow::Result;\n+use turbo_tasks::primitives::{BoolVc, StringVc};\n+use turbo_tasks_fs::FileSystemPathVc;\n+\n+use super::{ChunkVc, EvaluatableAssetsVc};\n+use crate::{\n+ asset::{...
2023-04-11T15:15:01
nodejs/node
60aaf2c2144d68eae063e09b5216338341d83633
69906fbc52b6a89d0a571c70b98701e51900a884
doc: fix nits in report docs * Fix heading levels. * Fix section sorting. * Add quotes around string values. * Remove quotes around property names. PR-URL: https://github.com/nodejs/node/pull/26461 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/process.md", "patch": "@@ -1669,7 +1669,7 @@ added: v11.8.0\n reports for the current process. Additional documentation is available in the\n [report documentation][].\n \n-## process.report.directory\n+### process.report.directory\n <!-- YAML\n added: REPLACEME\n -->\n@@ -1684,6 +1684,21...
2019-03-05T22:19:14
golang/go
c58417b97f2b8d16176ddd294ae4471f834ab4d6
f249fa27a9117dd5986f35463fc6a1467ecc72bb
runtime: mark TestTracebackArgs test functions nosplit The argument liveness tests expect outputs where a dead stack slot has a poisoned value. If the test function is preempted at the prologue, it will go with the morestack code path which will spill all the argument registers. Mark them nosplit to avoid that. Shoul...
[ { "path": "src/runtime/traceback_test.go", "patch": "@@ -353,6 +353,9 @@ func testTracebackArgs8d(a testArgsType8d) int {\n \treturn n\n }\n \n+// nosplit to avoid preemption or morestack spilling registers.\n+//\n+//go:nosplit\n //go:noinline\n func testTracebackArgs9(a int64, b int32, c int16, d int8, x [...
2021-11-04T20:53:30
huggingface/transformers
869735d37d0f929311ac6611728c482a4414ba8c
71717ce91c8ab4a9629f1d0d5ab7660b699e5cbd
🚨 [generate] update paligemma mask updates (and other assisted generation-related fixes) (#40917) * tmp * fix modular inheritance * nit * paligemma 1 doesn't have swa * use same pattern as in models with hybrid layers * PR comments * helium also needs layer_typed (bc it relies on gemma) * paligemma/gemma3: sam...
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -1073,8 +1073,8 @@ def create_masks_for_generate(\n **kwargs,\n ):\n \"\"\"\n- This function mimics how we create the masks in the `modeling_xxx.py` files, and is used in `generate` in order\n- to easily create the masks in advance, w...
2025-09-23T16:20:00
electron/electron
7b5a1b06ba40e2faa11b2be48af2c1856bd2fad7
73f4aa1113819cc7c2aa2e1ae590dfef1ec29479
debugger: expose v8debug
[ { "path": "atom/browser/javascript_environment.cc", "patch": "@@ -4,6 +4,7 @@\n \n #include \"atom/browser/javascript_environment.h\"\n \n+#include \"base/command_line.h\"\n #include \"gin/array_buffer.h\"\n #include \"gin/v8_initializer.h\"\n \n@@ -20,6 +21,12 @@ JavascriptEnvironment::JavascriptEnvironmen...
2015-10-22T10:50:48
vercel/next.js
08b1916126f8df79813b6985255f30adf0938138
fb78e61ba0949929e18a84ba957a421b7302f2c2
fix: Shift route-announcer to top of layout parent (#44853) Without `top: 0` the route announcer triggers subtle layout shift in Blink/Chrome. BTW, this mostly (possibly only?) occurs on pages with specific overflow proprty combinations on `<html/>` and `<body/>`, and only when rendering inside a custom element ...
[ { "path": "packages/next/src/client/route-announcer.tsx", "patch": "@@ -9,6 +9,7 @@ const nextjsRouteAnnouncerStyles: React.CSSProperties = {\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n+ top: 0,\n width: '1px',\n \n // https://medium.com/@jessebeach/beware-smushed-off-screen-acc...
2023-04-11T15:05:09
nodejs/node
c78788a0219cc950be7159e65b9e8db01e9c1a7a
d4fdec6b6593659cb38e1db9c8083d4fde9bcacb
deps: v8, backport 2d08967 Original commit message: [coverage] Extend SourceRangeAstVisitor for throw statements The SourceRangeAstVisitor has custom logic for blocks ending with a statement that has a continuation range. In these cases, the trailing continuation is removed which makes the reported coverage ...
[ { "path": "deps/v8/AUTHORS", "patch": "@@ -50,7 +50,7 @@ Andrew Paprocki <andrew@ishiboo.com>\n Andrei Kashcha <anvaka@gmail.com>\n Anna Henningsen <anna@addaleax.net>\n Bangfu Tao <bangfu.tao@samsung.com>\n-Ben Coe <ben@npmjs.com>\n+Ben Coe <bencoe@gmail.com>\n Ben Newman <ben@meteor.com>\n Ben Noordhuis <...
2019-02-27T18:05:58
huggingface/transformers
71717ce91c8ab4a9629f1d0d5ab7660b699e5cbd
946e5f95ea0894e5c88f7915547ed3ffcafa56cd
docs: Fix Tool Use links and remove dead RAG links (#41104) docs: Fix tool use links. Remove dead RAG links. Fix style
[ { "path": "benchmark_v2/run_benchmarks.py", "patch": "@@ -357,7 +357,9 @@ def main():\n )\n \n parser.add_argument(\n- \"--token\", type=str, help=\"HuggingFace token for dataset uploads (if not provided, will use HF_TOKEN environment variable)\"\n+ \"--token\",\n+ type=str,\n+ ...
2025-09-23T16:18:49
golang/go
f249fa27a9117dd5986f35463fc6a1467ecc72bb
a0d661ab0ff896abe45d6d4e79cb71df233c5319
cmd/compile: only update source type when processing struct/array CL 360057 fixed missing update source type in storeArgOrLoad. However, we should only update the type when processing struct/array. If we update the type right before calling storeArgOrLoad, we may generate a value with invalid type, e.g, OpStructSelect...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -954,11 +954,11 @@ func (x *expandState) storeArgOrLoad(pos src.XPos, b *Block, source, mem *Value,\n \t\telt := t.Elem()\n \t\tif source.Type != t && t.NumElem() == 1 && elt.Size() == t.Size() && t.Size() == x.regSize {\n \t\t\tt = remo...
2021-11-05T13:30:38