repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
988efd58197205060ace508d29984fbab6eb3840
5af93a2d1556226656f003f65ac1de034b8fb55f
cmd/link: don't use label symbol for absolute address relocations on ARM64 PE On ARM64 PE, when external linking, the PE relocation does not have an explicit addend, and instead has the addend encoded in the instruction or data. An instruction (e.g. ADRP, ADD) has limited width for the addend, so when the addend is la...
[ { "path": "src/cmd/link/internal/arm64/asm.go", "patch": "@@ -602,7 +602,7 @@ func pereloc1(arch *sys.Arch, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym,\n \trs := r.Xsym\n \trt := r.Type\n \n-\tif r.Xadd != signext21(r.Xadd) {\n+\tif rt == objabi.R_ADDRARM64 && r.Xadd != signext21(r.Xadd) {\n \t\t// If...
2021-11-02T22:30:08
huggingface/transformers
966b3dbcbefaa358ce1fe51b687b756fd5b877ed
04bf4112f2e4b27d39d74529f6f4fb46080f19cc
Fix `PhimoeIntegrationTest` (#41007) * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/phimoe/test_modeling_phimoe.py", "patch": "@@ -14,12 +14,14 @@\n \n \"\"\"Testing suite for the PyTorch PhiMoE model.\"\"\"\n \n+import copy\n import unittest\n \n from parameterized import parameterized\n \n from transformers import PhimoeConfig, StaticCache, is_torch_available\n fr...
2025-09-19T16:43:46
nodejs/node
99797cc9cd2ead9d25330b263fca808477d55621
f65b4afaea14446c4b313595c03b737ab710c124
build: make 'floating patch' message informational Downgrade the 'Using floating patch' message that is emitted when a local patch is applied to the bundled ICU from a warning to a notice. There isn't anything the user can or should do so warning isn't appropriate. Instead of angry yellow use soothing green. Fixes: h...
[ { "path": "configure.py", "patch": "@@ -585,6 +585,10 @@ def warn(msg):\n # track if warnings occurred\n warn.warned = False\n \n+def info(msg):\n+ prefix = '\\033[1m\\033[32mINFO\\033[0m' if os.isatty(1) else 'INFO'\n+ print('%s: %s' % (prefix, msg))\n+\n def print_verbose(x):\n if not options.verbose:...
2019-02-28T07:35:03
golang/go
5af93a2d1556226656f003f65ac1de034b8fb55f
b2149ac336987940b3f14c50c064a43bf9a761de
internal/fuzz: improve minimizing message In order to know the actual number of bytes of the entire corpus entry, the coordinator would likely need to unmarshal the bytes and tally up the length. That's more work than it is worth, so this change just clarifies that the printed # of bytes is the length of the entire fi...
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -246,7 +246,7 @@ func CoordinateFuzzing(ctx context.Context, opts CoordinateFuzzingOpts) (err err\n \t\t\t\t\t// Send it back to a worker for minimization. Disable inputC so\n \t\t\t\t\t// other workers don't continue fuzzing.\n \t\t\t\t\tc.crashMinimizing...
2021-11-04T17:55:31
huggingface/transformers
04bf4112f2e4b27d39d74529f6f4fb46080f19cc
dfc230389c2cfcbd23718594363d097b89233e25
🚨 [lightglue] fix: matches order changed because of early stopped indices (#40859) * fix: bug that made early stop change order of matches * fix: applied code suggestion Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com> * fix: applied code suggestion to modular * fix: integration tests --------- Co-authored-...
[ { "path": "src/transformers/models/lightglue/modeling_lightglue.py", "patch": "@@ -628,6 +628,10 @@ def _concat_early_stopped_outputs(\n matching_scores,\n ):\n early_stops_indices = torch.stack(early_stops_indices)\n+ # Rearrange tensors to have the same order as the input batch\...
2025-09-19T15:41:22
electron/electron
9c861b9ad37a9c6335dde2e59d3005742fe75150
fb4efec55da118628263f21744a0ec8f6fce193a
Fix always passing the first result to renderer when the API is called multiple time at once.
[ { "path": "atom/browser/lib/desktop-capturer.coffee", "patch": "@@ -4,13 +4,13 @@ ipc = require 'ipc'\n desktopCapturer = process.atomBinding('desktop_capturer').desktopCapturer\n \n isOptionsEqual = (opt1, opt2) ->\n- return JSON.stringify opt1 is JSON.stringify opt2\n+ return JSON.stringify(opt1) is JSO...
2015-10-19T10:07:35
huggingface/transformers
8010f5d1d9e16949d3dff49873811636070dcdcb
5bf633b32a1bc5cc5c56445247ecebd349b5d063
Patch more `unittest.case.TestCase.assertXXX` methods (#41008) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3732,6 +3732,18 @@ def patch_testing_methods_to_collect_info():\n _patch_with_call_info(torch.testing, \"assert_close\", _parse_call_info, target_args=(\"actual\", \"expected\"))\n \n _patch_with_call_info(unittest.case.TestCase, \"ass...
2025-09-19T14:38:12
nodejs/node
f11e8b959dce355bbb21fa2f95108732db464897
e0c39218d988acc3e9fdd61829118ae5aa33e9a0
tools: update eslint-plugin-markdown to 1.0.0 For eslint-plugin-markdown, we had been using an RC but can now use the most recent stable release of 1.0.0, as it has the bugfix that caused us to start using the RC in the first place. There are a few other updates in this commit too because it was performed by running ...
[ { "path": "tools/node_modules/eslint/node_modules/acorn/dist/acorn.js", "patch": "@@ -1393,7 +1393,7 @@ pp$1.parseClassMethod = function(method, isGenerator, isAsync, allowsDirectSuper\n pp$1.parseClassId = function(node, isStatement) {\n if (this.type === types.name) {\n node.id = this.parseIdent();\...
2019-02-28T06:32:31
golang/go
b2149ac336987940b3f14c50c064a43bf9a761de
577287728a8e8abbcbc6c96fdd49feb5a99ced0c
net/netip: fix various typos in comment Change-Id: I02724dadacd9b3f23ca7e6bda581cba62ceff828 Reviewed-on: https://go-review.googlesource.com/c/go/+/361274 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@goo...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -2,7 +2,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 netip defines a IP address type that's a small value type.\n+// Package netip defines an IP address type that's a small va...
2021-11-04T02:13:11
huggingface/transformers
2a538b2ed4a849b99cd790731f51f1d221a318f4
96a3e898cd1a0e1864e79b48c3f6c804c7a56780
fix dict like init for ModelOutput (#41002) * fix dict like init * style
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -318,6 +318,8 @@ def __post_init__(self):\n # if we provided an iterator as first field and the iterator is a (key, value) iterator\n # set the associated fields\n if first_field_iterator:\n+ # res...
2025-09-19T14:14:44
nodejs/node
e0c39218d988acc3e9fdd61829118ae5aa33e9a0
144f876c6872ece2da5c87a41266d14a2f49273f
tools: use latest rather than next for markdown linting plugin eslint-plugin-markdown is being installed @next to get a bugfix for https://github.com/eslint/eslint-plugin-markdown/issues/69 but that bugfix is in 1.0.0. Go back to installing @latest rather than @next. PR-URL: https://github.com/nodejs/node/pull/26345 ...
[ { "path": "tools/update-eslint.sh", "patch": "@@ -16,7 +16,7 @@ npm init --yes\n npm install --global-style --no-bin-links --production --no-package-lock eslint@latest\n cd node_modules/eslint\n \n-npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown@next\n+npm install --no-bin-l...
2019-02-28T06:29:45
golang/go
6e7b82a4bbd08e5724a29e204faf97342a0b6a15
f934b8326f18c4be2cb26ed1e87621d926ba209b
cmd/pprof: update vendored github.com/google/pprof Pull in the latest published version of github.com/google/pprof as part of #36905. This adds the fmt.Println redundant newline fix from google/pprof@f987b9c94b318d4bd026dcc7892f7f1fab6eadab. Done with: go get -d github.com/google/pprof@latest go mod tidy go mod ...
[ { "path": "src/cmd/go.mod", "patch": "@@ -3,7 +3,7 @@ module cmd\n go 1.18\n \n require (\n-\tgithub.com/google/pprof v0.0.0-20211001005136-7fe48b4c820b\n+\tgithub.com/google/pprof v0.0.0-20211104044539-f987b9c94b31\n \tgolang.org/x/arch v0.0.0-20210901143047-ebb09ed340f1\n \tgolang.org/x/mod v0.5.1-0.20210...
2021-11-04T12:46:07
huggingface/transformers
96a3e898cd1a0e1864e79b48c3f6c804c7a56780
98c8523434672da086982420faba9350431c270c
RUFF fix on CI scripts (#40805) Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -16,10 +16,9 @@\n import argparse\n import copy\n import os\n-import random\n from dataclasses import dataclass\n-from typing import Any, Dict, List, Optional\n-import glob\n+from typing import Any, Optional\n+\n import yaml\n \n \n@@ -82,15 +81,...
2025-09-19T13:50:26
nodejs/node
018e95ad13f431293c9a79dd8a2da4a8a67b81c1
adbe3b837e8a2285238ec0fcba89c20882eb4cdb
dns: refactor QueryWrap lifetime management - Prefer RAII-style management over manual resource management. - Prefer `env->SetImmediate()` over a separate `uv_async_t`. - Perform `ares_destroy()` before possibly tearing down c-ares state. - Verify that the number of active queries is non-negative. - Let pending callba...
[ { "path": "src/cares_wrap.cc", "patch": "@@ -407,14 +407,11 @@ void safe_free_hostent(struct hostent* host) {\n host->h_aliases = nullptr;\n }\n \n- if (host->h_name != nullptr) {\n- free(host->h_name);\n- }\n-\n- host->h_addrtype = host->h_length = 0;\n+ free(host->h_name);\n+ free(host);\n }...
2019-02-21T20:48:58
golang/go
6ba68a0581d537edfd6eb2e5675c408f18eb4eed
00d6d2037ee1bf4b6959219120b79b7c01244b02
cmd/compile: don't inline fn with no shape params, but passed a shape arg Don't inline a function fn that has no shape parameters, but is passed at least one shape arg. This means we must be inlining a non-generic function fn that was passed into a generic function, and can be called with a shape arg because it matche...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -685,6 +685,27 @@ func mkinlcall(n *ir.CallExpr, fn *ir.Func, maxCost int32, inlMap map[*ir.Func]b\n \t\treturn n\n \t}\n \n+\t// Don't inline a function fn that has no shape parameters, but is passed at\n+\t// least one shape arg. This means ...
2021-11-03T21:47:04
huggingface/transformers
98c8523434672da086982420faba9350431c270c
767f8a4c75dba4d5d2aa90de5030967c7c16bd87
Fix more dates in model cards and wrong modalities in _toctree.yml (#40955) * Fix model cards and modalities in toctree * fix new models
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -439,6 +439,8 @@\n title: DeBERTa\n - local: model_doc/deberta-v2\n title: DeBERTa-v2\n+ - local: model_doc/deepseek_v2\n+ title: DeepSeek-V2\n - local: model_doc/deepseek_v3\n title: DeepSeek-V3\n - ...
2025-09-19T13:47:28
nodejs/node
b42dcb0eeb2d2c302b0ecabbc1092605a54213d6
b0b370c9b59e40255c903a070e1000ed1d70c289
build: remove v8_typed_array_max_size_in_heap option This was added in 16f86d6c578ff7aec708c7d736558a199d290e9c, based on the assumption that otherwise, the memory behind `ArrayBuffer` instances could be moved around on the heap while native code holds references to it. This does not match what V8 actually does (and ...
[ { "path": "configure.py", "patch": "@@ -1123,10 +1123,6 @@ def configure_v8(o):\n o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)\n o['variables']['force_dynamic_crt'] = 1 if options.shared else 0\n o['variables']['node_enable_d8'] = b(options.enable_d8)\n- # Unconditionally...
2019-02-25T01:32:51
electron/electron
810af2f95d34632b82d9a26dad833ce854272627
0e50b00fdf3631172a57be867150b8f80031d020
:bug: Honor fs.readFileSync contract for empty packed asar file
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -263,7 +263,9 @@ exports.wrapFsWithAsar = (fs) ->\n \n info = archive.getFileInfo filePath\n notFoundError asarPath, filePath unless info\n- return new Buffer(0) if info.size is 0\n+\n+ if info.size is 0\n+ return if options then '' el...
2015-10-19T03:03:22
golang/go
00d6d2037ee1bf4b6959219120b79b7c01244b02
901bf291bc90819cb6dad76064475cf9ecbc9651
cmd/doc, go/doc: add basic support for generic code Update cmd/doc and go/doc for the generics, by adding handling for type parameters and the new embedded interface elements. Specifically: - Format type parameters when summarizing type and function nodes. - Find the origin type name for instantiation expressions, ...
[ { "path": "src/cmd/doc/pkg.go", "patch": "@@ -323,7 +323,8 @@ func (pkg *Package) oneLineNodeDepth(node ast.Node, depth int) string {\n \t\tif n.Assign.IsValid() {\n \t\t\tsep = \" = \"\n \t\t}\n-\t\treturn fmt.Sprintf(\"type %s%s%s\", n.Name.Name, sep, pkg.oneLineNodeDepth(n.Type, depth))\n+\t\ttparams := ...
2021-10-29T21:41:41
vercel/next.js
9448913149a49b943ba34b1776d1779d8a8c23cb
76ad58b0c82e49585cd28e550880fa4fc5e10857
Revert "Vendor `react@experimental` under an `experimentalReact` flag" (#48038) x-ref: [slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1680804950611789?thread_ts=1680791613.468109&cid=C04DUD7EB1B) Reverts vercel/next.js#47759 fix NEXT-926
[ { "path": "package.json", "patch": "@@ -197,13 +197,11 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-b14f8da15-20230403\",\n- \"react-experimental-builtin\": \"npm:react@0.0.0-experimental-b14f8...
2023-04-06T18:48:09
huggingface/transformers
767f8a4c75dba4d5d2aa90de5030967c7c16bd87
9d9c4d24c50cc1e3a24eac0e1af8267b5c43010d
Fix typoes in src and tests (#40845) Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/generation/continuous_batching/cache.py", "patch": "@@ -79,7 +79,7 @@ class PagedAttentionCache:\n layer group, and the shape of the cache tensor is `[num_blocks * block_size, num_heads, head_size]`.\n \n Grouping layers into groups is useful because when we allocate ...
2025-09-19T13:18:38
electron/electron
0aefa98e5ad545761f14c28bc57d957e317b6dd2
82e6058607fa0b1ca24b83a5084392422fec12f9
Small fix in README
[ { "path": "README-ko.md", "patch": "@@ -49,7 +49,7 @@ Electron을 빌드 하는 방법과 프로젝트에 기여하는 방법도 문\n \n ## 커뮤니티\n \n-다음 링크를 통해 커뮤니티에 질문을 올리거나 토론을 나누실 수 있습니다:\n+다음 링크를 통해 커뮤니티에 질문을 올리거나 토론을 나눌 수 있습니다:\n \n - Atom 포럼의 [`electron`](http://discuss.atom.io/category/electron) 카테고리\n - Freenode 채팅의 `#atom-shell` 채널 ", ...
2015-10-19T02:34:13
nodejs/node
4afd503465b5dd3b5d58d07043a99e9557bbfd53
fedc31bb3c46511d1fd1c906ee149d60f1c51bbf
doc,test,repl: fix deprecation code PR-URL: https://github.com/nodejs/node/pull/26368 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -2335,8 +2335,8 @@ Type: Runtime\n Setting the TLS ServerName to an IP address is not permitted by\n [RFC 6066][]. This will be ignored in a future version.\n \n-<a id=\"DEP0XXX\"></a>\n-### DEP0XXX: using REPLServer.rli\n+<a id=\"DEP0124\"></a>\n+### DEP012...
2019-03-01T00:53:14
golang/go
901bf291bc90819cb6dad76064475cf9ecbc9651
a3f7be9b8cee00aa281a0bedeae22b4cd4bc64dd
runtime: allow builtin write function to be redirected with function pointer The x/sys/windows package currently uses go:linkname for other facilities inside of runtime that are not suitable to be exposed as a public API due to their dangers but are still necessary for manipulating any low-level plumbing that the runt...
[ { "path": "src/runtime/time_nofake.go", "patch": "@@ -19,9 +19,14 @@ func nanotime() int64 {\n \treturn nanotime1()\n }\n \n+var overrideWrite func(fd uintptr, p unsafe.Pointer, n int32) int32\n+\n // write must be nosplit on Windows (see write1)\n //\n //go:nosplit\n func write(fd uintptr, p unsafe.Pointer...
2020-12-03T12:29:58
vercel/next.js
95e46f73e4cccbfc5aab25245bdc6e8fce85e11f
86cb8ec8e2bd98090a11923ec2382338cd67ca46
report error when using "use server" on module level (#47967) ### What? Add a error message when using "use server". * https://github.com/vercel/turbo/pull/4477 <!-- Tobias Koppers - add ServerDirective transform which reports unsupported --> ### Why? Turbopack doesn't support "use server" yet. ### Other turbopa...
[ { "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-230405.4#6695841d11380db7f6b3a6e10644a83345643443\"\n+source = \"git+https://github.com/v...
2023-04-06T17:23:37
huggingface/transformers
9d9c4d24c50cc1e3a24eac0e1af8267b5c43010d
b4ba4e1da0c77710833a2a9ba86f729b42098e46
Make `EfficientLoFTRModelTest` faster (#41000) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/efficientloftr/test_modeling_efficientloftr.py", "patch": "@@ -46,18 +46,18 @@ def __init__(\n self,\n parent,\n batch_size=2,\n- image_width=80,\n- image_height=60,\n- stage_num_blocks: list[int] = [1, 1, 1],\n- out_features: list[...
2025-09-19T12:51:05
nodejs/node
fedc31bb3c46511d1fd1c906ee149d60f1c51bbf
0fd5b458bec739eb8b4cea4dc362a36eb3e61fde
readline: improve Unicode handling Prevents moving left or right from placing the cursor in between code units comprising a code point. PR-URL: https://github.com/nodejs/node/pull/25723 Fixes: https://github.com/nodejs/node/issues/25693 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasn...
[ { "path": "lib/readline.js", "patch": "@@ -580,27 +580,48 @@ Interface.prototype._wordLeft = function() {\n Interface.prototype._wordRight = function() {\n if (this.cursor < this.line.length) {\n var trailing = this.line.slice(this.cursor);\n- var match = trailing.match(/^(?:\\s+|\\W+|\\w+)\\s*/);\...
2019-01-26T02:15:06
golang/go
2622235a99800d1d7add47c5c138f5efbe51361c
2cf85b1fb8b3b6629b834016735ddeaaf7b96fda
runtime: do not generate crash dump on Windows 7 It appears Windows 7 ignores WER_FAULT_REPORTING_NO_UI WerSetFlags API flag. And now after CL 307372, runtime will display WER GUI dialogue. We don't want to introduce random GUI dialogues during Go program execution. So disable dump crash creation on Windows 7 altoge...
[ { "path": "src/runtime/signal_windows.go", "patch": "@@ -22,8 +22,16 @@ func disableWER() {\n \tstdcall1(_SetErrorMode, uintptr(errormode)|SEM_FAILCRITICALERRORS|SEM_NOGPFAULTERRORBOX|SEM_NOOPENFILEERRORBOX)\n }\n \n+// isWin7 returns true on Windows 7. Otherwise it returns false.\n+//\n+//go:nosplit\n+func...
2021-10-31T06:58:34
huggingface/transformers
b4ba4e1da0c77710833a2a9ba86f729b42098e46
fce746512bc4e10b0749c59935fbf52360479612
[`RMSNorm`] Fix rms norm init for models that center around 1 (#40796) * fix * fixup inits * oops * fixup gemma * fixup modular order * how does this keep happen lol * vaultgemma is new i forgot * remove init check
[ { "path": "src/transformers/models/gemma/modeling_gemma.py", "patch": "@@ -322,6 +322,13 @@ class GemmaPreTrainedModel(PreTrainedModel):\n \"attentions\": GemmaAttention,\n }\n \n+ def _init_weights(self, module):\n+ super()._init_weights(module)\n+\n+ # We initialize with 0s to...
2025-09-19T12:15:36
vercel/next.js
86cb8ec8e2bd98090a11923ec2382338cd67ca46
4fbbb626b91d75f43cabea71ea1c0b79d39bdfe7
fix: handle error case for `output: export` in `next dev` (#47768) fix NEXT-929
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1330,7 +1330,6 @@ export async function isPageStatic({\n isrFlushToDisk,\n maxMemoryCacheSize,\n incrementalCacheHandlerPath,\n- nextConfigOutput,\n }: {\n page: string\n distDir: string\n@@ -1498,16 +1497,6 @@ export async function isPa...
2023-04-06T17:20:47
rust-lang/rust
a58fdd18a2aff990cd7e9ca9a4903e2deebc109d
40daf23eeb711dadf140b2536e67e3ff4c999196
[perf] Change asserts to debug ones in trait_ref_and_own_args
[ { "path": "compiler/rustc_middle/src/ty/context.rs", "patch": "@@ -4,7 +4,7 @@\n \n pub mod tls;\n \n-use std::assert_matches::{assert_matches, debug_assert_matches};\n+use std::assert_matches::debug_assert_matches;\n use std::borrow::Borrow;\n use std::cmp::Ordering;\n use std::env::VarError;\n@@ -268,9 +2...
2025-06-11T11:34:53
electron/electron
60b14d03e98dcbcc73098b36c337cb0ad47c828e
c7d9352972ff5c90733a3ce0eb3add86fd101905
Fix: tray NotfiyDropFiles typo
[ { "path": "atom/browser/ui/tray_icon.cc", "patch": "@@ -55,7 +55,7 @@ void TrayIcon::NotifyRightClicked(const gfx::Rect& bounds, int modifiers) {\n OnRightClicked(bounds, modifiers));\n }\n \n-void TrayIcon::NotfiyDropFiles(const std::vector<std::string>& files) {\n+void TrayIcon::Notify...
2015-10-18T05:32:13
huggingface/transformers
ddfa3d4402915b8aafd82b3135cb37af9a5d6b69
46ea7e613d67b29ee71212f453d0aa59b85f7583
blt wip (#38579) * blt wip * cpu version * cpu friendly with full entropy model (real time patching) * adding config file instead of args file * enable MPS * refactoring unused code * single config class in config file * inherit from PreTrainedModel * refactor LMTransformer --> BLTPatcher * add conversion scr...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -407,6 +407,8 @@\n title: Blenderbot Small\n - local: model_doc/bloom\n title: BLOOM\n+ - local: model_doc/blt\n+ title: BLT\n - local: model_doc/bort\n title: BORT\n - local: model_doc/byt5", "ad...
2025-09-19T09:55:55
golang/go
bd49a998bf68609259c155cd7b9f4ed76d948a0d
d9bb5f6f109a4342c52958f30acfc3f3d633ee4f
cmd/compile: fix missing update source type in storeArgOrLoad After removing trivial wrapper types, the source needs to be updated with new type, otherwise, it leads to mismatch between field offset and the source type for selecting struct/array. Fixes #49249 Change-Id: I26f9440bcb2e78bcf0617afc21d9d40cdbe4aca6 Revi...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -954,6 +954,7 @@ func (x *expandState) storeArgOrLoad(pos src.XPos, b *Block, source, mem *Value,\n \t\telt := t.Elem()\n \t\tif source.Type != t && t.NumElem() == 1 && elt.Size() == t.Size() && t.Size() == x.regSize {\n \t\t\tt = remove...
2021-11-01T07:32:39
rust-lang/rust
ded2afcb2330d6c0ff078a985f26d8f5845f229a
6c8138de8f1c96b2f66adbbc0e37c73525444750
Delegate `<SocketAddr as Debug>` to `ByteStr` This allows UTF-8 characters to be printed without escapes, rather than just ASCII.
[ { "path": "library/std/src/os/unix/net/addr.rs", "patch": "@@ -1,3 +1,4 @@\n+use crate::bstr::ByteStr;\n use crate::ffi::OsStr;\n #[cfg(any(doc, target_os = \"android\", target_os = \"linux\"))]\n use crate::os::net::linux_ext;\n@@ -61,7 +62,7 @@ pub(super) fn sockaddr_un(path: &Path) -> io::Result<(libc::s...
2025-05-24T11:44:31
vercel/next.js
4fbbb626b91d75f43cabea71ea1c0b79d39bdfe7
946424efb3bc9a6be28d8b2d9a8b2aaa28d85e41
Update normalize revalidate params for named matches (#48032) This ensures the prefix for route params is stripped when pulled from the revalidate headers. Also updates tests accordingly. x-ref: https://github.com/vercel/next.js/pull/47930
[ { "path": "packages/next/src/server/server-utils.ts", "patch": "@@ -262,6 +262,21 @@ export function getUtils({\n const matchesHasLocale =\n i18n && detectedLocale && obj['1'] === detectedLocale\n \n+ for (const key of Object.keys(obj)) {\n+ const va...
2023-04-06T17:20:05
electron/electron
49d25d00697047faed54e0e8080520d73cce629e
facd0fbc0858a917eb77cd3416e89ec618b67f2f
Fix: savePage API saves external resources in a wrong directory.
[ { "path": "atom/browser/api/save_page_handler.cc", "patch": "@@ -36,8 +36,13 @@ bool SavePageHandler::Handle(const base::FilePath& full_path,\n auto download_manager = content::BrowserContext::GetDownloadManager(\n web_contents_->GetBrowserContext());\n download_manager->AddObserver(this);\n+ // ...
2015-10-18T03:28:05
huggingface/transformers
46ea7e613d67b29ee71212f453d0aa59b85f7583
ebdc17b8e5b3bf5d6391ae8196b2cdb1d6e98e45
[testing] test `num_hidden_layers` being small in model tester (#40992) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/aya_vision/test_modeling_aya_vision.py", "patch": "@@ -71,7 +71,7 @@ def __init__(\n \"vocab_size\": 99,\n \"hidden_size\": 128,\n \"intermediate_size\": 37,\n- \"num_hidden_layers\": 4,\n+ \"num_hidden_layers\": 2,\n ...
2025-09-19T09:45:07
rust-lang/rust
92a798dac0e2e13380d053b532ef36f1eddf9acf
6c8138de8f1c96b2f66adbbc0e37c73525444750
Detect when attribute is provided by missing `derive` macro ``` error: cannot find attribute `empty_helper` in this scope --> $DIR/derive-helper-legacy-limits.rs:17:3 | LL | #[empty_helper] | ^^^^^^^^^^^^ | help: `empty_helper` is an attribute that can be used by the derive macro `Empty`, you might be mis...
[ { "path": "compiler/rustc_resolve/src/diagnostics.rs", "patch": "@@ -7,7 +7,7 @@ use rustc_ast::{\n use rustc_ast_pretty::pprust;\n use rustc_attr_data_structures::{self as attr, Stability};\n use rustc_data_structures::fx::{FxHashMap, FxHashSet};\n-use rustc_data_structures::unord::UnordSet;\n+use rustc_da...
2024-12-28T02:19:35
golang/go
d9bb5f6f109a4342c52958f30acfc3f3d633ee4f
240df188d67edc3df498a77bf99d3152244c14ab
syscall: fix and document uses of RegEnumKeyEx RegEnumKeyEx has an undocumented requirement that subsequent calls need to be made from the same thread. This change documents that requirement and fixes uses of it in std. Fixes #49320. Change-Id: I6d182227e22dd437996a878b3a978943f01b2d61 Reviewed-on: https://go-review...
[ { "path": "src/internal/syscall/windows/registry/key.go", "patch": "@@ -25,7 +25,10 @@\n //\n package registry\n \n-import \"syscall\"\n+import (\n+\t\"runtime\"\n+\t\"syscall\"\n+)\n \n const (\n \t// Registry key security and access rights.\n@@ -88,6 +91,12 @@ func OpenKey(k Key, path string, access uint3...
2021-11-03T18:18:18
vercel/next.js
946424efb3bc9a6be28d8b2d9a8b2aaa28d85e41
bd8d7c61f7ada8340a528906239ad330e5b96cbf
parallel routes: return a 404 when a parallel route does not have a default page/do not match (#47872) <!-- 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 ...
[ { "path": "packages/next/src/client/components/parallel-route-default.tsx", "patch": "@@ -1,3 +1,5 @@\n+import { notFound } from './not-found'\n+\n export default function NoopParallelRouteDefault() {\n- return null\n+ notFound()\n }", "additions": 3, "deletions": 1, "language": "Unknown" },...
2023-04-06T17:19:35
electron/electron
214f8477b32e7d4067742ed5b49a933dfe4dcffb
dcb457e76ecc7ec530f9ececa5af2974ab5d17a5
Fix some typos.
[ { "path": "atom/browser/lib/desktop-capturer.coffee", "patch": "@@ -22,14 +22,14 @@ desktopCapturer.emit = (event_name, event, sources) ->\n # Receiving sources result from main process, now send them back to renderer.\n handledRequest = requestsQueue.shift 0\n result = ({ id: source.id, name: source....
2015-10-17T11:28:14
golang/go
e72d7150cb7f62edf6768ac5f33194d7f96443a1
1292e212416f5bca1f32d3ec0679b7dae97f6f1b
go/types: remove qualification from type parameter strings Type parameters only exist within the scope of a type or function declaration, so there is really no reason to package-qualify them. It is also confusing to do so, as it makes their type string look like a defined type. Fixes #49215 Change-Id: I986c527e78d45...
[ { "path": "src/go/types/api_test.go", "patch": "@@ -345,18 +345,18 @@ func TestTypesInfo(t *testing.T) {\n \t\t{broken + `x5; func _() { var x map[string][...]int; x = map[string][...]int{\"\": {1,2,3}} }`, `x`, `map[string][-1]int`},\n \n \t\t// parameterized functions\n-\t\t{genericPkg + `p0; func f[T any...
2021-11-02T23:49:15
huggingface/transformers
155f7e2e6237bc4f623aecf9bfd97442d5723963
61eff450d39742ac28789fe7a2a133395b133ace
🔴[`Attention`] Bert-based Models Attention Refactor (#38301) * clean start to bert refactor * some test fixes * style * fix last tests * be strict on positional embeddings, fixup according tests * cache support * more cache fixes, new causal API * simplify masks, fix tests for gen * flex attn, static cache su...
[ { "path": "src/transformers/models/albert/modeling_albert.py", "patch": "@@ -14,16 +14,15 @@\n # limitations under the License.\n \"\"\"PyTorch ALBERT model.\"\"\"\n \n-import math\n from dataclasses import dataclass\n-from typing import Optional, Union\n+from typing import Callable, Optional, Union\n \n im...
2025-09-19T09:23:58
nodejs/node
410eb97bcea9bf8fb15c1b980a19c3a8daaa6824
3fce5cf439cea1808e8984640638aac5c2b08b12
module: fix stat cache The current caching logic broke by [0] because it used destructuring on the module arguments. Since the exported property is a primitive counting it up or down would not have any effect anymore in the module that required that property. The original implementation would cache all stat calls cau...
[ { "path": "lib/internal/modules/cjs/helpers.js", "patch": "@@ -11,12 +11,7 @@ function makeRequireFunction(mod) {\n const Module = mod.constructor;\n \n function require(path) {\n- try {\n- exports.requireDepth += 1;\n- return mod.require(path);\n- } finally {\n- exports.requireDept...
2019-02-22T17:52:38
electron/electron
a3fc25110eed8e61bbf37c6935350c3747b5aea7
5ae6bd2ef4e3892b84121f6d92b3de6a2f89fdf1
Linter fixes
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -291,7 +291,8 @@ mate::ObjectTemplateBuilder App::GetObjectTemplateBuilder(\n .SetMethod(\"getPath\", &App::GetPath)\n .SetMethod(\"setDesktopName\", &App::SetDesktopName)\n .SetMethod(\"setAppUserModelId\", &App::SetAppUserModelId...
2015-10-16T23:55:28
vercel/next.js
1cf1198cab5cf6d4688672ad8164a1418579bc22
dec037a421c93daab5282e51659d801c822b4ee8
interception routes: re-implementation (#48027) The first implementation had limitation wrt to static routes so this is a "simpler" approach to making interception work. This also fixes a few bugs. In this PR: - changed the computation of the referrer route to now live on the client state, since it's the only place w...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -137,6 +137,7 @@ import { isAppRouteRoute } from '../lib/is-app-route-route'\n import { createClientRouterFilter } from '../lib/create-client-router-filter'\n import { createValidFileMatcher } from '../server/lib/find-page-file'\n import { startType...
2023-04-06T15:59:45
huggingface/transformers
61eff450d39742ac28789fe7a2a133395b133ace
5f6e278a5177d8b85945a2cdb6b776dacee34914
Benchmarking v2 GH workflows (#40716) * WIP benchmark v2 workflow * Container was missing * Change to sandbox branch name * Wrong place for image name * Variable declarations * Remove references to file logging * Remove unnecessary step * Fix deps install * Syntax * Add workdir * Add upload feature * typo ...
[ { "path": ".github/workflows/benchmark_v2.yml", "patch": "@@ -0,0 +1,82 @@\n+name: Benchmark v2 Framework\n+\n+on:\n+ workflow_call:\n+ inputs:\n+ runner:\n+ description: 'GH Actions runner group to use'\n+ required: true\n+ type: string\n+ commit_sha:\n+ descriptio...
2025-09-19T08:54:49
golang/go
1292e212416f5bca1f32d3ec0679b7dae97f6f1b
a419f2f5c364031e2f65a9f031e8bb52e9c22fc9
cmd/trace: use fmt.Print for newline-ending fixed string This redundancy is now caught by the improved printf vet checker. Updates #49322 Change-Id: Ic7a931b8d4838be02ebb855b69624b95093bd114 Reviewed-on: https://go-review.googlesource.com/c/go/+/361265 Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-...
[ { "path": "src/cmd/trace/main.go", "patch": "@@ -66,7 +66,7 @@ var (\n \n func main() {\n \tflag.Usage = func() {\n-\t\tfmt.Fprintln(os.Stderr, usageMessage)\n+\t\tfmt.Fprint(os.Stderr, usageMessage)\n \t\tos.Exit(2)\n \t}\n \tflag.Parse()", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-11-03T23:44:44
nodejs/node
8347dbefc37b8202251287d96a753606f4c397f9
e02453c3bd44e744c1798c5928e01dfff5c828ef
test: fix for activities in tick objects prune function PR-URL: https://github.com/nodejs/node/pull/26163 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/async-hooks/verify-graph.js", "patch": "@@ -23,12 +23,15 @@ function pruneTickObjects(activities) {\n data: null\n };\n \n+ if (!Array.isArray(activities))\n+ return activities;\n+\n while (tickObject.found) {\n for (let i = 0; i < activities.length; i++) {\n if (activi...
2019-02-17T20:10:01
electron/electron
b5478eaef76063f65bda41da65461f03017d989d
1ae4be75717b5b4f17bc21624acc07c257ed3e34
Update MAS tutorial to improve readability Adjusted tutorial body copy and headings to improve readability, clarify sentences, and fix some (minor) grammatical missteps.
[ { "path": "docs/tutorial/mac-app-store-submission-guide.md", "patch": "@@ -1,29 +1,28 @@\n # Mac App Store Submission Guide\n \n-Since v0.34.0, Electron allows submitting packaged apps to Mac App Store (MAS),\n-this guide provides information on how to submit your app, and the limitations\n+Since v0.34.0, E...
2015-10-16T22:50:41
vercel/next.js
dec037a421c93daab5282e51659d801c822b4ee8
200e83245c83945f368205fc4cfce0903c5ef96e
fix lint issue (#48023) ### What Docs changes need to be linted for language
[ { "path": "package.json", "patch": "@@ -29,7 +29,7 @@\n \"git-clean\": \"git clean -d -x -e node_modules -e packages -f\",\n \"lint-typescript\": \"turbo run typescript\",\n \"lint-eslint\": \"eslint . --ext js,jsx,ts,tsx --max-warnings=0 --config .eslintrc.json --no-eslintrc\",\n- \"lint-no-...
2023-04-06T15:16:29
golang/go
a419f2f5c364031e2f65a9f031e8bb52e9c22fc9
9cf671106721451af4a556dc0bf56c133836d008
cmd/compile/internal/syntax: better error message when type parameters are not permitted Fixes #48382. Change-Id: I215896a4429839c41c9136b6922b1b748ed47734 Reviewed-on: https://go-review.googlesource.com/c/go/+/361259 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -708,15 +708,7 @@ func (p *parser) funcDeclOrNil() *FuncDecl {\n \t}\n \n \tf.Name = p.name()\n-\tif p.allowGenerics() && p.got(_Lbrack) {\n-\t\tif p.tok == _Rbrack {\n-\t\t\tp.syntaxError(\"empty type parameter list\")\n-\t\t\tp.next()\n-\...
2021-11-03T21:58:59
nodejs/node
a32cbe159749c645bf2da6b2af46f9b732b416e0
9edce1e12a7b69e7986dd15fce18d6e46590161a
util: fix proxy inspection This prevents any proxy traps from being called while inspecting proxy objects. That guarantees a side-effect free way of inspecting proxies. PR-URL: https://github.com/nodejs/node/pull/26241 Fixes: https://github.com/nodejs/node/issues/10731 Fixes: https://github.com/nodejs/node/issues/262...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -495,18 +495,23 @@ function formatValue(ctx, value, recurseTimes, typedArray) {\n return ctx.stylize('null', 'null');\n }\n \n+ // Memorize the context for custom inspection on proxies.\n+ const context = value;\n+ // Always check for proxies t...
2019-02-21T15:07:07
vercel/next.js
e35710f71f8e0f2844add1a97513a65a54a6f2a3
dd959251e6763bbc53753b8b8869de753dd7394c
Recommend @opentelemetry/api instead of @vercel/otel reexport (#48013) - remove vscode folder from example - recommend `@poentelemetry/api` over `@vercel/otel` <!-- 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 t...
[ { "path": "docs/advanced-features/open-telemetry.md", "patch": "@@ -56,13 +56,16 @@ To see more spans, you must set `NEXT_OTEL_VERBOSE=1`.\n \n ## Custom Spans\n \n-OpenTelemetry enables you to add your own custom spans to trace using official OpenTelemetry APIs.\n-Our package `@vercel/otel` exports everyth...
2023-04-06T12:17:47
golang/go
9cf671106721451af4a556dc0bf56c133836d008
91962dfde1a754a0ccdc514c9a2acfae25fc1f5e
cmd/cover: use fmt.Print for newline-ending fixed string This redundancy is now caught by the improved printf vet checker (golang/go#30436). Updates #49322 Change-Id: Id450247adc6fa28a9244c019be3c1b52c2d17f49 Reviewed-on: https://go-review.googlesource.com/c/go/+/361263 Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@g...
[ { "path": "src/cmd/cover/cover.go", "patch": "@@ -40,8 +40,8 @@ Finally, to generate modified source code with coverage annotations\n `\n \n func usage() {\n-\tfmt.Fprintln(os.Stderr, usageMessage)\n-\tfmt.Fprintln(os.Stderr, \"Flags:\")\n+\tfmt.Fprint(os.Stderr, usageMessage)\n+\tfmt.Fprintln(os.Stderr, \"...
2021-11-03T23:31:11
nodejs/node
4a10ce68836c9294006f81b8aa74d2b2890bd0c9
cd302d70ddd0d1c249a7242ef7eb1b90bf8eb0de
report: fix build warning in node_report.cc Fixes `maybe-uninitialized` build warning in `src/node_report.cc`. PR-URL: https://github.com/nodejs/node/pull/26265 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mic...
[ { "path": "src/node_report.cc", "patch": "@@ -172,16 +172,14 @@ std::string TriggerNodeReport(Isolate* isolate,\n std::cerr << \" (errno: \" << errno << \")\" << std::endl;\n return \"\";\n }\n+ outstream = &outfile;\n \n std::cerr << std::endl\n << \"Writing Node.js rep...
2019-02-22T18:22:06
vercel/next.js
dd959251e6763bbc53753b8b8869de753dd7394c
ad75394a22b9a159a1d76fc6e341760def55367d
Docs: Improve Open Telemetry documentation (#47955) - Removed duplicate information - Add links into official docs to explain `http.*` attributes - Properly explain what `next.page` means. fix NEXT-945 --------- Co-authored-by: Lee Robinson <me@leerob.io>
[ { "path": "docs/advanced-features/open-telemetry.md", "patch": "@@ -94,87 +94,119 @@ In order to be able to leverage instrumentation provided by next.js you will nee\n \n Next.js automatically instruments several spans for you to provide useful insights into your application's performance.\n \n-All spans ha...
2023-04-06T11:41:19
golang/go
fa19146038e0e94480c93d43e2a8306c419d5119
283373d124b39be62fb4dc0349ddf0cb1c99aeb7
net/netip: fix various typos in comments Change-Id: I67998f70969ac6e6ff1b52a56e49a61ef167ed50 Reviewed-on: https://go-review.googlesource.com/c/go/+/361055 Trust: Jason A. Donenfeld <Jason@zx2c4.com> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -4,7 +4,7 @@\n \n // Package netip defines a IP address type that's a small value type.\n // Building on that Addr type, the package also defines AddrPort (an\n-// IP address and a port), and Prefix (a IP address and a bit length\n+// IP address and a port), ...
2021-11-03T15:18:36
electron/electron
f05fc3c0ea5f12a0eb764f17f32443de74aa5e5d
b61baacfe1983becfbe224c1dd90cc3c99bd6c5f
Improve grammar, some fixes * Improve grammar * Fix typos * Fix some mistranslations * Fix quotes (' to `)
[ { "path": "docs-translations/ko-KR/api/app.md", "patch": "@@ -1,8 +1,8 @@\n # app\n \n-앱 모듈은 어플리케이션의 생명주기(?) 제어를 책임집니다.\n+`app` 모듈은 어플리케이션의 생명주기 제어를 책임집니다.\n \n-밑의 예제는 마지막 윈도우가 종료되었을 때, 어떻게 어플리케이션을 종료하는지 설명합니다.\n+밑의 예제는 마지막 윈도우창가 종료되었을 때, 어플리케이션을 종료시키는 예제입니다:\n \n ```javascript\n var app = require('app');\n...
2015-10-16T13:23:31
nodejs/node
cd302d70ddd0d1c249a7242ef7eb1b90bf8eb0de
0d64a560121e7420df9df7c2b5a7e162c4ef307b
stream: make _read() be called indefinitely if the user wants so Fixes: https://github.com/nodejs/node/issues/26097 PR-URL: https://github.com/nodejs/node/pull/26135 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -495,6 +495,7 @@ Readable.prototype.read = function(n) {\n };\n \n function onEofChunk(stream, state) {\n+ debug('onEofChunk');\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n@@ -525,6 +526,7 @@ function onEofC...
2019-02-15T16:19:38
vercel/next.js
8ee5a0480a8d40e495ac31df32683eb19f91281d
428a7df3841f3a280fb4d2c16638ef161cb5f5a5
add ServerDirective transform which reports unsupported (vercel/turbo#4477) ### Description "use server" isn't supported yet, but we want to have an error message
[ { "path": "crates/turbopack-ecmascript/src/parse.rs", "patch": "@@ -23,7 +23,7 @@ use turbo_tasks::{\n primitives::{StringVc, U64Vc},\n Value, ValueToString,\n };\n-use turbo_tasks_fs::{FileContent, FileSystemPath};\n+use turbo_tasks_fs::{FileContent, FileSystemPath, FileSystemPathVc};\n use turbo_t...
2023-04-06T10:32:28
rust-lang/rust
322e1393a48a65164254740680d41bdcbee6195f
ed143afc7f5ee4b3ce0c692b0528bdc51d0733ab
Fix false positive of `borrow_deref_ref` If a reborrow is itself borrowed mutably, do not propose to replace it by the original reference.
[ { "path": "clippy_lints/src/borrow_deref_ref.rs", "patch": "@@ -2,9 +2,9 @@ use crate::reference::DEREF_ADDROF;\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::source::SpanRangeExt;\n use clippy_utils::ty::implements_trait;\n-use clippy_utils::{get_parent_expr, is_from_proc_macro, i...
2025-06-04T10:35:19
huggingface/transformers
4df2529d79d75f44e70396df5888a32ffa02d61e
5ac3c5171a6b01708e574eaa11fa2a60086d26bc
🚨🚨🚨 Fully remove Tensorflow and Jax support library-wide (#40760) * setup * start the purge * continue the purge * more and more * more * continue the quest: remove loading tf/jax checkpoints * style * fix configs * oups forgot conflict * continue * still grinding * always more * in tje zone * never st...
[ { "path": "README.md", "patch": "@@ -80,7 +80,7 @@ Explore the [Hub](https://huggingface.com/) today to find a model and use Transf\n \n ## Installation\n \n-Transformers works with Python 3.9+ [PyTorch](https://pytorch.org/get-started/locally/) 2.1+, [TensorFlow](https://www.tensorflow.org/install/pip) 2.6...
2025-09-18T16:27:39
golang/go
283373d124b39be62fb4dc0349ddf0cb1c99aeb7
1f368d5b860b178bcbd55dfeb64474295263516b
database/sql: fix tx.Prepare documentation Fixes: #45978 Change-Id: I3d5ccd621d670f97bb1a642b4e84b6629347a315 Reviewed-on: https://go-review.googlesource.com/c/go/+/339291 Reviewed-by: Daniel Theophanes <kardianos@gmail.com> Trust: Cherry Mui <cherryyz@google.com>
[ { "path": "src/database/sql/sql.go", "patch": "@@ -2364,8 +2364,8 @@ func (tx *Tx) PrepareContext(ctx context.Context, query string) (*Stmt, error) {\n \n // Prepare creates a prepared statement for use within a transaction.\n //\n-// The returned statement operates within the transaction and can no longer\...
2021-08-03T17:09:29
nodejs/node
0d64a560121e7420df9df7c2b5a7e162c4ef307b
980cce6d29e39bd6d2f86d4f7d25360a4dc2ccc3
2019-02-28, Version 6.17.0 'Boron' (LTS) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/ for details on patched vulnerabilities. Fixes for the following CVEs are included in this release: * N...
[ { "path": "CHANGELOG.md", "patch": "@@ -100,7 +100,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.16.0\">6.16.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.17.0\">6.17.0</a><...
2019-02-28T05:58:49
rust-lang/rust
a82062055af1ecdcb7f4d3371855aae843fc0ae3
6c8138de8f1c96b2f66adbbc0e37c73525444750
Delegate `<CStr as Debug>` to `ByteStr` This allows UTF-8 characters to be printed without escapes, rather than just ASCII.
[ { "path": "library/alloc/src/ffi/c_str.rs", "patch": "@@ -714,6 +714,8 @@ impl ops::Deref for CString {\n }\n }\n \n+/// Delegates to the [`CStr`] implementation of [`fmt::Debug`],\n+/// showing invalid UTF-8 as hex escapes.\n #[stable(feature = \"rust1\", since = \"1.0.0\")]\n impl fmt::Debug for CStri...
2025-04-18T15:18:25
vercel/next.js
ad75394a22b9a159a1d76fc6e341760def55367d
e4e5c1674aa2ce203042b512d31cabbc5e69b576
fix code generation for loader tree (#47987) ### What? Fix missing `,` in loader tree code. also adds `unsupported` as category of implicit metadata issue ### Why? The loader tree to JS generated invalid code when there there where two non-page files in a directory. fixes WEB-861
[ { "path": "packages/next-swc/crates/next-core/src/app_source.rs", "patch": "@@ -597,9 +597,9 @@ impl AppRendererVc {\n state.counter += 1;\n let identifier = magic_identifier::mangle(&format!(\"{name} #{i}\"));\n let chunks_identifier = magic_identifier::mangl...
2023-04-06T10:31:34
huggingface/transformers
5ac3c5171a6b01708e574eaa11fa2a60086d26bc
d9d7f6a6b9ee34d33ebf8d140e247134daf84a7b
Track the CI (model) jobs that don't produce test output files (process being killed etc.) (#40981) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/model_jobs.yml", "patch": "@@ -138,10 +138,16 @@ jobs:\n - name: Run all tests on GPU\n working-directory: /transformers\n run: |\n- PATCH_TESTING_METHODS_TO_COLLECT_OUTPUTS=yes _PATCHED_TESTING_METHODS_OUTPUT_DIR=/transformers/reports/${{ env.mach...
2025-09-18T16:27:27
golang/go
1f368d5b860b178bcbd55dfeb64474295263516b
d3f5dd57811ca6c55654e67c58cf594fc2e5091e
database/sql: use errors.Is when checking ErrBadConn When drivers return driver.ErrBadConn, no meaningful information about what the cause of the problem is returned. Ideally the driver.ErrBadConn would be always caught with the retry loop, but this is not always the case. Drivers today must choose between returning a...
[ { "path": "src/database/sql/driver/driver.go", "patch": "@@ -156,6 +156,9 @@ var ErrSkip = errors.New(\"driver: skip fast-path; continue as if unimplemented\")\n // if there's a possibility that the database server might have\n // performed the operation. Even if the server sends back an error,\n // you sho...
2021-07-12T14:25:04
nodejs/node
980cce6d29e39bd6d2f86d4f7d25360a4dc2ccc3
b974d0dd646785a6b96ea1a525c203d2a583687b
2019-02-28, Version 8.15.1 'Carbon' (LTS) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/ for details on patched vulnerabilities. Fixes for the following CVEs are included in this release: * ...
[ { "path": "CHANGELOG.md", "patch": "@@ -66,7 +66,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V10.md#10.0.0\">10.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.15.0\">8.15.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.15.1\">8.15.1</...
2019-02-28T05:57:34
huggingface/transformers
d9d7f6a6b9ee34d33ebf8d140e247134daf84a7b
738b223f57fdef69e9db2de2f9e1203b43eef251
Revert change in `compile_friendly_resize` (#40645) fix
[ { "path": "src/transformers/image_processing_utils_fast.py", "patch": "@@ -375,9 +375,13 @@ def compile_friendly_resize(\n A wrapper around `F.resize` so that it is compatible with torch.compile when the image is a uint8 tensor.\n \"\"\"\n if image.dtype == torch.uint8:\n- ...
2025-09-18T15:25:45
vercel/next.js
e4e5c1674aa2ce203042b512d31cabbc5e69b576
9b0af0464946ba9c11d97e5c4fa87aa64d0fe1ed
Fix css applying for root not found (#47992) ### What This issue is introduced in #47688, we need to do the same work for rendering single component which collecting the assets and then render with root layout + root not found Fix #47970 Related #47862 (partially fix the css issue but not link issue) ### H...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -2541,11 +2541,14 @@ export default async function build(\n const updatedRelativeDest = path\n .join('pages', '404.html')\n .replace(/\\\\/g, '/')\n- await promises.copyFile(\n- ...
2023-04-06T11:37:55
golang/go
d3f5dd57811ca6c55654e67c58cf594fc2e5091e
7f2463cc363fe8dbcbb89d521d1ede650de86c9b
syscall: migrate new UDP send/recv API to internal/syscall/unix CL 331490 and friends added new API to package syscall. This was a mistake that we need to fix before Go 1.18 is released. Change-Id: I697c9a4fa649d564822f585dc163df5ab9e5ae08 Reviewed-on: https://go-review.googlesource.com/c/go/+/361216 Trust: Josh Blee...
[ { "path": "api/next.txt", "patch": "@@ -8,114 +8,6 @@ pkg runtime/debug, type BuildInfo struct, Settings []BuildSetting\n pkg runtime/debug, type BuildSetting struct\n pkg runtime/debug, type BuildSetting struct, Key string\n pkg runtime/debug, type BuildSetting struct, Value string\n-pkg syscall (darwin-am...
2021-11-03T20:43:12
rust-lang/rust
af663097420196e1b0150e51be720b5c35ab5d88
fa7a6c1a4602e9ddbe299c6a204913301514790a
Support spans with proc macro servers from before the ast id changes The only thing changed is the value of the fixup ast id, so we just swap it.
[ { "path": "src/tools/rust-analyzer/crates/proc-macro-api/src/legacy_protocol/msg.rs", "patch": "@@ -55,7 +55,7 @@ pub enum SpanMode {\n Id,\n \n /// Rust Analyzer-specific span handling mode.\n- RustAnalyzer { fixup_ast_id: u32 },\n+ RustAnalyzer,\n }\n \n /// Represents responses sent from th...
2025-06-12T12:32:08
electron/electron
115bb31ab468faa2958b9c7888ebdbeec6d1a651
22e9c2f4ebbf3f4990afd27cea650cc652e0d1b8
docs: Small fix on mas guide
[ { "path": "docs/tutorial/mac-app-store-submission-guide.md", "patch": "@@ -6,18 +6,15 @@ of the MAS build.\n \n ## How to submit your app\n \n-Following steps introduces a simple way submit your app to Mac App Store, but\n+Following steps introduces a simple way to submit your app to Mac App Store, but\n it...
2015-10-16T12:21:06
huggingface/transformers
738b223f57fdef69e9db2de2f9e1203b43eef251
dd7ac4cd59563d455c9f700cc9119b2f79f8a865
Add captured actual outputs to CI artifacts (#40965) * fix * fix * Remove `# TODO: ???` as it make me `???` * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/model_jobs.yml", "patch": "@@ -128,28 +128,35 @@ jobs:\n echo \"machine_type=$machine_type\" >> $GITHUB_ENV\n echo \"machine_type=$machine_type\" >> $GITHUB_OUTPUT\n \n+ - name: Create report directory if it doesn't exist\n+ shell: bash\n+ ...
2025-09-18T13:40:53
nodejs/node
b974d0dd646785a6b96ea1a525c203d2a583687b
f1cefdca803e1947558f8546940958518f8414b5
2019-02-28, Version 10.15.2 'Dubnium' (LTS) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/ for details on patched vulnerabilities. A fix for the following CVE is included in this release: * ...
[ { "path": "CHANGELOG.md", "patch": "@@ -42,7 +42,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V11.md#11.0.0\">11.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.15.1\">10.15.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.15.2\">10....
2019-02-28T05:10:16
vercel/next.js
428a7df3841f3a280fb4d2c16638ef161cb5f5a5
ebe4daee4db2091e88e7f67cd59e41aae1024e6b
Better dotenv error messages (vercel/turbo#4464) The issue message emitted by `TryDotenvProcessEnv` was pretty bad: `Execution of TryDotenvProcessEnv::read_all failed`. This error message comes from #3550, which attaches the calling function as the context for every failed turbo function. This PR accomplishes 2 ...
[ { "path": "crates/turbo-tasks-env/src/dotenv.rs", "patch": "@@ -22,21 +22,22 @@ impl DotenvProcessEnvVc {\n pub fn new(prior: Option<ProcessEnvVc>, path: FileSystemPathVc) -> Self {\n DotenvProcessEnv { prior, path }.cell()\n }\n-}\n \n-#[turbo_tasks::value_impl]\n-impl ProcessEnv for Dotenv...
2023-04-06T10:29:59
rust-lang/rust
4b3ad4bd10df55d8beb4cb0c77a303ee3255b020
4d811e34cc111b8145b9206467f99a8dfa3b4fe2
Fix tests
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/nameres/tests/incremental.rs", "patch": "@@ -348,7 +348,7 @@ m!(Z);\n assert_eq!(module_data.scope.resolutions().count(), 4);\n });\n let n_recalculated_item_trees =\n- events.iter().filter(|it| it.contains(\"file_i...
2025-06-12T12:01:46
golang/go
7f2463cc363fe8dbcbb89d521d1ede650de86c9b
74f99d0933d5c201fc17d90ab612cd1a9c7d425f
cmd/compile: fix up shape type package Use go.shape instead of .shape as the package the compiler uses to store shape types. Prevent path escaping for compiler-internal types, so we don't need to see %2e everywhere. Change-Id: I98e39c3b6472560113bdea7e0ba6eb7b81cb35e0 Reviewed-on: https://go-review.googlesource.com/...
[ { "path": "src/cmd/compile/internal/types/pkg.go", "patch": "@@ -9,6 +9,7 @@ import (\n \t\"cmd/internal/objabi\"\n \t\"fmt\"\n \t\"sort\"\n+\t\"strings\"\n \t\"sync\"\n )\n \n@@ -48,7 +49,13 @@ func NewPkg(path, name string) *Pkg {\n \tp := new(Pkg)\n \tp.Path = path\n \tp.Name = name\n-\tp.Prefix = objabi...
2021-11-03T18:26:37
huggingface/transformers
2ce35a248fac4abe0d4676f81ecaf4dd7875f8ce
6e51ac31effcd46c857869c6e210b6532a377aaa
Fix Issue #39030: AutoTokenizer.from_pretrained does not propagate token (#40956) * fix merge conflicts * change token typing --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-27-253.ec2.internal>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -963,6 +963,7 @@ def get_processor_dict(\n local_files_only=local_files_only,\n revision=revision,\n cache_dir=cache_dir,\n+ token=token,\n ...
2025-09-18T13:22:19
electron/electron
5e5caf2e8649ea87ad27a91ce7ac23be976d5346
c371c713a9c78105e5eb8c2596609ceba8831ecc
Translation of debugging-main-process to pt-br.
[ { "path": "docs-translations/pt-BR/tutorial/debugging-main-process.md", "patch": "@@ -0,0 +1,53 @@\n+# Depurando o Processo Principal\n+\n+A janela do navegador, DevTools, pode somente depurar o processo de renderização\n+de scripts (por exemplo, as páginas da web). Para providenciar um modo de\n+depurar os...
2015-10-16T12:09:24
nodejs/node
f1cefdca803e1947558f8546940958518f8414b5
667b31be954f3e97bdc19f1235c3625e627b3136
2019-02-28, Version 11.10.1 (Current) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/ for details on patched vulnerabilities. A fix for the following CVE is included in this release: * Node.j...
[ { "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.10.0\">11.10.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V11.md#11.10.1\">11.10.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V11.md#11.1...
2019-02-28T05:09:58
vercel/next.js
ebdc8903cf64bb2ed2614b56740a9f3fcc66c5a9
3a49a29a7068ce7fb516f349d89416b99e4f8f87
update turbopack (#47994) * https://github.com/vercel/turbo/pull/4480 <!-- Tobias Koppers - fix CSS HMR for pages --> * https://github.com/vercel/turbo/pull/4473 <!-- Tobias Koppers - use error pretty printer for code gen errors --> * https://github.com/vercel/turbo/pull/4476 <!-- Tobias Koppers - handle module e...
[ { "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-230404.4#cde4882e0ac5bad949553bf83665bbbe842dabd6\"\n+source = \"git+https://github.com/v...
2023-04-06T04:42:45
golang/go
74f99d0933d5c201fc17d90ab612cd1a9c7d425f
cfd016df1fba2a2a104f4cca705aa4357777986b
database/sql: Fix idle connection reuse Fix idle connection reuse so that ConnMaxIdleTime clears down excessive idle connections. This now ensures that db.freeConn is ordered by returnedAt and that connections that have been idle for the shortest period are reused first. In addition connectionCleanerRunLocked update...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -464,8 +464,8 @@ type DB struct {\n \t// connections in Stmt.css.\n \tnumClosed uint64\n \n-\tmu sync.Mutex // protects following fields\n-\tfreeConn []*driverConn\n+\tmu sync.Mutex // protects following fields\n+\tfreeConn []*...
2020-06-09T07:58:08
huggingface/transformers
6e51ac31effcd46c857869c6e210b6532a377aaa
9378f874c1c2bb6d03f1d6a639b1d56859966798
[timm_wrapper] better handling of "Unknown model" exception in timm (#40951) * fix(timm): Add exception handling for unknown Gemma3n model * nit: Let’s cater to this specific issue * nit: Simplify error handling
[ { "path": "src/transformers/models/timm_wrapper/modeling_timm_wrapper.py", "patch": "@@ -55,6 +55,28 @@ class TimmWrapperModelOutput(ModelOutput):\n attentions: Optional[tuple[torch.FloatTensor, ...]] = None\n \n \n+def _create_timm_model_with_error_handling(config: \"TimmWrapperConfig\", **model_kwargs...
2025-09-18T13:09:08
electron/electron
16b9f8995df5fe0097bca3eea31aae2e2b3749a4
0e94ccb72bddfa0c0c466a8981c0238588d664dd
Revert "Go back to using node's console.* and std*.write" This reverts commit 4e8db2c3be8f3c9a172fb87ad8739493ab3dfbb1. It seems that we still have problems with Node.js's console.* calls, I'm reverting this for now unitl we get a solution. Fixes #3100.
[ { "path": "atom/browser/lib/init.coffee", "patch": "@@ -18,6 +18,25 @@ require path.resolve(__dirname, '..', '..', 'common', 'lib', 'init')\n globalPaths = Module.globalPaths\n globalPaths.push path.resolve(__dirname, '..', 'api', 'lib')\n \n+if process.platform is 'win32'\n+ # Redirect node's console to u...
2015-10-16T09:38:11
nodejs/node
667b31be954f3e97bdc19f1235c3625e627b3136
04d5c1b8fde631e82b4b3d025e5532e8d05add39
http: prevent slowloris with keepalive connections Fixes: https://github.com/nodejs-private/security/issues/214 PR-URL: https://github.com/nodejs-private/node-private/pull/158 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "lib/_http_server.js", "patch": "@@ -622,6 +622,10 @@ function emitCloseNT(self) {\n function parserOnIncoming(server, socket, state, req, keepAlive) {\n resetSocketTimeout(server, socket, state);\n \n+ if (server.keepAliveTimeout > 0) {\n+ req.on('end', resetHeadersTimeoutOnReqEnd);\n+ }\n...
2018-12-01T15:29:13
vercel/next.js
3a49a29a7068ce7fb516f349d89416b99e4f8f87
89e30409b07ef4a26c3b549bc04ff8f1ac22110d
If prefetching detected as app route, pass "as" to handleHardNavigation instead of "url" (#47949) ### Fixing a bug Follow-up to https://github.com/vercel/next.js/pull/47761: It seems that `handleHardNavigation` needs to take `as` instead of `url`, in order to be consistent with the rest of the code. Without th...
[ { "path": "packages/next/src/shared/lib/router/router.ts", "patch": "@@ -1323,7 +1323,7 @@ export default class Router implements BaseRouter {\n // if we detected the path as app route during prefetching\n // trigger hard navigation\n if ((this.components[pathname] as any)?.__appRouter) {\n- ...
2023-04-06T01:32:51
huggingface/transformers
9378f874c1c2bb6d03f1d6a639b1d56859966798
7cf1f5ced0bbf224e5e96a84b3f802f1da7b8b9f
[Trainer] Fix DP loss (#40799) * fix * style * Fix fp16 * style --------- Co-authored-by: Matej Sirovatka <54212263+S1ro1@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2483,8 +2483,7 @@ def _inner_training_loop(\n model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(\n self.model, self.optimizer, self.lr_scheduler\n )\n- elif self.args.optim in ...
2025-09-18T13:07:20
golang/go
d4e0e8e4a41e5e1e7d0359287a1015791ce778ed
e0e6e4d23fe840c2c9b4caed30930cad6788b797
cmd/compile: make pointers to arrays their own shape Pointers to arrays can be used to cast from a slice. We need the shape of such type params to be different so we can compile those casts correctly. This is kind of a big hammer to fix #49295. It would be nice to only do this when we know there's a []T->*[N]T conver...
[ { "path": "src/cmd/compile/internal/typecheck/subr.go", "patch": "@@ -1421,7 +1421,9 @@ func Shapify(t *types.Type, index int) *types.Type {\n \n \t// All pointers have the same shape.\n \t// TODO: Make unsafe.Pointer the same shape as normal pointers.\n-\tif u.Kind() == types.TPTR {\n+\t// Note: pointers t...
2021-11-03T16:40:32
electron/electron
aeb24b784d00e55dbc9e3a708f6cb0e6b7cddf00
125444df152165e89e757377d053dc95bb3917c9
Allow "released callback" errors to be traced to remote calls
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -69,7 +69,9 @@ unwrapArgs = (sender, args) ->\n rendererReleased = true\n \n ret = ->\n- throw new Error('Calling a callback of released renderer view') if rendererReleased\n+ if rendererReleased\n+ t...
2015-10-16T01:36:02
nodejs/node
04d5c1b8fde631e82b4b3d025e5532e8d05add39
4a3928e125bb1ab7242e8134f911b6c71551bd75
doc: revise deprecation semverness info in Collaborator Guide Simplify and clarify deprecation semverness information in the Collaborator Guide. Unlike some of the other changes I've made lately, this one is not merely cosmetic. It changes information about how to handle deprecations vis-a-vis SemVer. The revised conv...
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -339,13 +339,13 @@ documentation must state the deprecation status.\n * Backward-incompatible changes including complete removal of such APIs may\n occur at any time.\n \n-Documentation-Only Deprecations may be handled as semver-minor or semver-major\n-c...
2019-02-21T06:30:14
vercel/next.js
89e30409b07ef4a26c3b549bc04ff8f1ac22110d
6466538033ca2cb19f737081bf936467b41885e5
Implement `Route` type for router APIs (#47931) This pull request extends the type checking functionality of the `typedRoutes` feature, which is currently available in the `<Link href={Route}>` component, to the following `router` APIs: `router.push()`, `router.prefetch()`, and `router.replace()`. The implementation l...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -432,7 +432,32 @@ declare module 'next/link' {\n }\n \n export default function Link<RouteType>(props: LinkProps<RouteType>): JSX.Element\n-}`\n+}\n+\n+declare module 'next/navigation' {\n+ export * from 'next/dist/c...
2023-04-06T00:30:58
huggingface/transformers
f6104189fda98a39757fd456b65261edfd183e65
c532575795e4ccbf3c912a457528a9a60c0b94de
Fix outdated version checks of accelerator (#40969) * Fix outdated version checks of accelerator Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Fix outdated version checks of accelerator Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -241,10 +241,9 @@\n DATA_SAMPLERS = [RandomSampler]\n if version.parse(accelerate_version) > version.parse(\"1.3.0\"):\n from accelerate.utils import TorchTensorParallelPlugin\n- if version.parse(accelerate_version) > version.parse(\"0...
2025-09-18T11:49:14
rust-lang/rust
6a0f4e59a898f07045e4b05d3ed66f3179100971
fa7a6c1a4602e9ddbe299c6a204913301514790a
Fix comparison of proc macros Comparing the TypeId is not enough, they also contain data.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mod.rs", "patch": "@@ -14,7 +14,7 @@ mod builtin_fn_macro;\n mod mbe;\n mod proc_macros;\n \n-use std::{iter, ops::Range, sync};\n+use std::{any::TypeId, iter, ops::Range, sync};\n \n use base_db::RootQueryDb;\n use expect_test::Exp...
2025-06-12T10:22:44
golang/go
e0e6e4d23fe840c2c9b4caed30930cad6788b797
5f0e5d21bb1f2c1baf15bfd90ad5b090b88e6292
internal/fuzz: improve error for mismatched types Fixes #48635 Change-Id: Ia3cde119d5eb31bc771fe3a39acb2372dbd988ff Reviewed-on: https://go-review.googlesource.com/c/go/+/361114 Trust: Katie Hockman <katie@golang.org> Trust: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Katie Hockman <katie@golang.org> Reviewed-by: Danie...
[ { "path": "src/cmd/go/testdata/script/test_fuzz.txt", "patch": "@@ -152,6 +152,7 @@ stdout FAIL\n # Test that the wrong type given with f.Add will fail.\n ! go test -run FuzzWrongType fuzz_add_test.go\n ! stdout ^ok\n+stdout '\\[string int\\], want \\[\\[\\]uint8 int8\\]'\n stdout FAIL\n \n # Test fatal wit...
2021-11-03T14:58:59
nodejs/node
4a3928e125bb1ab7242e8134f911b6c71551bd75
17b4949a84106d70749106985f6d606004acf25a
test: eliminate port collision In test test-cluster-net-listen-ipv6only-rr, the cluster member that listens to `any` port actually has the potential to `grab` any port from the environment which when passed onto the master causes collision when it tries to listen on. Moving the test to sequential alone is not suffici...
[ { "path": "test/sequential/test-cluster-net-listen-ipv6only-rr.js", "patch": "@@ -48,9 +48,14 @@ if (cluster.isMaster) {\n workers.set(i, worker);\n }\n } else {\n+ // As the cluster member has the potential to grab any port\n+ // from the environment, this can cause collision when master\n+ // obt...
2019-02-25T14:35:09
vercel/next.js
6466538033ca2cb19f737081bf936467b41885e5
be2237fc92145a92d552f665bb60ae242324cb8e
allow turbopack HMR to recover from react errors without hard refresh (#47771)
[ { "path": "packages/next-swc/crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -8,523 +8,520 @@ import type {\n Issue,\n ResourceIdentifier,\n ServerMessage,\n-} from \"@vercel/turbopack-dev-runtime/types/protocol\";\n+} from '@vercel/turbopack-dev-runtime/types/protocol'\n import type {\n Ch...
2023-04-06T00:19:08