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
bcb0e282018045cba63090cc90451f4e5d08d3d7
a746597430bd111b321e6e656ba6120311c43736
fix: apply default export interop to pages/_app (#43335) Fixes https://github.com/vercel/next.js/issues/43330
[ { "path": "packages/next/taskfile.js", "patch": "@@ -2223,7 +2223,11 @@ export async function nextbuildstatic(task, opts) {\n export async function pages_app(task, opts) {\n await task\n .source('pages/_app.tsx')\n- .swc('client', { dev: opts.dev, keepImportAssertions: true })\n+ .swc('client', ...
2022-11-24T17:10:45
huggingface/transformers
bc2dea3f549d512503640a7f244d45490d918378
35253076f4f8ef12630dcc3a9618221a2c0a4f40
Fix meta state dict loading with quantizers (#37136) Update modeling_utils.py Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -752,7 +752,11 @@ def _load_state_dict_into_meta_model(\n device_map_regex = \"|\".join([re.escape(k) for k in sorted(device_map.keys(), reverse=True)])\n \n is_quantized = hf_quantizer is not None\n- is_meta_state_dict = shard_file...
2025-04-01T16:45:58
golang/go
92c9f3a9b80eda50a55f8860587c2ed7734f4a29
becb9a278fdeccfb562dd1232f052050f00a4aaa
cmd/go: include C/C++/Fortran compiler version in build ID This will force a rebuild if the C/C++/Fortran compiler changes. No test because a real test requires installing two different compilers. Fixes #40042 Change-Id: I83cc88ade90d665a6fce06435068f39c811e43af Reviewed-on: https://go-review.googlesource.com/c/go/...
[ { "path": "src/cmd/go/internal/work/buildid.go", "patch": "@@ -204,7 +204,7 @@ func (b *Builder) toolID(name string) string {\n // In order to get reproducible builds for released compilers, we\n // detect a released compiler by the absence of \"experimental\" in the\n // --version output, and in that case ...
2021-04-28T00:32:02
nodejs/node
bfcf5b01bb4112b833a936a8266879b58ed391db
2930bd1317d15d12738a4896c0a6c05700411b47
src: remove tick_info->has_thrown This is no longer necessary in the only place it was used (timers). PR-URL: https://github.com/nodejs/node/pull/20894 Fixes: https://github.com/nodejs/node/issues/10154 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin...
[ { "path": "src/callback_scope.cc", "patch": "@@ -59,10 +59,6 @@ InternalCallbackScope::InternalCallbackScope(Environment* env,\n AsyncWrap::EmitBefore(env, asyncContext.async_id);\n }\n \n- if (!IsInnerMakeCallback()) {\n- env->tick_info()->set_has_thrown(false);\n- }\n-\n env->async_hooks()->p...
2018-05-13T17:33:22
electron/electron
0fe65a688ed6719841a79ec3d8bd54ca964b5e2a
377666503ca6b7cbe93e8b37356a456c559f7a66
Temporary fix for flashing devtools.
[ { "path": "browser/native_window.cc", "patch": "@@ -12,8 +12,6 @@\n #include \"base/strings/stringprintf.h\"\n #include \"base/strings/utf_string_conversions.h\"\n #include \"base/values.h\"\n-#include \"brightray/browser/inspectable_web_contents.h\"\n-#include \"brightray/browser/inspectable_web_contents_v...
2014-03-06T02:30:22
huggingface/transformers
bf41e54fc8242dafa31bf6203e3d505bcb907119
3249c5dc1560dace3c31cdbe4797b6c878ab47de
Fixes the inconsistency of the optionality of attention_mask (#37153) * debugging issue 36758 * debugging issue 36758 * debugging issue 36758 * updated attn_mask type specification in _flash_attention_forward * removed pdb * added a blank line * removed indentation
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -280,7 +280,7 @@ def _flash_attention_forward(\n query_states: torch.Tensor,\n key_states: torch.Tensor,\n value_states: torch.Tensor,\n- attention_mask: torch.Tensor,\n+ attention_mask: Optional[torch.Tensor],\n ...
2025-04-01T14:31:10
vercel/next.js
f4610c31b03085bac27bd82b5945c44a3aa719b0
2eaa3ae14651779116ed2ccd5c27a4a9d1d05752
Fix outputting un-necessary trace files for edge functions (#43304) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -2002,7 +2002,7 @@ export default async function getBaseWebpackConfig(\n }),\n (isClient || isEdgeServer) && new DropClientPage(),\n config.outputFileTracing &&\n- (isNodeServer || isEdgeServer) &&\n+ isNodeSer...
2022-11-24T02:56:11
golang/go
24ea547a210b90eff7f4fefbd12dc8f72853406a
12af403624baa87700fe05db3e21c26e410871fd
cmd/link: don't pass -Wl,--dynamic-linker if -static As with -rdynamic, clang will pass -Wl,--dynamic-linker to the linker even when linking statically. When using lld this will produce a statically linked executable with a dynamic interpreter, which will crash at runtime. This CL changes the linker to drop -Wl,--dyna...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -1520,12 +1520,13 @@ func (ctxt *Link) hostlink() {\n \t// even when linking with -static, causing a linker\n \t// error when using GNU ld. So take out -rdynamic if\n \t// we added it. We do it in this order, rather than\n-\t// only adding -rdynamic ...
2021-04-28T04:56:46
rust-lang/rust
44b19e5fe7c0fe91b4aa8a09c673b340f3177c64
b8005bff3248cfc6e327faf4fa631ac49bb49ba9
rc and cr more clear error message
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -893,6 +893,7 @@ parse_unknown_prefix = prefix `{$prefix}` is unknown\n .label = unknown prefix\n .note = prefixed identifiers and literals are reserved since Rust 2021\n .suggestion_br = use `br` for a raw byte string\n+ .suggestio...
2025-04-22T22:06:07
vercel/next.js
2eaa3ae14651779116ed2ccd5c27a4a9d1d05752
60d5c9615c8afcda0bea7dfa7f75989fbb954695
fix appDir returning 404 in production with `"output": "standalone"` (#43268) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're m...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -61,6 +61,9 @@ import {\n FONT_LOADER_MANIFEST,\n CLIENT_STATIC_FILES_RUNTIME_MAIN_APP,\n APP_CLIENT_INTERNALS,\n+ SUBRESOURCE_INTEGRITY_MANIFEST,\n+ MIDDLEWARE_BUILD_MANIFEST,\n+ MIDDLEWARE_REACT_LOADABLE_MANIFEST,\n } from '../shared/lib/cons...
2022-11-24T02:45:19
nodejs/node
2930bd1317d15d12738a4896c0a6c05700411b47
6f63f8d730c8c3b19de7a591c35d376d428a4d56
src: refactor timers to remove TimerWrap Refactor Timers to behave more similarly to Immediates by having a single uv_timer_t handle which is stored on the Environment. No longer expose timers in a public binding and instead make it part of the internalBinding. PR-URL: https://github.com/nodejs/node/pull/20894 Fixes...
[ { "path": "doc/api/async_hooks.md", "patch": "@@ -238,7 +238,7 @@ resource's constructor.\n ```text\n FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,\n JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,\n-SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPSERVER,...
2018-05-13T15:42:22
huggingface/transformers
3249c5dc1560dace3c31cdbe4797b6c878ab47de
24e311f42b54f5f5fab6efcaa0c82eebd5608ba3
Refactor attention for SigLIP based models (#36981) * Update Siglip attention implementation * Update tests for Siglip * Remove one level of indentation * Update test to be more specific * Fixup * Idefics2 * Idefics3 * Emu3 * SmolVLM * Phi4 (just init small update) * Idefics2 (test fix) * Update siglip2 tes...
[ { "path": "src/transformers/models/emu3/modeling_emu3.py", "patch": "@@ -600,7 +600,7 @@ def forward(self, hidden_states: torch.Tensor, quant_channels: Optional[torch.Te\n class Emu3VQVAEAttentionBlock(nn.Module):\n \"\"\"Multi-headed attention from 'Attention Is All You Need' paper\"\"\"\n \n- def _...
2025-04-01T13:37:25
golang/go
12af403624baa87700fe05db3e21c26e410871fd
5c69cb2a5bc33ae2c8af598a53f4337bd1e77508
cmd/go/internal/bug: use envcmd instead of go env Add the printGoEnv function to print the go environment variables, using the envcmd package instead of invoking go env. Add the PrintEnv function to the envcmd package, to avoid duplicating code. Updates #45803 Change-Id: I38d5b936c0ebb16e741ffbee4309b95d6d0ecc6c Re...
[ { "path": "src/cmd/go/internal/bug/bug.go", "patch": "@@ -20,6 +20,7 @@ import (\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n+\t\"cmd/go/internal/envcmd\"\n \t\"cmd/go/internal/web\"\n )\n \n@@ -90,17 +91,20 @@ func printEnvDetails(w io.Writer) {\n \tfmt.Fprintf(w, \"### What operating syst...
2021-04-27T12:48:20
electron/electron
0411c2d2b6cafafa5c82ceb97ac7ca065224f777
839a751de573625d5cf64c12482c90d35b133356
Do not rely on thread to implement modal dialog. Fixes #199.
[ { "path": "atom.gyp", "patch": "@@ -119,8 +119,6 @@\n 'browser/ui/cocoa/atom_menu_controller.mm',\n 'browser/ui/cocoa/event_processing_window.h',\n 'browser/ui/cocoa/event_processing_window.mm',\n- 'browser/ui/cocoa/nsalert_synchronous_sheet.h',\n- 'browser/ui/cocoa/nsalert_synch...
2014-03-05T11:51:26
huggingface/transformers
24e311f42b54f5f5fab6efcaa0c82eebd5608ba3
897ff9af0e8892167af1eb4ec58677001c3a0041
fix XPU UT error case brough by RNG difference btw XPU and CUDA (#37121) * fix XPU UT error case brough by RNG difference btw XPU and CUDA Signed-off-by: YAO Matrix <matrix.yao@intel.com> * enable tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits and tests/models/llama/test_modeli...
[ { "path": "tests/generation/test_logits_process.py", "patch": "@@ -976,7 +976,8 @@ def test_watermarking_processor(self):\n input_ids[:, -1] = 10\n scores_wo_bias = scores[:, -1].clone()\n out = watermark(input_ids=input_ids, scores=scores)\n- self.assertTrue((out[:, 1] == sco...
2025-04-01T12:52:55
nodejs/node
6f63f8d730c8c3b19de7a591c35d376d428a4d56
1e7ff81e47bed3275728eee1a676ba95e4f2b41d
test: remove outdated, non-functioning test The timers directory test, utilizing FakeTime, has not worked in quite a while and is not truly testing Node.js behaviour. If a similar test is necessary it would be better suited to libuv on which Node.js relies for timers functionality. PR-URL: https://github.com/nodejs/n...
[ { "path": ".gitignore", "patch": "@@ -106,7 +106,6 @@ deps/npm/node_modules/.bin/\n /SHASUMS*.txt*\n \n # test artifacts\n-tools/faketime\n tools/remark-cli/node_modules\n tools/remark-preset-lint-node/node_modules\n icu_config.gypi", "additions": 0, "deletions": 1, "language": "Unknown" }, ...
2018-05-22T19:49:59
golang/go
5c69cb2a5bc33ae2c8af598a53f4337bd1e77508
11052d77a307a417a4de94991303949bf697b8ee
cmd/go: populate module info even if an error occurs in loading package The existing implementation ignores module info if there is any error loading the package. Fixes #44287 Change-Id: I24142e4c7256517292fc654e29d759871b80bc09 GitHub-Last-Rev: 28e9bf85e8c119f3b805c38c79aef60322fcc551 GitHub-Pull-Request: golang/go...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1846,6 +1846,14 @@ func (p *Package) load(ctx context.Context, opts PackageOpts, path string, stk *\n \tstk.Push(path)\n \tdefer stk.Pop()\n \n+\tpkgPath := p.ImportPath\n+\tif p.Internal.CmdlineFiles {\n+\t\tpkgPath = \"command-line-arguments\"\n+\...
2021-04-28T04:32:15
rust-lang/rust
b6db36061e83d5e0566331e78d8f80423cf3757e
5028ecd025fc051fc191d1fb569cd22932b98f60
musl: Update submodule Update the musl submodule to c47ad25ea3 ("iconv: harden UTF-8 output code path against input decoder bugs").
[ { "path": "library/compiler-builtins/crates/musl-math-sys/musl", "patch": "@@ -1 +1 @@\n-Subproject commit 61399d4bd02ae1ec03068445aa7ffe9174466bfd\n+Subproject commit c47ad25ea3b484e10326f933e927c0bc8cded3da", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2025-04-22T20:30:17
electron/electron
839a751de573625d5cf64c12482c90d35b133356
a74d3d210d16f6a1214ec5253347da1c0c7ee07e
Add 'activate-with-no-open-windows' event for app. Fixes #194.
[ { "path": "browser/api/atom_api_app.cc", "patch": "@@ -44,6 +44,10 @@ void App::OnOpenURL(const std::string& url) {\n Emit(\"open-url\", &args);\n }\n \n+void App::OnActivateWithNoOpenWindows() {\n+ Emit(\"activate-with-no-open-windows\");\n+}\n+\n void App::OnWillFinishLaunching() {\n Emit(\"will-fini...
2014-03-05T10:09:44
huggingface/transformers
897ff9af0e8892167af1eb4ec58677001c3a0041
c0bd8048a51b9d8173f214ddbc9f3c584a85c8af
[`ModernBERT`] Never save 'reference_compile' config; should be set based on end user (#36305) * Never save 'reference_compile' config; should be set based on end user * Reformat (I ran 'make style' from the wrong env) * Use pop instead of del Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> * Use pop...
[ { "path": "src/transformers/models/modernbert/configuration_modernbert.py", "patch": "@@ -214,5 +214,10 @@ def __init__(\n f'Invalid value for `classifier_pooling`, should be either \"cls\" or \"mean\", but is {self.classifier_pooling}.'\n )\n \n+ def to_dict(self):\n+ ...
2025-04-01T12:14:39
golang/go
4fe324dd0f3497f6bf4f46ba39921d7855dbc29b
f68878f0fc542708bbe1dc4f131d32b21fac0d3c
cmd/go: make TOOLEXEC_IMPORTPATH consistent with 'go list -f {{.ImportPath}}' TOOLEXEC_IMPORTPATH is useful for the toolexec program to know what package is currently being built. This is otherwise tricky to figure out. Unfortunately, for test packages it was lacking. In the added test case, we have a total of four p...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -198,6 +198,8 @@\n // \t\ta program to use to invoke toolchain programs like vet and asm.\n // \t\tFor example, instead of running asm, the go command will run\n // \t\t'cmd args /path/to/asm <arguments for asm>'.\n+// \t\tThe TOOLEXEC_IMPORTPATH environment v...
2021-04-26T22:06:53
huggingface/transformers
fac70ff3c084fc5dbcaadc8651ad57354c088bdb
ae34bd75fdfe4fc9f773f0bfebab6fe163513dba
Convert `_VALID_DICT_FIELDS` to class attribute for shared dict parsing in subclasses (#36736) * make _VALID_DICT_FIELDS as a class attribute * fix test case about TrainingArguments
[ { "path": "src/transformers/training_args.py", "patch": "@@ -188,19 +188,6 @@ class OptimizerNames(ExplicitEnum):\n APOLLO_ADAMW_LAYERWISE = \"apollo_adamw_layerwise\"\n \n \n-# Sometimes users will pass in a `str` repr of a dict in the CLI\n-# We need to track what fields those can be. Each time a new ...
2025-04-01T10:29:12
nodejs/node
537a4baa443daea9850a8e324b5b4d7c21dd2717
49e5f0a10fc3784b318842b06854b38475fc884b
deps: upgrade to libuv 1.21.0 Notable changes: - Building via cmake is now supported. PR-URL: https://github.com/libuv/libuv/pull/1850 - Stricter checks have been added to prevent watching the same file descriptor multiple times. PR-URL: https://github.com/libuv/libuv/pull/1851 Refs: https://github.com/nodejs...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -338,3 +338,8 @@ zzzjim <zzzjim@users.noreply.github.com>\n Alex Arslan <ararslan@comcast.net>\n Kyle Farnung <kfarnung@microsoft.com>\n ssrlive <30760636+ssrlive@users.noreply.github.com>\n+Tobias Nießen <tniessen@tnie.de>\n+Björn Linse <bjorn.linse@gmail.com>\n+zy...
2018-06-22T15:28:11
golang/go
f68878f0fc542708bbe1dc4f131d32b21fac0d3c
92d1afe9890056808ed074e28f0c26380c7e4141
cmd/dist,runtime: support cgo on openbsd/mips64 Add support for cgo on openbsd/mips64. Fixes #43005 Change-Id: I2386204f53fa984a01a9d89f0b6c96455768f326 Reviewed-on: https://go-review.googlesource.com/c/go/+/275896 Trust: Joel Sing <joel@sing.id.au> Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Zhang <...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -1590,7 +1590,7 @@ var cgoEnabled = map[string]bool{\n \t\"openbsd/amd64\": true,\n \t\"openbsd/arm\": true,\n \t\"openbsd/arm64\": true,\n-\t\"openbsd/mips64\": false,\n+\t\"openbsd/mips64\": true,\n \t\"plan9/386\": false,\n \t\"plan9/amd64\"...
2020-12-07T17:30:22
huggingface/transformers
737cbd2109f3bfc2c6fb14d5f373b7e0eb2d7646
3a6ab46a0b85479d6fb0d6ce0bff2e48b4751ac4
Fix llava xpu tests. (#37130) * fix llava 4bit xpu test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix llava 4bit xpu test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> ...
[ { "path": "tests/models/llava/test_modeling_llava.py", "patch": "@@ -617,8 +617,13 @@ def test_pixtral_4bit(self):\n generate_ids = model.generate(**inputs, max_new_tokens=50)\n output = processor.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]\n \...
2025-04-01T09:10:13
vercel/next.js
60d5c9615c8afcda0bea7dfa7f75989fbb954695
5788f602a410875a2f1b3fecdfb91a47b1c1f9e7
Improve RSC plugin to provide better errors (#42435) This PR improves the RSC plugin for SWC to throw an error when the `"use client"` directive is in the top level, but not before other statements / expressions. For example: Code: ```js import 'react' 'use client' ``` Error: ``` The "use client" d...
[ { "path": ".eslintignore", "patch": "@@ -29,6 +29,7 @@ test/integration/eslint/**\n test/integration/script-loader/**/*\n test/development/basic/legacy-decorators/**/*\n test/production/emit-decorator-metadata/**/*.js\n+test/e2e/app-dir/rsc-errors/app/swc/use-client/page.js\n test-timings.json\n packages/ne...
2022-11-24T01:26:38
electron/electron
d37bf06b5a9d8160df5d85233f9b6762b5a03209
1c072351212d745e4cfc9670d6aac809be18101d
Make the DebugDevTools API more generic.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -417,7 +417,8 @@ void Window::InspectElement(const v8::FunctionCallbackInfo<v8::Value>& args) {\n // static\n void Window::DebugDevTools(const v8::FunctionCallbackInfo<v8::Value>& args) {\n UNWRAP_WINDOW_AND_CHECK;\n- self->window_->DebugDevTools()...
2014-03-04T06:35:35
rust-lang/rust
68c03725c953c4d3584e533f712aedb9e7e03fa5
31c591846348793d59f99a86778e2dd2e3df2442
fix: panics in inlay hints that produce empty text edits for closure return types
[ { "path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints.rs", "patch": "@@ -8,7 +8,7 @@ use hir::{\n ClosureStyle, DisplayTarget, EditionedFileId, HasVisibility, HirDisplay, HirDisplayError,\n HirWrite, ModuleDef, ModuleDefId, Semantics, sym,\n };\n-use ide_db::{FileRange, RootDatabase, famous_...
2025-04-21T03:20:26
nodejs/node
49e5f0a10fc3784b318842b06854b38475fc884b
cb261c86488b208bcbe13ad67119e682742622cc
test: fix test-net-socket-constructor So it doesn't fail when creating a socket whose `fd` is already being watched. Test that functionality now inside a cluster worker. Refs: https://github.com/libuv/libuv/pull/1851 Refs: https://github.com/libuv/libuv/issues/1897 PR-URL: https://github.com/nodejs/node/pull/21466 Re...
[ { "path": "test/parallel/test-net-socket-constructor.js", "patch": "@@ -2,6 +2,7 @@\n \n const common = require('../common');\n const assert = require('assert');\n+const cluster = require('cluster');\n const net = require('net');\n \n common.expectsError(() => {\n@@ -25,27 +26,40 @@ function test(sock, read...
2018-06-21T08:01:43
golang/go
92d1afe9890056808ed074e28f0c26380c7e4141
9726c78539f4945087c837201c1ec3545a318389
cmd/compile/ssa: optimize the derivable known branch of If block When the control value of a If block is known for a particular inbound edge because its value can be inferred from the control value of its predecessor, then this inbound edge can be redirected to the known successor directly, This CL optimizes this kind...
[ { "path": "src/cmd/compile/internal/ssa/fuse.go", "patch": "@@ -11,15 +11,16 @@ import (\n // fuseEarly runs fuse(f, fuseTypePlain|fuseTypeIntInRange).\n func fuseEarly(f *Func) { fuse(f, fuseTypePlain|fuseTypeIntInRange) }\n \n-// fuseLate runs fuse(f, fuseTypePlain|fuseTypeIf).\n-func fuseLate(f *Func) { ...
2020-07-09T11:27:03
huggingface/transformers
3a6ab46a0b85479d6fb0d6ce0bff2e48b4751ac4
4b13a029202ea55007dd5532c1f7c95d5d767590
add gpt2 test on XPU (#37028) * add gpt2 test on XPU Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * auto dtype has been fixed Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * convert model to train mode Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.fen...
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -626,7 +626,6 @@ def test_training(self):\n \n \n @apply_skip_if_not_implemented\n-@unittest.skipIf(torch_device == \"xpu\", reason=\"XPU has precision issue on gpt model, will test it once fixed\")\n class Bnb4BitGPT2Test(Bnb4BitTest):\n mod...
2025-04-01T09:09:29
vercel/next.js
5788f602a410875a2f1b3fecdfb91a47b1c1f9e7
ec7609e28831429745ff5f93b201bcdd25056ede
Improve @next/font error handling (#43298) Use `WellKnownErrorsPlugin` when formatting `@next/font` errors. The error handling is different for expected errors (like validation errors) and unknown ones. If the error is expected it just displays the formatted error message. If it's an unknown error it will also di...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -13,6 +13,7 @@ import {\n getUrl,\n validateData,\n } from './utils'\n+import { nextFontError } from '../utils'\n \n const cssCache = new Map<string, Promise<string>>()\n const fontCache = new Map<string, any>()\n@@ -104,7 +105,7 @@ const down...
2022-11-24T00:08:28
nodejs/node
6396574cde50631b5b6616fdf7c499a82b468d65
28100bbe6d3012a25fb9036c742c4bf1f13aeeb8
crypto: remove outdated comment PR-URL: https://github.com/nodejs/node/pull/21511 Fixes: https://github.com/nodejs/node/issues/21488 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "src/node_crypto.cc", "patch": "@@ -2154,9 +2154,6 @@ void SSLWrap<Base>::VerifyError(const FunctionCallbackInfo<Value>& args) {\n if (x509_verify_error == X509_V_OK)\n return args.GetReturnValue().SetNull();\n \n- // XXX(bnoordhuis) X509_verify_cert_error_string() is not actually thread-sa...
2018-06-24T19:30:17
huggingface/transformers
4b13a029202ea55007dd5532c1f7c95d5d767590
786d9c5ed920a099573ea7b6dbf265f1aeb32fc0
Fix std initialization in Idefics variants (#37100) * Nit 😅 * Another one * fix * run ci * revert change
[ { "path": "src/transformers/models/idefics2/modeling_idefics2.py", "patch": "@@ -604,9 +604,9 @@ class Idefics2PreTrainedModel(PreTrainedModel):\n \n def _init_weights(self, module):\n std = (\n- self.config.text_config.initializer_range\n+ self.config.initializer_range\n ...
2025-04-01T07:18:54
electron/electron
87221f8f55305b12a1ee6178da3e9762a0e09dd3
e3215a1f217e3ffbf1a3b90fd138d7ce18ef0456
:lipstick: Fix pylint warning.
[ { "path": "script/coffeelint.py", "patch": "@@ -1,5 +1,6 @@\n #!/usr/bin/env python\n \n+import errno\n import glob\n import os\n import subprocess", "additions": 1, "deletions": 0, "language": "Python" } ]
2014-03-03T12:03:25
vercel/next.js
538c11021bcb9f637cfa61d650406ed75e9fa068
5d7e1425d7417da33ed3a231ff794f6dcb9142b6
Ensure loaderFile is included in webpack cache key (#43315) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## ...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -2298,6 +2298,7 @@ export default async function getBaseWebpackConfig(\n emotion: config.compiler?.emotion,\n modularizeImports: config.experimental?.modularizeImports,\n legacyBrowsers: config.experimental?.legacyBrowsers,\n+ im...
2022-11-23T23:31:31
golang/go
f439a762533f3a75eb928b67d0415010aa8a81d7
c9f43507c6d8106646b1262052cc9a2c5dbb6e4c
cmd/internal/obj/arm64: fix the wrong error message of out-of-range checking The error message of checking whether the offset value of load/store instruction is out of range is wrong. The right range is [-256, 255], not [-255, 254]. The CL fixes it. Change-Id: Ia342957f1f6bcec65eceb45944221d3972641bed Reviewed-on: ht...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64error.s", "patch": "@@ -59,8 +59,8 @@ TEXT errors(SB),$0\n \tLDP\t(R0), (R3, ZR) // ERROR \"invalid register pair\"\n \tLDXPW\t(RSP), (R2, R2) // ERROR \"constrained unpredictable behavior\"\...
2021-04-27T06:19:57
nodejs/node
28100bbe6d3012a25fb9036c742c4bf1f13aeeb8
e22d70924bc2e2076c51a175b0c3bc23bad4d51d
doc: fix sort in sections, lists, tables of dns.md `dns.resolveAny()`, `dnsPromises.resolveAny()`, `dns.setServers()`, `dnsPromises.setServers()` were out of ABC order in some places. PR-URL: https://github.com/nodejs/node/pull/21505 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihr...
[ { "path": "doc/api/dns.md", "patch": "@@ -82,7 +82,6 @@ resolver.resolve4('example.org', (err, addresses) => {\n The following methods from the `dns` module are available:\n \n * [`resolver.getServers()`][`dns.getServers()`]\n-* [`resolver.setServers()`][`dns.setServers()`]\n * [`resolver.resolve()`][`dns.r...
2018-06-24T15:27:18
huggingface/transformers
786d9c5ed920a099573ea7b6dbf265f1aeb32fc0
a1e389e63780ab278e96ff09c90b178dbec3bb5d
Fix more inefficient PT operations (#37060) * Fix inefficient operations * Remove cpu() call * Reorder detach() * Reorder detach() * tolist without detach * item without detach * Update src/transformers/models/rag/modeling_rag.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update tests/m...
[ { "path": "benchmark/llama.py", "patch": "@@ -204,7 +204,7 @@ def decode_one_token(model, cur_token, cache_position, past_key_values):\n time_to_first_token = end - start\n logger.info(f\"completed first compile generation in: {time_to_first_token}s\")\n cache_position +=...
2025-03-31T15:31:24
electron/electron
2522bc2298e740f8ca6dd5bcdc68008ff6844698
f3103e9b007102532968633170defbc8c244e70a
Fix calling node in coffeelint.
[ { "path": "script/coffeelint.py", "patch": "@@ -20,11 +20,14 @@ def main():\n glob.glob('common/api/lib/*.coffee') + \\\n glob.glob('browser/atom/*.coffee')\n \n- if sys.platform in ['win32', 'cygwin']:\n- subprocess.check_call(['node', coffeelint] + settings + files,\n- ...
2014-03-03T11:50:32
vercel/next.js
5d7e1425d7417da33ed3a231ff794f6dcb9142b6
f3a728bef1d7a87235234e966794fd8f4b10dbda
test(integration): allow to run `--turbo` dev server tests dynamically (#42967) This PR is companion to https://github.com/vercel/next.js/pull/42656. Previous PR https://github.com/vercel/next.js/pull/41908 allowed to set up integration / e2e tests spawn `next dev` with `--turbo` as needed. This PR leverages those...
[ { "path": "packages/next/build/swc/index.js", "patch": "@@ -410,6 +410,9 @@ function loadNative(isCustomTurbopack = false) {\n ...process.env,\n },\n })\n+ child.on('message', (message) => {\n+ console.log(message)\n+ }...
2022-11-23T23:00:49
golang/go
c9f43507c6d8106646b1262052cc9a2c5dbb6e4c
983dea90c169930e35721232afe39fd4e3fbe4a6
cmd/compile: fix typechecking logical operators panic with non-boolean operand In CL 255899, we added code to make clearer error when non-bool used as operand to logical operators. The code is safe, because node type is guaranteed to be non-nil. In CL 279442, we refactored typechecking arith, including moving typeche...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -596,6 +596,10 @@ func typecheck1(n ir.Node, top int) ir.Node {\n \tcase ir.OANDAND, ir.OOROR:\n \t\tn := n.(*ir.LogicalExpr)\n \t\tn.X, n.Y = Expr(n.X), Expr(n.Y)\n+\t\tif n.X.Type() == nil || n.Y.Type() == nil {\n+\t\t\tn.SetType(ni...
2021-04-27T16:01:16
nodejs/node
8ab7ea6eed76d069dfd82684e2157e7d88badebf
7a3bbbf41be64d04058a158f6986ec5641885f42
doc: fix HTTP req/res 'close' description PR-URL: https://github.com/nodejs/node/pull/21047 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -1019,8 +1019,7 @@ interface. This is an [`EventEmitter`][] with the following events:\n added: v0.6.7\n -->\n \n-Indicates that the underlying connection was terminated before\n-[`response.end()`][] was called or able to flush.\n+Indicates that the underlying conne...
2018-05-30T20:55:45
electron/electron
d61daf6f05e65cd19ff076842c1417e3f497b7cf
eca911a1b1623368f991dbf47002c0b59abc15db
Update node: Fix crash from UVException.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 7a9642af6d246cb2e777ff58140016df586566c8\n+Subproject commit 38862fe8193768f2fb87732c5568bc5977a296a4", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-03-02T02:38:56
vercel/next.js
aa51c26c2ef7c92fc06484bf2ead3905316c2799
685c87c9463ac815e836979054bc4fd91bdcad20
docs: add error link when missing `appDir: true` (#43293) [Slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1669206360940399) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.co...
[ { "path": "errors/experimental-app-dir-config.md", "patch": "@@ -0,0 +1,27 @@\n+# Experimental `appDir: true`\n+\n+#### Why This Error Occurred\n+\n+Your project contains a directory named `app/`. Since Next.js 13, this is a [reserved name](https://nextjs.org/blog/next-13#new-app-directory-beta).\n+\n+#### ...
2022-11-23T20:07:14
huggingface/transformers
a1e389e63780ab278e96ff09c90b178dbec3bb5d
f304318f5ffa530a4948aed552d3405708163b52
Refactor `return_dict` logic to remove complicated if/else paths (#36794) * SAM * CLIP * SigLIP * GOT-OCR2 (depends on SAM) * SigLIP2 (depends on SigLIP) * trigger tests * Fix SAM * Fix missed indexing, use named attributes * Llama * Aria * Bamba * Update llama: missed outputs return type * (fixup) Aria *...
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -35,6 +35,7 @@\n LossKwargs,\n add_start_docstrings,\n add_start_docstrings_to_model_forward,\n+ can_return_tuple,\n is_torch_flex_attn_available,\n logging,\n replace_return_docstrings,\n@@ -895,6 +896,7 @@ d...
2025-03-31T15:23:37
nodejs/node
d5316bc27df87b62675adec517e5dd3108efd1c2
1ee47039742ca94ad4403cf7ccc4a48933ba6f1a
test: lint fixes for ESLint update This commit introduces changes required for the ESLint 5 update. PR-URL: https://github.com/nodejs/node/pull/20855 Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/es-module/test-esm-forbidden-globals.mjs", "patch": "@@ -1,6 +1,7 @@\n // Flags: --experimental-modules\n import '../common';\n \n+// eslint-disable-next-line no-undef\n if (typeof arguments !== 'undefined') {\n throw new Error('not an ESM');\n }", "additions": 1, "deletions": 0, ...
2018-05-20T19:16:25
golang/go
983dea90c169930e35721232afe39fd4e3fbe4a6
214c8dd80c4059543b91d45c55ab12e8d58dec48
cmd/link: disable plugin support if cgo is disabled Functional plugin support requires cgo to be enabled. Disable it if the environment has disabled cgo. This prevents unexpected linker failures when linking large binaries with cgo disabled which use the plugin package. Fixes #45564 Change-Id: Ib71f0e089f7373b7b3e3...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -539,7 +539,10 @@ func (ctxt *Link) loadlib() {\n \t// up symbol by name may not get expected result.\n \n \tiscgo = ctxt.LibraryByPkg[\"runtime/cgo\"] != nil\n-\tctxt.canUsePlugins = ctxt.LibraryByPkg[\"plugin\"] != nil\n+\n+\t// Plugins a require c...
2021-04-27T20:05:51
electron/electron
6ae3402aecd318f7a9ac1eb0914e835dd5440229
21ccf80ba5aa842427a3b51f882ffd9ea5dc3b40
Update node: Fix wrong uv error code.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit d1ebf080702dd5f6a8c57d30c7206e36e7d7a7a9\n+Subproject commit 7a9642af6d246cb2e777ff58140016df586566c8", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-02-27T16:34:47
vercel/next.js
685c87c9463ac815e836979054bc4fd91bdcad20
2089af4535fd36a3c56b309ee7f7f8168dd94051
Show error for invalid page props in the TS plugin (#43300) For page entries, currently it's only allowed to have `params` and `searchParams` in props: <img width="677" alt="CleanShot 2022-11-23 at 16 18 57@2x" src="https://user-images.githubusercontent.com/3676859/203583323-12c24900-8046-4b3b-ac95-b0ed1bee37e4.p...
[ { "path": "packages/next/server/next-typescript.ts", "patch": "@@ -29,11 +29,14 @@ const DISALLOWED_SERVER_REACT_APIS: string[] = [\n \n const ALLOWED_EXPORTS = ['config', 'generateStaticParams']\n \n+const ALLOWED_PAGE_PROPS = ['params', 'searchParams']\n+\n const NEXT_TS_ERRORS = {\n INVALID_SERVER_API:...
2022-11-23T18:27:06
nodejs/node
686cb4dbd020ec6c16450ad3fe422d9f917f0a48
193d6d1bda6bb8c768b809057774aa4bca5f5d99
util: fix comment typos When the deep(Strict)Equal comparison functions were moved to an internal module, a variable named `current` was replaced with `val1`. That accidentally also replaced a few "currently"s in comments. Refs: https://github.com/nodejs/node/pull/16084 PR-URL: https://github.com/nodejs/node/pull/21...
[ { "path": "lib/internal/util/comparisons.js", "patch": "@@ -287,7 +287,7 @@ function setHasEqualElement(set, val1, strict, memo) {\n return false;\n }\n \n-// Note: we val1ly run this multiple times for each loose key!\n+// Note: we currently run this multiple times for each loose key!\n // This is done t...
2018-06-20T13:10:56
golang/go
214c8dd80c4059543b91d45c55ab12e8d58dec48
645cb62ee3926ce88b8c2cf556fed6dea3d525ce
go/types: factor out index/slice expr handling This is a port of CL 308370 to go/types. There are some differences in the index checking code, but the methodology for moving the code was the same: replace `goto Error` with `x.mode = invalid; return`. Change-Id: I880f577a7720e6ad8a5b096207001fcf7620396d Reviewed-on: h...
[ { "path": "src/go/types/expr.go", "patch": "@@ -1002,121 +1002,6 @@ func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token\n \t// x.typ is unchanged\n }\n \n-// index checks an index expression for validity.\n-// If max >= 0, it is the upper bound for index.\n-// If the result typ ...
2021-04-27T20:30:26
huggingface/transformers
f304318f5ffa530a4948aed552d3405708163b52
880560040609b03e62cb2ee7ad505825efb158bb
Remove low_cpu_mem_usage and _fast_init (#36963) * Remove low_cpu_mem_usage and _fast_init * Update deepspeed.py * Update modeling_utils.py * remove the first 2 tests everywhere * Update test_modeling_common.py * remove what was remaining about fast_init * fix logic and simplify * mismatched keys logic update ...
[ { "path": "conftest.py", "patch": "@@ -46,10 +46,6 @@\n \"test_keep_in_fp32_modules\",\n \"test_gradient_checkpointing_backward_compatibility\",\n \"test_gradient_checkpointing_enable_disable\",\n- \"test_save_load_fast_init_from_base\",\n- \"test_fast_init_context_manager\",\n- \"test_...
2025-03-31T15:18:43
electron/electron
706c56bb30c43ffea1fb05d22d515ecf8f233e71
c98e16b18f29ecbba6e16b1d8bc05184b64113b0
Update node: Fix crash from node::uv::ErrName.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 80c5e17c09fdf2fc0b74353b285bb33a6ecf5e62\n+Subproject commit d1ebf080702dd5f6a8c57d30c7206e36e7d7a7a9", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-02-27T06:12:10
vercel/next.js
2089af4535fd36a3c56b309ee7f7f8168dd94051
e581dc81dde8d9e88253cb5c58e06c5127933fed
Refactor code (#43291) It seems that hot reloader's `start` method is only referenced in one single place. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/co...
[ { "path": "packages/next/build/output/index.ts", "patch": "@@ -11,10 +11,6 @@ export function startedDevelopmentServer(appUrl: string, bindAddr: string) {\n consoleStore.setState({ appUrl, bindAddr })\n }\n \n-let previousClient: webpack.Compiler | null = null\n-let previousServer: webpack.Compiler | null...
2022-11-23T18:08:14
golang/go
645cb62ee3926ce88b8c2cf556fed6dea3d525ce
30002e665658b4b2c147caaee6bf7734042952e8
testing: document that TestMain can be used with benchmarks Fixes #45764 Change-Id: Ie6c18bb5c20721c2ffa8b4a9cf9f97cdc665a450 GitHub-Last-Rev: 8bcea7e0ff60227c05437b372c0a3546e151af31 GitHub-Pull-Request: golang/go#45808 Reviewed-on: https://go-review.googlesource.com/c/go/+/314349 Reviewed-by: Ian Lance Taylor <iant...
[ { "path": "src/testing/testing.go", "patch": "@@ -208,14 +208,14 @@\n //\n // Main\n //\n-// It is sometimes necessary for a test program to do extra setup or teardown\n-// before or after testing. It is also sometimes necessary for a test to control\n+// It is sometimes necessary for a test or benchmark pr...
2021-04-27T21:32:18
nodejs/node
fd520e7b4365dcda47dc209f8f1e3dd4a9d8665c
c041fd2dc7c5a2b6d7a83bc68f40ab9ad72b6797
test: remove string error from strictEqual Removes the string error from the assertion call to improve the error message shown on screen when the test fails. PR-URL: https://github.com/nodejs/node/pull/21292 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-...
[ { "path": "test/parallel/test-stream-writableState-uncorked-bufferedRequestCount.js", "patch": "@@ -7,7 +7,7 @@ const stream = require('stream');\n const writable = new stream.Writable();\n \n writable._writev = common.mustCall((chunks, cb) => {\n- assert.strictEqual(chunks.length, 2, 'two chunks to write'...
2018-06-12T17:53:54
rust-lang/rust
006b7e3a2bb0ea93287704cb2dbc3bb6d35c5876
8bf5a8d12feea10dfada53fb2d119283b0e0107c
Validate extension in `PathBuf::add_extension` The extension is validated in `PathBuf::set_extension`, but not `add_extension`. Fix that. Check for both / and \ path separators on Windows, even when the path is verbatim, since this is logically like `PathBuf::push` which normalizes separators (i.e., keeping the curren...
[ { "path": "library/std/src/path.rs", "patch": "@@ -353,6 +353,15 @@ fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) {\n }\n }\n \n+/// Checks whether the string is valid as a file extension, or panics otherwise.\n+fn validate_extension(extension: &OsStr) {\n+ for &b in extension.as_enc...
2025-04-22T12:10:45
huggingface/transformers
880560040609b03e62cb2ee7ad505825efb158bb
e686fed6351767620d747e08fc82b045ac79e66f
[qwen3] fix generation tests (#37142) * do not skip tests * fix qwen3-moe as well * fixup * fixup
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -352,7 +352,6 @@ def test_torch_fx_output_loss(self):\n \n def test_Mistral_sequence_classification_model(self):\n config, input_dict = self.model_tester.prepare_config_and_inputs_for_common()\n- print(config)\n ...
2025-03-31T14:33:41
electron/electron
c98e16b18f29ecbba6e16b1d8bc05184b64113b0
b386ec40beec4a6779eace1e6704278a5d1e045e
Do not dectect unresponsive eagerly when quitting. Fixes https://github.com/atom/atom/issues/1589.
[ { "path": "browser/native_window.cc", "patch": "@@ -260,7 +260,8 @@ void NativeWindow::CloseWebContents() {\n // not closed in 500ms, in this way we can quickly show the unresponsive\n // dialog when the window is busy executing some script withouth waiting for\n // the unresponsive timeout.\n- if (w...
2014-02-27T04:47:00
vercel/next.js
e581dc81dde8d9e88253cb5c58e06c5127933fed
e901feffc30b6c9d410cbc7c144e4ac752993087
Resolve next api for layouts to esm for edge runtime (#43302) The edge runtime should all use esm assets to keep the hooks and the react context are matched Fixes: #43080 The issue is caused by the app router context and server inserted html context are not aligned. One side is using esm and other side is using the ...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -884,16 +884,6 @@ export default async function getBaseWebpackConfig(\n // let this alias hit before `next` alias.\n ...(isEdgeServer\n ? {\n- // app-router-context can not be ESM and CJS so force CJS\n- ...
2022-11-23T18:01:16
golang/go
13e87cda000149ff3efce95210b0c921f7d772bf
f432d3fc41b8f6b01131023aabcf935ebea172cb
time: increase slop for TestTicker Also sleep a bit each time it fails, in case the system is overloaded. Fixes #37332 Change-Id: Iabf3d0a27b5834c1e2a87c826b6206146b4f62c5 Reviewed-on: https://go-review.googlesource.com/c/go/+/313849 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang...
[ { "path": "src/time/tick_test.go", "patch": "@@ -52,9 +52,14 @@ func TestTicker(t *testing.T) {\n \t\tt1 := Now()\n \t\tdt := t1.Sub(t0)\n \t\ttarget := 3 * delta * Duration(count/2)\n-\t\tslop := target * 2 / 10\n+\t\tslop := target * 3 / 10\n \t\tif dt < target-slop || dt > target+slop {\n-\t\t\terrs = ap...
2021-04-27T00:49:28
rust-lang/rust
676f2121e62e813a3821b725148211182a172879
e2d14a288297511a65c29791c8505c0558c2e2f4
Fix variance This one does need fixpoint.
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/variance.rs", "patch": "@@ -57,11 +57,11 @@ pub(crate) fn variances_of(db: &dyn HirDatabase, def: GenericDefId) -> Option<Ar\n \n pub(crate) fn variances_of_cycle_fn(\n _db: &dyn HirDatabase,\n- result: &Option<Arc<[Variance]>>,\n+ _result: &Opt...
2025-04-18T03:56:10
nodejs/node
cdb59854ee6c13712d17af729a42d5221d6af8f2
5ab3db75bb1baff723866c1af960c84aeb2dd0da
doc: restore documentation for two error codes ERR_HTTP2_ERROR and ERR_UNKNOWN_BUILTIN_MODULE error codes documentation seem to have been accidentally removed in commit 1cdb41f287c8e51a5963f5f8eb8d7c8b5809b99d (pull request #15160). This reverts that removal, restoring the documentation for those two error codes. Th...
[ { "path": "doc/api/errors.md", "patch": "@@ -869,6 +869,11 @@ forbidden.\n For HTTP/2 requests using the `CONNECT` method, the `:scheme` pseudo-header is\n forbidden.\n \n+<a id=\"ERR_HTTP2_ERROR\"></a>\n+### ERR_HTTP2_ERROR\n+\n+A non-specific HTTP/2 error has occurred.\n+\n <a id=\"ERR_HTTP2_GOAWAY_SESSIO...
2018-06-23T09:40:55
electron/electron
b386ec40beec4a6779eace1e6704278a5d1e045e
14cec9e20e8c947bd1042f70962ac3afeb8b776e
Fix crash caused by Protocol::RegisterProtocol. From crash report this exists on OS X too, previously the fix is only available on Linux. However we should remove all calls of protocol things in UI thread in future.
[ { "path": "browser/api/atom_api_protocol.cc", "patch": "@@ -368,11 +368,9 @@ void Protocol::Initialize(v8::Handle<v8::Object> target) {\n // Remember the protocol object, used for emitting event later.\n g_protocol_object.reset(target);\n \n-#if defined(OS_LINUX)\n // Make sure the job factory has bee...
2014-02-27T02:44:45
huggingface/transformers
e686fed6351767620d747e08fc82b045ac79e66f
a03cee7a1d8d2f119677d71de203184a157336a6
[Feature] Support using FlashAttention2 on Ascend NPU (#36696) * [Feature] Support using flash-attention on Ascend NPU * Fix qwen3 and qwen3_moe moduler conversion mismatch
[ { "path": "src/transformers/integrations/flash_attention.py", "patch": "@@ -2,11 +2,10 @@\n \n import torch\n \n-from ..modeling_flash_attention_utils import _flash_attention_forward\n-from ..utils import is_flash_attn_greater_or_equal_2_10\n+from ..modeling_flash_attention_utils import _flash_attention_for...
2025-03-31T14:12:58
rust-lang/rust
f0fa09621323e427ff9f7de856bd020bfa9e28f2
6f01c7f3d0518abe390bc8003f0b6e86530aa5e9
Adjust for new Salsa not implementing `Debug` by default
[ { "path": "src/tools/rust-analyzer/crates/base-db/src/input.rs", "patch": "@@ -392,7 +392,7 @@ impl BuiltDependency {\n \n pub type CratesIdMap = FxHashMap<CrateBuilderId, Crate>;\n \n-#[salsa::input(no_debug)]\n+#[salsa::input]\n #[derive(Debug)]\n pub struct Crate {\n #[return_ref]", "additions": ...
2025-04-13T21:54:41
golang/go
f432d3fc41b8f6b01131023aabcf935ebea172cb
8ab7064e33667f17b8d23b5db63468199c3eac02
cmd/compile: fix nongeneric closures in generic functions Ensure that formal parameter Names are correctly copied and marked with the correct Curfn. We need to ensure this even when the underlying closure has no type parameters. (Aside: it is strange that the types of things contain formal parameter names that need t...
[ { "path": "src/cmd/compile/internal/escape/escape.go", "patch": "@@ -1295,7 +1295,7 @@ func (e *escape) newLoc(n ir.Node, transient bool) *location {\n \t\tif n.Op() == ir.ONAME {\n \t\t\tn := n.(*ir.Name)\n \t\t\tif n.Curfn != e.curfn {\n-\t\t\t\tbase.Fatalf(\"curfn mismatch: %v != %v\", n.Curfn, e.curfn)\...
2021-04-26T21:13:19
nodejs/node
5ab3db75bb1baff723866c1af960c84aeb2dd0da
baca6d337f68e9c786bc37c2e01febf415bdbbf2
doc: sort error codes in errors.md A single exception is that ERR_HTTP2_* comes after ERR_HTTP_*. Actual content not changed, just some blocks are moved around. This is a part of the fixes hinted by #21470, which includes some tests for error codes usage and documentation and enforces a stricter format. PR-URL: htt...
[ { "path": "doc/api/errors.md", "patch": "@@ -875,12 +875,6 @@ forbidden.\n New HTTP/2 Streams may not be opened after the `Http2Session` has received a\n `GOAWAY` frame from the connected peer.\n \n-<a id=\"ERR_HTTP2_HEADER_SINGLE_VALUE\"></a>\n-### ERR_HTTP2_HEADER_SINGLE_VALUE\n-\n-Multiple values were pr...
2018-06-23T10:05:42
vercel/next.js
e901feffc30b6c9d410cbc7c144e4ac752993087
369d6b76c4ef90842ee8738c47e6ca80c702c9fc
Update precompiled react (#43288) Update pre-compiled react to fix the streaming issue with node 18. x-ref: https://github.com/facebook/react/pull/25645 Fixes: #42466 Manually tested locally works for the reproduction from the issue ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests ad...
[ { "path": "package.json", "patch": "@@ -180,11 +180,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-4bd245e9e-20221104\",\n+ \"react-builtin\": \"npm:react@18.3.0-next-2655c9354-20221121\",\n ...
2022-11-23T15:57:38
huggingface/transformers
0710e9b1e87a486fee62f3a93fbfb6cb306072dc
f99c279d2071afcff23bdd4bcd1bcc1d045c0927
Create and Expose SamVisionModel as public for better accessibility (#36493) * move encoder below * auto modeling * write SamVisionTester * fix vision attention shape * fix SamVisionTest * minor changes to SamVisionTest * Revert "fix vision attention shape" This reverts commit d2a4083ae5704716e33351aed03af8f3cc...
[ { "path": "docs/source/en/model_doc/sam.md", "patch": "@@ -149,12 +149,24 @@ alt=\"drawing\" width=\"900\"/>\n [[autodoc]] SamImageProcessor\n \n \n+## SamVisionModel\n+\n+[[autodoc]] SamVisionModel\n+ - forward\n+\n+\n ## SamModel\n \n [[autodoc]] SamModel\n - forward\n \n \n+## TFSamVisionModel\n+\...
2025-03-31T09:45:07
rust-lang/rust
f7b1e035a86e0c4ebcfda81e1651e25004094e50
8bf5a8d12feea10dfada53fb2d119283b0e0107c
compiletest: Fix deadline bugs in new executor
[ { "path": "src/tools/compiletest/src/executor.rs", "patch": "@@ -57,9 +57,11 @@ pub(crate) fn run_tests(config: &Config, tests: Vec<CollectedTest>) -> bool {\n }\n \n let completion = deadline_queue\n- .read_channel_while_checking_deadlines(&completion_rx, |_id, test| {\n- ...
2025-04-19T05:46:08
golang/go
291eb0178f143b373a9bc4fbc4edaf3420175660
0ae9c3b98bf01862f11d764ee379bebc29a76431
go: various minor cleanups with the help of Goland • fix some typos • remove superfluous conversions/parentheses • remove superfluous nil checks Change-Id: I428bf6a7be551b79270567047878c3076dd6f2ff GitHub-Last-Rev: 3b1c7573cfdf89ac184fd6ae44bca4be78b0cd64 GitHub-Pull-Request: golang/go#45799 Reviewed-on: ...
[ { "path": "src/go/internal/srcimporter/srcimporter.go", "patch": "@@ -30,7 +30,7 @@ type Importer struct {\n \tpackages map[string]*types.Package\n }\n \n-// NewImporter returns a new Importer for the given context, file set, and map\n+// New returns a new Importer for the given context, file set, and map\n...
2021-04-27T18:38:55
vercel/next.js
369d6b76c4ef90842ee8738c47e6ca80c702c9fc
33d4694ba7a3847464b32d33229fd88cadadd64c
Imageloader: collect images serverside to include images from staticp… (#41554) In #41548, I show that I would like to provide an object with images in getStaticProps. The StaticImageData is parsed correctly and provided as a prop to the page. Nonetheless, the image is not available in the static directory. Therefo...
[ { "path": "packages/next/build/webpack/loaders/next-image-loader.js", "patch": "@@ -91,8 +91,12 @@ function nextImageLoader(content) {\n })\n )\n \n- if (!isServer) {\n- this.emitFile(interpolatedName, content, null)\n+ if (isServer) {\n+ this.emitFile(\n+ `../${isDev ? ...
2022-11-23T14:28:53
nodejs/node
baca6d337f68e9c786bc37c2e01febf415bdbbf2
6ced651b6c3da64727bce260ecf55b8d86ec6cc3
doc: add a missing anchor to error codes Only one error code was missing an appropriate anchor, and it was ERR_SCRIPT_EXECUTION_TIMEOUT. This commit adds that missing anchor. This is a part of the fixes hinted by #21470, which includes some tests for error codes usage and documentation and enforces a stricter format....
[ { "path": "doc/api/errors.md", "patch": "@@ -1407,6 +1407,7 @@ An attempt was made to `require()` an [ES6 module][].\n Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was\n pressed).\n \n+<a id=\"ERR_SCRIPT_EXECUTION_TIMEOUT\"></a>\n ### ERR_SCRIPT_EXECUTION_TIMEOUT\n \n Script execut...
2018-06-23T08:48:03
huggingface/transformers
f99c279d2071afcff23bdd4bcd1bcc1d045c0927
d1efaf0318223626ca99ed28c44d3b74aa04f0ed
Remove deprecated code (#37059) * Remove deprecated code * fix get_loading_attributes * fix error * skip test --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "examples/pytorch/language-modeling/run_fim.py", "patch": "@@ -47,7 +47,7 @@\n Trainer,\n TrainingArguments,\n default_data_collator,\n- is_torch_tpu_available,\n+ is_torch_xla_available,\n set_seed,\n )\n from transformers.integrations import is_deepspeed_zero3_enabled\n@@ -...
2025-03-31T09:15:35
rust-lang/rust
f16cefb606fb8b99c62148712ae6caec1014a076
5e49ce92fe67684eb0b94a3a4900150da687ce8a
The new diagnostic has found a bug lurking in minicore It's cute, isn't it?
[ { "path": "src/tools/rust-analyzer/crates/test-utils/src/minicore.rs", "patch": "@@ -1063,7 +1063,7 @@ pub mod cmp {\n // region:fmt\n pub mod fmt {\n pub struct Error;\n- pub type Result = Result<(), Error>;\n+ pub type Result = crate::result::Result<(), Error>;\n pub struct Formatter<'a>;\n ...
2025-03-30T17:38:20
golang/go
0ae9c3b98bf01862f11d764ee379bebc29a76431
8e0023b81b81352c1f8ea5cd58eea91939924f9d
runtime/pprof: fix block profile bias Block profiles were biased towards infrequent long events over frequent short events. This fix corrects the bias by aggregating shorter events as longer but less frequent in the profiles. As a result their cumulative duration will be accurately represented in the profile without s...
[ { "path": "src/runtime/mprof.go", "patch": "@@ -133,7 +133,7 @@ func (a *memRecordCycle) add(b *memRecordCycle) {\n // A blockRecord is the bucket data for a bucket of type blockProfile,\n // which is used in blocking and mutex profiles.\n type blockRecord struct {\n-\tcount int64\n+\tcount float64\n \tcy...
2021-02-26T13:41:19
electron/electron
120094a81ecc5a761d5b595657b641c8f6a5a7e4
637b50044d5d356109d4d0508dbc0b1185775245
Only print when got error for some commands.
[ { "path": "script/cpplint.py", "patch": "@@ -2,9 +2,10 @@\n \n import fnmatch\n import os\n-import subprocess\n import sys\n \n+from lib.util import execute\n+\n IGNORE_FILES = [\n os.path.join('browser', 'atom_application_mac.h'),\n os.path.join('browser', 'atom_application_delegate_mac.h'),\n@@ -44,7 ...
2014-02-26T14:08:01
nodejs/node
6ced651b6c3da64727bce260ecf55b8d86ec6cc3
a40e06233eeb657a38373c0f1ff03a32a310b998
build: add crypto check to markdown lint target Currently, if configured --without-ssl the following error will be repored by remark-cli: Running Markdown linter on misc docs... internal/util.js:100 throw new ERR_NO_CRYPTO(); ^ Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at...
[ { "path": "Makefile", "patch": "@@ -1046,11 +1046,17 @@ ifneq (\"\",\"$(wildcard tools/remark-cli/node_modules/)\")\n \n LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md)\n run-lint-doc-md = tools/remark-cli/cli.js -q -f $(LINT_MD_DOC_FILES)\n+node_use_openssl = $(shell $(call available-node,\"-p\" \\\n+...
2018-06-14T06:11:05
vercel/next.js
3f30e26a3a3a919c7f2ca5746488533b961f211d
0caf8000e72cf5867139d75212382db8f49e8a09
fix: apply default export interop to `next/error` (#43238) Applies the same interop as we did for `next/jest` in #36824 We could potentially apply the same for other submodules, or do it on the basis of someone hitting the issue. Fixes #43206 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] I...
[ { "path": "packages/next/taskfile.js", "patch": "@@ -2230,7 +2230,11 @@ export async function pages_app(task, opts) {\n export async function pages_error(task, opts) {\n await task\n .source('pages/_error.tsx')\n- .swc('client', { dev: opts.dev, keepImportAssertions: true })\n+ .swc('client', {\...
2022-11-23T05:37:18
huggingface/transformers
d1efaf0318223626ca99ed28c44d3b74aa04f0ed
19919689b2101147611edc2afd02c83b284e48d7
RWKV: fix mask warning typo (#37114) rwkv: fix mask warning typo
[ { "path": "src/transformers/models/rwkv/modeling_rwkv.py", "patch": "@@ -625,7 +625,7 @@ def forward(\n use_cache = use_cache if use_cache is not None else (self.config.use_cache if not self.training else False)\n return_dict = return_dict if return_dict is not None else self.config.use_retu...
2025-03-31T09:07:51
golang/go
8e0023b81b81352c1f8ea5cd58eea91939924f9d
bd2175e1b1369bce59cdceb9282c817802a87746
cmd/go/internal/load: treat packages with errors as potentially main packages If a package declares 'package main' but for some reason we fail to read its name (for example, due to a permission or checksum error), we may be tempted to drop the package from the output of mainPackagesOnly. However, that leads to a confu...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2563,7 +2563,7 @@ func mainPackagesOnly(pkgs []*Package, patterns []string) []*Package {\n \tmainCount := make([]int, len(patterns))\n \tnonMainCount := make([]int, len(patterns))\n \tfor _, pkg := range pkgs {\n-\t\tif pkg.Name == \"main\" {\n+\t\t...
2021-04-27T07:01:08
electron/electron
acef33aa2c69e23c48e6badefa6a286bce32329a
6134b9ed380fd470e5c5df351371276d6c883be1
:lipstick: Fix cpplint warnings.
[ { "path": "common/crash_reporter/linux/crash_dump_handler.cc", "patch": "@@ -154,6 +154,7 @@ class MimeWriter {\n \n const char* const mime_boundary_;\n \n+ private:\n DISALLOW_COPY_AND_ASSIGN(MimeWriter);\n };\n \n@@ -256,9 +257,7 @@ void MimeWriter::AddItemWithoutTrailingSpaces(const void* base, size_...
2014-02-26T13:47:52
vercel/next.js
0caf8000e72cf5867139d75212382db8f49e8a09
55232c2d0d844ab8ba95e83d21cd32f4a04e0444
Add fallback aliases for React (#43203) These aliases are needed by default (removed in https://github.com/vercel/next.js/commit/b0f87fbc7c141e6548ab90d0153aa6d1d844a9bc) because when transpiling external packages specified via `file:./` in package.json, these external packages might not have `react` in their depe...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -867,6 +867,9 @@ export default async function getBaseWebpackConfig(\n [COMPILER_NAMES.edgeServer]: ['browser', 'module', 'main'],\n }\n \n+ const reactDir = path.dirname(require.resolve('react/package.json'))\n+ const reactDomDir = pat...
2022-11-23T05:32:53
nodejs/node
a40e06233eeb657a38373c0f1ff03a32a310b998
383b1b6d3c5f753798d33ab6758ce8d5313f67e8
doc: fix list format in cli.md PR-URL: https://github.com/nodejs/node/pull/21467 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -513,22 +513,22 @@ that is not allowed in the environment is used, such as `-p` or a script file.\n \n Node options that are allowed are:\n - `--enable-fips`\n- `--experimental-modules`\n- `--experimental-repl-await`\n- `--experimental-vm-modules`\n- `--experimen...
2018-06-22T16:23:36
huggingface/transformers
19919689b2101147611edc2afd02c83b284e48d7
d0b65bb4797dc11d1d9dc7b9f66e2b6bd5b47ca5
Fix Gemma3 embedding scaling (#37109) fix gemma3 embedding
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -97,12 +97,12 @@ class Gemma3TextScaledWordEmbedding(nn.Embedding):\n This module overrides nn.Embeddings' forward by multiplying with embeddings scale.\n \"\"\"\n \n- def __init__(self, num_embeddings: int, embedding_dim...
2025-03-31T09:04:02
golang/go
bd2175e1b1369bce59cdceb9282c817802a87746
222101549a1b0d9810e2069f776c92b6807a739d
cmd/go: show warnings about symlinks only for patterns containing ... Go commands show a warning message any time a pattern is expanded and a symlink to a directory is encountered. For monorepo with non Go projects using symlinks underneath, the output of go commands could be spammed by this warning. This commit incl...
[ { "path": "src/cmd/go/internal/modload/search.go", "patch": "@@ -86,7 +86,7 @@ func matchPackages(ctx context.Context, m *search.Match, tags map[string]bool, f\n \t\t\t}\n \n \t\t\tif !fi.IsDir() {\n-\t\t\t\tif fi.Mode()&fs.ModeSymlink != 0 && want {\n+\t\t\t\tif fi.Mode()&fs.ModeSymlink != 0 && want && str...
2021-04-20T17:41:37
electron/electron
6134b9ed380fd470e5c5df351371276d6c883be1
ce6f9f20bf87641c687a951081df5b13650184b1
linux: Remove global variables in crash reporter.
[ { "path": "common/crash_reporter/crash_reporter_linux.cc", "patch": "@@ -32,55 +32,19 @@ static const size_t kDistroSize = 128;\n // no limit.\n static const off_t kMaxMinidumpFileSize = 1258291;\n \n-uint64_t g_process_start_time = 0;\n-pid_t g_pid = 0;\n-ExceptionHandler* g_breakpad = NULL;\n-\n-// The fo...
2014-02-26T13:33:14
vercel/next.js
55232c2d0d844ab8ba95e83d21cd32f4a04e0444
b8c193bb58e323ba2b2d5327213d3229b0fbf0c5
fix(next-swc): aarch64 build (#43275) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug - [ ] Related i...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -326,9 +326,6 @@ name = \"cc\"\n version = \"1.0.76\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f\"\n-dependencies = [\n- \"jobserver\",\n-]\n \n [[...
2022-11-23T05:02:01
huggingface/transformers
d0b65bb4797dc11d1d9dc7b9f66e2b6bd5b47ca5
ad63d20dff12ed3e24a4db1d6c89ee4c8b7cbb5d
[MLU] Fix FA2 check error, remove deepspeed-mlu deps. (#36159) * add Cambricon MLUs support * fix mlu device rng state * up for quality check * up mlu to support fp16 * fix mlu device dependency error * fix mlu device dependency error * enable mlu device for bf16 * fix mlu device memory tracker * Cambricon sup...
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -22,7 +22,7 @@\n from functools import partialmethod\n \n from ..dependency_versions_check import dep_version_check\n-from ..utils import is_accelerate_available, is_torch_available, is_torch_mlu_available, logging\n+from ..utils import is...
2025-03-31T09:02:49
nodejs/node
7edd0a17af8d74dce7dd6c7554a8b8523f83efdc
c6e5043a250f8a6509f060ca9b743f4fe19fa4c6
deps: cherry-pick 70c4340 from upstream V8 Original commit message: [log][api] Fix GCC 4.9 build failure GCC 4.9 used on some Node.js CI machines complains when the control reaches the end of a non-void function and no return is encountered. R=bmeurer@google.com, ofrobots@google.com, yangguo@google....
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.12',\n+ 'v8_embedder_string': '-node.13',\n \n # Enable disassembler for `--print-co...
2018-06-21T15:39:49
rust-lang/rust
c1cad77ac6c2cb231c35ad0bef77bb4c3d2cb3cc
4a5ec885963e22458dd120a791ed7d9ac2e402e6
minor: Fix outdated comment in hir-ty/generics.rs
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/generics.rs", "patch": "@@ -1,10 +1,10 @@\n //! Utilities for working with generics.\n //!\n //! The layout for generics as expected by chalk are as follows:\n+//! - Parent parameters\n //! - Optional Self parameter\n //! - Lifetime parameters\n //! - Typ...
2025-04-22T11:15:56
electron/electron
b1f9c4dfc5482349fecaa7c2006ed4717d7c9ccc
7660816468acf6e32363e703c0926d49ce3d7be3
Only start crash service on Windows.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -22,9 +22,7 @@ class CrashReporter\n \n start = -> binding.start productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra\n \n- if process.platform is 'darwin'\n- start()\n- else\n+ if process.platform i...
2014-02-26T12:58:17
vercel/next.js
4a6959da430e034b6d091c6ec876b788c1e3021c
0b841ad61f36a8db5cff22866beb9a27b8f3ea91
fix(next-dev): disable git version info (vercel/turbo#2815)
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -75,4 +75,4 @@ nix = \"0.25.0\"\n \n [build-dependencies]\n turbo-tasks-build = { path = \"../turbo-tasks-build\" }\n-vergen = { version = \"7.3.2\", default-features = false, features = [\"cargo\",\"git\"] }\n\\ No newline at end of fil...
2022-11-23T03:55:56
huggingface/transformers
ad63d20dff12ed3e24a4db1d6c89ee4c8b7cbb5d
286393fbb11e3c95439ed94b01781cba632e2dfb
fix whisper re-compile (#36712) * fix whisper re-compile Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix copy Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix comment Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix copies Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * revert use...
[ { "path": "src/transformers/models/blenderbot/modeling_blenderbot.py", "patch": "@@ -320,9 +320,7 @@ def forward(\n hidden_states = nn.functional.dropout(hidden_states, p=self.dropout, training=self.training)\n hidden_states = residual + hidden_states\n \n- if hidden_states.dtype == t...
2025-03-31T09:01:51
rust-lang/rust
d30dde73b35da060279ca40409975d50eba1139f
aec649faae092a09b17991499f142b50f348c91b
fix: Switch to resolver v2 The published crates fail to build with an edition less than 2024 because they are packaged with `resolver = "3"`, which is a 2024-only option. Revert back to resolver v2 to drop this requirement. Fixes: https://github.com/rust-lang/compiler-builtins/issues/883
[ { "path": "library/compiler-builtins/Cargo.toml", "patch": "@@ -1,5 +1,5 @@\n [workspace]\n-resolver = \"3\"\n+resolver = \"2\"\n members = [\n \"builtins-test\",\n \"compiler-builtins\",", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2025-04-22T07:46:09
golang/go
cde6a675bccb95f0660e302965065eeef6a68128
074a49bfe82cd4722c05c48568a43434eab639fa
go/scanner: optimize scanIdentifier While profiling parsing, I noticed that scanIdentifier was extremely hot, and could be optimized: it is responsible for a significant fraction of scanning and had a lot of unnecessary branching, bounds checks, and function calls. This CL implements some of those optimizations, whil...
[ { "path": "src/go/scanner/scanner.go", "patch": "@@ -48,11 +48,16 @@ type Scanner struct {\n \tErrorCount int // number of errors encountered\n }\n \n-const bom = 0xFEFF // byte order mark, only permitted as very first character\n+const (\n+\tbom = 0xFEFF // byte order mark, only permitted as very first cha...
2021-04-01T16:23:22
nodejs/node
c6e5043a250f8a6509f060ca9b743f4fe19fa4c6
9bdc882d58b172d9b5d960d55c474bf9f0770f78
deps: cherry-pick acc336c from upstream V8 Original commit message: [log] fix boolean logic on LogCodeObject R=yangguo@google.com Change-Id: Icb4825344991e5b2d15050e037064c60eeb9617e Reviewed-on: https://chromium-review.googlesource.com/1097578 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.11',\n+ 'v8_embedder_string': '-node.12',\n \n # Enable disassembler for `--print-co...
2018-06-18T15:59:12
electron/electron
7660816468acf6e32363e703c0926d49ce3d7be3
1a43ec355764b6617fa73792c4795455b7f882bc
linux: Set upload parameters of crash reporter.
[ { "path": "common/crash_reporter/crash_reporter_linux.cc", "patch": "@@ -15,7 +15,6 @@\n #include \"base/path_service.h\"\n #include \"base/process/memory.h\"\n #include \"base/memory/singleton.h\"\n-#include \"common/crash_reporter/linux/crash_dump_handler.h\"\n #include \"vendor/breakpad/src/client/linux/...
2014-02-26T12:54:56