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
vercel/next.js
f44e214ff10f865ff888656f6ba3095f2194004f
b55633fe1c78e58bdf40a461015167406827140a
provide Buffer polyfill to client and edge (#47610) ### What? see also https://github.com/vercel/turbo/pull/4368 Polyfill Buffer ### Why? Legacy reasons fixes WEB-642
[ { "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-230328.1#0f3d9675322b680faee0fec8976bf11ed36de2f9\"\n+source = \"git+https://github.com/v...
2023-03-29T21:33:30
huggingface/transformers
25b4a0d8aef515ed309c935607473da319d9291c
30a4b8707d93dbec4629d351e8a9c2a66be7ad9f
Add sequence classification support for small Gemma 3 text models (#40562) * add seq class for gemma3 text model * add Gemma3TextForSequenceClassification to modeling file * After run make fixup * let's just check * thiis is why it was crashing, tests were just failing... * skip it, tested only for seq clf -----...
[ { "path": "docs/source/en/model_doc/gemma3.md", "patch": "@@ -273,3 +273,8 @@ visualizer(\"<img>What is shown in this image?\")\n \n [[autodoc]] Gemma3ForSequenceClassification\n - forward\n+\n+## Gemma3TextForSequenceClassification\n+\n+[[autodoc]] Gemma3TextForSequenceClassification\n+ - forward", ...
2025-09-04T09:44:59
nodejs/node
80f92cf9af77916113bafae457231615101dbd2b
ddd6c210461ab4f48aadf77a9e3a67a5111040f3
src: refactor SSLError case statement - Don't use both break and return simultaneously. - Use case:/UNREACHABLE() to enforce that all cases are handled, instead of CHECK(). PR-URL: https://github.com/nodejs/node/pull/25861 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Anna Henningsen <anna@addal...
[ { "path": "src/tls_wrap.cc", "patch": "@@ -349,14 +349,14 @@ Local<Value> TLSWrap::GetSSLError(int status, int* err, std::string* msg) {\n case SSL_ERROR_WANT_READ:\n case SSL_ERROR_WANT_WRITE:\n case SSL_ERROR_WANT_X509_LOOKUP:\n- break;\n+ return Local<Value>();\n+\n case SSL_ERR...
2019-01-31T22:12:42
vercel/next.js
b55633fe1c78e58bdf40a461015167406827140a
aca83d2a09897cb13f81ee9815023d3313842395
fix: handle `output: export` with `use client` (#47635) This PR removes usage of `appPaths` in favor of `hasAppDir` to avoid the issue where export does not read app manifest. Fixes the error: ``` TypeError: Cannot read properties of undefined (reading 'cssModules') ``` fix NEXT-885 ([link](https://linear....
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -259,6 +259,7 @@ export default async function build(\n appDirOnly = false,\n turboNextBuild = false\n ): Promise<void> {\n+ let hasAppDir = false\n try {\n const nextBuildSpan = trace('next-build', undefined, {\n version: process.e...
2023-03-29T20:55:32
huggingface/transformers
30a4b8707d93dbec4629d351e8a9c2a66be7ad9f
7f92e1f91aa40002e5efdb7f616048ebe581e730
CircleCI docker images cleanup / update / fix (#40681) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -262,7 +262,6 @@ def job_name(self):\n docker_image=[{\"image\": \"huggingface/transformers-custom-tokenizers\"}],\n )\n \n-\n examples_torch_job = CircleCIJob(\n \"examples_torch\",\n additional_env={\"OMP_NUM_THREADS\": 8},\n@@ -286...
2025-09-04T08:42:18
golang/go
1e2820a6d72b606eb4070eda6cc626bde122f9c8
23fdd7f0f75bca03a092faeeef60d8b0b804bf8d
cmd/internal/obj/ppc64: fix usage of CR bit arguments CR bits and CR fields should be treated separately. Some instructions modify an entire CR, a CR field, or a single CR bit. Add a new argument class for CR bits, and teach the assembler the recognize them as names like CR0LT or CR2SO, and update the CR bit logic in...
[ { "path": "src/cmd/asm/internal/arch/arch.go", "patch": "@@ -378,6 +378,9 @@ func archPPC64(linkArch *obj.LinkArch) *Arch {\n \tfor i := ppc64.REG_MSR; i <= ppc64.REG_CR; i++ {\n \t\tregister[obj.Rconv(i)] = int16(i)\n \t}\n+\tfor i := ppc64.REG_CR0LT; i <= ppc64.REG_CR7SO; i++ {\n+\t\tregister[obj.Rconv(i)...
2021-08-10T14:50:56
nodejs/node
46d9573c682bbd8abe759cc2b76e2cf996cb7bcc
2ed556c11f1092e1207d3bba2dc01b29a61017a6
src: add PrintLibuvHandleInformation debug helper This function is not only helpful for debugging crashes, but can also be used as an ad-hoc debugging statement. PR-URL: https://github.com/nodejs/node/pull/25905 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: ...
[ { "path": "src/debug_utils.cc", "patch": "@@ -282,20 +282,36 @@ void DumpBacktrace(FILE* fp) {\n void CheckedUvLoopClose(uv_loop_t* loop) {\n if (uv_loop_close(loop) == 0) return;\n \n- auto sym_ctx = NativeSymbolDebuggingContext::New();\n+ PrintLibuvHandleInformation(loop, stderr);\n+\n+ fflush(stderr...
2019-02-03T14:01:36
huggingface/transformers
7f92e1f91aa40002e5efdb7f616048ebe581e730
ca9b36a9c124f681234c1b3da0884367a2fc9032
Mark `Aimv2ModelTest::test_eager_matches_sdpa_inference_04_fp16_pad_right_sdpa_kernels` as flaky (#40683) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/aimv2/test_modeling_aimv2.py", "patch": "@@ -24,6 +24,7 @@\n \n from transformers import Aimv2Config, Aimv2TextConfig, Aimv2VisionConfig\n from transformers.testing_utils import (\n+ is_flaky,\n require_torch,\n require_vision,\n slow,\n@@ -469,6 +470,10 @@ def test_lo...
2025-09-04T08:30:14
electron/electron
d0ee30101dbbf6f192966ce163e9fc2c05385e62
dd3813170466b77a5168ba82b804eeaf6db60c1a
Fix cpplint warnings.
[ { "path": "atom/browser/api/atom_api_download_item.cc", "patch": "@@ -41,11 +41,11 @@ void DownloadItem::OnDownloadDestroyed(content::DownloadItem* download) {\n \n bool DownloadItem::IsDestroyed() const {\n return download_item_ == nullptr;\n-};\n+}\n \n void DownloadItem::Destroy() {\n download_item_ ...
2015-09-20T11:28:33
vercel/next.js
aca83d2a09897cb13f81ee9815023d3313842395
13f21520c23507d5cc11e801d07187601f0a531b
Move App Route handler logic into bundle (#47633) Previously the app route handler was included in the server bundle, and called into user code to execute the underlying handler logic. This PR serves to move the handler code into the bundle so that the Node.js environment more closely matches the Edge environment. Th...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app/route-bootstrap.ts", "patch": "@@ -1,40 +1,49 @@\n+// PAGE is set from rust code\n declare const PAGE: string;\n+// PATHNAME is set from rust code\n+declare const PATHNAME: string;\n \n+import { HandlerProvider } from \"next/dist/build/webpack/l...
2023-03-29T19:31:30
golang/go
49fda9e4f5cd3a05fd5fa0b3a2047a9d24873bd6
41f74079a982dae05da1860a5f195ac08d067bdd
cmd/go: add -asan option The -asan option compiles Go code to use the address sanitizer. This is intended for use when linking with C/C++ code compiled with -fsanitize=address. When memory blocks are passed back and forth between C/C++ and Go, code in both languages will agree as to whether the memory is validly allo...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -121,6 +121,9 @@\n // \t\tSupported only on linux/amd64, linux/arm64\n // \t\tand only with Clang/LLVM as the host C compiler.\n // \t\tOn linux/arm64, pie build mode will be used.\n+// \t-asan\n+// \t\tenable interoperation with address sanitizer.\n+// \t\tSu...
2021-01-06T08:57:44
huggingface/transformers
ca9b36a9c124f681234c1b3da0884367a2fc9032
d40e7ea52d44044162add6210a0620063c3d4d15
Avoid night torch CI not run because of irrelevant docker image failing to build (#40677) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/build-nightly-ci-docker-images.yml", "patch": "@@ -2,6 +2,10 @@ name: Build docker images (Nightly CI)\n \n on:\n workflow_call:\n+ inputs:\n+ job:\n+ required: true\n+ type: string\n push:\n branches:\n - build_nightly_ci_docker_image*\n@@ -1...
2025-09-04T07:06:37
nodejs/node
63ab54248b7dbd315d3e196b456073efd248fc89
9bbe29dcce8ee7830e5589a407e56e9cfcfc2129
worker,etw: only enable ETW on the main thread The Windows ETW code is not written to be compatible with multi threading, and in particular it relies on global state like a single static `uv_async_t`. Adding that to multiple threads would corrupt the corresponding loops' handle queues. This addresses the flakiness of...
[ { "path": "src/node_dtrace.cc", "patch": "@@ -288,7 +288,11 @@ void InitDTrace(Environment* env, Local<Object> target) {\n }\n \n #ifdef HAVE_ETW\n- init_etw();\n+ // ETW is neither thread-safe nor does it clean up resources on exit,\n+ // so we can use it only on the main thread.\n+ if (env->is_main_...
2019-02-03T14:14:19
vercel/next.js
13f21520c23507d5cc11e801d07187601f0a531b
facea99f0e11b3164ecdfa6e9fb0daa967de468d
show most recent error first in turbopack error overlay (#47414) Also refactors the `Errors` state into a reducer, which makes things a bit easier to reason about (in my opinion) I tried adding an ID to the issue, so we don't have to stringify the whole issue, but unfortunately that duplicates (parsing issues) the ...
[ { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/container/Errors.tsx", "patch": "@@ -130,47 +130,6 @@ function useResolvedErrors(\n return [readyErrors, isLoading]\n }\n \n-const enum DisplayState {\n- Fullscreen,\n- Minimized,\n- Hidden,\n-}\n-\n-type DisplayStateAction = (e?: Mo...
2023-03-29T16:05:31
electron/electron
76b7cd0908d23a6a95b4d18d7782c9f46c0c0fec
7bb9595b81953da359aa6502a21b7fd72c07f92a
Fix small typo in debug message.
[ { "path": "atom/browser/web_contents_preferences.cc", "patch": "@@ -94,7 +94,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(\n if (base::FilePath(preload).IsAbsolute())\n command_line->AppendSwitchNative(switches::kPreloadScript, preload);\n else\n- LOG(ERROR) << \"prelo...
2015-09-19T21:11:29
golang/go
41f74079a982dae05da1860a5f195ac08d067bdd
0ec1b62ee28c633265036664c21a5cb22086f231
cmd/internal/obj/arm64: add a restriction on move constant instructions For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero shifts, and the CL 275812 added the error check. This CL adds this restriction to the document. Change-Id: I8818d76ca2f11dade2307f3678ca521f4e64d164 Reviewed-on: https://go-revie...
[ { "path": "src/cmd/internal/obj/arm64/doc.go", "patch": "@@ -96,6 +96,19 @@ And for a 128-bit interger, it take two 64-bit operands, for the high and low pa\n VMOVD $0x1122334455667788, V1\n VMOVQ $0x1122334455667788, $8877665544332211, V2 // V2=0x11223344556677888877665544332211\n \n+8. Move an o...
2021-03-17T06:52:27
huggingface/transformers
d40e7ea52d44044162add6210a0620063c3d4d15
34595cf296b1eafce294fd9aa5f43cb53d014930
Skip more fast v.s slow image processor tests (#40675) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/layoutlmv2/test_image_processing_layoutlmv2.py", "patch": "@@ -105,6 +105,10 @@ def setUp(self):\n def image_processor_dict(self):\n return self.image_processor_tester.prepare_image_processor_dict()\n \n+ @unittest.skip(reason=\"FIXME: @yoni.\")\n+ def test_fast_is_...
2025-09-04T04:35:44
nodejs/node
9bbe29dcce8ee7830e5589a407e56e9cfcfc2129
50f9062396f2b30e33f75aeafa72ef2740ad6f16
report: use libuv calls for OS and machine info PR-URL: https://github.com/nodejs/node/pull/25900 Fixes: https://github.com/nodejs/node/issues/25843 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "doc/api/report.md", "patch": "@@ -57,8 +57,11 @@ is provided below for reference.\n \"release\": {\n \"name\": \"node\"\n },\n- \"osVersion\": \"Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018\",\n- \"machine\": \"test_machine x86_64\"\n+ \"osName\": \"Linux...
2019-02-02T19:36:16
electron/electron
c626ee6e92353c7c754ecce0d7e3b7c597de3908
7bb9595b81953da359aa6502a21b7fd72c07f92a
Fix a typo
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -329,7 +329,7 @@ exports.wrapFsWithAsar = (fs) ->\n \n buffer = new Buffer(info.size)\n fd = archive.getFd()\n- retrun undefined unless fd >= 0\n+ return undefined unless fd >= 0\n \n fs.readSync fd, buffer, 0, info.size, info.offset\n ...
2015-09-19T18:17:23
vercel/next.js
46151dd68b417e7850146d00354f89930d10b43b
9d9bd8be15466cffe647f8f2d98c5d368ceaa6cc
fix typescript errors in `next-core` (#47607) Fixes WEB-809
[ { "path": "packages/next-swc/crates/next-core/js/package.json", "patch": "@@ -5,8 +5,10 @@\n \"license\": \"UNLICENSED\",\n \"private\": true,\n \"scripts\": {\n+ \"build\": \"pnpm build:compiled && pnpm check\",\n+ \"build:compiled\": \"node build.mjs\",\n \"check\": \"tsc --noEmit\",\n- ...
2023-03-29T02:53:32
golang/go
0ec1b62ee28c633265036664c21a5cb22086f231
b36b001ff13768fd1f9664b34c6d2b7948f66d4d
doc/go1.18.html: fix a typo gofmt -> <code>gofmt</code> Change-Id: Idc01b01d8eb185f5e378000d11d622935b14db6e GitHub-Last-Rev: 8d55dc7b86ce0f7dfbdbd57c349b4c472eccf907 GitHub-Pull-Request: golang/go#49084 Reviewed-on: https://go-review.googlesource.com/c/go/+/357251 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-...
[ { "path": "doc/go1.18.html", "patch": "@@ -98,7 +98,7 @@ <h3 id=\"gofmt\"><code>gofmt</code></h3>\n <p><!-- https://golang.org/issue/43566 -->\n <code>gofmt</code> now reads and formats input files concurrently, with a\n memory limit proportional to <code>GOMAXPROCS</code>. On a machine with\n- multipl...
2021-10-20T11:13:29
nodejs/node
50f9062396f2b30e33f75aeafa72ef2740ad6f16
ebda39a2a9e2b3136154e00a7a40e48b1d130850
crypto: don't crash X509ToObject on error Use MaybeLocal::ToLocal and don't crash X509ToObject on error. PR-URL: https://github.com/nodejs/node/pull/25717 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/node_crypto.cc", "patch": "@@ -1640,24 +1640,27 @@ static void AddFingerprintDigest(const unsigned char* md,\n }\n }\n \n+\n static MaybeLocal<Object> ECPointToBuffer(Environment* env,\n const EC_GROUP* group,\n ...
2019-01-29T05:51:09
huggingface/transformers
34595cf296b1eafce294fd9aa5f43cb53d014930
f22ec7f174d45849480d5600350b92fc9c12dcbf
Even more test data cached (#40636) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/aria/test_processing_aria.py", "patch": "@@ -15,23 +15,17 @@\n import shutil\n import tempfile\n import unittest\n-from io import BytesIO\n \n import numpy as np\n-import requests\n \n from transformers import AriaProcessor\n+from transformers.image_utils import load_image\n from tra...
2025-09-03T21:20:37
golang/go
e9eb66da307ec2da922a05b890b13363ea4e830e
fd2f4b58b34effdbdacba41e0c36fa701c6dfa27
cmd/internal/obj/riscv: don't split ADD to SP to two adds When adding a large constant to a register we generate two adds, we may generate two ADD instructions if the constant does not fit in one ADD but does fit in two. This is generally fine except that if the target register is SP (such as in function prologues or ...
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -1610,7 +1610,8 @@ func instructionsForOpImmediate(p *obj.Prog, as obj.As, rs int16) []*instruction\n \t}\n \n \t// Split into two additions, if possible.\n-\tif ins.as == AADDI && ins.imm >= -(1<<12) && ins.imm < 1<<12-1 {\n+\t// Do not split SP-w...
2021-10-25T16:18:40
huggingface/transformers
f22ec7f174d45849480d5600350b92fc9c12dcbf
459c1fa47a965c545d0ae3a82ce129ab6a6420e6
Benchmarking V2: framework impl (#40486) * Start revamping benchmarking * Start refactoring benchmarking * Use Pandas for CSV * import fix * Remove benchmark files * Remove sample data * Address review comments * Benchmarking v2 * Fix llama bench parameters * Working checkpoint * Readme touchups * Remove un...
[ { "path": "benchmark_v2/.gitignore", "patch": "@@ -0,0 +1 @@\n+benchmark_results/\n\\ No newline at end of file", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "benchmark_v2/README.md", "patch": "@@ -0,0 +1,98 @@\n+# Benchmarking v2\n+\n+A comprehensive benchmark...
2025-09-03T20:26:32
nodejs/node
ebda39a2a9e2b3136154e00a7a40e48b1d130850
793c63073a187e1271797f4481d826e26ed63619
crypto: fix malloc mixing in X509ToObject EC_KEY_key2buf returns an OPENSSL_malloc'd pointer so it shouldn't be passed into Buffer::New, which expect a libc malloc'd pointer. Instead, factor out the ECDH::GetPublicKey code which uses EC_POINT_point2oct. This preserves the existing behavior where encoding failures are...
[ { "path": "src/node_crypto.cc", "patch": "@@ -1640,6 +1640,24 @@ static void AddFingerprintDigest(const unsigned char* md,\n }\n }\n \n+static MaybeLocal<Object> ECPointToBuffer(Environment* env,\n+ const EC_GROUP* group,\n+ ...
2019-01-25T23:27:00
vercel/next.js
9d9bd8be15466cffe647f8f2d98c5d368ceaa6cc
f6e6c2f01a28c5ea3e544bb4abf106a839a1faf4
Fix typo (#47634)
[ { "path": "docs/advanced-features/compiler.md", "patch": "@@ -118,7 +118,7 @@ module.exports = {\n src: './',\n artifactDirectory: './__generated__',\n language: 'typescript',\n- eagerEsModules: false;\n+ eagerEsModules: false,\n },\n },\n }", "additions": 1, "delet...
2023-03-28T23:08:40
golang/go
fd2f4b58b34effdbdacba41e0c36fa701c6dfa27
85b3b4ee036e7460bf7621f64c6781e5dd0eed98
cmd/compile: update the export version for generics Bump the export version to a new value iexportVersionGo1_18 (2). This will give a better error message when old compilers/tools encounter the new export format (that includes parameterized types and functions). We are also making a breaking change in the format: -...
[ { "path": "src/cmd/compile/internal/importer/iimport.go", "patch": "@@ -43,12 +43,12 @@ func (r *intReader) uint64() uint64 {\n \n // Keep this in sync with constants in iexport.go.\n const (\n-\tiexportVersionGo1_11 = 0\n-\tiexportVersionPosCol = 1\n-\t// TODO: before release, change this back to 2.\n-\tie...
2021-10-19T20:28:54
huggingface/transformers
afd1393df1f53bdebd6cf2778130c1d30d05d845
68b9cbb7f5a0b846fcbf6487f162f99599b24520
Remove overwritten `GitModelTest::test_beam_search_generate` (#40666) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/git/test_modeling_git.py", "patch": "@@ -331,24 +331,6 @@ def create_and_check_for_causal_lm(self, config, input_ids, input_mask, pixel_va\n self.parent.assertEqual(result.loss.shape, ())\n self.parent.assertTrue(result.loss.item() > 0)\n \n- def _test_beam_search_...
2025-09-03T16:55:45
vercel/next.js
f6e6c2f01a28c5ea3e544bb4abf106a839a1faf4
54fce53dd98d48216e5a8fff0c98a53cf3ae49dd
Fix robots.txt generation (#47625) ### What? Fix robots.txt generation ### Why? Should support multiple allow/disallow rules, they should be generated in different lines ### How? Closes NEXT-905 Fixes #47224 fix NEXT-905 ([link](https://linear.app/vercel/issue/NEXT-905))
[ { "path": "packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts", "patch": "@@ -38,7 +38,7 @@ describe('resolveRouteData', () => {\n },\n {\n userAgent: 'Googlebot',\n- allow: '/bot',\n+ allow: ['/bot', '/bot2'],\n },\n ...
2023-03-28T21:22:37
nodejs/node
5506dcdd73a69b353c12c7137d6cba49a4c07123
dfe5f8f288329ed1e92e46cc2507c16db8ae249e
src: fix race condition in `~NodeTraceBuffer` Libuv does not guarantee that handles have their close callbacks called in the order in which they were added (and in fact, currently calls them in reverse order). This patch ensures that the `flush_signal_` handle is no longer in use (i.e. its close callback has already ...
[ { "path": "src/tracing/node_trace_buffer.cc", "patch": "@@ -1,4 +1,5 @@\n #include \"tracing/node_trace_buffer.h\"\n+#include \"util-inl.h\"\n \n namespace node {\n namespace tracing {\n@@ -170,15 +171,25 @@ void NodeTraceBuffer::NonBlockingFlushSignalCb(uv_async_t* signal) {\n \n // static\n void NodeTrace...
2019-02-02T14:15:35
electron/electron
7b2980434c7970695165deaf47ecaea5ae0f1740
ff0e15bf58c5f090653b88e3be5216cc740622e4
Fix wrong return values in a few converters
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -847,7 +847,7 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,\n }\n \n isolate->ThrowException(v8::Exception::Error(mate::StringToV8(\n- isolate, \"Invalid event type\")));\n+ isolate, \"Invalid event object\")));\n ...
2015-09-18T10:21:51
rust-lang/rust
f6270d2d928da4fef180ed33850620538b6205ac
f56cf01ca7259640db63618f4b4f104189b288c1
Fix typo
[ { "path": "src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md", "patch": "@@ -151,7 +151,7 @@ Here are some details that are relevant to this test suite specifically:\n * While you can use both `//@ compile-flags` and `//@ doc-flags` to pass flags to `rustdoc`,\n prefer to user the latter...
2025-06-07T16:58:41
huggingface/transformers
55676d7d4cf692f08cbba59946b45fd6f5593078
b67608f5872b5f9989855199a499462d8cc7da63
Fix warning for output_attentions=True (#40597) * Fix attn_implementation for output_attentions * remove setting attention, just raise warning * improve message * Update src/transformers/utils/generic.py
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -1010,6 +1010,21 @@ def wrapper(self, *args, **kwargs):\n collected_outputs = defaultdict(tuple)\n monkey_patched_layers = []\n \n+ # Check attention implementation is properly set for capturing attention outputs\n+ if...
2025-09-03T16:25:13
golang/go
60c3069dd82eee30c00f2a8d829ba74b11bcf07e
e35b5b25d976efb7c00b871cac452b84193e6179
internal/poll: avoid tiny allocator for splicePipe We want to set a finalizer on splicePipe, so make it large enough to not use the tiny allocator. Otherwise the finalizer will not run until the rest of the tiny allocation can be freed. This only matters on 32-bit systems. Fixes #48968 Change-Id: I8eb3c9f48fdccab7dc...
[ { "path": "src/internal/poll/splice_linux.go", "patch": "@@ -158,6 +158,10 @@ type splicePipe struct {\n \trfd int\n \twfd int\n \tdata int\n+\n+\t// We want to use a finalizer, so ensure that the size is\n+\t// large enough to not use the tiny allocator.\n+\t_ [24 - 3*unsafe.Sizeof(int(0))]byte\n }\n \n ...
2021-10-22T21:19:34
rust-lang/rust
9e9c9170a50ba34a3cb66540a2079884b92ed480
f2922e7a275d4e6763a32dfd53695aa6a315051b
fix: `iter_on_single_items` FP on function pointers
[ { "path": "clippy_lints/src/methods/iter_on_single_or_empty_collections.rs", "patch": "@@ -2,11 +2,11 @@ use std::iter::once;\n \n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::source::snippet;\n+use clippy_utils::ty::{ExprFnSig, expr_sig, ty_sig};\n use clippy_utils::{get_expr_use_...
2025-06-07T16:49:00
electron/electron
9e7de78231e753ceda212c24224dda1ca4d7b689
c550546ff12038ceee01ee5d79e83d1210295030
Fix cpplint warnings
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -8,7 +8,6 @@\n #include \"atom/browser/api/atom_api_web_contents.h\"\n #include \"atom/browser/browser.h\"\n #include \"atom/browser/native_window.h\"\n-#include \"atom/common/node_includes.h\"\n #include \"atom/common/native_mate_converters/blin...
2015-09-18T06:12:48
nodejs/node
d6a32cfe7ca32b8382d195a1dee460d78f749562
46af4c1d01b90ee6845abf40c813f384286f3ad4
test: add hasCrypto to worker-cleanexit-with-moduleload Currently, this test fails when configured --without-ssl: === release test-worker-cleanexit-with-moduleload === Path: parallel/test-worker-cleanexit-with-moduleload events.js:173 throw er; // Unhandled 'error' event ^ internal/util.js:101 throw n...
[ { "path": "test/parallel/test-worker-cleanexit-with-moduleload.js", "patch": "@@ -1,5 +1,5 @@\n 'use strict';\n-require('../common');\n+const common = require('../common');\n \n // Harden the thread interactions on the exit path.\n // Ensure workers are able to bail out safe at\n@@ -9,10 +9,15 @@ require('....
2019-01-30T09:19:24
huggingface/transformers
b67608f5872b5f9989855199a499462d8cc7da63
30d66dc3bc4afcb5e43060df561d25a05ade5c34
Skip `test_fast_is_faster_than_slow` for `Owlv2ImageProcessingTest` (#40663) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/owlv2/test_image_processing_owlv2.py", "patch": "@@ -99,6 +99,10 @@ def setUp(self):\n def image_processor_dict(self):\n return self.image_processor_tester.prepare_image_processor_dict()\n \n+ @unittest.skip(reason=\"FIXME: @yoni. It always fails: `0.12 not less than o...
2025-09-03T15:49:10
golang/go
e35b5b25d976efb7c00b871cac452b84193e6179
f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773
cmd/compile: fix typo in comment in CL 358435 Change-Id: I0d8128668fc7a80b29aabc58dbc9a2929b889ec9 Reviewed-on: https://go-review.googlesource.com/c/go/+/358614 Trust: Cherry Mui <cherryyz@google.com> Trust: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -560,7 +560,7 @@ func isLeaf(f *Func) bool {\n \tfor _, b := range f.Blocks {\n \t\tfor _, v := range b.Values {\n \t\t\tif v.Op.IsCall() && !v.Op.IsTailCall() {\n-\t\t\t\t// tail call is not counted as it does not save retur PC or need a fr...
2021-10-25T20:48:07
rust-lang/rust
9b1cd722ca7490ae28db77b44eefb4700ef6bb19
b283394db14a47d44a4b5ace33705cfa3873b0b5
Fix usage of `bootstrap` in core
[ { "path": "library/core/src/iter/sources/generator.rs", "patch": "@@ -9,8 +9,6 @@\n ///\n /// ```\n /// #![feature(iter_macro, coroutines)]\n-/// # #[cfg(not(bootstrap))]\n-/// # {\n ///\n /// let it = std::iter::iter!{|| {\n /// yield 1;\n@@ -19,11 +17,10 @@\n /// } }();\n /// let v: Vec<_> = it.collec...
2025-06-07T12:45:25
electron/electron
ec90d03d74102133d62a1e24155580338bdb36dd
ee0d48dc5a3beb21bddfc830b78f700f0a63595a
Fix compilation error
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -9,7 +9,6 @@\n #include \"atom/browser/browser.h\"\n #include \"atom/browser/native_window.h\"\n #include \"atom/common/node_includes.h\"\n-#include \"atom/common/options_switches.h\"\n #include \"atom/common/event_types.h\"\n #include \"atom/com...
2015-09-18T04:10:00
nodejs/node
f72254037e27493274d0852035436f553f9bbebd
30545a5b21fecee1ff6c646ea49b3719644b200a
src: handle errors while printing error objects Handle situations where accessing `.name` or `.stack` on an object fails. Fixes: https://github.com/nodejs/node/issues/25718 PR-URL: https://github.com/nodejs/node/pull/25834 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource...
[ { "path": "src/node_errors.cc", "patch": "@@ -9,6 +9,7 @@\n \n namespace node {\n \n+using errors::TryCatchScope;\n using v8::Context;\n using v8::Exception;\n using v8::Function;\n@@ -201,8 +202,10 @@ void ReportException(Environment* env,\n } else {\n Local<Object> err_obj = er->ToObject(env->contex...
2019-01-30T22:26:04
huggingface/transformers
30d66dc3bc4afcb5e43060df561d25a05ade5c34
3f40ebf6209c724acea11a43625c7fe10cd0cba7
Update `check_determinism` inside `test_determinism` (#40661) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -1001,6 +1001,11 @@ def test_determinism(self):\n config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()\n \n def check_determinism(first, second):\n+ # Simply don't compare if both tensors only contai...
2025-09-03T15:30:39
golang/go
f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773
72b6a89ca5cd3c3bfd13b9b17be976e8feb91ecc
cmd/link: escape % characters in symbols when reporting errors Generic function symbols sometimes have % in them, like: main.B2[%2eshape.string_0].m2·f Which confuses this code because it doesn't esacpe % when using this string as a format string, instead of a format argument. Or could we get rid of the . -> %2...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -2592,7 +2592,9 @@ type ErrorReporter struct {\n //\n func (reporter *ErrorReporter) Errorf(s Sym, format string, args ...interface{}) {\n \tif s != 0 && reporter.ldr.SymName(s) != \"\" {\n-\t\tformat = reporter.ldr.SymName(s) + \": \" + forma...
2021-10-22T01:28:50
electron/electron
5aa7cf7a3021c19dc30af3505b1f975a89934978
7dc7ee1c4195351eee08d0fe5cef172c3c201a0f
Fix cpplint warning
[ { "path": "atom/common/native_mate_converters/blink_converter.cc", "patch": "@@ -4,6 +4,8 @@\n \n #include \"atom/common/native_mate_converters/blink_converter.h\"\n \n+#include <string>\n+\n #include \"base/strings/string_util.h\"\n #include \"native_mate/dictionary.h\"\n #include \"third_party/WebKit/publ...
2015-09-18T03:10:32
nodejs/node
d0bce9a82d820df9b297de58881fb00a57f6775c
34189563496a7d418382ac402241d4970b32b78b
doc: document os.userInfo() throwing SystemError `os.userInfo()` throws an exception which was not documented in environments like: `docker run --user $(id -u): $(id -g)`. PR-URL: https://github.com/nodejs/node/pull/25724 Fixes: https://github.com/nodejs/node/issues/25714 Reviewed-By: James M Snell <jasnell@gmail.com...
[ { "path": "doc/api/os.md", "patch": "@@ -451,6 +451,8 @@ system. This differs from the result of `os.homedir()`, which queries several\n environment variables for the home directory before falling back to the\n operating system response.\n \n+Throws a [`SystemError`][] if a user has no `username` or `homedi...
2019-01-26T09:31:40
huggingface/transformers
3f40ebf6209c724acea11a43625c7fe10cd0cba7
a8f400367d52c91dc6c66da4a555315643c5e616
Allow custom args in `custom_generate` Callables and unify generation args structure (#40586) * Squashed commit of the following: commit beb2b5f7a04ea9e12876696db66f3589fbae10c5 Author: Manuel de Prada Corral <manueldeprada@gmail.com> Date: Mon Sep 1 16:03:25 2025 +0200 also standardize _get_stopping_criteria ...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -999,11 +999,11 @@ def _get_candidate_generator(\n generation_config: GenerationConfig,\n input_ids: torch.LongTensor,\n inputs_tensor: torch.Tensor,\n- assistant_model: \"PreTrainedModel\",\n logits_proces...
2025-09-03T15:30:09
golang/go
c26a32a5004afd4598f844ab49332c25d7613133
252324e879e32f948d885f787decf8af06f82be9
cmd/compile,cmd/link: introduce generic interface call relocations To capture the fact that a method was called on a generic interface, so we can make sure the linker doesn't throw away any implementations that might be the method called. See the comment in reflect.go for details. Fixes #49049 Change-Id: I0be74b6e7...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -18,6 +18,7 @@ import (\n \t\"cmd/compile/internal/inline\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/objw\"\n+\t\"cmd/compile/internal/staticdata\"\n \t\"cmd/compile/internal/typebits\"\n \t\"cmd/compile/internal/typ...
2021-10-22T01:04:55
vercel/next.js
28d56ec95f3f64ce331675aad18ec624f2f31895
4d0f5a0503d21729d5b0df8b9c575ab964a5de54
Update test create-next-app running (#47611) This re-enables running the CNA tests for all non-docs changes as it's now ensuring we don't regress on turbopack or our default templates. Also fixes the main repo's package.json files from being modified during tests.
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -648,11 +648,8 @@ jobs:\n name: next-swc-test-binary\n path: packages/next-swc/native\n \n- - run: echo \"CNA_CHANGE<<EOF\" >> $GITHUB_OUTPUT; echo \"$(node scripts/run-for-change.js --type cna --always-canary --exec ...
2023-03-28T17:39:00
nodejs/node
4deb23a2f66e576be96c3bb856e5199cb3439865
fba96ca1fd1ca0d3b95ade44ebf83c26a4e39696
tools: improve prerequisites for test-all-suites The prerequisistes for test-all-suites were running some tests themselves. When one of those tests failed during a coverage run, it resulted in artificially low coverage. Fix the prerequisites to only build stuff, not test. PR-URL: https://github.com/nodejs/node/pull/2...
[ { "path": "Makefile", "patch": "@@ -467,7 +467,7 @@ test-all-valgrind: test-build\n \t$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release --valgrind\n \n .PHONY: test-all-suites\n-test-all-suites: test-build test-js-native-api test-node-api | bench-addons-build ## Run all test suites.\n+test-all-s...
2019-02-02T14:07:00
huggingface/transformers
57f5668d0bf88c7a624e64e3223eb4095c586b91
238a8274b49a44b82ce9c45858574fd112f16954
Fix Metaclip modular conversion (#40660) * Fix Metaclip modular conversion * manually run check_copies
[ { "path": "src/transformers/models/metaclip_2/modeling_metaclip_2.py", "patch": "@@ -715,16 +715,14 @@ def forward(\n Examples:\n \n ```python\n- >>> import torch\n >>> from transformers import AutoTokenizer, MetaClip2TextModelWithProjection\n \n >>> model = MetaClip2T...
2025-09-03T15:13:50
rust-lang/rust
c1d32d85339a5c06f95da49c1731ac9a3d9c2ea3
343db27aa6256ebbde88b1147eb42d41d4e77e64
fix wording in assert
[ { "path": "library/alloc/src/vec/mod.rs", "patch": "@@ -3028,7 +3028,7 @@ impl<T, A: Allocator> Vec<T, A> {\n #[unstable(feature = \"vec_into_chunks\", issue = \"142137\")]\n pub fn into_chunks<const N: usize>(mut self) -> Vec<[T; N], A> {\n const {\n- assert!(N != 0, \"chunk size...
2025-06-07T13:18:44
golang/go
252324e879e32f948d885f787decf8af06f82be9
8c94aa40e6f5e61e8a570e9d20b7d0d4ad8c382d
cmd/link: increase reserved space for passing env on wasm On wasm, the wasm_exec.js helper passes the command line arguments and environment variables via a reserved space in the wasm linear memory. Increase this reserved space from 4096 to 8192 bytes so more environment variables can fit into the limit. Later, after...
[ { "path": "misc/wasm/wasm_exec.js", "patch": "@@ -519,9 +519,9 @@\n \n \t\t\t// The linker guarantees global data starts from at least wasmMinDataAddr.\n \t\t\t// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.\n-\t\t\tconst wasmMinDataAddr = 4096 + 4096;\n+\t\t\tconst wasmMinDataAddr = 4096...
2021-10-24T10:28:18
huggingface/transformers
f2416b4fd2bff6eacb9f655be8f5c56be65ddb84
5ea5c8179b60095e4a211aec4d4e9d73f277c2f3
fix pipeline dtype (#40638) Signed-off-by: jiqing-feng <jiqing.feng@intel.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -995,29 +995,29 @@ def pipeline(\n )\n model_kwargs[\"device_map\"] = device_map\n \n- # BC for the `torch_dtype` argument\n- if (torch_dtype := kwargs.get(\"torch_dtype\")) is not None:\n+ # BC for the `to...
2025-09-03T14:05:48
nodejs/node
fba96ca1fd1ca0d3b95ade44ebf83c26a4e39696
28c0f84a695790109c6f863986feae2726374fa5
doc: fix machine field in example report PR-URL: https://github.com/nodejs/node/pull/25855 Refs: https://github.com/nodejs/node/pull/25755 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <...
[ { "path": "doc/api/report.md", "patch": "@@ -58,7 +58,7 @@ is provided below for reference.\n \"name\": \"node\"\n },\n \"osVersion\": \"Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018\",\n- \"machine\": \"Linux 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018test_m...
2019-01-31T19:05:12
vercel/next.js
4d0f5a0503d21729d5b0df8b9c575ab964a5de54
5dc31354b95dc63b2bbeac39f4b90f53dea87075
Revert "Move App Route handler logic into bundle" (#47614) Reverts vercel/next.js#47582 This breaks turbopack support so we should address that before landing. Potentially we can re-use the same loader for both which would eliminate this issue. x-ref: https://github.com/vercel/next.js/actions/runs/4544370605/...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -9,8 +9,6 @@ import type {\n MiddlewareMatcher,\n } from './analysis/get-page-static-info'\n import type { LoadedEnvFiles } from '@next/env'\n-import type { AppLoaderOptions } from './webpack/loaders/next-app-loader'\n-\n import chalk from 'next...
2023-03-28T17:12:03
rust-lang/rust
9439f33aa6c37fde6b8a465b08451fbbd5caecfd
bb53df1db6eb106a91762decac54141fc8276198
make better use of label for data-race and some other errors
[ { "path": "src/tools/miri/src/diagnostics.rs", "patch": "@@ -85,7 +85,7 @@ impl fmt::Display for TerminationInfo {\n DataRace { involves_non_atomic, ptr, op1, op2, .. } =>\n write!(\n f,\n- \"{} detected between (1) {} on {} and (2) {} on {}...
2025-06-07T10:08:23
huggingface/transformers
5ea5c8179b60095e4a211aec4d4e9d73f277c2f3
fe1a9e0dba913062d6ab8a3ae9fd6095b9718b24
Mark `LongformerModelTest::test_attention_outputs` as flaky (#40655) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/longformer/test_modeling_longformer.py", "patch": "@@ -16,7 +16,14 @@\n import unittest\n \n from transformers import LongformerConfig, is_torch_available\n-from transformers.testing_utils import require_sentencepiece, require_tokenizers, require_torch, slow, torch_device\n+from tran...
2025-09-03T13:19:02
nodejs/node
988482e2341ba31996c4a44432fd9f4f35b89dbb
0f8e8f7c6b9e7a8bdae53c831f37b2034d1c9fa7
test: refactor test-http-agent-timeout-option Fix flakyness caused by usage of a non-routable IP address. Refs: https://github.com/nodejs/node/pull/25488#issuecomment-459385146 PR-URL: https://github.com/nodejs/node/pull/25854 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm....
[ { "path": "test/parallel/test-http-agent-timeout-option.js", "patch": "@@ -1,23 +1,29 @@\n 'use strict';\n \n const { expectsError, mustCall } = require('../common');\n-const { Agent, get } = require('http');\n+const { Agent, get, createServer } = require('http');\n \n // Test that the `'timeout'` event is ...
2019-01-31T18:46:18
golang/go
8c94aa40e6f5e61e8a570e9d20b7d0d4ad8c382d
f47335e653ac37f68ada2b265ce4a2c869a27cae
cmd/go/testdata/script: fix flaky test_fuzz_fuzztime test Previously, the test would panic if the short timeout was reached before fuzzing began. Increasing the timeout should stop this test from being flaky. Fixes #49046 Change-Id: Iaa0b3b3e8ea29d9a42ab5fc1c801fc73fffe1675 Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_fuzztime.txt", "patch": "@@ -1,5 +1,3 @@\n-skip # Flaky: https://golang.org/issue/49046\n-\n # TODO(jayconrod): support shared memory on more platforms.\n [!darwin] [!linux] [!windows] skip\n \n@@ -9,11 +7,11 @@ skip # Flaky: https://golang.org/issue/49046\n...
2021-10-22T15:56:23
vercel/next.js
1f6271ad01eb42cb845a77be39f7072a10527567
380ad223966c8e7a239e8168ea6275e65d9897d4
better `turbopack-node` rendering error page (vercel/turbo#4366) Now looks like this: ![image](https://user-images.githubusercontent.com/8845940/228279000-763d1740-38bc-4034-aa01-3ff87278c7bf.png) fix WEB-808 ([link](https://linear.app/vercel/issue/WEB-808)) ([link](https://linear.app/vercel/issue/WEB-808)) ...
[ { "path": "crates/turbopack-node/src/render/error.html", "patch": "@@ -0,0 +1,118 @@\n+<!DOCTYPE html>\n+<html lang=\"en\">\n+ <head>\n+ <meta charset=\"UTF-8\" />\n+ <title>${TITLE}</title>\n+ </head>\n+ <body>\n+ <div id=\"__next\">\n+ <!-- put it in here, so we can just use the body -->\...
2023-03-28T16:43:44
huggingface/transformers
5e2e496149300977299a16160c8b75f5c2aefb9b
03708ccf6fa047e56ea4ca811e7dcd73127394fa
fix MetaCLIP 2 wrong link & wrong model names in the docstrings (#40565) * fix MetaCLIP 2 wrong link & wrong model names in the documentation and docstrings * ruff reformatted * update files generated by modular * update meta_clip2 to metaclip_2 to match the original * _supports_flash_attn = False --------- Co-a...
[ { "path": "docs/source/en/model_doc/metaclip_2.md", "patch": "@@ -32,7 +32,7 @@ MetaCLIP 2 is a replication of the original CLIP model trained on 300+ languages\n This model was contributed by [nielsr](https://huggingface.co/nielsr).\n The original code can be found [here](https://github.com/facebookresearc...
2025-09-03T12:53:56
electron/electron
a46cb8cebb432d6d80ce24b7dbe1c47ed396bbdd
e30dd943dbf105e25108d96a0322a941c5d1cfeb
Fix the git commit messages hash link
[ { "path": "CONTRIBUTING.md", "patch": "@@ -30,7 +30,7 @@ possible with your report. If you can, please include:\n * Follow the CoffeeScript, JavaScript, C++ and Python [coding style defined in docs](/docs/development/coding-style.md).\n * Write documentation in [Markdown](https://daringfireball.net/projects...
2015-09-17T09:34:15
nodejs/node
fa5e09753055edfe0e9a0f700dfcb4f356ac3c9d
154efc9bdef3ba8df5d3dfe3b32102baf3ac4311
process: move DEP0062 (node --debug) to end-of-life This has already been practically end-of-life since `node --debug` alone would exit the process. This patch drops support of `node --inspect --debug-brk` as well. `node --inspect --debug-brk` has been deprecated since v8, it has been maintained so that vendors can t...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1279,9 +1279,12 @@ changes:\n - version: v8.0.0\n pr-url: https://github.com/nodejs/node/pull/10970\n description: Runtime deprecation.\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/25828\n+ description: End-of-Life...
2019-01-30T19:29:30
golang/go
f47335e653ac37f68ada2b265ce4a2c869a27cae
9012996a9a127fd566c72baac5e7d8ba45b4865e
crypto/tls: add Conn.NetConn method NetConn method gives us access to the underlying net.Conn value. Fixes #29257 Change-Id: I68b2a92ed9dab4be9900807c94184f8c0aeb4f72 Reviewed-on: https://go-review.googlesource.com/c/go/+/325250 Reviewed-by: Filippo Valsorda <filippo@golang.org> Trust: Agniva De Sarker <agniva.quick...
[ { "path": "src/crypto/tls/conn.go", "patch": "@@ -151,6 +151,13 @@ func (c *Conn) SetWriteDeadline(t time.Time) error {\n \treturn c.conn.SetWriteDeadline(t)\n }\n \n+// NetConn returns the underlying connection that is wrapped by c.\n+// Note that writing to or reading from this connection directly will co...
2021-06-05T05:34:37
huggingface/transformers
03708ccf6fa047e56ea4ca811e7dcd73127394fa
c485c52db4142d6cf65e19fabe95ec9cec37e76b
add DeepseekV3ForTokenClassification (#40641) * add DeepseekV3ForTokenClassification * fix typo --------- Co-authored-by: json.bourne <json.bourne@kakaocorp.com>
[ { "path": "docs/source/en/model_doc/deepseek_v3.md", "patch": "@@ -188,3 +188,8 @@ error, it means NCCL was probably not loaded.\n \n [[autodoc]] DeepseekV3ForSequenceClassification\n - forward\n+\n+## DeepseekV3ForTokenClassification\n+\n+[[autodoc]] DeepseekV3ForTokenClassification\n+ - forward\n\\...
2025-09-03T12:30:09
vercel/next.js
5dc31354b95dc63b2bbeac39f4b90f53dea87075
bf52c254973d99fed9d71507a2e818af80b8ade7
Move App Route handler logic into bundle (#47582) Previously the app route handler was included in the server bundle, and called into user code to execute the underlying handler logic. This PR serves to move the handler code into the bundle so that the Node.js environment more closely matches the Edge environment. ...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -9,6 +9,8 @@ import type {\n MiddlewareMatcher,\n } from './analysis/get-page-static-info'\n import type { LoadedEnvFiles } from '@next/env'\n+import type { AppLoaderOptions } from './webpack/loaders/next-app-loader'\n+\n import chalk from 'next...
2023-03-28T14:38:17
electron/electron
01ed2c4222bf77c2592dcd234d8c99a8636497cc
e30dd943dbf105e25108d96a0322a941c5d1cfeb
Fixed the mapNumbers require call Since mapNumber.js is a file, we should prefix it with "./", otherwise an error is thrown.
[ { "path": "docs/api/remote.md", "patch": "@@ -79,7 +79,7 @@ exports.withLocalCallback = function() {\n \n ```javascript\n // renderer process\n-var mapNumbers = require(\"remote\").require(\"mapNumbers\");\n+var mapNumbers = require(\"remote\").require(\"./mapNumbers\");\n \n var withRendererCb = mapNumbers...
2015-09-17T09:24:12
rust-lang/rust
17946c22b1d7abd2dd990bf6998c8491b534fe62
1dc9ae6d104205f194d84643d13fd01904a0010d
const-eval error: always say in which item the error occurred also adjust the wording a little so that we don't say "the error occurred here" for two different spans
[ { "path": "compiler/rustc_const_eval/messages.ftl", "patch": "@@ -88,11 +88,9 @@ const_eval_division_overflow =\n const_eval_dyn_call_not_a_method =\n `dyn` call trying to call something that is not a method\n \n-const_eval_error = {$error_kind ->\n- [static] evaluation of static initializer failed h...
2025-06-07T09:32:09
nodejs/node
154efc9bdef3ba8df5d3dfe3b32102baf3ac4311
c369b3e9297d11f1b761409ce7b429c5de9dcb92
process: exit on --debug and --debug-brk after option parsing Moves the exit of `--debug` and `--debug-brk` earlier, that is, after the option parsing is done in the C++ land. Also removes `process._invalidDebug`. PR-URL: https://github.com/nodejs/node/pull/25828 Refs: https://github.com/nodejs/node/pull/12949 Revie...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -204,13 +204,7 @@ Object.defineProperty(process, 'argv0', {\n process.argv[0] = process.execPath;\n \n // Handle `--debug*` deprecation and invalidation.\n-if (process._invalidDebug) {\n- process.emitWarning(\n- '`node --debug` and `node --debug-b...
2019-01-30T19:14:59
golang/go
9012996a9a127fd566c72baac5e7d8ba45b4865e
95372efc4d300c54738406fb81d84a72bd8149cc
cmd/compile: don't clobber LR for tail calls When doing a tail call the link register is live as the callee will directly return to the caller (of the function that does the tail call). Don't allocate or clobber the link register. Fixes #49032. Change-Id: I2d60f2354e5b6c14aa285c8983a9786687b90223 Reviewed-on: https:...
[ { "path": "src/cmd/compile/internal/ssa/gen/386Ops.go", "patch": "@@ -455,7 +455,7 @@ func init() {\n \t\t},\n \n \t\t{name: \"CALLstatic\", argLength: 1, reg: regInfo{clobbers: callerSave}, aux: \"CallOff\", clobberFlags: true, call: true}, // call static functi...
2021-10-25T15:51:25
huggingface/transformers
c485c52db4142d6cf65e19fabe95ec9cec37e76b
2bbf98a83dc46cb5c24a30e7631238611e38244b
Skip `test_prompt_lookup_decoding_matches_greedy_search` for `voxtral` (#40643) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -779,6 +779,7 @@ def test_prompt_lookup_decoding_matches_greedy_search(self):\n \"blip2\", # overridden `generate()` for all BLIP models\n \"instructblip\",\n \"instructblipvideo\",\n+ ...
2025-09-03T11:45:29
vercel/next.js
bf52c254973d99fed9d71507a2e818af80b8ade7
18131c7dab79365c7025e59f6052cd81b61a9215
Underscore Handling Fixes (#47581) Previously to this PR, if an absolute path contained an `_` it would ignore all app files. If for example the Next.js app was in a folder named `/some/_directory` then today: ``` /some/_directory/app/page.js <- should 200, currently 404 /some/_directory/app/route.js <- should ...
[ { "path": "packages/next/src/build/webpack/loaders/metadata/discover.ts", "patch": "@@ -5,34 +5,12 @@ import type {\n } from './types'\n import path from 'path'\n import { stringify } from 'querystring'\n+import { STATIC_METADATA_IMAGES } from '../../../../lib/metadata/is-metadata-route'\n \n const METADATA...
2023-03-28T10:19:01
rust-lang/rust
4882ea4b3c47749743df90718cdafa5637706b9d
d00435f223dc3a88d8c5f472b10ba948b7959cc6
rustc_resolve: Improve `resolve_const_param_in_non_trivial_anon_const` wording In some contexts, const expressions are OK. Add a `here` to the error message to clarify this.
[ { "path": "compiler/rustc_resolve/messages.ftl", "patch": "@@ -119,7 +119,7 @@ resolve_const_param_in_enum_discriminant =\n const parameters may not be used in enum discriminant values\n \n resolve_const_param_in_non_trivial_anon_const =\n- const parameters may only be used as standalone arguments, i...
2025-06-07T10:41:56
electron/electron
5604655d547b13532efcf1aeb36863f4f57e90cf
93639a080c22974b71e5f9992c6b7c976035587f
spec: vm.createContext should not crash
[ { "path": "spec/node-spec.coffee", "patch": "@@ -148,3 +148,7 @@ describe 'node feature', ->\n # Not reliable on some machines\n xit 'should have isTTY defined', ->\n assert.equal typeof(process.stdout.isTTY), 'boolean'\n+\n+ describe 'vm.createContext', ->\n+ it 'should not crash', ->\n+ ...
2015-09-17T08:06:19
nodejs/node
c369b3e9297d11f1b761409ce7b429c5de9dcb92
406329de577d9604e8b1dce9c5a5161e8cb33e25
test: exclude additional test for coverage Exclude async-hooks/test-callback-error as it seems to fail consistently when run with coverage on the docker ubuntu16 machines we plan to run the coverage sanity test on. PR-URL: https://github.com/nodejs/node/pull/25833 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.c...
[ { "path": "test/root.status", "patch": "@@ -161,5 +161,6 @@ sequential/test-pipe: SLOW\n sequential/test-util-debug: SLOW\n \n [$type==coverage]\n+async-hooks/test-callback-error: PASS,FAIL,CRASH\n js-native-api/test_function/test: PASS,FAIL,CRASH\n js-native-api/test_general/testFinalizer: PASS,FAIL,CRASH"...
2019-01-30T20:55:19
huggingface/transformers
2bbf98a83dc46cb5c24a30e7631238611e38244b
acc968c58101fd12f361165c355896500301c441
Fix: PIL image load in Processing utils apply_chat_template (#40622)
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1637,8 +1637,8 @@ def apply_chat_template(\n ):\n kwargs[\"do_sample_frames\"] = True\n \n- images_exist = any(len(im) > 0 for im_list in batch_images for im in im_list)\n- videos_exist = any(le...
2025-09-03T11:06:05
golang/go
52b10ab79451df78797b87e40eb9371127bad260
c6e82e5808f4fb6da0fcc9754e29a220451a0dfd
net/http: correct Content-Length parsing for js/wasm The Content-Length was incorrectly set to 0 for ill-formed and invalid values. In these cases, return an error. If the Content-Length header was omitted, it was incorrectly set to 0. In this case, set the Content-Length value to -1. Fixes #49108 Change-Id: I24fe9...
[ { "path": "src/net/http/roundtrip_js.go", "patch": "@@ -131,8 +131,24 @@ func (t *Transport) RoundTrip(req *Request) (*Response, error) {\n \t\t}\n \n \t\tcontentLength := int64(0)\n-\t\tif cl, err := strconv.ParseInt(header.Get(\"Content-Length\"), 10, 64); err == nil {\n+\t\tclHeader := header.Get(\"Conte...
2021-10-23T02:46:46
vercel/next.js
1cebb74462bab5bf56719fd9c672ebafbb1396dd
80d6c69867840e9ce5c8b9bfb6982b4202e5de2a
Fix race condition of invalidation (#47586) Currently, we always invalidate the compiler during `ensurePage` but that might cause an issue when the compilation is slow (and other cases too): <img width="836" alt="CleanShot-2023-03-28-B4dOAWJU@2x" src="https://user-images.githubusercontent.com/3676859/228087347-0b0eff...
[ { "path": "packages/next/src/server/dev/on-demand-entry-handler.ts", "patch": "@@ -236,7 +236,7 @@ export const getInvalidator = (dir: string) => {\n return invalidators.get(dir)\n }\n \n-const doneCallbacks: EventEmitter | null = new EventEmitter()\n+const doneCallbacks: EventEmitter = new EventEmitter()...
2023-03-28T06:13:30
huggingface/transformers
acc968c58101fd12f361165c355896500301c441
cb54ce4ec64f2302f78f7286a41d0f93a7840345
[CP] Add attention_mask to the buffer when the mask is causal (#40619) Fix attention mask validation for context parallelism Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3912,20 +3912,31 @@ def _prepare_context_parallel_inputs(self, model, inputs: dict[str, Union[torch.\n if \"shift_labels\" in inputs:\n buffers.append(inputs[\"shift_labels\"])\n buffer_seq_dims.append(1)\n- ...
2025-09-03T10:19:35
nodejs/node
bcf2886a84407028572fd1084242a1c789c056f8
a861adde3bc22dec07e67f199be5f2c2aa226b44
http: return HTTP 431 on HPE_HEADER_OVERFLOW error Instead of returning a generic 400 response when the max header size is reached, return a 431 Request Header Fields Too Large. This is a semver-major because it changes the HTTP status code for requests that trigger the header overflow error. PR-URL: https://github....
[ { "path": "doc/api/http.md", "patch": "@@ -829,6 +829,10 @@ changes:\n description: The `rawPacket` is the current buffer that just parsed. Adding\n this buffer to the error object of `'clientError'` event is to\n make it possible that developers can log the broken pack...
2019-01-21T06:47:32
golang/go
c6e82e5808f4fb6da0fcc9754e29a220451a0dfd
2c66cab8a7b569b2dc5a7ab112ba4579f39c5dbb
cmd/compile: fix inlining labeled switch statements CL 357649 fixes inlining labeled FOR/RANGE loops, we should do same translation for inlined SWITCH's label Fixes #49145 Change-Id: I9a6f365f57e974271a1eb279b38e81f9b5148788 Reviewed-on: https://go-review.googlesource.com/c/go/+/358315 Trust: Cuong Manh Le <cuong.ma...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -1285,18 +1285,24 @@ func (subst *inlsubst) node(n ir.Node) ir.Node {\n \tir.EditChildren(m, subst.edit)\n \n \tif subst.newclofn == nil {\n-\t\t// Translate any label on FOR or RANGE loops\n-\t\tif m.Op() == ir.OFOR {\n+\t\t// Translate any l...
2021-10-25T09:54:11
electron/electron
ca9a54a41eb70390a9ac18b3c695c07a933e0cde
fc33eb99f79fe5377b98d2b3463d2c3f5d4b4b28
Check whether devtools is opened when executing js code Fixes atom/electron#2808.
[ { "path": "brightray/browser/inspectable_web_contents_impl.cc", "patch": "@@ -281,6 +281,9 @@ void InspectableWebContentsImpl::CallClientFunction(const std::string& function_\n const base::Value* arg1,\n ...
2015-09-17T07:00:14
vercel/next.js
380ad223966c8e7a239e8168ea6275e65d9897d4
f5292511e32332189cf95382a5a7e6d53dae7e24
fix(turbo-binding): disable default custom alloc features (vercel/turbo#4359) ### Description Partially resolves WEB-736 Same as https://github.com/vercel/turbo/pull/4355, minor update to not to merge custom alloc features by default.
[ { "path": "crates/turbo-binding/Cargo.toml", "patch": "@@ -122,6 +122,10 @@ __turbopack_tests = [\"__turbopack\", \"turbopack-tests\"]\n __features = []\n __feature_mdx_rs = [\"__features\", \"mdxjs/serializable\"]\n __feature_node_file_trace = [\"__features\", \"node-file-trace/node-api\"]\n+__feature_node...
2023-03-28T04:30:05
huggingface/transformers
0f5e45a6d1ed40862cf37610a3c59694c822a07b
e690fe61e82e1b83c4b30a86559cf9c9d1bb0356
fix: gas for gemma fixed (#40591) * fix: gas for gemma fixed * feat: run fix-copies * feat: added issue label
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -969,6 +969,9 @@ class Gemma3ForConditionalGeneration(Gemma3PreTrainedModel, GenerationMixin):\n \"^language_model.lm_head\": \"lm_head\",\n }\n _tied_weights_keys = [\"lm_head.weight\"]\n+ # we are filtering the ...
2025-09-03T08:44:14
nodejs/node
a861adde3bc22dec07e67f199be5f2c2aa226b44
0ff0af534ef150820ac218b6ef3614dc199de823
test: allow coverage threshold to be enforced If COV_ENFORCE_THRESHOLD is set, tests run in coverage mode will exit with an error, if line coverage is below the percentage threshold. PR-URL: https://github.com/nodejs/node/pull/25675 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael...
[ { "path": "Makefile", "patch": "@@ -215,7 +215,7 @@ coverage-build: all\n coverage-build-js:\n \tmkdir -p node_modules\n \tif [ ! -d node_modules/c8 ]; then \\\n-\t\t$(NODE) ./deps/npm install c8@next --no-save --no-package-lock;\\\n+\t\t$(NODE) ./deps/npm install c8 --no-save --no-package-lock;\\\n \tfi\n ...
2019-01-30T23:51:21
golang/go
2c66cab8a7b569b2dc5a7ab112ba4579f39c5dbb
89cc528e430c18c6c36b8e8bbfb1bab26ed110e3
testing: skip extra -count iterations if there are no tests When running benchmarks with high -count and no tests (either at all or filtered with -run), the time for runTests to check for tests -count times can add a significant delay to starting benchmarks. To avoid this delay, make runTests bail out on the second i...
[ { "path": "src/testing/testing.go", "patch": "@@ -1785,6 +1785,12 @@ func runTests(matchString func(pat, str string) (bool, error), tests []InternalT\n \t\t\tif shouldFailFast() {\n \t\t\t\tbreak\n \t\t\t}\n+\t\t\tif i > 0 && !ran {\n+\t\t\t\t// There were no tests to run on the first\n+\t\t\t\t// iteration...
2021-10-18T22:34:24
electron/electron
fa588f104cf207dd1f625063ff19f93f98946fd2
3f53564a4fefaed16b32a5833ec3bd102a262817
Set MACOSX_DEPLOYMENT_TARGET to 10.8 Fixes atom/electron#2790.
[ { "path": "brightray/brightray.gypi", "patch": "@@ -31,7 +31,7 @@\n 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',\n 'GCC_ENABLE_CPP_RTTI': 'NO',\n 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES',\n- 'MACOSX_DEPLOYMENT_TARGET': '10.10',\n+ 'MACOSX_DEPLOYMENT_TARGET': '10.8',\n 'RUN_CLANG_STATIC_...
2015-09-16T11:54:52
vercel/next.js
56ebe97ae4b92cfc3c6bc9fc2d44d7d855619e9c
38953adb1187b00fdee94f9e6122aac1b919e58c
Implement automatic font fallback support for `next/font/local` (#47463) Fixes WEB-787. This implements automatic font fallbacks for `next/font/local`. It uses the `allsorts` library to query font metrics across woff and ttf fonts. Test Plan: Now passes 24 Next.js integration tests, up from 14.
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -48,6 +48,55 @@ dependencies = [\n \"memchr\",\n ]\n \n+[[package]]\n+name = \"aliasable\"\n+version = \"0.1.3\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"250f629c0161ad8107cf89319e990051fae62832fd343083bea452d...
2023-03-28T01:22:48
nodejs/node
0ff0af534ef150820ac218b6ef3614dc199de823
7c8ac5a01b4ba5d4c7060875ea024e6efbc12893
worker: throw for duplicates in transfer list Throw a `DataCloneError` exception when encountering duplicate `ArrayBuffer`s or `MessagePort`s in the transfer list. Fixes: https://github.com/nodejs/node/issues/25786 PR-URL: https://github.com/nodejs/node/pull/25815 Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "src/node_messaging.cc", "patch": "@@ -289,6 +289,15 @@ Maybe<bool> Message::Serialize(Environment* env,\n // take ownership of its memory, copying the buffer will have to do.\n if (!ab->IsNeuterable() || ab->IsExternal())\n continue;\n+ if (std::find(array_buffers...
2019-01-30T13:57:24
huggingface/transformers
e690fe61e82e1b83c4b30a86559cf9c9d1bb0356
00a8364271ca48a2d8680f766619ef78176fcb0f
Fix `too many requests` in `TestMistralCommonTokenizer` (#40623) * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_tokenization_mistral_common.py", "patch": "@@ -12,8 +12,11 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n+import gc\n+import sys\n import tempfile\n import unittest\n+from pathlib import Path\n \n import numpy as np\n ...
2025-09-03T03:05:03
golang/go
89cc528e430c18c6c36b8e8bbfb1bab26ed110e3
1ed060cf87ec887ad76c51e3f7a2148cc2a7bf9b
cmd/compile/internal/types2: better error messages for empty type sets - change _TypeSet.hasTerms() to report if a type set has actual types (excluding a "universe" term) - handle empty type set type arguments correctly - bring comments up-to-date in Checker.satisfies Change-Id: I87f9a1096ebb21a1b08c87a9b59f400f3bc...
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -135,8 +135,16 @@ func (check *Checker) verify(pos syntax.Pos, tparams []*TypeParam, targs []Type)\n // TODO(gri) This should be a method of interfaces or type sets.\n func (check *Checker) satisfies(pos syntax.Pos, targ Type, tpar *Ty...
2021-10-23T23:39:32
electron/electron
08f5c3230699175e081ea1803eb55da924b9f1c2
69cc3ab5ef59ffacca12362881dd8fe681cefb85
script: Call Electron binary from Debug build We usually don't build Release version on the development machine.
[ { "path": "script/upload-index-json.py", "patch": "@@ -8,7 +8,7 @@\n \n \n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n-OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'R')\n+OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'D')\n \n PROJECT_NAME = atom_gyp()['project_name%']\n P...
2015-09-16T01:21:09
vercel/next.js
38953adb1187b00fdee94f9e6122aac1b919e58c
45e2c1e0641ce619699fe1da719d5d873dd3712e
Update Convex example to convex@0.12.0 (#47175) Updates Convex to 0.12.0 ### Improving Documentation or adding/fixing Examples - [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 pass...
[ { "path": "examples/convex/README.md", "patch": "@@ -1,6 +1,6 @@\n # Convex\n \n-This example demonstrates the Convex global state management framework.\n+This example demonstrates the Convex backend platform.\n \n ## Deploy your own\n ", "additions": 1, "deletions": 1, "language": "Markdown" ...
2023-03-28T00:32:20
huggingface/transformers
00a8364271ca48a2d8680f766619ef78176fcb0f
ed49376a423ce71ced042c7624271f886a6cd37a
🌐 [i18n-KO] Translated `deepseek_v3.md` to Korean (#39649) * docs: ko: deepseek_v3.md * feat: nmt draft * fix: manual edits * fix: glossary edits * docs : 4N3MONE recommandced modified contents * Update docs/source/ko/model_doc/deepseek_v3.md Co-authored-by: Kim Juwon <81630351+Kim-Ju-won@users.noreply.github....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -507,7 +507,7 @@\n title: DeBERTa\n - local: model_doc/deberta-v2\n title: DeBERTa-v2\n- - local: in_translation\n+ - local: model_doc/deepseek_v3\n title: DeepSeek-V3\n - local: in_translation\n titl...
2025-09-02T20:35:56
nodejs/node
80873ec3c2e18c151ddf1c0d79461c48d367206f
7c9fba30ef51b1e3f9e324bd6d35c8339836c6fe
crypto: fix public key encoding name in comment PKCS#8 describes an encoding for private keys, not public keys. Using the name as a format usually refers to the PrivateKeyInfo structure it defines. (Or sometimes the EncryptedPrivateKeyInfo variant or the little-used OneAsymmetricKey extension defined in RFC 5958.) Non...
[ { "path": "src/node_crypto.cc", "patch": "@@ -2748,7 +2748,7 @@ static ParsePublicKeyResult ParsePublicKeyPEM(EVPKeyPointer* pkey,\n \n ParsePublicKeyResult ret;\n \n- // Try PKCS#8 first.\n+ // Try parsing as a SubjectPublicKeyInfo first.\n ret = TryParsePublicKey(pkey, bp, \"PUBLIC KEY\",\n []...
2019-01-27T16:24:40
golang/go
fcd2d9cd75e6307b5b72fed2201044e231bef40a
7b554575e46d1df9b68f71e051c8133aaf953fb7
image/draw: improve performances if mask is *image.Alpha The existing DrawMask method is generic and is therefore calling the At().RGBA() method for every pixel of the mask and the source. Do a specific implementation when the mask is *image.Alpha (which is common) and use use the PixOffset method to increase performa...
[ { "path": "src/image/draw/bench_test.go", "patch": "@@ -266,3 +266,11 @@ func BenchmarkGenericSrc(b *testing.B) {\n func BenchmarkGenericMaskSrc(b *testing.B) {\n \tbench(b, color.RGBA64Model, color.RGBA64Model, color.AlphaModel, Src)\n }\n+\n+func BenchmarkRGBA64Over(b *testing.B) {\n+\tbench(b, color.RGBA...
2021-05-31T06:03:57
huggingface/transformers
d47ad91c3c2a60420a2cd4b564f4bd0e69cece6a
a470f213961f9ef39e70bb9b6fd91817f096a2b8
Support TF32 flag for MUSA backend (#33187) * Support MUSA (Moore Threads GPU) backend in transformers Add accelerate version check, needs accelerate>=0.33.0 * Support TF32 flag for MUSA backend * fix typo
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1840,27 +1840,37 @@ def __post_init__(self):\n if self.framework == \"pt\" and is_torch_available() and self.torch_compile:\n if is_torch_tf32_available():\n if self.tf32 is None and not self.fp16 or self.bf16:\...
2025-09-02T16:27:10
vercel/next.js
45e2c1e0641ce619699fe1da719d5d873dd3712e
461617bc704a3dac6a19dcd0145f6fd0c4091a67
Switch to ESM Jest config in docs (#42144) Thanks again for Next.js 13! Finding a bunch of new ways to improve things 🙌 Just a quick PR to switch the Jest configuration file with `next/jest` to ESM to eliminate another instance of CommonJS. ESM requires a `.js` extension on the import. An alternative would be t...
[ { "path": "docs/testing.md", "patch": "@@ -304,11 +304,11 @@ To set up Jest, install `jest`, `jest-environment-jsdom`, `@testing-library/reac\n npm install --save-dev jest jest-environment-jsdom @testing-library/react @testing-library/jest-dom\n ```\n \n-Create a `jest.config.js` file in your project's root...
2023-03-28T00:10:58