repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
electron/electron
98a9d8a9e327195857cf9030b7ff5b017f7d6371
4e2f242ad0209515639c406542eaabfc2f5d556f
Enable crashpad test on OS X.
[ { "path": "spec/api-crash-reporter-spec.coffee", "patch": "@@ -5,12 +5,10 @@ url = require 'url'\n remote = require 'remote'\n formidable = require 'formidable'\n \n+crashReporter = remote.require 'crash-reporter'\n BrowserWindow = remote.require 'browser-window'\n \n describe 'crash-reporter mod...
2015-05-29T23:34:56
golang/go
8214257347b16a03464ace16bbcf6346fc784a3e
1da64686f85da38af13c4ee186f261343455c697
test/codegen: fix package name for test case The codegen tests are currently skipped (see #48247). The test added in CL 346050 did not compile because it was in the main package but did not contain a main function. Changing the package to 'codegen' fixes the issue. Updates #48247. Change-Id: I0a0eaca8e6a7d7b335606d2...
[ { "path": "test/codegen/issue48054.go", "patch": "@@ -4,7 +4,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-package main\n+package codegen\n \n func a(n string) bool {\n \t// arm64:\"CBZ\"", "additions": 1, "deletions": 1, "l...
2021-09-08T14:14:53
vercel/next.js
624232d064a2b7f0389746ca7c6b6944433bf566
ebed7396f53363d23441e0b6b4e7432d7cf6eb0b
Ensure SERVER_REFERENCE_MANIFEST is included in output files (#46420) Fixes #46419. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Fea...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -68,6 +68,7 @@ import {\n MIDDLEWARE_REACT_LOADABLE_MANIFEST,\n TURBO_TRACE_DEFAULT_MEMORY_LIMIT,\n TRACE_OUTPUT_VERSION,\n+ SERVER_REFERENCE_MANIFEST,\n } from '../shared/lib/constants'\n import { getSortedRoutes, isDynamicRoute } from '../s...
2023-02-25T17:59:38
rust-lang/rust
8d1337bf6ad1cd34118d70c1952f30b763f291d1
a34ef820a48411b79269d136b78dc15ccd130b98
Flesh out sections about crashes tests and update mentions of glacier
[ { "path": "src/doc/rustc-dev-guide/src/fuzzing.md", "patch": "@@ -74,20 +74,31 @@ To build a corpus, you may want to use:\n - The rustc/rust-analyzer/clippy test suites (or even source code) --- though avoid\n tests that are already known to cause failures, which often begin with comments\n like `// fai...
2025-05-26T11:47:28
huggingface/transformers
075a65657a26fdf4409c1a7df3a37b4a692b51ca
2936902a766b50fa6b02b28ab63b4afd9f5331f1
Torchdec RuntimeError catch (#39580) * fix * fix * maybe better * style
[ { "path": "utils/print_env.py", "patch": "@@ -81,5 +81,5 @@\n print(\"FFmpeg version:\", versions[\"ffmpeg_version\"])\n except ImportError:\n print(\"FFmpeg version:\", None)\n-except (AttributeError, KeyError):\n+except (AttributeError, KeyError, RuntimeError):\n print(\"Failed to get FFmpeg v...
2025-07-22T16:35:03
electron/electron
4e2f242ad0209515639c406542eaabfc2f5d556f
5f52ca918f0b6d2c90c765eb81b5fc459a170f3c
Use Crashpad instead of Breakpad on OS X.
[ { "path": ".gitmodules", "patch": "@@ -13,3 +13,6 @@\n [submodule \"vendor/native_mate\"]\n \tpath = vendor/native_mate\n \turl = https://github.com/zcbenz/native-mate.git\n+[submodule \"vendor/crashpad\"]\n+\tpath = vendor/crashpad\n+\turl = https://github.com/hokein/crashpad.git", "additions": 3, ...
2015-05-29T15:25:11
nodejs/node
596bd5f1bb64cebc8d9b72c114f78ef9f074863b
451fb04b3ceb689b5bab697ceeba46a1028410b5
src: factor out Node.js-agnostic N-APIs Split the Node.js ECMAScript API (N-EAPI?) into its own header and implementation files. The motivation is that the ECMAScript API stand on its own so it might be embedded separately, implementation and all. Portions of the implementation used by both files are stored in `node_...
[ { "path": "Makefile", "patch": "@@ -393,7 +393,8 @@ ADDONS_NAPI_BINDING_SOURCES := \\\n # Implicitly depends on $(NODE_EXE), see the build-addons-napi rule for rationale.\n test/addons-napi/.buildstamp: $(ADDONS_PREREQS) \\\n \t$(ADDONS_NAPI_BINDING_GYPS) $(ADDONS_NAPI_BINDING_SOURCES) \\\n-\tsrc/node_api.h...
2018-10-19T19:10:59
golang/go
1da64686f85da38af13c4ee186f261343455c697
fdc2072420d28b761e30dd02e7ed6118cda33f4f
test/codegen: fix compilation of bitfield tests The codegen tests are currently skipped (see #48247) and the bitfield tests do not actually compile due to a duplicate function name (sbfiz5) added in CL 267602. Renaming the function fixes the issue. Updates #48247. Change-Id: I626fd5ef13732dc358e73ace9ddcc4cbb6ae5b21...
[ { "path": "test/codegen/bitfield.go", "patch": "@@ -99,10 +99,6 @@ func sbfiz5(x int32) int32 {\n \treturn (x << 4) >> 3\n }\n \n-func sbfiz5(x int32) int64 {\n-\treturn int64(x+1) << 40 // arm64:\"SBFIZ\\t[$]40, R[0-9]+, [$]24\",-\"LSL\"\n-}\n-\n func sbfiz6(x int16) int64 {\n \treturn int64(x+1) << 3 // a...
2021-09-08T14:07:12
vercel/next.js
ebed7396f53363d23441e0b6b4e7432d7cf6eb0b
821c251a6173ed61f9d0066586648602e9cead92
Ensure fetch fields are detected with RequestInit (#46398) This ensures we properly detect fetch fields when a `new Request()` is passed to fetch instead of a separate `init` param. Fixes: [slack thread](https://vercel.slack.com/archives/C035J346QQL/p1677264109548949) Closes: https://github.com/vercel/next.js/issues...
[ { "path": "packages/next/src/server/lib/incremental-cache/index.ts", "patch": "@@ -8,6 +8,8 @@ import {\n IncrementalCacheValue,\n IncrementalCacheEntry,\n } from '../../response-cache'\n+import { encode } from '../../../shared/lib/bloom-filter/base64-arraybuffer'\n+import { encodeText } from '../../nod...
2023-02-25T15:50:51
huggingface/transformers
2936902a766b50fa6b02b28ab63b4afd9f5331f1
cbcb8e6c1f05d927fad80701966f3faa4925c2af
[Paged-Attention] Handle continuous batching for repetition penalty (#39457) * Handle continuous batching for repetition penalty * fix last scores and with token mask creation * add test * Update src/transformers/generation/continuous_batching.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.c...
[ { "path": "src/transformers/generation/continuous_batching.py", "patch": "@@ -1272,6 +1272,11 @@ def _model_forward(self, batch_data):\n \n @traced(span_name=\"logit_processing\")\n def _process_logit(self, batch_data, logits):\n+ # Pass continuous batching context to logits processor if it s...
2025-07-22T16:13:40
electron/electron
02bdace366f38271b5c186412f42810ecb06e99e
6ed538b952c6746c98bcbb2678b866b7a6bff8f5
Delete Node's symbols after Environment has been loaded Fix #1803.
[ { "path": "atom/common/node_bindings.cc", "patch": "@@ -178,6 +178,9 @@ void NodeBindings::LoadEnvironment(node::Environment* env) {\n \n if (node::use_debug_agent)\n node::EnableDebug(env);\n+\n+ v8::Local<v8::Value> msg = mate::StringToV8(env->isolate(), \"loaded\");\n+ node::MakeCallback(env->iso...
2015-05-29T14:20:20
nodejs/node
6adbe9a9a0ad014b470507de400332075e733b10
344a46ad03e8e9808df8b3cc99b6b4f39dec3ef8
Revert "src: enable detailed source positions in V8" This reverts commit e2a8e3221b2580c44579c738c12d00fb37298f4a. This reverts commit 715bbb9d04a320b4c1a234e1f9d878c116beb3f4. PR-URL: https://github.com/nodejs/node/pull/24394 Fixes: https://github.com/nodejs/node/issues/24393 Reviewed-By: Rich Trott <rtrott@gmail.co...
[ { "path": "deps/v8/include/v8-profiler.h", "patch": "@@ -341,12 +341,6 @@ class V8_EXPORT CpuProfiler {\n V8_DEPRECATED(\"Use Isolate::SetIdle(bool) instead.\",\n void SetIdle(bool is_idle));\n \n- /**\n- * Generate more detailed source positions to code objects. This results in\n- * ...
2018-11-16T14:40:40
rust-lang/rust
165fb988499b771afb7c2ddb60f05e9e337afb6a
7122648e3403bbbd471cd2667d5960a109bb9bd7
Reduce indentation in codegen_panic_intrinsic
[ { "path": "compiler/rustc_codegen_ssa/src/mir/block.rs", "patch": "@@ -836,58 +836,56 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {\n // Emit a panic or a no-op for `assert_*` intrinsics.\n // These are intrinsics that compile to panics so that we can get a messa...
2025-05-23T08:30:58
golang/go
9295723079f21d5ff6282e8bd59fd3175341ebc2
50c69cc3a9dfe4f268eebcf3dcbf7f3a93635842
cmd/link: rework .TOC. handling for ppc64le Setup .TOC. to point to the same place for all objects. Today, the linker assumes all call relocations can use the local function entry point of imported object files. This requires a consistent pointer across all objects. This intentionally computes the .TOC. pointer in al...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -1710,21 +1710,9 @@ func (state *dodataState) allocateDataSections(ctxt *Link) {\n \t}\n \tldr := ctxt.loader\n \n-\t// .got (and .toc on ppc64)\n+\t// .got\n \tif len(state.data[sym.SELFGOT]) > 0 {\n-\t\tsect := state.allocateNamedSectionAndAssignS...
2021-03-23T20:52:49
vercel/next.js
821c251a6173ed61f9d0066586648602e9cead92
516bc832966021769687d21ee31a072a68fded8e
Fix(typedRoutes): replaced `readFile` + `replaceAll`, hid utils types, fixed duplication in type `Route`, fixed route groups on Windows (#46378) Fixes #46401 This PR fixes route groups not working with Windows by handling slashes properly by replacing RegEx expressions with `ensureLeadingSlash`, `getPageFromPath` (...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -2199,6 +2199,7 @@ export default async function getBaseWebpackConfig(\n appDir,\n dev,\n isEdgeServer,\n+ pageExtensions: config.pageExtensions,\n typedRoutes: enableTypedRoutes,\n }...
2023-02-25T14:50:14
huggingface/transformers
c338fd43b0be2c7f5d73e693fa6fb1b5e7a0bdc2
b16688e96a3b3e1e7a701cd5284a850c696c108e
[cache refactor] Move all the caching logic to a per-layer approach (#39106) * Squash for refactor: Replace monolithic cache classes with modular LayeredCache (#38077) - Introduces CacheLayer and Cache base classes - Ports Static, Dynamic, Offloaded, Quantized, Hybrid, etc. to use layers - Implements method/attr disp...
[ { "path": "docs/source/en/cache_explanation.md", "patch": "@@ -82,22 +82,18 @@ When you use Transformers' [`Cache`] class, the self-attention module performs s\n \n ## Cache storage implementation\n \n-The actual storage of key-value pairs varies between cache implementations. As an example, consider the [`...
2025-07-22T14:10:25
rust-lang/rust
57707c22872c5518791905927153e0ff583f8ee8
693ff34702c2eb06bca073f2f7d3073da36c297b
fix: formated to clippy
[ { "path": "src/tools/rust-analyzer/crates/ide/src/references.rs", "patch": "@@ -105,7 +105,7 @@ pub struct Declaration {\n /// - `(` after tuple struct/variant: Shows tuple literal initializations\n /// - `;` after unit struct: Shows unit literal initializations\n /// - Type name in definition: Shows all in...
2025-05-26T09:15:45
nodejs/node
323a365766e30895860ce0e0ac95f7f33a060021
ed1c40e977cc5bb87645bc1dcf62d2e25386a2c0
deps: float 26d7fce1 from openssl The fix for CVE-2018-0734, floated in 213c7d2d, failed to include a constant-time calculation for one of the variables. This introduces a fix for that. Upstream: https://github.com/openssl/openssl/commit/26d7fce1 Original commit message: Add a constant time flag to one of the bign...
[ { "path": "deps/openssl/openssl/crypto/dsa/dsa_ossl.c", "patch": "@@ -225,6 +225,7 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,\n } while (BN_is_zero(k));\n \n BN_set_flags(k, BN_FLG_CONSTTIME);\n+ BN_set_flags(l, BN_FLG_CONSTTIME);\n \n if (dsa->flags & DSA_FLAG_CACHE_MONT_P) {\n ...
2018-11-14T03:13:57
golang/go
50c69cc3a9dfe4f268eebcf3dcbf7f3a93635842
c50d811c7aa0de05e8c4b73c218ffb13f92b8573
cmd/link/internal/riscv64,cmd/internal/obj/riscv: make error messages consistent Be consistent with both style/wording and formatting of error messages. Change-Id: I23013d904333a67a8f17dd364bb5015f54f419c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/345050 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Ch...
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -830,10 +830,10 @@ func signExtend(val int64, bit uint) int64 {\n // generate a full 32-bit constant.\n func Split32BitImmediate(imm int64) (low, high int64, err error) {\n \tif !immIFits(imm, 32) {\n-\t\treturn 0, 0, fmt.Errorf(\"immediate does no...
2021-08-25T15:15:23
vercel/next.js
516bc832966021769687d21ee31a072a68fded8e
2988be2a0595d72c51780a3a2cef4db603702305
Fix SWC error wrongly formatted (#46412) We currently use the `NEXT_RSC_ERR_INVALID_API` error code for metadata API conflicts which is wrong. The format should be `NEXT_RSC_ERR_INVALID_API: foo` and then the formatter transforms it into `foo isn't supported in app/`. This PR adds a new `NEXT_RSC_ERR_CONFLICT_METADA...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -484,11 +484,7 @@ impl<C: Comments> ReactServerComponents<C> {\n if has_gm_export && has_metadata_export {\n HANDLER.with(|handler| {\n handler\n- ...
2023-02-25T14:00:06
rust-lang/rust
693ff34702c2eb06bca073f2f7d3073da36c297b
1e8eacd192022cd0bd8c90101569b32397722122
fix: the lines are formatted according to clippy
[ { "path": "src/tools/rust-analyzer/crates/ide/src/references.rs", "patch": "@@ -105,7 +105,7 @@ pub struct Declaration {\n /// - `(` after tuple struct/variant: Shows tuple literal initializations\n /// - `;` after unit struct: Shows unit literal initializations\n /// - Type name in definition: Shows all in...
2025-05-25T08:55:58
electron/electron
ebbb974aca1771d4b519bba354239c2005683e03
8a6ba7c49ff5a897d736dd20923d12d7ac327973
Fix running spec on Windows
[ { "path": "spec/api-browser-window-spec.coffee", "patch": "@@ -91,8 +91,8 @@ describe 'browser-window module', ->\n \n describe 'BrowserWindow.setSize(width, height)', ->\n it 'sets the window size', (done) ->\n- size = [20, 400]\n- w.on 'resize', ->\n+ size = [300, 400]\n+ w.once ...
2015-05-28T05:45:16
huggingface/transformers
b16688e96a3b3e1e7a701cd5284a850c696c108e
015b62bf3e8bd4c380ceca2966f87a35a467f823
General weight initialization scheme (#39579) * general + modulars from llama * all modular models * style and fix musicgen * fix * Update configuration_musicgen.py * Update modeling_utils.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2967,12 +2967,41 @@ def disable_input_require_grads(self):\n \n def _init_weights(self, module):\n \"\"\"\n- Initialize the weights. This method should be overridden by derived class and is\n- the only initialization met...
2025-07-22T14:04:20
nodejs/node
ed1c40e977cc5bb87645bc1dcf62d2e25386a2c0
07a7bf7272e1c460c0ee84547bdc08d579abed8b
build: check minimum ICU in configure for system-icu - check the version number coming out of pkg-config PR-URL: https://github.com/nodejs/node/pull/24255 Fixes: https://github.com/nodejs/node/issues/24253 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ben Noordhui...
[ { "path": "configure.py", "patch": "@@ -434,7 +434,7 @@\n dest='with_icu_source',\n help='Intl mode: optional local path to icu/ dir, or path/URL of '\n 'the icu4c source archive. '\n- 'v%d.x or later recommended.' % icu_versions[\"minimum_icu\"])\n+ 'v%d.x or later recommended...
2018-11-08T18:49:40
golang/go
f5bdbf311c3c28fd7cdb8ce31b272deb3feb6f64
bab79dd3627a9c5d4b43ac3f3c2eba4a1f04b813
cmd/internal/obj/riscv: simplify rewriteMOV Rewrite and simplify the rewriteMOV function in preparation for eliminating it entirely. Improve some error messages in the process. Change-Id: Id9a77be5174d46cc23651930c2e9068ee6555690 Reviewed-on: https://go-review.googlesource.com/c/go/+/344458 Trust: Joel Sing <joel@sin...
[ { "path": "src/cmd/asm/internal/asm/testdata/riscv64error.s", "patch": "@@ -3,12 +3,12 @@\n // license that can be found in the LICENSE file.\n \n TEXT errors(SB),$0\n-\tMOV\t$errors(SB), (X5)\t\t// ERROR \"unsupported addr MOV\"\n-\tMOV\t$8(SP), (X5)\t\t\t// ERROR \"unsupported addr MOV\"\n-\tMOVB\t$8(SP),...
2021-08-21T04:30:29
vercel/next.js
b942a6f49448fec65fbdef24142c7bb2c926ace3
ccdb86979f6d3aa7905c54c3bb6ae7c374d19f36
chore: improve error when exporting metadata from client component (#46334) <!-- 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 ...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -470,8 +470,11 @@ impl<C: Comments> ReactServerComponents<C> {\n handler\n .struct_span_err(\n span,\n- fo...
2023-02-25T05:23:32
rust-lang/rust
1e8eacd192022cd0bd8c90101569b32397722122
44612c5f9cbd21ebe60dab93f3c536084c4bf495
fix: the lines are formatted according to clippy
[ { "path": "src/tools/rust-analyzer/crates/ide/src/references.rs", "patch": "@@ -15,7 +15,7 @@\n //! - `(` for tuple structs/variants\n //! - `;` for unit structs\n //! - The type name in a struct/enum/variant definition\n-//! Then only constructor/initialization usages will be shown, filtering out other ref...
2025-05-25T08:55:58
huggingface/transformers
015b62bf3e8bd4c380ceca2966f87a35a467f823
efceeaf2678678553e94dce78859f87776e633a7
Add AMD GPU expectations for LLaVA tests (#39486) * Add AMD GPU expectation to llava tests * FMT * Remove debug print * Address review comments
[ { "path": "tests/models/llava/test_modeling_llava.py", "patch": "@@ -329,6 +329,7 @@ def test_small_model_integration_test_llama_single(self):\n {\n (\"cuda\", 7): 'USER: \\nWhat are the things I should be cautious about when I visit this place? ASSISTANT: When visiting this pla...
2025-07-22T14:01:54
electron/electron
8a6ba7c49ff5a897d736dd20923d12d7ac327973
2060acd91427207752d42b6ecfea24f270a6e473
Update libchromiumcontent for race condition fix
[ { "path": "script/lib/config.py", "patch": "@@ -7,7 +7,7 @@\n \n \n BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = 'fa886209473d40eafda4e8263a79b5cf83eef95e'\n+LIBCHROMIUMCONTENT_COMMIT = '5ccddd5f3968a7f63eaa888e6a8ba319ea8cd3b7'\n \n PLATFORM = {...
2015-05-28T02:52:51
nodejs/node
f770106e91f05b278c81bb0b48c2fe8d786ada57
a56968698d28325c06f1ad0f0390b10ee218244d
test: rename agent1-pfx.pem to agent1.pfx PFX is not PEM, its binary DER. Use the same .pfx extension as test/fixtures/test_cert.pfx does. PR-URL: https://github.com/nodejs/node/pull/24374 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Franziska H...
[ { "path": "test/fixtures/keys/Makefile", "patch": "@@ -92,13 +92,13 @@ agent1-cert.pem: agent1-csr.pem ca1-cert.pem ca1-key.pem\n \t\t-CAcreateserial \\\n \t\t-out agent1-cert.pem\n \n-agent1-pfx.pem: agent1-cert.pem agent1-key.pem ca1-cert.pem\n+agent1.pfx: agent1-cert.pem agent1-key.pem ca1-cert.pem\n \to...
2016-12-22T19:04:59
golang/go
3fff213ac24dc3b9b92c8a1f5f18ec0c97bac4c0
b606739be6758615658188c8a6453256eaeccf35
cmd/compile: add CONVIFACE nodes needed in generic code due to assignments Added new function earlyTransformAssign() to add needed CONVIFACE nodes due to assignments in generic functions. Fixes #48049 Change-Id: I7cd9cee6ecf34ed2ef0743d1b17645b9f520fa00 Reviewed-on: https://go-review.googlesource.com/c/go/+/347914 T...
[ { "path": "src/cmd/compile/internal/noder/stmt.go", "patch": "@@ -101,6 +101,8 @@ func (g *irgen) stmt(stmt syntax.Stmt) ir.Node {\n \t\t\tn.Def = initDefn(n, names)\n \n \t\t\tif delay {\n+\t\t\t\tearlyTransformAssign(n, lhs, rhs)\n+\t\t\t\tn.X, n.Y = lhs[0], rhs[0]\n \t\t\t\tn.SetTypecheck(3)\n \t\t\t\tre...
2021-08-31T15:01:44
vercel/next.js
725a4de0efa3dec093fac493a49c3a6e9b68b548
e0e81ea049483aa877c8e366ce47e5f0c176b0ae
Fix failing app-static deploy test (#46395) x-ref: https://github.com/vercel/next.js/actions/runs/4267518385/jobs/7429540548
[ { "path": "test/e2e/app-dir/app-static/app-static.test.ts", "patch": "@@ -624,7 +624,7 @@ createNextDescribe(\n \n const res2 = await fetchViaHTTP(\n next.url,\n- '/variable-revalidate/encoding'\n+ '/variable-revalidate-edge/encoding'\n )\n expect(res2.sta...
2023-02-25T02:03:09
huggingface/transformers
efceeaf2678678553e94dce78859f87776e633a7
b62557e712c8a6650ad1403d516006c10141a830
Kernels flash attn (#39474) * use partial to wrap around `transformers` utils! * try to refactor? * revert one wrong change * just a nit * push * reverter watever was wrong! * some nits * fixes when there is no attention mask * bring the licence back * some fixes * nit * style * remove prints * correct dt...
[ { "path": "src/transformers/generation/continuous_batching.py", "patch": "@@ -1119,7 +1119,8 @@ def __init__(\n self._request_lock = threading.Lock()\n self.model.generation_config.top_p = None\n self.do_sample = getattr(generation_config, \"do_sample\", True)\n- self.logit_pr...
2025-07-22T13:41:06
electron/electron
f98da217e130cce7e1de8caa1f8dc4f2125aaae5
4a376694b498fb422796f91282878a58c97fe150
fix accessing headers from resourcerequestdetails
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -317,7 +317,7 @@ void WebContents::DidGetResourceResponseStart(\n v8::HandleScope handle_scope(isolate);\n mate::Dictionary response_headers(isolate, v8::Object::New(isolate));\n \n- net::HttpResponseHeaders* headers = details.response...
2015-05-28T05:40:25
nodejs/node
6b4e413526c4305cd6c604072b8d3066519a549a
3d4b2817927103895965cca07f867480a06a3283
doc: add help on fixing IPv6 test failures It took me a while to figure out the problem and then some googling to find the right answer. I think it is worth adding this to help other people in the future and to have an easy place to point people to for the solution if their test run fails with IPv6 failures. PR-URL:...
[ { "path": "BUILDING.md", "patch": "@@ -253,6 +253,16 @@ $ ./node ./test/parallel/test-stream2-transform.js\n Remember to recompile with `make -j4` in between test runs if you change code in\n the `lib` or `src` directories.\n \n+The tests attempt to detect support for IPv6 and exclude IPv6 tests if\n+approp...
2018-11-14T22:53:59
golang/go
07f623063ddf8216b03a4a17a27110d330e80c7e
a9a01a3fbdf70e7a9d914fe0b9b5ab1199fd74fe
reflect: add MapIter.Reset This allows callers to do (amortized) allocation-free iteration over many maps. Fixes #46293 Change-Id: I3aa6134dd00da35b508bd1e3b487332a871a3673 Reviewed-on: https://go-review.googlesource.com/c/go/+/321891 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -7223,6 +7223,72 @@ func TestMapIterNilMap(t *testing.T) {\n \t}\n }\n \n+func TestMapIterReset(t *testing.T) {\n+\titer := new(MapIter)\n+\n+\t// Use of zero iterator should panic.\n+\tfunc() {\n+\t\tdefer func() { recover() }()\n+\t\titer.Next()\n+\t\tt.Er...
2021-05-21T16:43:58
vercel/next.js
4c6e8d480c10879c65b0ce0b10abfb44c8436c79
c5336132c3f014441e6991193aa1ad48a39a8937
Add relative app dir field (#46393) This adds a relative app dir field to the required files manifest so that we don't rely on absolute paths from a cached build since the cache can be restored in a separate context where the value no longer applies. x-ref: https://github.com/vercel/next.js/pull/45864 ## Bug ...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -896,6 +896,9 @@ export default async function build(\n )\n )\n \n+ const outputFileTracingRoot =\n+ config.experimental.outputFileTracingRoot || dir\n+\n const manifestPath = path.join(distDir, SERVER_DIRECTORY, ...
2023-02-25T00:51:07
huggingface/transformers
ef99537f37f640d1cc945b8ffa0af948e31ece01
30567c28e81be1ba09249aa5589b8227653ab073
Add AMD test expectations to DETR model (#39539) * Add AMD test expectations to DETR model * Fix baseline expectation * Address review comments * Make formatting a bit more consistent
[ { "path": "tests/models/detr/test_modeling_detr.py", "patch": "@@ -18,7 +18,7 @@\n import unittest\n \n from transformers import DetrConfig, ResNetConfig, is_torch_available, is_vision_available\n-from transformers.testing_utils import require_timm, require_torch, require_vision, slow, torch_device\n+from t...
2025-07-22T12:07:10
electron/electron
4d56281972797964f74cf75fb42cbcd04ba449c0
5584e3fd498874d0cb4262832f3f990974a4c00b
restore clipboard.has api and fix docs
[ { "path": "atom/common/api/atom_api_clipboard.cc", "patch": "@@ -45,6 +45,12 @@ std::vector<base::string16> AvailableFormats(ui::ClipboardType type) {\n return format_types;\n }\n \n+bool Has(const std::string& format_string, ui::ClipboardType type) {\n+ ui::Clipboard* clipboard = ui::Clipboard::GetForCu...
2015-05-27T08:05:51
nodejs/node
3d4b2817927103895965cca07f867480a06a3283
b7e9804c90ec1b834e88279ce06725c9dd9156a8
build,tools: update make-v8.sh for ppc64le PR-URL: https://github.com/nodejs/node/pull/24293 Fixes: https://github.com/nodejs/build/issues/1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
[ { "path": "tools/make-v8.sh", "patch": "@@ -6,21 +6,30 @@ V8_BUILD_OPTIONS=$2\n cd deps/v8\n tools/node/fetch_deps.py .\n \n-if [ \"`arch`\" == \"s390x\" ]\n-then\n+ARCH=\"`arch`\"\n+if [[ \"$ARCH\" == \"s390x\" ]] || [[ \"$ARCH\" == \"ppc64le\" ]]; then\n # set paths manually for now to use locally insta...
2018-11-10T22:12:56
golang/go
a9a01a3fbdf70e7a9d914fe0b9b5ab1199fd74fe
dcf3545774a8b2bc639f8da14dec2526b8ca9caf
cmd/compile: remove now-unneeded SetHasTParam() for cached ptr element We had code in NewPtr() to set the HasTParam/HasShape flag as needed for the cached ptr element if it wasn't set correctly based on its Elem. This was causing the race mentioned in the issue. But that setting code is no longer needed, as long as w...
[ { "path": "src/cmd/compile/internal/typecheck/iimport.go", "patch": "@@ -1757,7 +1757,10 @@ func builtinCall(pos src.XPos, op ir.Op) *ir.CallExpr {\n }\n \n // NewIncompleteNamedType returns a TFORW type t with name specified by sym, such\n-// that t.nod and sym.Def are set correctly.\n+// that t.nod and sy...
2021-09-07T17:54:17
huggingface/transformers
30567c28e81be1ba09249aa5589b8227653ab073
a44dcbe513e3e073271e0b8e369b75aca51affae
[timm_wrapper] add support for gradient checkpointing (#39287) * feat: add support for gradient checkpointing in TimmWrapperModel and TimmWrapperForImageClassification * ruff fix * refactor + add test for not supported model * ruff * Update src/transformers/models/timm_wrapper/modeling_timm_wrapper.py Co-authored...
[ { "path": "src/transformers/models/timm_wrapper/modeling_timm_wrapper.py", "patch": "@@ -70,6 +70,10 @@ def __init__(self, *args, **kwargs):\n requires_backends(self, [\"vision\", \"timm\"])\n super().__init__(*args, **kwargs)\n \n+ def post_init(self):\n+ self.supports_gradient_ch...
2025-07-22T11:07:52
vercel/next.js
c5336132c3f014441e6991193aa1ad48a39a8937
51f9f5df2bdf94d4555a9323f5978ed0042a1eb2
Fix fetch cache key inputs and encoding (#46392 This ensures we properly filter caching on uncachable request methods by default and correct encoding handling in edge runtime. Fixes: https://github.com/vercel/next.js/issues/46349 x-ref: [slack thread](https://vercel.slack.com/archives/C042LHPJ1NX/p16772532420224...
[ { "path": "packages/next/src/server/lib/patch-fetch.ts", "patch": "@@ -61,10 +61,14 @@ export function patchFetch({\n const hasUnCacheableHeader =\n initHeaders.get('authorization') || initHeaders.get('cookie')\n \n+ const isUnCacheableMethod = !['get', 'head'].includes(\n+ init?.m...
2023-02-25T00:44:47
electron/electron
fbdea15649cd132088e9ff3692109d49f43c9f4b
f961f0617fd7719ec2d51794a4e76fc6f3637b1c
Update node, fix #634
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit e5aaa1ad33b3479dbb29df797beca5873e7490dc\n+Subproject commit b772c19a8f9db65673184822fb294235eff9c364", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-05-27T07:26:48
nodejs/node
9bce68663b53dea4365445f4dfb3541a92bac1fe
39a5e7dbb0471313f4f00ee4f1eb51ee0ada61e6
src: fix compiler warning in node_os Currently the following compiler warnings is generated: ../src/node_os.cc:167:24: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] for (size_t i = 0; i < count; i++) { ~ ^ ~~~~~ 1 warning generated....
[ { "path": "src/node_os.cc", "patch": "@@ -163,7 +163,7 @@ static void GetCPUInfo(const FunctionCallbackInfo<Value>& args) {\n // The array is in the format\n // [model, speed, (5 entries of cpu_times), model2, speed2, ...]\n std::vector<Local<Value>> result(count * 7);\n- for (size_t i = 0; i < count...
2018-11-14T04:24:07
huggingface/transformers
a44dcbe513e3e073271e0b8e369b75aca51affae
0cae633ce1fbb6fa82b03f6b57c5765b611a6830
Fixes needed for n-d parallelism and TP (#39562) Handle non-DTensors cases in TP Layers Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -487,7 +487,7 @@ def _prepare_input_fn(input_layouts, desired_input_layouts, mod, inputs, device_\n \n @staticmethod\n def _prepare_output_fn(output_layouts, use_local_output, mod, outputs, device_mesh):\n- return outp...
2025-07-22T10:24:59
golang/go
80783558b06741beaf41dbd198013fe3a13c9ad2
23f4f0db682fad0c8d61a5b5cdbdbad4cf1cd41f
cmd/compile: make sure imported instantiated types have their methods created We should be putting a newly instantiated imported type in Instantiate/doInst onto the instTypeList, so its methods/dictionaries are instantiated. To do this, we needed a more general way to add a type to instTypeList, so add NeedInstType(),...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -237,7 +237,6 @@ func (g *irgen) substType(typ *types.Type, tparams *types.Type, targs []ir.Node)\n \t\tTargs: targs1,\n \t}\n \tnewt := ts.Typ(typ)\n-\tg.instTypeList = append(g.instTypeList, ts.InstTypeList...)\n \treturn newt\n }\n ", ...
2021-09-06T23:25:43
vercel/next.js
51f9f5df2bdf94d4555a9323f5978ed0042a1eb2
de47336613f87eed28cb2ed9f09317f374c794df
Apply filtering after rewrite as well (#46390 x-ref: [slack thread](https://vercel.slack.com/archives/C04MEB9L9RQ/p1677279320253929?thread_ts=1677255545.574209&cid=C04MEB9L9RQ) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see...
[ { "path": "packages/next/src/shared/lib/router/router.ts", "patch": "@@ -1052,6 +1052,61 @@ export default class Router implements BaseRouter {\n return this.change('replaceState', url, as, options)\n }\n \n+ async _bfl(as: string, resolvedAs?: string, locale?: string | false) {\n+ if (process.env...
2023-02-24T23:57:30
nodejs/node
62d053b7072d09e5e39187c4c74161b0ad47b165
195b7c2880ce36543791544b98ca1fc040b4057e
tools: fix `make lint-md-rollup` and run it PR-URL: https://github.com/nodejs/node/pull/24333 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
[ { "path": "Makefile", "patch": "@@ -1060,13 +1060,11 @@ bench-addons-clean:\n \n .PHONY: lint-md-rollup\n lint-md-rollup:\n-\tcd tools/node-lint-md-cli-rollup/remark-preset-lint-node && npm up\n-\tcd tools/node-lint-md-cli-rollup && npm up\n+\tcd tools/node-lint-md-cli-rollup && npm install\n \tcd tools/nod...
2018-11-13T09:23:17
rust-lang/rust
6b5b97a4df3331e82ee7f57f2c33818b997f98d0
9f8929fbeca4b5c2302b326606ae800156915840
Fix incorrect eq_unspanned in TokenStream
[ { "path": "compiler/rustc_ast/src/tokenstream.rs", "patch": "@@ -696,14 +696,8 @@ impl TokenStream {\n \n /// Compares two `TokenStream`s, checking equality without regarding span information.\n pub fn eq_unspanned(&self, other: &TokenStream) -> bool {\n- let mut iter1 = self.iter();\n- ...
2025-05-26T05:47:53
golang/go
903958d2f506decf92a1bfd63dfbecadf8375735
66401719143692f1b892fb47aaef286f885395c9
encoding/gob: marshal maps using reflect.Value.MapRange golang.org/cl/33572 added a map iterator. use the reflect.Value.MapRange to fix map keys that contain a NaN Fixes #24075 Change-Id: I0214d6f26c2041797703e48eac16404f189d6982 GitHub-Last-Rev: 5c01e117f4451dbaec657d02d006905df1d0055d GitHub-Pull-Request: golang/...
[ { "path": "src/encoding/gob/encode.go", "patch": "@@ -368,11 +368,11 @@ func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encO\n \tstate := enc.newEncoderState(b)\n \tstate.fieldnum = -1\n \tstate.sendZero = true\n-\tkeys := mv.MapKeys()\n-\tstate.encodeUint(uint64(len(keys)))\n-\t...
2021-08-04T02:47:57
vercel/next.js
dee944bb0f4aaa90f90bca7000409e170175753e
bca89623035cbb40972b9b38c5b4bb5af8842315
test(next-script): teardown next-dev instance via jest hooks (#46383) <!-- 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...
[ { "path": "test/e2e/next-script/index.test.ts", "patch": "@@ -253,6 +253,18 @@ describe('experimental.nextScriptWorkers: true with required Partytown dependenc\n })\n \n describe('experimental.nextScriptWorkers: true with required Partytown dependency for inline script', () => {\n+ let next: NextInstance\n...
2023-02-24T21:28:05
huggingface/transformers
a88ea9cbc89ec1bb4f4ddba95b471a7fb89c14fe
3bc726b381592601cd9dd0fdcff5edcb02f3a85b
Add EfficientLoFTR model (#36355) * initial commit * Apply suggestions from code review Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com> * fix: various typos, typehints, refactors from suggestions * fix: fine_matching method * Added EfficientLoFTRModel and AutoModelForKeypointMatching class * fix: got rid of...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -747,6 +747,8 @@\n title: DPT\n - local: model_doc/efficientformer\n title: EfficientFormer\n+ - local: model_doc/efficientloftr\n+ title: EfficientLoFTR\n - local: model_doc/efficientnet\n title: Efficient...
2025-07-22T09:53:16
nodejs/node
406d9caab5712f2c98b568d1fea698b741b66f5a
9cef7b84b1f6b1e116afaad945f31b368e8917e2
2018-11-15, Version 11.2.0 (Current) Notable changes: * deps: * A new experimental HTTP parser (`llhttp`) is now supported. https://github.com/nodejs/node/pull/24059 * timers: * Fixed an issue that could cause setTimeout to stop working as expected. https://github.com/nodejs/node/pull/24322 * Windows * ...
[ { "path": "CHANGELOG.md", "patch": "@@ -28,7 +28,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V11.md#11.1.0\">11.1.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V11.md#11.2.0\">11.2.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V11.md#11.1.0\"...
2018-11-14T00:57:14
golang/go
66401719143692f1b892fb47aaef286f885395c9
e581ec07eed006e7a54306457ff8d9931b2aae7c
cmd/compile: fix type substituter to copy Funarg value for structs We were missing copying the Funarg value when substituting for a struct type. Change-Id: Id0c2d9e55fb15987acb9edba6f74cf57cfd3417e Reviewed-on: https://go-review.googlesource.com/c/go/+/347913 Run-TryBot: Dan Scales <danscales@google.com> TryBot-Resul...
[ { "path": "src/cmd/compile/internal/typecheck/subr.go", "patch": "@@ -1229,7 +1229,7 @@ func (ts *Tsubster) typ1(t *types.Type) *types.Type {\n \t\tnewt = forw\n \t}\n \n-\tif !newt.HasTParam() {\n+\tif !newt.HasTParam() && !newt.IsFuncArgStruct() {\n \t\t// Calculate the size of any new types created. Thes...
2021-09-07T14:46:27
vercel/next.js
bca89623035cbb40972b9b38c5b4bb5af8842315
0b248f81a13cb55cbf83cbc681a37c23daf2711b
Add missing 'key' (#46386) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or RFC. Make s...
[ { "path": "examples/with-knex/pages/index.js", "patch": "@@ -29,7 +29,7 @@ export default function Home() {\n {todos &&\n todos.map((todo) => {\n return (\n- <p className=\"todos-item\">\n+ <p className=\"todos-item\" key={todo.id}>\n {...
2023-02-24T21:13:51
huggingface/transformers
3bc726b381592601cd9dd0fdcff5edcb02f3a85b
fbeaf96f9e2291c21277ac658a33ea8752728bf3
[gemma3] fix bidirectional image mask (#39396) * fix gemma3 mask * make compile happy, and use only torch ops * no full attention between images * update tests * fix tests * add a fast test
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -646,8 +646,8 @@ def prepare_inputs_for_generation(\n \n # If it's not defined, it means the model uses the new general mask API\n if causal_mask_creation_function is None: # can't be found\n- token_type_i...
2025-07-22T08:04:56
golang/go
e581ec07eed006e7a54306457ff8d9931b2aae7c
81188661f1fd51f67dfff40c451d4e878b533a66
cmd/compile: fix lazy loading in reader2 Calling reader2.obj fully loads the referenced object, which is necessary in general; but for reading the package index, we just need to setup the name->index mapping. This CL adds this, so that lazy loading works as intended. Change-Id: Ie51d59e2247d99b46f9dc69fba7ce89e2584b7...
[ { "path": "src/cmd/compile/internal/noder/reader2.go", "patch": "@@ -43,7 +43,12 @@ func readPackage2(check *types2.Checker, imports map[string]*types2.Package, inp\n \tr.bool() // has init\n \n \tfor i, n := 0, r.len(); i < n; i++ {\n-\t\tr.obj()\n+\t\t// As if r.obj(), but avoiding the Scope.Lookup call,\...
2021-09-07T17:51:14
vercel/next.js
0b248f81a13cb55cbf83cbc681a37c23daf2711b
130ab594cd82255d8217836f5275f9b3fa72746d
fix: improve next.config.js validation for `images` prop (#46326) This PR removes the custom validation in favor of json schema validation. Previously Next.js would print warnings on schema errors and only throw when custom validation failed (albeit with a nasty stack trace). ### Before <img width="1193" al...
[ { "path": "packages/next/src/server/config-schema.ts", "patch": "@@ -582,6 +582,7 @@ const configSchema = {\n type: 'string',\n },\n port: {\n+ maxLength: 5,\n type: 'string',\n },\n protocol: {\n@@ -590,8...
2023-02-24T21:08:24
nodejs/node
1ddcccb7e379089ac47b87d772343e16fd84c1c8
d4653d5a7d020b7532ddfbdc5284f3ec0d96045a
lib: gather all errors constant in the same place for consistency PR-URL: https://github.com/nodejs/node/pull/24038 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/net.js", "patch": "@@ -64,32 +64,30 @@ const {\n onStreamRead,\n kUpdateTimer\n } = require('internal/stream_base_commons');\n-const errors = require('internal/errors');\n const {\n- ERR_INVALID_ADDRESS_FAMILY,\n- ERR_INVALID_ARG_TYPE,\n- ERR_INVALID_ARG_VALUE,\n- ERR_INVALID_FD_TYPE,...
2018-11-02T13:08:30
electron/electron
a642782a00ca6bc38fc6db82a1ce17edfa059c25
30d815e28f0bf0215da9e5a0e85de280a86b5cc9
:lipstick: Fix grammatical issues
[ { "path": "docs/api/content-tracing.md", "patch": "@@ -2,7 +2,7 @@\n \n The `content-trace` module is used to collect tracing data generated by the\n underlying Chromium content module. This module does not include a web interface\n-so you need to open `chrome://tracing/` in Chrome browser and load the gene...
2015-05-23T22:44:58
huggingface/transformers
049a674e681181c2616fec4124086ec0ec55ed2d
b3ebc761e27397fae2e3a8d00ec3b825533c37e6
[`CI`] Fix post merge ernie 4.5 (#39561) fix repo consistency
[ { "path": "src/transformers/models/ernie4_5/modeling_ernie4_5.py", "patch": "@@ -350,12 +350,6 @@ def __init__(self, config: Ernie4_5Config):\n # Initialize weights and apply final processing\n self.post_init()\n \n- def get_input_embeddings(self):\n- return self.embed_tokens\n-\n-...
2025-07-21T18:56:24
golang/go
2a4845257fea627da8b30444a498576ea90b5401
bca8c6ffa2dd19d49685531650ea6553262837e3
cmd/compile: fix deadlock in (*Named).load For lazy import resolution, there's reentrancy issue with (*Named).load method, when "t.resolve(t)" can lead us to the same named type, thus (*Named).load is called recursively, causing the deadlock. The main problem is that when instantinate a type, we calculate the type ha...
[ { "path": "src/cmd/compile/internal/types2/typestring.go", "patch": "@@ -234,7 +234,7 @@ func (w *typeWriter) typ(typ Type) {\n \t\tif t.targs != nil {\n \t\t\t// instantiated type\n \t\t\tw.typeList(t.targs.list())\n-\t\t} else if t.TParams().Len() != 0 {\n+\t\t} else if !w.hash && t.TParams().Len() != 0 {...
2021-09-05T13:50:54
vercel/next.js
130ab594cd82255d8217836f5275f9b3fa72746d
232dfbe8e0ff66536a762d3fc7ca70778b1cff14
Support `server-only` inside pages/api (#46328) This can be a special case for the API layer. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -786,6 +786,11 @@ export default async function getBaseWebpackConfig(\n [getSwcLoader({ isServerLayer: true }), getBabelLoader()]\n : []\n \n+ const loaderForAPI =\n+ hasServerComponents && useSWCLoader\n+ ? getSwcLoade...
2023-02-24T20:44:12
huggingface/transformers
b3ebc761e27397fae2e3a8d00ec3b825533c37e6
b4115a426eb284ccf4494d90aba3d264ccbd6f25
[Fast image processors] Improve handling of image-like inputs other than images (segmentation_maps) (#39489) * improve handlike of other image-like inputs in fast image processors * fix issues with _prepare_images_structure * update sam image processor fast * use dict update
[ { "path": "src/transformers/image_processing_utils_fast.py", "patch": "@@ -453,6 +453,7 @@ def filter_out_unused_kwargs(self, kwargs: dict):\n def _prepare_images_structure(\n self,\n images: ImageInput,\n+ expected_ndims: int = 3,\n ) -> ImageInput:\n \"\"\"\n ...
2025-07-21T18:12:14
nodejs/node
9b2ffff62cdbfe6ab538e87aafa5828bfbaaa196
c347e77647ed7c25d2eba4860ce62dbddaa46307
tls: emit a warning when servername is an IP address Setting the TLS ServerName to an IP address is not permitted by RFC6066. This will be ignored in a future version. Refs: https://github.com/nodejs/node/pull/18127 PR-URL: https://github.com/nodejs/node/pull/23329 Fixes: https://github.com/nodejs/node/issues/18071 ...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -2293,6 +2293,20 @@ Type: Runtime\n Please use `Server.prototype.setSecureContext()` instead.\n \n \n+<a id=\"DEP0123\"></a>\n+### DEP0123: setting the TLS ServerName to an IP address\n+<!-- YAML\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://gith...
2018-01-12T23:36:21
electron/electron
0bb4e0e44a9aa64226526637cb770c1446192350
30d815e28f0bf0215da9e5a0e85de280a86b5cc9
:lipstick: Fix grammatical issues
[ { "path": "docs/api/native-image.md", "patch": "@@ -3,15 +3,15 @@\n In Electron for the APIs that take images, you can pass either file paths or\n `NativeImage` instances. When passing `null`, an empty image will be used.\n \n-For example when creating tray or setting window's icon, you can pass image's\n-f...
2015-05-23T20:00:09
golang/go
bca8c6ffa2dd19d49685531650ea6553262837e3
21de6bc463e52af01bcbfda478e2cb221e982e41
cmd/link: resolve magic value in gdbscript section generation According to the .debug_gdb_scripts section specification [https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html], each entry begins with a non-null prefix byte that specifies the kind of entry. This commit resolves a question ...
[ { "path": "src/cmd/link/internal/ld/dwarf.go", "patch": "@@ -187,6 +187,16 @@ func isDwarf64(ctxt *Link) bool {\n \treturn ctxt.HeadType == objabi.Haix\n }\n \n+// https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html\n+// Each entry inside .debug_gdb_scripts section begins wit...
2021-08-23T08:40:32
vercel/next.js
232dfbe8e0ff66536a762d3fc7ca70778b1cff14
ee7c0c5ca499ae3b2505524344b730c74372848d
Loader refactoring (#46304) Similar to #46277, this refactors the loader code a bit and merged two loaders into one. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1707,20 +1707,18 @@ export default async function getBaseWebpackConfig(\n ? [\n {\n issuerLayer: WEBPACK_LAYERS.server,\n- test: (req: string) => {\n- // If it's not a...
2023-02-24T20:20:54
nodejs/node
3212f77ac6d674a7d43c3303dcca22508c8be468
4e6d28a710f1b11ddc15cceba0863c9b0d6f06c6
test: add typeerror for vm/compileFunction params PR-URL: https://github.com/nodejs/node/pull/24179 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-vm-basic.js", "patch": "@@ -209,6 +209,20 @@ const vm = require('vm');\n }\n );\n \n+ // Testing for non Array type-based failures\n+ [Boolean(), Number(), null, Object(), Symbol(), {}].forEach(\n+ (value) => {\n+ common.expectsError(() => {\n+ vm.compile...
2018-11-06T16:19:52
electron/electron
d91ddc6177f80576c9317ed949acd4c258e7d656
30d815e28f0bf0215da9e5a0e85de280a86b5cc9
:lipstick: Fix grammatical issue
[ { "path": "docs/api/synopsis.md", "patch": "@@ -1,6 +1,6 @@\n # Synopsis\n \n-All [node.js's built-in modules](http://nodejs.org/api/) are available in\n+All of [node.js's built-in modules](http://nodejs.org/api/) are available in\n Electron, and third-party node modules are fully supported too (including t...
2015-05-23T19:41:36
huggingface/transformers
b4115a426eb284ccf4494d90aba3d264ccbd6f25
69b158260fcb679ea3bfbc1e6a358545ee53ee28
[`Ernie 4.5`] Add ernie text models (#39228) * init * copied from remote * add proper structure and llama like structure * fixup * revert to state that works * get closer to llama * slow and steady * some removal * masks work * it is indeed the rope implementation, how dafuq does it mesh with the cache now hm...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -441,6 +441,10 @@\n title: Encoder Decoder Models\n - local: model_doc/ernie\n title: ERNIE\n+ - local: model_doc/ernie4_5\n+ title: Ernie4_5\n+ - local: model_doc/ernie4_5_moe\n+ title: Ernie4_5_MoE\n ...
2025-07-21T17:51:49
rust-lang/rust
4aed799d34480f2f9f959ec285e4a0481037f9d3
3816385b09db445ab580043ed45218df8c1198ad
Update tidy exceptions
[ { "path": "src/tools/tidy/src/deps.rs", "patch": "@@ -200,6 +200,7 @@ const EXCEPTIONS_CRANELIFT: ExceptionList = &[\n (\"cranelift-module\", \"Apache-2.0 WITH LLVM-exception\"),\n (\"cranelift-native\", \"Apache-2.0 WITH LLVM-exception\"),\n (\"cranelift-object\", \"Apache-2.0 WITH LLVM-excepti...
2025-05-25T18:58:21
golang/go
21de6bc463e52af01bcbfda478e2cb221e982e41
6226020c2f713e4545c73d56dc05676b642c9bc7
cmd/compile: simplify less with non-negative number and constant 0 or 1 The most common cases: len(s) > 0 len(s) < 1 and they can be simplified to: len(s) != 0 len(s) == 0 Fixes #48054 Change-Id: I16e5b0cffcfab62a4acc2a09977a6cd3543dd000 Reviewed-on: https://go-review.googlesource.com/c/go/+/346050 Reviewed-by: Kei...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -500,6 +500,9 @@\n (Leq32 (Const32 [0]) (Rsh32Ux64 _ (Const64 [c]))) && c > 0 => (ConstBool [true])\n (Leq64 (Const64 [0]) (Rsh64Ux64 _ (Const64 [c]))) && c > 0 => (ConstBool [true])\n \n+(Less(64|32|16|8) (Const(64|32|16|8) <t> [0]) x...
2021-08-30T14:26:54
vercel/next.js
ee7c0c5ca499ae3b2505524344b730c74372848d
26110b07cc66019caa07d45dfcfd946d9d0c3359
Docs: Fix Railway link (#46381) The current link leads to a 404 page. The new link leads to a page that describes how to deploy a Next.js application.
[ { "path": "docs/deployment.md", "patch": "@@ -100,7 +100,7 @@ The following services support Next.js `v12+`. Below, you’ll find examples or\n - [Digital Ocean App Platform](https://docs.digitalocean.com/tutorials/app-nextjs-deploy/)\n - [Google Cloud Run](https://github.com/vercel/next.js/tree/canary/exampl...
2023-02-24T20:01:14
nodejs/node
9ca5c525f4cda44112b93f20d22353759eabb807
7082c61e27142c1c4c55ab925baa8a162637b066
timers: fix priority queue removeAt PR-URL: https://github.com/nodejs/node/pull/24322 Fixes: https://github.com/nodejs/node/issues/24320 Fixes: https://github.com/nodejs/node/issues/24362 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <mat...
[ { "path": "lib/internal/priority_queue.js", "patch": "@@ -28,25 +28,13 @@ module.exports = class PriorityQueue {\n \n insert(value) {\n const heap = this[kHeap];\n- let pos = ++this[kSize];\n+ const pos = ++this[kSize];\n+ heap[pos] = value;\n \n if (heap.length === pos)\n heap.leng...
2018-11-12T16:59:37
electron/electron
bf5f85645ec3d019b4cf3bb1a6c7e92957658a76
f1f801b7a260559427dddffb7a7fbd8ba6499564
Remove the multiple rules generate pdf.dll warning in GYP during debug build.
[ { "path": "atom.gyp", "patch": "@@ -124,7 +124,9 @@\n '<@(libchromiumcontent_shared_v8_libraries)',\n ],\n }, {\n- 'copied_libraries': [],\n+ 'copied_libraries': [\n+ '<(libchromiumcontent_...
2015-05-13T01:50:56
golang/go
6226020c2f713e4545c73d56dc05676b642c9bc7
a1938435d6361dcbc93a15ce0ace28748a45b85d
cmd/compile: make sure that the names created for instantiated type are the same Now we have two functions that create names for instantiated types. They are inconsistent when dealing with byte/rune type. This CL makes instTypeName2 reuse the code of typecheck.InstTypeName Fixes #48198 Change-Id: I4c216b532cba6618e...
[ { "path": "src/cmd/compile/internal/noder/types.go", "patch": "@@ -5,7 +5,6 @@\n package noder\n \n import (\n-\t\"bytes\"\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/typecheck\"\n@@ -72,29 +71,12 @@ func (g *irgen) typ1(typ types2.Type) *types.Type {\n \n //...
2021-09-06T13:08:05
huggingface/transformers
69b158260fcb679ea3bfbc1e6a358545ee53ee28
2da97f09436fa346ecb5c388037d76589f1579a6
Refactor embedding input/output getter/setter (#39339) * simplify common get/set * remove some noise * change some 5 years old modeling utils * update examples * fix copies * revert some changes * fixes, gah * format * move to Mixin * remove smolvlm specific require grad * skip * force defaults * remodular...
[ { "path": "examples/modular-transformers/modeling_my_new_model2.py", "patch": "@@ -333,12 +333,6 @@ def __init__(self, config: MyNewModel2Config):\n # Initialize weights and apply final processing\n self.post_init()\n \n- def get_input_embeddings(self):\n- return self.embed_tokens\...
2025-07-21T16:18:14
vercel/next.js
26110b07cc66019caa07d45dfcfd946d9d0c3359
3997b502796c94a56e6192b3ba7e1d611d4fb8dd
Print command for current packet manager in @next/font warning (#46359) The warning that tells you to uninstall `@next/font` always prints `npx` as the command to run the codemod. This makes it look for the current packet manager and print a more relevant command. npm ![image](https://user-images.githubusercon...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -22,6 +22,7 @@ import Watchpack from 'next/dist/compiled/watchpack'\n import stripAnsi from 'next/dist/compiled/strip-ansi'\n import { warn } from '../build/output/log'\n import { getPossibleInstrumentationHookFilenames } from '../build/utils'\n+im...
2023-02-24T19:40:18
nodejs/node
f3b49cfa7b3c2887ca8147b3d47ce1834b3923bf
bd765d61d7425d82e80bdf2f4f27c0424221837b
http: else case is not reachable While checking the arguments passed to http.Server, the case where the options argument was of wrong type was not handled. Now it throws an ERR_INVALID_ARG_TYPE error if the options argument is not a function, object, null, or undefined. PR-URL: https://github.com/nodejs/node/pull/241...
[ { "path": "lib/_http_server.js", "patch": "@@ -47,6 +47,7 @@ const { IncomingMessage } = require('_http_incoming');\n const {\n ERR_HTTP_HEADERS_SENT,\n ERR_HTTP_INVALID_STATUS_CODE,\n+ ERR_INVALID_ARG_TYPE,\n ERR_INVALID_CHAR\n } = require('internal/errors').codes;\n const Buffer = require('buffer')...
2018-11-06T16:07:59
rust-lang/rust
4765fd6b76835058044bed2a25acd1c6335332e4
d423c815a69bbcfb4abcd23a828b9a513c397632
Fix `unused_braces` lint suggestion when encountering attributes
[ { "path": "compiler/rustc_lint/src/unused.rs", "patch": "@@ -1,8 +1,7 @@\n use std::iter;\n \n-use rustc_ast as ast;\n use rustc_ast::util::{classify, parser};\n-use rustc_ast::{ExprKind, StmtKind};\n+use rustc_ast::{self as ast, ExprKind, HasAttrs as _, StmtKind};\n use rustc_errors::{MultiSpan, pluralize}...
2025-05-25T15:58:44
huggingface/transformers
4b4f04fccaaa3020c5462cf31d286d83fbfc6d38
1aa7256f01ce771220daaaf36af33b9f59447e5c
fix ndim check of device_mesh for TP (#39538)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4522,7 +4522,7 @@ def from_pretrained(\n tp_plan, device_map, device_mesh = initialize_tensor_parallelism(tp_plan, tp_size=None)\n else:\n # TODO: make device_mesh support multiple dimensions\n- ...
2025-07-21T13:09:33
golang/go
20a71c9a1d7e0d246dfad2c2a2057c954324217d
ecfff58fb8c3aabbce7b15c850210485c1f09d61
cmd/internal/sys: fix placement of loong64 definition In rebasing the patch series up to CL 339015, the branches were messed up by me, and changes from v3 to v4 of CL 339009 was lost. Fix the ordering to restore alphabetical order per original review. Change-Id: I8e57c96e996c4f962cab684a9d305a8dbdeea43b Reviewed-on: ...
[ { "path": "src/cmd/internal/sys/arch.go", "patch": "@@ -16,13 +16,13 @@ const (\n \tARM\n \tARM64\n \tI386\n+\tLoong64\n \tMIPS\n \tMIPS64\n \tPPC64\n \tRISCV64\n \tS390X\n \tWasm\n-\tLoong64\n )\n \n // Arch represents an individual architecture.\n@@ -100,6 +100,16 @@ var ArchARM64 = &Arch{\n \tAlignment: ...
2021-09-06T07:17:11
vercel/next.js
3997b502796c94a56e6192b3ba7e1d611d4fb8dd
18232f6e757753994e29481163a971245d482ff7
Add note explaining how to import fonts with spaces in name (#46348) Fixes: https://github.com/vercel/next.js/issues/45916 ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/...
[ { "path": "docs/basic-features/font-optimization.md", "patch": "@@ -68,6 +68,8 @@ const roboto = Roboto({\n })\n ```\n \n+> **Note**: You can use `_` for fonts with spaces in the name. For example `Titillium Web` should be `Titillium_Web`.\n+\n #### Apply the font in `<head>`\n \n You can also use the font ...
2023-02-24T19:25:34
nodejs/node
bd765d61d7425d82e80bdf2f4f27c0424221837b
3856d8a14c0d96eb95303ed391ed719b10ee7bdb
src: compile native modules and their code cache in C++ This patch refactors out a part of NativeModule.prototype.compile (in JS land) into a C++ NativeModule class, this enables a couple of possibilities: 1. By moving the code to the C++ land, we have more opportunity to specialize the compilation process of the n...
[ { "path": "lib/internal/bootstrap/cache.js", "patch": "@@ -8,20 +8,13 @@\n const {\n NativeModule\n } = require('internal/bootstrap/loaders');\n+const {\n+ source,\n+ compileCodeCache\n+} = internalBinding('native_module');\n const { hasTracing } = process.binding('config');\n \n-function getCodeCache(i...
2018-11-03T06:26:32
vercel/next.js
18232f6e757753994e29481163a971245d482ff7
cf1637421c92d6d7ed7fd595cf08fae37a3d9af4
Dedupe next/font preload tags (#46354) Just like https://github.com/vercel/next.js/pull/44938 did for CSS tags, this makes sure `app-render` will only render one preload tag per font file by keeping track of the rendered files in a set while building the component tree. Tested locally with react, react-dom and r...
[ { "path": "packages/next/src/server/app-render.tsx", "patch": "@@ -638,7 +638,8 @@ function getPreloadedFontFilesInlineLinkTags(\n serverCSSManifest: FlightCSSManifest,\n fontLoaderManifest: FontLoaderManifest | undefined,\n serverCSSForEntries: string[],\n- filePath?: string\n+ filePath: string | u...
2023-02-24T18:28:27
golang/go
ecfff58fb8c3aabbce7b15c850210485c1f09d61
c7f09eeb1397e177508c8761c469dd377ce390cf
cmd/compile: fix delay transformation in *subster.node() Add OCALL, OCALLFUNC, OCALLMETH, OCALLINTER, ODYNAMICDOTTYPE transformations to the CALL check switch statement. Fixes #48042 Change-Id: Ied93efd979c5b2c56b72fad26fccfd9f887361d3 Reviewed-on: https://go-review.googlesource.com/c/go/+/345949 Trust: Keith Randal...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1095,6 +1095,9 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\t\t// or channel receive to compute function value.\n \t\t\t\ttransformCall(call)\n \n+\t\t\tcase ir.OCALL, ir.OCALLFUNC, ir.OCALLMETH, ir.OCALLINTER, ir.ODYNAMICDOTT...
2021-08-29T06:36:20
electron/electron
01e891652f1a34d505d67906f2740c92afa904b8
c82d21b39f416ffa5153f77ecfc8b124d6099a07
Fix compilation errors
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -22,6 +22,7 @@\n #include \"brightray/browser/inspectable_web_contents.h\"\n #include \"brightray/browser/media/media_stream_devices_controller.h\"\n #include \"content/public/browser/favicon_status.h\"\n+#include \"content/public/browser/g...
2015-05-22T07:24:34
nodejs/node
9409883dc5f96fb5e9dc7ee34e005547df50418c
e2a8e3221b2580c44579c738c12d00fb37298f4a
doc: document NODE_TLS_REJECT_UNAUTHORIZED This commit documents the NODE_TLS_REJECT_UNAUTHORIZED environment variable so that the world can know how potentially dangerous it is. PR-URL: https://github.com/nodejs/node/pull/24289 Fixes: https://github.com/nodejs/node/issues/24284 Reviewed-By: Vse Mozhet Byt <vsemozhet...
[ { "path": "doc/api/cli.md", "patch": "@@ -681,6 +681,12 @@ Path to the file used to store the persistent REPL history. The default path is\n `~/.node_repl_history`, which is overridden by this variable. Setting the value\n to an empty string (`''` or `' '`) disables persistent REPL history.\n \n+### `NODE_T...
2018-11-10T20:59:58
huggingface/transformers
1aa7256f01ce771220daaaf36af33b9f59447e5c
a419a40234d2061c2e3480d1c5d699b575129a74
Refactor `MambaCache` to `modeling_mamba.py` (#38086) * Refactor MambaCache to modeling_mamba.py (parity with Zamba) * ruff * fix dummies * update * update * remove mamba ref in cache tests * remove cache_implementation from tests * update * ruff * ruff * sneaky regression * model consistency * fix test_mu...
[ { "path": "docs/source/en/model_doc/falcon_mamba.md", "patch": "@@ -110,6 +110,13 @@ outputs = model.generate(**inputs, max_new_tokens=100)\n print(tokenizer.decode(outputs[0], skip_special_tokens=True))\n ```\n \n+## FalconMambaCache\n+\n+[[autodoc]] FalconMambaCache\n+ - update_conv_state\n+ - updat...
2025-07-21T12:59:36
rust-lang/rust
fe1808718cc83aab514a92c7129fe76e122045cf
2580d833a2f94ce448e91ef4cc91fcc78c0442c4
Fix IDE resolution of item macros It wasn't inside the source, because there was no source map.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/db.rs", "patch": "@@ -422,6 +422,7 @@ fn macro_def(db: &dyn DefDatabase, id: MacroId) -> MacroDefId {\n let makro = &item_tree[loc.id.value];\n MacroDefId {\n krate: loc.container.krate,\n+ block: lo...
2025-05-25T14:20:20
golang/go
7619a4528d506277f44e8d4b70366b5b5633b40f
1b2d794ca3ba60c2dbc958a271662784a7122739
reflect: improve panic when MapIter has no associated map Value it := new(reflect.MapIter) it.Next() This generates a nil pointer dereference panic from reflect.Value.pointer. Generate a clearer panic. For #46293 Change-Id: I32a22c797e1ba3a7b4e70b38ceb4dedb44d264fa Reviewed-on: https://go-review.googlesource.com/c/...
[ { "path": "src/reflect/value.go", "patch": "@@ -1686,6 +1686,9 @@ func (it *MapIter) SetValue(dst Value) {\n // entry. It returns false when the iterator is exhausted; subsequent\n // calls to Key, Value, or Next will panic.\n func (it *MapIter) Next() bool {\n+\tif !it.m.IsValid() {\n+\t\tpanic(\"MapIter.N...
2021-05-21T16:35:46
vercel/next.js
e91de8e0ddfd5b4a996c0e5df6549fe3981e1f6d
9df7df137f86ec595bae60550030a69a5f27bb90
Docs: `next/font` updates (#46159) Update `next/font` docs pages for version 13.2, rename `@next/font` to `next/font` and remove installation instructions. ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] R...
[ { "path": "docs/api-reference/next/font.md", "patch": "@@ -1,19 +1,20 @@\n ---\n-description: Optimizing loading web fonts with the built-in `@next/font` loaders.\n+description: Optimizing loading web fonts with the built-in `next/font` loaders.\n ---\n \n-# @next/font\n+# next/font\n \n <details>\n <summ...
2023-02-24T05:20:26
electron/electron
33a926c5d30810b0494f1f88b00368b27d3ff4b0
c372dcb46264971f254095fc8295f7918ba91c78
Fix typo
[ { "path": "docs/api/remote.md", "patch": "@@ -3,7 +3,7 @@\n The `remote` module provides a simple way to do inter-process communication\n between the renderer process and the main process.\n \n-In Electron, only GUI-related modules are available in the renderer process.\n+In Electron, only GUI-unrelated mod...
2015-05-22T02:32:59
nodejs/node
4a7b401e5f78f49ce8378031fd456f27a0baa7b4
12554e01f5ec3e19c96c0cd7f01296058edb58cf
doc: fix comma splices in process.md PR-URL: https://github.com/nodejs/node/pull/24357 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/api/process.md", "patch": "@@ -429,7 +429,7 @@ process.on('SIGTERM', handle);\n removed (Node.js will no longer exit).\n * `'SIGPIPE'` is ignored by default. It can have a listener installed.\n * `'SIGHUP'` is generated on Windows when the console window is closed, and on\n- other platform...
2018-11-14T04:41:51
huggingface/transformers
a419a40234d2061c2e3480d1c5d699b575129a74
9323d0873c01e7579c5d2a7907be430e7cf9edaf
Fix Docstring of BarkProcessor (#39546) * Fix Docstring of BarkProcessor * Fix typo * Add type hint of return value for BarkProcessor.__call__
[ { "path": "src/transformers/models/bark/processing_bark.py", "patch": "@@ -24,6 +24,7 @@\n \n from ...feature_extraction_utils import BatchFeature\n from ...processing_utils import ProcessorMixin\n+from ...tokenization_utils_base import BatchEncoding\n from ...utils import logging\n from ...utils.hub import...
2025-07-21T12:56:44
golang/go
9133245be7365c23fcd60e3bb60ebb614970cdab
28dae3defb06fb18aaadce5269e928e8ca3769e1
cmd/compile/internal/types2: detect constraint type inference cycles See the detailed explanations in the code. Fixes #48136. Change-Id: I1667aabfbbff97967913b080c77e7ec04ea82feb Reviewed-on: https://go-review.googlesource.com/c/go/+/347300 Trust: Robert Griesemer <gri@golang.org> Trust: Cuong Manh Le <cuong.manhle....
[ { "path": "src/cmd/compile/internal/types2/infer.go", "patch": "@@ -9,6 +9,7 @@ package types2\n import (\n \t\"bytes\"\n \t\"cmd/compile/internal/syntax\"\n+\t\"fmt\"\n )\n \n const useConstraintTypeInference = true\n@@ -409,6 +410,34 @@ func (check *Checker) inferB(tparams []*TypeParam, targs []Type, repo...
2021-09-02T23:43:29
vercel/next.js
9df7df137f86ec595bae60550030a69a5f27bb90
8d83d85e5359146bbbd0f96ea2f8490e7d6bc9cd
fix(ts): correctly augment `next` when `typedRoutes: true` (#46332)
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -123,12 +123,11 @@ const edgeRouteTypes: string[] = []\n \n export const pageFiles = new Set<string>()\n \n-function createRouteDefinitions() {\n+function createRouteDefinitions(originalNextModule: string) {\n const fal...
2023-02-24T02:58:43
huggingface/transformers
9323d0873c01e7579c5d2a7907be430e7cf9edaf
6b3a1f2f5100a84e40138382a6955627b3b865ba
use the enable_gqa param in torch.nn.functional.scaled_dot_product_at… (#39412) * use the enable_gqa param in torch.nn.functional.scaled_dot_product_attention Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * ci failure fix Signed-off-by: Wang, Yi A <yi.a.wang@intel.com> * add check Signed-off-by: Wang, Yi A <yi....
[ { "path": "src/transformers/integrations/sdpa_attention.py", "patch": "@@ -3,11 +3,15 @@\n import torch\n \n from ..utils import logging\n+from ..utils.import_utils import is_torch_greater_or_equal\n \n \n logger = logging.get_logger(__name__)\n \n \n+_is_torch_greater_or_equal_than_2_5 = is_torch_greater_o...
2025-07-21T12:46:43