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
nodejs/node
39937938d705413ea438c9d4695953b5164557ef
54e76fb873027cc6089bf8d7359d188d3687909e
win,msi: install tools for native modules Add a dialog during installation with information about native modules that can optionally run a Boxstarter script at the end of the installation. This script can also be run from Start menu. Fixes: https://github.com/nodejs/node/issues/22311 PR-URL: https://github.com/nodejs...
[ { "path": "tools/msvs/install_tools/install_tools.bat", "patch": "@@ -0,0 +1,25 @@\n+@echo off\n+\n+echo ====================================================\n+echo Tools for Node.js Native Modules Installation Script\n+echo ====================================================\n+echo.\n+echo This Boxstarter...
2018-08-29T22:22:51
vercel/next.js
1e0b5bf23d172c104ca826982ca0da07efa7d55e
a443bb9bde414108171b2ec5893d98bc3f60a02a
Fix `with-stencil` example (#44964) Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "examples/with-stencil/packages/test-component/package.json", "patch": "@@ -1,4 +1,6 @@\n {\n+ \"name\": \"test-component\",\n+ \"version\": \"1.0.0\",\n \"private\": true,\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.mjs\",", "additions": 2, "deletions": 0, "langu...
2023-01-17T17:11:16
nodejs/node
e85007fdfb8129618e2465375ba607c363b8a76f
b5430d782d1c00ecdc421ad28b4f6c5ff62ba972
build,win: WHOLEARCHIVE needs just lib name * Fixes ninja build PR-URL: https://github.com/nodejs/node/pull/22698 Reviewed-By: João Reis <reis@janeasystems.com>
[ { "path": "node.gyp", "patch": "@@ -261,8 +261,7 @@\n 'msvs_settings': {\n 'VCLinkerTool': {\n 'AdditionalOptions': [\n- '/WHOLEARCHIVE:<(PRODUCT_DIR)\\\\lib\\\\'\n- '<(node_core_target_name)<(STATIC_LIB_SUFFIX)',\n+ '/WHOL...
2018-09-04T01:56:02
electron/electron
d2368d2d3b3de9eec4cc32b6aaf035cc89921bf1
db8de9e60da0385888819dd8551b0ad741ed6d61
Add Volume keys support in global-shortcut API, fix #630.
[ { "path": "chromium_src/chrome/browser/extensions/global_shortcut_listener_mac.h", "patch": "@@ -21,8 +21,8 @@ namespace extensions {\n // forwards its output to the base class for processing.\n //\n // This class does two things:\n-// 1. Intercepts media keys. Uses an event tap for intercepting media keys\...
2014-09-09T11:11:54
golang/go
326ea438bb579a2010e38e00f515a04344ff96b0
3249b645c986849bbf72c1dc71efc4f90df465ec
cmd/compile: rewrite a, b = f() to use temporaries when type not identical If any of the LHS expressions of an OAS2FUNC are not identical to the respective function call results, escape analysis mishandles the implicit conversion, causes memory corruption. Instead, we should insert autotmps like we already do for f(g...
[ { "path": "src/cmd/compile/internal/typecheck/stmt.go", "patch": "@@ -204,8 +204,20 @@ assignOK:\n \t\tr.Use = ir.CallUseList\n \t\trtyp := r.Type()\n \n+\t\tmismatched := false\n+\t\tfailed := false\n \t\tfor i := range lhs {\n-\t\t\tassignType(i, rtyp.Field(i).Type)\n+\t\t\tresult := rtyp.Field(i).Type\n+...
2021-06-13T15:28:44
rust-lang/rust
e7acf5c9b91bf9f2bd79fbb1de77f65cdd73c8e5
50e0bf1b71b802d51b4de8343ed3f4b48d0782b5
fix: `collapsible_if` FP on block stmt before expr
[ { "path": "clippy_lints/src/collapsible_if.rs", "patch": "@@ -4,7 +4,7 @@ use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::{IntoSpan as _, SpanRangeExt, snippet, snippet_block, snippet_block_with_applicability};\n use rustc_ast::BinOpKind;\n use rustc_errors::Applicability;\n-use rustc_hir...
2025-05-03T12:31:47
huggingface/transformers
163138a911c1fb4451ec4b32edaee20918a59def
f8630c778c9220defecf1e3026d3438108b0baba
🚨🚨[core] Completely rewrite the masking logic for all attentions (#37866) * start * start having a clean 4d mask primitive * Update mask_utils.py * Update mask_utils.py * switch name * Update masking_utils.py * add a new AttentionMask tensor class * fix import * nits * fixes * use full and quandrants * ge...
[ { "path": "docs/source/en/attention_interface.md", "patch": "@@ -125,4 +125,44 @@ would expect from a usual Python dictionary:\n \n # You can also globally `register` a new function directly on it\n >>> ALL_ATTENTION_FUNCTIONS.register(\"new_func\", new_func)\n-```\n\\ No newline at end of file\n+```\n+\n+#...
2025-05-22T09:38:26
vercel/next.js
5b5cc339919f8de4edf3e1ff946e478bbaa61091
8739e61960415861ffb24f2cb790d37070f3db1b
Fix force-static description in next-typescript (#44951)
[ { "path": "packages/next/src/server/next-typescript.ts", "patch": "@@ -63,7 +63,7 @@ const API_DOCS: Record<\n '\"error\"':\n 'This errors if any dynamic Hooks or fetches are used. (This is equivalent to `getStaticProps`.)',\n '\"force-static\"':\n- 'This forces caching of all fet...
2023-01-17T16:52:50
electron/electron
ec1db0c7bb5c711f12cb927c1b12859fc44f53a2
4330d67e0d82041a29cbf9c53f95213b0bd427ba
mac: Add Tray.setHighlightMode API, fixes #425.
[ { "path": "atom/browser/api/atom_api_tray.cc", "patch": "@@ -52,6 +52,10 @@ void Tray::SetTitle(const std::string& title) {\n tray_icon_->SetTitle(title);\n }\n \n+void Tray::SetHighlightMode(bool highlight) {\n+ tray_icon_->SetHighlightMode(highlight);\n+}\n+\n void Tray::SetContextMenu(Menu* menu) {\n ...
2014-09-09T11:39:39
huggingface/transformers
f8630c778c9220defecf1e3026d3438108b0baba
aa02a5d9020c7afcd4ef512bf989387d1180661e
[Whisper] handle deprecation of `forced_decoder_ids` (#38232) * fix * working saved forced_decoder_ids * docstring * add deprecation message * exception message ordering * circular import comment
[ { "path": "docs/source/en/model_doc/whisper.md", "patch": "@@ -95,7 +95,7 @@ transcription[0]\n \n ## Notes\n \n-- Whisper relies on [`~GenerationMixin.generate`] for inference.\n+- Whisper relies a custom [`generate`] for inference, make sure to check the docs below.\n - The [`WhisperProcessor`] can be use...
2025-05-22T09:16:38
nodejs/node
b5430d782d1c00ecdc421ad28b4f6c5ff62ba972
e4dd213516afdff64063682e0d0d46c58499a9f3
assert: align argument names This makes sure the documented argument names and the ones thrown in errors is aligned with the actual argument name. PR-URL: https://github.com/nodejs/node/pull/22760 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca ...
[ { "path": "lib/assert.js", "patch": "@@ -555,12 +555,12 @@ function expectedException(actual, expected, msg) {\n return expected.call({}, actual) === true;\n }\n \n-function getActual(block) {\n- if (typeof block !== 'function') {\n- throw new ERR_INVALID_ARG_TYPE('block', 'Function', block);\n+functi...
2018-09-08T00:30:07
huggingface/transformers
71009e4b6849069ecabc80f04fd485b26e111145
d6c34cdcd019767cb370caaaee66a0ddf34ff910
assign the correct torchao data layout for xpu (#37781) * assign the correct data layout for xpu Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * check torch version before using torchao xpu Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix the log Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * ...
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -1713,9 +1713,23 @@ def get_apply_tensor_subclass(self):\n and version.parse(importlib.metadata.version(\"torchao\")) >= version.parse(\"0.8.0\")\n and quant_type_kwargs.get(\"layout\", None) is None\n ...
2025-05-21T15:21:55
rust-lang/rust
c35914383a92d7504f3a71c390dc2ebd14bce695
cd55868a8db4b9394be64082a290f11b1e03b5d3
Consistent trait bounds for ExtractIf Debug impls
[ { "path": "library/alloc/src/collections/btree/map.rs", "patch": "@@ -1917,14 +1917,13 @@ pub struct ExtractIf<\n V,\n F,\n #[unstable(feature = \"allocator_api\", issue = \"32838\")] A: Allocator + Clone = Global,\n-> where\n- F: 'a + FnMut(&K, &mut V) -> bool,\n-{\n+> {\n pred: F,\n ...
2025-03-15T18:19:56
electron/electron
4330d67e0d82041a29cbf9c53f95213b0bd427ba
db8de9e60da0385888819dd8551b0ad741ed6d61
mac: Add Tray.setTitle API, fixes #560.
[ { "path": "atom/browser/api/atom_api_tray.cc", "patch": "@@ -48,6 +48,10 @@ void Tray::SetToolTip(const std::string& tool_tip) {\n tray_icon_->SetToolTip(tool_tip);\n }\n \n+void Tray::SetTitle(const std::string& title) {\n+ tray_icon_->SetTitle(title);\n+}\n+\n void Tray::SetContextMenu(Menu* menu) {\n ...
2014-09-09T11:33:58
vercel/next.js
b5267059e595ed4fc085ebb3edaeb0d1e6981834
b109a3067ff859cf42699c7328523cdd536e1cb5
feat(turbopack): Support `export * from 'cjs'` (vercel/turbo#3111) Many unrelated tests files are changed because this PR adds a new runtime function, `__turbopack_cjs__`. Fixes WEB-3 Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "crates/turbopack-ecmascript/js/src/runtime.js", "patch": "@@ -109,6 +109,18 @@ function esm(exports, getters) {\n }\n }\n \n+/**\n+ * Adds the getters to the exports object\n+ *\n+ * @param {Exports} exports\n+ * @param {Record<string, any>} props\n+ */\n+function cjs(exports, props) {\n+ for ...
2023-01-17T08:04:54
huggingface/transformers
d6c34cdcd019767cb370caaaee66a0ddf34ff910
ae3e4e2d97d7342a626ce5bd36e19fdcc07d4d35
Fix: missing else branch to handle "--load_best_model_at_end" in training_args.py (#38217) Update training_args.py
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1646,10 +1646,11 @@ def __post_init__(self):\n \"--load_best_model_at_end requires the saving steps to be a multiple of the evaluation \"\n f\"steps, but found {self.save_steps}, which is not...
2025-05-21T14:28:56
nodejs/node
121439a8ff0cd5e41517b3032890d5dab90ea44b
932a74ae747b9260ce95f401b8d58f9f791a357b
2018-09-11, Version 8.12.0 'Carbon' (LTS) Notable Changes: * async_hooks: - rename PromiseWrap.parentId (Ali Ijaz Sheikh) https://github.com/nodejs/node/pull/18633 - remove runtime deprecation (Ali Ijaz Sheikh) https://github.com/nodejs/node/pull/19517 - deprecate unsafe emit{Before,After} (Ali Ijaz She...
[ { "path": "CHANGELOG.md", "patch": "@@ -46,7 +46,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.11.4\">8.11.4</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.12.0\">8.12.0</...
2018-06-29T21:45:58
golang/go
67b1b6a2e3a405e3e0b5c6a76f702b2a6071c1f0
1ed0d129e9ba9b55e9ae36ac1d7f2766ba16b373
cmd/compile: allow ir.OSLICE2ARRPTR in mayCall CL 301650 adds conversion from slice to array ptr. The conversion expression may appear as argument to a function call, so it will be tested by mayCall. But ir.OSLICE2ARRPTR op is not handled by mayCall, causes the compiler crashes. Updates #395 Fixes #46720 Change-Id:...
[ { "path": "src/cmd/compile/internal/walk/walk.go", "patch": "@@ -313,7 +313,7 @@ func mayCall(n ir.Node) bool {\n \t\t\treturn true\n \n \t\tcase ir.OINDEX, ir.OSLICE, ir.OSLICEARR, ir.OSLICE3, ir.OSLICE3ARR, ir.OSLICESTR,\n-\t\t\tir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODIV, ir.OMOD:\n+\t\t\tir.ODEREF, ir.O...
2021-06-13T03:55:19
electron/electron
bda317b000b2c3e63b9abd7c74d7103866471c0e
700510d63a1538bbf8c77896b8c4c20507ebd306
views: Set devtools window's icon, fixes #429.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -613,6 +613,10 @@ views::NonClientFrameView* NativeWindowViews::CreateNonClientFrameView(\n return NULL;\n }\n \n+gfx::ImageSkia NativeWindowViews::GetDevToolsWindowIcon() {\n+ return GetWindowAppIcon();\n+}\n+\n void NativeWindowViews::Handle...
2014-09-09T07:30:33
vercel/next.js
68db406d4e0f4e5787af76fdb30f0da814d555d5
71efc03a506d06c4cd176b6d7b67decf2e751bd8
Fix Node.js version to 14.6.0 in Upgrading guide. (#44939) It's `14.6.0`, not `14.0`. https://github.com/vercel/next.js/blob/71efc03a506d06c4cd176b6d7b67decf2e751bd8/package.json#L238
[ { "path": "docs/upgrading.md", "patch": "@@ -19,7 +19,7 @@ pnpm up next react react-dom eslint-config-next --latest\n ### v13 Summary\n \n - The [Supported Browsers](/docs/basic-features/supported-browsers-features.md) have been changed to drop Internet Explorer and target modern browsers.\n-- The minimum N...
2023-01-16T22:11:00
huggingface/transformers
ae3e4e2d97d7342a626ce5bd36e19fdcc07d4d35
174684a9b6f6f4c754c1afdae66e7a5a63a36639
Improve typing in TrainingArgument (#36944) * Better error message in TrainingArgument typing checks * Better typing * Small fixes Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/training_args.py", "patch": "@@ -907,7 +907,7 @@ class TrainingArguments:\n default=\"linear\",\n metadata={\"help\": \"The scheduler type to use.\"},\n )\n- lr_scheduler_kwargs: Optional[Union[dict, str]] = field(\n+ lr_scheduler_kwargs: Optional[Union[...
2025-05-21T13:54:38
nodejs/node
932a74ae747b9260ce95f401b8d58f9f791a357b
33eb509df623d83f398176915b70c2bd6801a9f8
src: make `FIXED_ONE_BYTE_STRING` an inline fn This prevents accidental usage on non-fixed strings. PR-URL: https://github.com/nodejs/node/pull/22725 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus ...
[ { "path": "src/node_api.cc", "patch": "@@ -2173,11 +2173,11 @@ static napi_status set_error_code(napi_env env,\n }\n }\n name_string = v8::String::Concat(\n- isolate, name_string, FIXED_ONE_BYTE_STRING(isolate, \" [\"));\n+ isolate, name_string, node::FIXED_ONE_BYTE_STRING(isolat...
2018-09-06T08:49:55
electron/electron
11992240869b74ff371959c227255a2d3638c818
add4e3c6f535949f8cf9efcf81cff5241ccce399
BrowserWindow.show() should not focus window, fixes #609.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -226,7 +226,7 @@ bool NativeWindowViews::IsFocused() {\n }\n \n void NativeWindowViews::Show() {\n- window_->Show();\n+ window_->ShowInactive();\n }\n \n void NativeWindowViews::Hide() {", "additions": 1, "deletions": 1, "language":...
2014-09-08T07:28:34
golang/go
8eeaf961c50973b0aa2065d2c31dfa5d9949bf93
f1b1c2f67fae0598db5c20f324334c23d4cd3038
[dev.typeparams] cmd/compile: move //go:embed -lang check to noder User errors should be reported in noder and/or typecheck, we already know the -lang flag's value during noding, and checking it then works better for unified IR. The "multiple files for type" and "cannot apply to var of type" errors should also be mov...
[ { "path": "src/cmd/compile/internal/noder/noder.go", "patch": "@@ -1886,6 +1886,8 @@ func checkEmbed(decl *syntax.VarDecl, haveEmbed, withinFunc bool) error {\n \t\treturn errors.New(\"go:embed cannot apply to var without type\")\n \tcase withinFunc:\n \t\treturn errors.New(\"go:embed cannot apply to var in...
2021-06-13T01:44:51
huggingface/transformers
ddf67d2d73e14772a85f5067ffa8034464fbf3ab
9a962dd9ed3ee9b8be3f36da9bf8dd05f076d123
Clearer error on import failure (#38257) Clearer error
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -2072,10 +2072,7 @@ def _get_module(self, module_name: str):\n try:\n return importlib.import_module(\".\" + module_name, self.__name__)\n except Exception as e:\n- raise RuntimeError(\n- f...
2025-05-21T12:32:29
vercel/next.js
d45d0f96f5679226ec3b8e6bf0d0df3132cee677
d5a188de069f65b39e07274b95cd47f89496c11f
Custom RSC compiler error message in pages/ (#44865) Change the error message when the RSC compiler errors are caused by a `/pages` page. Fixes NEXT-371 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`...
[ { "path": "packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -3,83 +3,106 @@ import type { webpack } from 'next/dist/compiled/webpack/webpack'\n import { relative } from 'path'\n import { SimpleWebpackError } from './simpleWebpackError'\n \n-function formatRSCErrorMe...
2023-01-16T13:47:18
nodejs/node
3bdc61d4d194e2057f5e692036ceb2b3a24cc476
66f563dec783fdfdcbf60d2d453d2bad620edc26
tools,doc: apilinks should handle root scenarios * Prevent crash when setting root properties * Allow return outside of function PR-URL: https://github.com/nodejs/node/pull/22721 Reviewed-By: Sam Ruby <rubys@intertwingly.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.n...
[ { "path": "test/fixtures/apilinks/root.js", "patch": "@@ -0,0 +1,10 @@\n+'use strict';\n+\n+// Set root member\n+let foo = true;\n+foo = false;\n+\n+// Return outside of function\n+if (!foo) {\n+ return;\n+}", "additions": 10, "deletions": 0, "language": "JavaScript" }, { "path": "test/...
2018-09-05T21:52:26
golang/go
1ed0d129e9ba9b55e9ae36ac1d7f2766ba16b373
9d46ee5ac4acd6602692f70c5149a3f6db058558
runtime: testprogcgo: don't call exported Go functions directly from Go Instead route through a C function, to avoid declaration conflicts between the declaration needed in the cgo comment and the declaration generated by cgo in _cgo_export.h. This is not something user code will ever do, so no need to make it work i...
[ { "path": "src/runtime/testdata/testprogcgo/aprof.go", "patch": "@@ -10,7 +10,7 @@ package main\n // The test fails when the function is the first C function.\n // The exported functions are the first C functions, so we use that.\n \n-// extern void GoNop();\n+// extern void CallGoNop();\n import \"C\"\n \n...
2021-06-11T18:50:42
huggingface/transformers
9a962dd9ed3ee9b8be3f36da9bf8dd05f076d123
101b3fa4ea1cfd66e72a73a0f505108454c24cce
Add tearDown method to Quark to solve OOM issues (#38234) fix
[ { "path": "tests/quantization/quark_integration/test_quark.py", "patch": "@@ -11,7 +11,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n-\n+import gc\n import unittest...
2025-05-21T12:26:44
rust-lang/rust
292aea50d876af5ca77d3c0233c836ff240d3bca
0f73f0f3941e6be6b19721548fab4e2bf919a525
Update mdbook to 0.4.49 This is a routine update to pull in some fixes and updates. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0449
[ { "path": "src/tools/rustbook/Cargo.lock", "patch": "@@ -938,9 +938,9 @@ dependencies = [\n \n [[package]]\n name = \"mdbook\"\n-version = \"0.4.48\"\n+version = \"0.4.49\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"8b6fbb4ac2d9fd7aa987c3510309ea3c80004a968d063c42f0d...
2025-05-05T22:13:40
vercel/next.js
dba9e2a12adeb2066d0d5bb9a49bdb3e29689b92
8613297cd4aa371ee748d5ae0f28ecc7d68334f9
fix(docs): update broken link for preset.ts (#44916) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feat...
[ { "path": "docs/advanced-features/customizing-babel-config.md", "patch": "@@ -24,7 +24,7 @@ Here's an example `.babelrc` file:\n }\n ```\n \n-You can [take a look at this file](https://github.com/vercel/next.js/blob/canary/packages/next/build/babel/preset.ts) to learn about the presets included by `next/bab...
2023-01-16T04:33:17
nodejs/node
6a9e776200bc0893d6d17d73488be28178e6f6fe
67ba8ff31acd24ded6b634617c8b2d67e50002b1
src: remove abort_on_uncaught_exception node.cc This commit removes the static variable abort_on_uncaught_exception and adds it to the environment options. PR-URL: https://github.com/nodejs/node/pull/22724 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/env-inl.h", "patch": "@@ -420,11 +420,11 @@ inline void Environment::set_trace_sync_io(bool value) {\n }\n \n inline bool Environment::abort_on_uncaught_exception() const {\n- return abort_on_uncaught_exception_;\n+ return options_->abort_on_uncaught_exception;\n }\n \n inline void Environm...
2018-09-06T08:39:38
golang/go
8f00eb009978e2e1bb681e698a0b51e20333eb05
2954f11eadf344786d0ec6e3e1d34f6a5c385246
[dev.typeparams] cmd/compile: avoid ir.DeepCopy in noder.constDecl Instead of using ir.DeepCopy to copy the IR from the previous constant declaration, just call exprList again and then fix up the position information. This is equivalent in practice, but has cleaner semantics for tricky corner cases like constant decla...
[ { "path": "src/cmd/compile/internal/noder/noder.go", "patch": "@@ -450,7 +450,7 @@ func (p *noder) varDecl(decl *syntax.VarDecl) []ir.Node {\n type constState struct {\n \tgroup *syntax.Group\n \ttyp ir.Ntype\n-\tvalues []ir.Node\n+\tvalues syntax.Expr\n \tiota int64\n }\n \n@@ -468,27 +468,32 @@ func...
2021-06-12T01:51:56
electron/electron
8367071dc60f69fdca357d06ebdf8cb6fd59629e
68ac6b0cbb013144287647cd8f812642b021ac48
Fixing dialog api parameter parsing
[ { "path": "atom/browser/api/lib/dialog.coffee", "patch": "@@ -51,7 +51,7 @@ module.exports =\n window,\n wrappedCallback\n \n- showSaveDialog: (window, options, callback) ->\n+ showSaveDialog: (args...) ->\n [window, options, callback] = parseArgs ...
2014-09-07T22:14:43
huggingface/transformers
101b3fa4ea1cfd66e72a73a0f505108454c24cce
a21f11fca229e0a4b9c3cbcf444703ca004ad39a
fix multi-image case for llava-onevision (#38084) * _get_padding_size module * do not patchify images when processing multi image * modify llava onevision image processor fast * tensor to list of tensors * backward compat * reuse pad_to_square in llave & some clarification * add to doc * fix: consider no image ...
[ { "path": "docs/source/en/model_doc/llava_onevision.md", "patch": "@@ -147,7 +147,7 @@ print(processor.decode(output[0], skip_special_tokens=True))\n \n ### Multi image inference\n \n-LLaVa-OneVision can perform inference with multiple images as input, where images either belong to the same prompt or differ...
2025-05-21T09:50:46
vercel/next.js
8613297cd4aa371ee748d5ae0f28ecc7d68334f9
869aab39f1511bf4b65e27de08a14106a718f0cd
Fix prepublish compiled handling (#44914)
[ { "path": "package.json", "patch": "@@ -46,7 +46,7 @@\n \"clean-trace-jaeger\": \"rm -rf test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic\",\n \"debug\": \"cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect packages/next/dist/bin/next\",\n \"postinstall\...
2023-01-16T04:21:39
nodejs/node
67ba8ff31acd24ded6b634617c8b2d67e50002b1
9782ce25750f2a34297e61a975c3a69a05b5d649
doc: fix type of DEP0116 PR-URL: https://github.com/nodejs/node/pull/22765 Refs: https://github.com/nodejs/node/pull/22715 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1052,7 +1052,7 @@ future release.\n <a id=\"DEP0116\"></a>\n ### DEP0116: Legacy URL API\n \n-Type: Documentation\n+Type: Documentation-only\n \n The [Legacy URL API][] is deprecated. This includes [`url.format()`][],\n [`url.parse()`][], [`url.resolve()`][...
2018-09-08T23:02:49
golang/go
9d46ee5ac4acd6602692f70c5149a3f6db058558
e552a6d31270c86064632af1d092e0db5a930250
reflect: handle stack-to-register translation in callMethod callMethod previously assumed erroneously that between the "value" and "method" ABIs (that is, the ABI the caller is following to call this method value and the actual ABI of the method), it could never happen that an argument passed on the stack in the forme...
[ { "path": "src/reflect/abi_test.go", "patch": "@@ -79,7 +79,34 @@ func TestMethodValueCallABI(t *testing.T) {\n \t\tt.Errorf(\"bad method value call: got %#v, want %#v\", r2, a2)\n \t}\n \tif s.Value != 3 {\n-\t\tt.Errorf(\"bad method value call: failed to set s.Value: got %d, want %d\", s.Value, 1)\n+\t\tt...
2021-06-11T13:58:05
rust-lang/rust
4de5b2757df953e4f0198aca3cf89c720e6bcbdf
9663da39d2aee8ae68d06de75ae122ea27d88281
`empty_struct_with_brackets`: do not lint macro code Do not attempt to fetch a snippet from expansion. Without this change, the inside of macros could[*] be shown as the source of the problem. [*] Due to the way the source code is processed and reparsed in this macro, the declarative macro has to be located outside t...
[ { "path": "clippy_lints/src/empty_with_brackets.rs", "patch": "@@ -75,6 +75,7 @@ declare_lint_pass!(EmptyWithBrackets => [EMPTY_STRUCTS_WITH_BRACKETS, EMPTY_ENUM\n impl EarlyLintPass for EmptyWithBrackets {\n fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) {\n if let ItemKind::Struc...
2025-04-15T21:51:22
huggingface/transformers
a21f11fca229e0a4b9c3cbcf444703ca004ad39a
4542086db764080c4333beef7b9f4327b4f8ff64
[`compile`] re-enable for Qwen-VL models (#38127) * compile qwen models * delete TODO comment * fix embeds test * fix assisted decoding * add comments
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -40,7 +40,7 @@\n from ...modeling_outputs import BaseModelOutputWithPast, ModelOutput\n from ...modeling_rope_utils import ROPE_INIT_FUNCTIONS, dynamic_rope_update\n from ...modeling_utils import PreTrainedModel\n-from ...ut...
2025-05-21T09:50:39
electron/electron
fd806f81ce2eb45d374de6be0a5e68d4ecbf0ae4
d515404abd999a0933664de10de11e8fa66dc218
linux: Don't set PR_SET_NO_NEW_PRIVS when creating process, fixes #623.
[ { "path": "atom/common/platform_util_linux.cc", "patch": "@@ -19,6 +19,7 @@ void XDGUtil(const std::string& util, const std::string& arg) {\n argv.push_back(arg);\n \n base::LaunchOptions options;\n+ options.allow_new_privs = true;\n // xdg-open can fall back on mailcap which eventually might plumb t...
2014-09-05T13:04:27
vercel/next.js
869aab39f1511bf4b65e27de08a14106a718f0cd
969cca878c5798096e05a6407e6b03e9cb1a55ef
fix standalone wrong url being logged (#44887) Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1789,7 +1789,7 @@ server.listen(currentPort, (err) => {\n console.log(\n 'Listening on port',\n currentPort,\n- 'url: http://localhost:' + currentPort\n+ 'url: http://' + hostname + ':' + currentPort\n )\n })`\n )", "additio...
2023-01-16T02:10:26
nodejs/node
9782ce25750f2a34297e61a975c3a69a05b5d649
8737683ba09252d6fe6b29df7ffcc818cd5cfb2b
test: replaces assert.throws() with common.expectsError() replaces assert.throws() with common.expectsError() to check error code and error type in parallel/test-buffer-alloc.js PR-URL: https://github.com/nodejs/node/pull/22689 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> ...
[ { "path": "test/parallel/test-buffer-alloc.js", "patch": "@@ -75,16 +75,40 @@ new Buffer('', 'binary');\n Buffer(0);\n \n // try to write a 0-length string beyond the end of b\n-assert.throws(() => b.write('', 2048), RangeError);\n+common.expectsError(\n+ () => b.write('', 2048),\n+ {\n+ code: 'ERR_BUF...
2018-09-04T15:04:19
golang/go
e552a6d31270c86064632af1d092e0db5a930250
16b5d766d8af8bc348f93e6cb2b53a4e2d5d72ca
cmd/go: remove hint when no module is suggested Fixes #46528 Change-Id: I2453d321ece878ea7823865758aa4a16b3ed7fe8 Reviewed-on: https://go-review.googlesource.com/c/go/+/325430 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Trust: Heschi Kreinick <heschi@google.com> Tr...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -178,11 +178,13 @@ func (e *ImportMissingSumError) Error() string {\n \t\t// Importing package is unknown, or the missing package was named on the\n \t\t// command line. Recommend 'go mod download' for the modules that could\n \t\t// provide th...
2021-06-05T05:48:30
huggingface/transformers
4542086db764080c4333beef7b9f4327b4f8ff64
6829936ee0a32928f248f2d98341952c80f7572a
[Falcon H1] Fix Typo in Integration Test (#38256) * Create push-important-models.yml * feat: add falcon-h1 * fixup * address comment * fix * fix copies * fix copies * fix * fix * fix * fix * fix copies * fix * fix copies * fix test import to at least trigget the cis * yups * update * fix make fix copi...
[ { "path": "tests/models/falcon_h1/test_modeling_falcon_h1.py", "patch": "@@ -479,7 +479,7 @@ def _prepare_model_kwargs(input_ids, attention_mask, signature):\n @require_torch_gpu\n class FalconH1ModelIntegrationTest(unittest.TestCase):\n @slow\n- def test_llama_3_1_hard(self):\n+ def test_falcon_h...
2025-05-21T09:25:26
vercel/next.js
c35aec8d9309e97b7df5df24a4a86865545fa514
d61b0761efae09bd9cb1201ff134ed8950d9deca
Removes title warning from cms example (#44894) Warning: Title element received an array with more than 1 element as children. ## 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/...
[ { "path": "examples/blog-starter/pages/index.tsx", "patch": "@@ -19,7 +19,7 @@ export default function Index({ allPosts }: Props) {\n <>\n <Layout>\n <Head>\n- <title>Next.js Blog Example with {CMS_NAME}</title>\n+ <title>{`Next.js Blog Example with ${CMS_NAME}`}</title>\...
2023-01-15T22:47:49
nodejs/node
9f06a057959edc258fd0014223d9fb0ec917525f
3f671901684b1903b4a065b285b45d9bb88e38e1
doc: fix description of DEP0024 PR-URL: https://github.com/nodejs/node/pull/22755 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gma...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -256,8 +256,7 @@ The `os.getNetworkInterfaces()` method is deprecated. Please use the\n \n Type: End-of-Life\n \n-The `REPLServer.prototype.convertToContext()` API is deprecated and should\n-not be used.\n+The `REPLServer.prototype.convertToContext()` API ha...
2018-09-07T20:21:56
golang/go
77aa209b386a184e7f4b44938f2a05a1b5c5a3cf
e2dc6dd5c9b6799c9bb987f3a4600fb0df686d09
runtime: loop on EINTR in macOS sigNoteSleep Fixes #46466 Change-Id: I8fb15d0c8ef7ef6e6fc1b9e0e033d213255fe0df Reviewed-on: https://go-review.googlesource.com/c/go/+/326778 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Mi...
[ { "path": "src/runtime/os_darwin.go", "patch": "@@ -118,10 +118,15 @@ func sigNoteWakeup(*note) {\n \n // sigNoteSleep waits for a note created by sigNoteSetup to be woken.\n func sigNoteSleep(*note) {\n-\tentersyscallblock()\n-\tvar b byte\n-\tread(sigNoteRead, unsafe.Pointer(&b), 1)\n-\texitsyscall()\n+\t...
2021-06-10T22:35:05
huggingface/transformers
6829936ee0a32928f248f2d98341952c80f7572a
e288ee00d80f17bb645bcd1f7f8f52572a25e379
[MODEL] Add Falcon H1 (#38249) * Create push-important-models.yml * feat: add falcon-h1 * fixup * address comment * fix * fix copies * fix copies * fix * fix * fix * fix * fix copies * fix * fix copies * fix test import to at least trigget the cis * yups * update * fix make fix copies * fix inits? *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -455,6 +455,8 @@\n title: Falcon\n - local: model_doc/falcon3\n title: Falcon3\n+ - local: model_doc/falcon_h1\n+ title: FalconH1\n - local: model_doc/falcon_mamba\n title: FalconMamba\n - local: mode...
2025-05-21T08:43:11
electron/electron
3afbb66b9287f0e30b993f8555e750bc6550f57c
fadfd7492352ccea0963760bd9107ebfd91fda20
Send message to client in debugger thread.
[ { "path": "atom/browser/node_debugger.cc", "patch": "@@ -136,7 +136,10 @@ void NodeDebugger::DebugMessageHandler(const v8::Debug::Message& message) {\n \n if (self) {\n std::string message8(*v8::String::Utf8Value(message.GetJSON()));\n- self->SendMessage(message8);\n+ self->thread_.message_loop(...
2014-09-05T03:51:45
vercel/next.js
2a590b39357436d9a897e1c17d45922a12f7d0a1
1241b4ff1556cfad2e4bf7f6efe9cad9ee8c1e70
Implement `experimental.resolveAlias` map for next.config.js (vercel/turbo#3298) Fixes WEB-416. This implements loading an alias map set as `experimental.resolveAlias` in `next.config.js`. Test Plan: Added an integration test.
[ { "path": "packages/next-swc/crates/next-core/src/fallback.rs", "patch": "@@ -49,7 +49,12 @@ pub async fn get_fallback_page(\n let entries = get_client_runtime_entries(project_path, env, ty, next_config);\n \n let mut import_map = ImportMap::empty();\n- insert_next_shared_aliases(&mut import_map,...
2023-01-13T05:51:50
golang/go
e0e9fb8affbe37c2ff73b9afb60f726e747f428d
4468e1cfb94ed07fea5514dce740180fd3a6d20f
[dev.typeparams] runtime: simplify defer record allocation Now that deferred functions are always argumentless and defer records are no longer with arguments, defer record can be fixed size (just the _defer struct). This allows us to simplify the allocation of defer records, specifically, remove the defer classes and ...
[ { "path": "src/cmd/compile/internal/test/inl_test.go", "patch": "@@ -42,7 +42,6 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"bucketMask\",\n \t\t\t\"bucketShift\",\n \t\t\t\"chanbuf\",\n-\t\t\t\"deferclass\",\n \t\t\t\"evacuated\",\n \t\t\t\"fastlog2\",\n \t\t\t\"fastrand\",\n@@ -63,7 +62,6 @@ fun...
2021-06-08T22:45:18
nodejs/node
c1483bac9496d341dc428105d3c3e4b07600a933
dbf72030b7c064e719040d4b6da13523656c8945
doc: improve assert documentation This fixes the officially accepted message types for `assert.throws()`, `assert.rejects()`, `assert.doesNotThrow()` and `assert.doesNotReject()`. It also renames the `block` argument in those functions to `fn` and `promiseFn` for further clarity. PR-URL: https://github.com/nodejs/nod...
[ { "path": "doc/api/assert.md", "patch": "@@ -408,19 +408,19 @@ parameter is undefined, a default error message is assigned. If the `message`\n parameter is an instance of an [`Error`][] then it will be thrown instead of the\n `AssertionError`.\n \n-## assert.doesNotReject(block[, error][, message])\n+## ass...
2018-09-03T23:10:29
huggingface/transformers
e288ee00d80f17bb645bcd1f7f8f52572a25e379
711d78d104366c16dd99ef11084c27848f7a4133
tp plan should not be NONE (#38255) * accept custom device_mesh * fix device_map * assert that num_heads % tp_size == 0 * todo. * ReplicateParallel * handle tied weights * handle dtensor in save_pretrained with safe_serialization * tp test works * doesnt work * fix shard_and_distribute_module's rank should be...
[ { "path": "examples/3D_parallel.py", "patch": "@@ -0,0 +1,435 @@\n+# Copyright 2024 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the Licen...
2025-05-21T08:22:38
electron/electron
fadfd7492352ccea0963760bd9107ebfd91fda20
222f8e102819e0e2074a6981fcbef22e84a6e19c
win: Fix compilation error.
[ { "path": "atom/browser/node_debugger.cc", "patch": "@@ -101,7 +101,9 @@ void NodeDebugger::OnMessage(const std::string& message) {\n CloseSession();\n \n base::string16 message16 = base::UTF8ToUTF16(message);\n- v8::Debug::SendCommand(isolate_, message16.data(), message16.size());\n+ v8::Debug::Sen...
2014-09-05T03:44:30
golang/go
ef6c5be16025a1868fc27267b7abfb1c28329fe2
4a735ce0680e5ea6088da8072ba4c2b0076e51cb
[dev.typeparams] cmd/compile: fix wrapper generation for imported generics This CL fixes reflectdata.methodWrapper to compile wrapper functions for method expressions involving imported, instantiated interface types. CL 322193 fixed a similar issue for generating wrappers for imported, instantiated concrete types, but...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1800,8 +1800,11 @@ func methodWrapper(rcvr *types.Type, method *types.Field, forItab bool) *obj.LSy\n \t}\n \n \t// Only generate I.M wrappers for I in I's own package\n-\t// but keep doing it for error.Error (was issue #29304).\n-\t...
2021-06-11T09:44:16
huggingface/transformers
f834d368f6a21ed54188d9c96fbb9013b1d2c75f
2edb0e4b4dda8172d5628ca7497a4125f28bf6fc
[gemma3] fix bidirectional attention mask (#38080) * fix attn mask * attn viz doesn't show yello cubes between images * bucketize made it hard with different number of crops * fixup
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -1062,10 +1062,21 @@ def _update_causal_mask(\n if token_type_ids is not None and sequence_length != 1:\n token_type_mask = token_type_ids.unsqueeze(1) == token_type_ids.unsqueeze(2)\n token_type_mask...
2025-05-20T15:35:04
nodejs/node
dbf72030b7c064e719040d4b6da13523656c8945
36cc812d18260dcfab416c6a8014b347d3865e12
src: update postmortem constant name This commit renames V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT to V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER_OR_DEBUG_INFO__OBJECT following an upstream V8 change. PR-URL: https://github.com/nodejs/node/pull/21983 Reviewed-By: Refael Ackermann <refack@gma...
[ { "path": "src/v8abbr.h", "patch": "@@ -88,11 +88,13 @@\n #define V8_OFF_RAW_NAME \\\n V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__NAME_OR_SCOPE_INFO__OBJECT)\n #define V8_OFF_SHARED_IDENT \\\n- V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__FUNCTION_IDENTIFIER__OBJECT)\n+ V8_OFF_HEAP( ...
2018-08-28T00:33:45
electron/electron
222f8e102819e0e2074a6981fcbef22e84a6e19c
e3b6ea62d65389fd7c719efdc8da98debdcbb247
Make --debug-brk work.
[ { "path": "atom/browser/node_debugger.cc", "patch": "@@ -56,6 +56,9 @@ NodeDebugger::NodeDebugger(v8::Isolate* isolate)\n isolate_->SetData(kIsolateSlot, this);\n v8::Debug::SetMessageHandler(DebugMessageHandler);\n \n+ if (wait_for_connection)\n+ v8::Debug::DebugBreak(isolate_);\n+\n //...
2014-09-05T02:59:29
golang/go
2f1128461dcc6c9915f21327ce18fa1925269f30
2721da26083f253c46c2fd0c1dadee14ae4202f5
cmd/go: match Windows paths in TestScript/mod_invalid_version Fixes #46691 Change-Id: I3bef9a773be640bed96eb2dc395cb11671a0767a Reviewed-on: https://go-review.googlesource.com/c/go/+/326869 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.o...
[ { "path": "src/cmd/go/testdata/script/mod_invalid_version.txt", "patch": "@@ -19,7 +19,7 @@ cp go.mod.orig go.mod\n go mod edit -require golang.org/x/text@14c0d48ead0c\n cd outside\n ! go list -m golang.org/x/text\n-stderr 'go list -m: example.com@v0.0.0 \\(replaced by \\./\\..\\): parsing ../go.mod: '$WORK...
2021-06-10T20:54:53
huggingface/transformers
2edb0e4b4dda8172d5628ca7497a4125f28bf6fc
390f153469dfdc793e7a9c7eb4822ea76f4f796a
[mllama] fix loading and inference (#38223) fix loading
[ { "path": "src/transformers/models/mllama/modeling_mllama.py", "patch": "@@ -486,8 +486,6 @@ def forward(\n value_states = self.v_proj(cross_attention_states)\n key_states = key_states.view(bsz, -1, self.num_key_value_heads, self.head_dim).transpose(1, 2)\n value_states =...
2025-05-20T15:34:55
nodejs/node
36cc812d18260dcfab416c6a8014b347d3865e12
f7d572fa2b6ac995eca535c990fa82958de4731c
test: update postmortem metadata test for V8 6.9 The V8 6.9 update requires the following adjustments to the postmortem debugging metadata constants: - v8dbg_class_SharedFunctionInfo__function_identifier__Object Use: v8dbg_class_SharedFunctionInfo__function_identifier_or_debug_info__Object - v8dbg_class_SharedFunc...
[ { "path": "test/v8-updates/test-postmortem-metadata.js", "patch": "@@ -95,12 +95,12 @@ function getExpectedSymbols() {\n 'v8dbg_class_SeqTwoByteString__chars__char',\n 'v8dbg_class_SharedFunctionInfo__function_data__Object',\n 'v8dbg_class_SharedFunctionInfo__flags__int',\n- 'v8dbg_class_Shar...
2018-08-07T18:14:33
vercel/next.js
f3fa949a3c83dacab4f5656e8e54275eb8a1d408
031deb51ce6ad178a6ddbba3e8810dbce05c9430
Implement `experimental.resolveAlias` map for next.config.js (vercel/turbo#3298) Fixes WEB-416. This implements loading an alias map set as `experimental.resolveAlias` in `next.config.js`. Test Plan: Added an integration test.
[ { "path": "crates/next-core/src/fallback.rs", "patch": "@@ -49,7 +49,12 @@ pub async fn get_fallback_page(\n let entries = get_client_runtime_entries(project_path, env, ty, next_config);\n \n let mut import_map = ImportMap::empty();\n- insert_next_shared_aliases(&mut import_map, project_path);\n+...
2023-01-13T05:51:50
huggingface/transformers
2a79471318a9b7b16706f3bb5cd833c7e81919a6
9661896083c9d983341afa45cc4b84af01706e72
Fixing Bitnet after use_rms_norm introduction (#38229) * fix * make style
[ { "path": "src/transformers/integrations/bitnet.py", "patch": "@@ -362,8 +362,8 @@ def _replace_with_bitnet_linear(\n bias=module.bias is not None,\n device=module.weight.device,\n dtype=module.weight.dtype,\n- ...
2025-05-20T15:13:21
golang/go
2721da26083f253c46c2fd0c1dadee14ae4202f5
770f1de8c54256d5b17447028e47b201ba8e62c8
doc/go1.17: fix formatting near httptest Change-Id: Ic1a0add3a1e137ca5cd0f3e9ce3266191b0b55cd Reviewed-on: https://go-review.googlesource.com/c/go/+/326777 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.17.html", "patch": "@@ -763,9 +763,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"net/http/httptest\"><dt><a href=\"/pkg/net/http/httptest/\">net/http/httptest</a></dt>\n <dd>\n <p><!-- CL 308950 -->\n- <a href=\"/pkg/net/http/httptest/#Respo...
2021-06-10T22:05:07
nodejs/node
19984ad7bb96b300037c90059d231e4b6cba5bd1
e6cdf24bb52c8d362bfb6a258a65e9be2d670d94
test: fix inspector tests after V8 upgrade V8 improved break locations for the node --inspect-brk -e case. PR-URL: https://github.com/nodejs/node/pull/21983 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Col...
[ { "path": "test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js", "patch": "@@ -14,7 +14,7 @@ setTimeout(() => {\n `;\n \n async function skipBreakpointAtStart(session) {\n- await session.waitForBreakOnLine(0, '[eval]');\n+ await session.waitForBreakOnLine(3, '[eval]');\n await session.send...
2018-05-11T20:47:45
golang/go
61888d47c4c49afc2e4ac3aeea42e83cda84d37b
62e32dd386103b5ee8dfe921eb791b14277843b5
[dev.typeparams] cmd/compile: allow embedding Type.Vargen into Sym.Name Unified IR currently works by hoisting local type definitions to package scope, which requires giving them a unique name. Its current solution is to directly embed the ·N suffix in Sym.Name, rather than set Type.Vargen. This CL extends types/fmt.g...
[ { "path": "src/cmd/compile/internal/types/fmt.go", "patch": "@@ -324,7 +324,21 @@ func tconv2(b *bytes.Buffer, t *Type, verb rune, mode fmtMode, visited map[*Type\n \t\t\tverb = 'v'\n \t\t}\n \n-\t\tsconv2(b, t.Sym(), verb, mode)\n+\t\t// In unified IR, function-scope defined types will have a ·N\n+\t\t// s...
2021-06-11T10:47:07
electron/electron
3795cc58b04a0e4f8267a0ad45ec8e2374d8b41f
ed7d430f2b5e591ec0343753f030c4da6c25744a
Pass debugger messages between V8 debugger.
[ { "path": "atom/browser/atom_browser_main_parts.cc", "patch": "@@ -12,6 +12,7 @@\n #include \"atom/common/api/atom_bindings.h\"\n #include \"atom/common/node_bindings.h\"\n #include \"base/command_line.h\"\n+#include \"v8/include/v8-debug.h\"\n \n #if defined(USE_X11)\n #include \"chrome/browser/ui/libgtk2u...
2014-09-05T02:18:59
nodejs/node
267b0b5f3d90e51e54d2d36cb853200305a815c0
90ae4bd0c987479ff364a469e6f2fcc83baba66c
tools: fix compilation after V8 upgrade V8 now requires ICU's regular expressions. PR-URL: https://github.com/nodejs/node/pull/21983 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gma...
[ { "path": "tools/icu/icu-generic.gyp", "patch": "@@ -32,7 +32,6 @@\n 'direct_dependent_settings': {\n 'defines': [\n 'UCONFIG_NO_SERVICE=1',\n- 'UCONFIG_NO_REGULAR_EXPRESSIONS=1',\n 'U_ENABLE_DYLOAD=0',\n 'U_STATIC_IMPLEMENTATION=1',\n 'U_HAVE_S...
2018-07-25T18:17:45
huggingface/transformers
1c2f36b480e02c9027d2523746d34e27b39e01a4
b591d925bed9235d158a9ff569c5ac1f4c619157
parallelism goes brrr (#37877) * accept custom device_mesh * fix device_map * assert that num_heads % tp_size == 0 * todo. * ReplicateParallel * handle tied weights * handle dtensor in save_pretrained with safe_serialization * tp test works * doesnt work * fix shard_and_distribute_module's rank should be loca...
[ { "path": "examples/3D_parallel.py", "patch": "@@ -0,0 +1,422 @@\n+\"\"\":\n+This script is used to test training a model using Tensor Parallelism and Data Parallelism.\n+\n+Usage:\n+export CUDA_VISIBLE_DEVICES=0,1,2,3\n+export CUDA_VISIBLE_DEVICES=4,5,6,7\n+export CUDA_VISIBLE_DEVICES=5,6,7\n+TP_SIZE=2 DP_...
2025-05-20T14:22:52
golang/go
770f1de8c54256d5b17447028e47b201ba8e62c8
8d11b1d1172817359d08231deaf29f72d315b762
net/http: remove test-only private key from production binaries The net/http/internal package contains a PEM-encoded private key used in tests. This key is initialized at init time, which prevents it from being stripped by the linker in non-test binaries. Move the certificate and key to a new net/http/internal/testce...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -440,7 +440,8 @@ var depsRules = `\n \t# HTTP, King of Dependencies.\n \n \tFMT\n-\t< golang.org/x/net/http2/hpack, net/http/internal, net/http/internal/ascii;\n+\t< golang.org/x/net/http2/hpack\n+\t< net/http/internal, net/http/internal/ascii, net/http/in...
2021-06-10T17:50:37
vercel/next.js
031deb51ce6ad178a6ddbba3e8810dbce05c9430
fb27d1e8c0d9c2a2a9f79758a06e6a5c527df0fa
Fix deduplication when importing module statically and dynamically (vercel/turbo#3297) The `processed_assets` `IndexSet` was performing deduplication on the `AssetVc`, which is the same between static (`import ... from "foo"`) and dynamic (`import("foo")`) imports of the same specifier. But, the _reference_ to those a...
[ { "path": "crates/turbopack-core/src/chunk/mod.rs", "patch": "@@ -159,7 +159,9 @@ pub trait ParallelChunkReference: AssetReference + ValueToString {\n \n /// Specifies how a chunk interacts with other chunks when building a chunk\n /// group\n-#[derive(Copy, Clone, TraceRawVcs, Serialize, Deserialize, Eq, P...
2023-01-13T05:48:52
electron/electron
20f21b707bae737dcc1e3bc6ba9fd2a57bf2437d
a584ca36783e715a2f808fec134310dfddaddd62
Start a TCP server in the debugger thread.
[ { "path": "atom/browser/node_debugger.cc", "patch": "@@ -10,8 +10,7 @@\n #include \"base/bind.h\"\n #include \"base/command_line.h\"\n #include \"base/strings/string_number_conversions.h\"\n-#include \"net/socket/stream_socket.h\"\n-#include \"net/socket/tcp_server_socket.h\"\n+#include \"net/socket/tcp_lis...
2014-09-04T14:08:42
nodejs/node
90ae4bd0c987479ff364a469e6f2fcc83baba66c
d5e72944457117913c7ded2caf1f623a25f8726f
src: add InitializeV8Platform function This commit adds an InitializeV8Platform function which calls v8_platform's Initialize to create the NodePlatform and also set the structs members. When running cctests this functions was not being called (it is called from the Start function but that function is not called by t...
[ { "path": "src/node.cc", "patch": "@@ -2990,6 +2990,12 @@ MultiIsolatePlatform* CreatePlatform(\n }\n \n \n+MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size) {\n+ v8_platform.Initialize(thread_pool_size);\n+ return v8_platform.Platform();\n+}\n+\n+\n void FreePlatform(MultiIsolatePlatform* ...
2018-07-03T07:37:07
huggingface/transformers
b591d925bed9235d158a9ff569c5ac1f4c619157
3f0b7d0fac38bf326db672a9f246eaa247ff266d
Fix Llama4 (#38222) Update modeling_llama4.py
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -144,7 +144,7 @@ def __init__(self, config):\n \n def forward(self, hidden_states):\n batch, seq_len, hidden_dim = hidden_states.shape\n- hidden_states = hidden_states.view(-1, self.hidden_dim)\n+ hidden_st...
2025-05-20T14:00:46
golang/go
8d11b1d1172817359d08231deaf29f72d315b762
dc00dc6c6bf3b5554e37f60799aec092276ff807
cmd/go: report the imports of CompiledGoFiles in ImportMap Ideally we should encode the load.PackageInternal data in a way that doesn't rely on 1:1 correlations of slices, but this is a minimal fix to unblock Go 1.17. Fixes #46462 Change-Id: I6e029c69f757aadc54d4be02c01d6b294c217542 Reviewed-on: https://go-review.go...
[ { "path": "src/cmd/go/internal/list/list.go", "patch": "@@ -724,8 +724,18 @@ func runList(ctx context.Context, cmd *base.Command, args []string) {\n \n \t// Record non-identity import mappings in p.ImportMap.\n \tfor _, p := range pkgs {\n-\t\tfor i, srcPath := range p.Internal.RawImports {\n-\t\t\tpath := ...
2021-06-08T19:53:08
vercel/next.js
21fcb68bd7fb2a9c9f966fa9a148a67bc2c69637
6fcb518f31a823915cd5ec21ede1975a2a66ddec
Fix FreeBSD next-swc build (#44833)
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1178,7 +1178,7 @@ jobs:\n build: |\n npm i -g \"@napi-rs/cli@${NAPI_CLI_VERSION}\" \"turbo@${TURBO_VERSION}\" \"pnpm@${PNPM_VERSION}\"\n turbo run build-native-no-plugin-woa -- --release --target aarch...
2023-01-12T20:59:01
rust-lang/rust
fb8784585eece42a22c782bb01c1c2f188f70505
7fc84ac964b45955cc9beb7ec269d3d06a3591ab
fix tidy and bless test
[ { "path": "tests/ui/type-inference/regression-issue-81317.rs", "patch": "@@ -1,29 +1,31 @@\n // Regression test for #81317: type can no longer be infered as of 1.49\n //\n-// The problem is that the xor operator and the index.into() each have two candidate impls that could apply\n+// The problem is that the...
2025-05-05T19:09:31
nodejs/node
a3f258c7693fd76fc26edc8c9d5b67f260eb755d
fc1770b0d1a5762bd14ccbd8a3688a7592d96cd7
deps: cherry-pick a8f6869 from upstream V8 Original commit message: [debug] Fully implement Debug::ArchiveDebug and Debug::RestoreDebug. I have a project that embeds V8 and uses a single `Isolate` from multiple threads. The program runs just fine, but sometimes the inspector doesn't stop on the corre...
[ { "path": "common.gypi", "patch": "@@ -29,7 +29,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.7',\n+ 'v8_embedder_string': '-node.8',\n \n # Enable disassembler for `--print-code...
2018-09-04T19:24:34
electron/electron
a584ca36783e715a2f808fec134310dfddaddd62
ca881c5aaf1886890e5c465de36025d5e02723d8
Start a new debugger thread to listen for commands.
[ { "path": "atom/browser/node_debugger.cc", "patch": "@@ -7,24 +7,18 @@\n #include <string>\n \n #include \"atom/common/atom_version.h\"\n+#include \"base/bind.h\"\n #include \"base/command_line.h\"\n #include \"base/strings/string_number_conversions.h\"\n-#include \"v8/include/v8.h\"\n+#include \"net/socket...
2014-09-04T13:06:31
huggingface/transformers
9cde2f5d420f23764acd8f6808f3e7d2836bbe87
856f034f45aeb4085dd43dbc055d9830c9b537b1
Minor llama4 fixes (#38123) * fix wrong scaling value/default Cache init * style * fix various issues on integration tests * change expected outputs * fixup * fix config access * protect default scaling
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -258,6 +258,33 @@ def eager_attention_forward(\n return attn_output, attn_weights\n \n \n+# Adapted from transformers.models.llama.modeling_llama.eager_attention_forward -> llama4 doesn't cast attn weights to fp32\n+def vision_e...
2025-05-20T13:15:54
golang/go
dc00dc6c6bf3b5554e37f60799aec092276ff807
27f83723e98d8e3795a07bdca2b3a8155b0d72b3
crypto/tls: let HTTP/1.1 clients connect to servers with NextProtos "h2" Fixes #46310 Change-Id: Idd5e30f05c439f736ae6f3904cbb9cc2ba772315 Reviewed-on: https://go-review.googlesource.com/c/go/+/325432 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot ...
[ { "path": "src/crypto/tls/handshake_client.go", "patch": "@@ -711,17 +711,11 @@ func (hs *clientHandshakeState) processServerHello() (bool, error) {\n \t\t}\n \t}\n \n-\tif hs.serverHello.alpnProtocol != \"\" {\n-\t\tif len(hs.hello.alpnProtocols) == 0 {\n-\t\t\tc.sendAlert(alertUnsupportedExtension)\n-\t\t...
2021-06-07T12:24:22
vercel/next.js
6fcb518f31a823915cd5ec21ede1975a2a66ddec
9255da252581246239786ac38b58a54ae87c076e
Fix image emittion for pure client image (#44831) Fixes https://github.com/vercel/next.js/issues/44068 Fixes https://github.com/vercel/next.js/issues/44143 Fixes https://github.com/vercel/next.js/issues/44658
[ { "path": "packages/next/src/build/webpack/loaders/next-image-loader.ts", "patch": "@@ -115,6 +115,8 @@ function nextImageLoader(this: any, content: Buffer) {\n content,\n null\n )\n+ } else {\n+ this.emitFile(interpolatedName, content, null)\n }\n \n return `export def...
2023-01-12T19:24:59
electron/electron
ca881c5aaf1886890e5c465de36025d5e02723d8
28327086188e622321441ec94ab88f29a7fcab24
win: Fix compilation with Chrome 37.
[ { "path": "atom/browser/ui/views/win_frame_view.cc", "patch": "@@ -39,12 +39,12 @@ int WinFrameView::NonClientHitTest(const gfx::Point& point) {\n return FramelessView::NonClientHitTest(point);\n }\n \n-gfx::Size WinFrameView::GetMinimumSize() {\n+gfx::Size WinFrameView::GetMinimumSize() const {\n gfx...
2014-09-03T15:17:00
huggingface/transformers
856f034f45aeb4085dd43dbc055d9830c9b537b1
bb3c6426d844683d77f3e579ca1f8fef8be66a5e
fix dead flax links modeling_flax_pytorch_utils.py (#38212)
[ { "path": "src/transformers/modeling_flax_pytorch_utils.py", "patch": "@@ -66,7 +66,7 @@ def load_pytorch_checkpoint_in_flax_state_dict(\n except (ImportError, ModuleNotFoundError):\n logger.error(\n \"Loading a PyTorch model in Flax, requires both PyTorch and...
2025-05-20T13:03:41
nodejs/node
7766baf943a61843eaf706f349dd663218639e8c
56d7411be3c70a3e99cbc60aadee06bbc99a233e
deps: cherry-pick ba752ea from upstream V8 Original commit message: [cpu-profiler] Use instruction start as the key for the CodeMap Previously we used the start address of the AbstractCode object. This doesn't make sense for off-heap builtins, where the code isn't contained in the object itself. It a...
[ { "path": "common.gypi", "patch": "@@ -29,7 +29,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.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-09-04T19:22:51
golang/go
a5bc060b42fe1bee8910a1081eff0a1047b15869
1402b27d465d9949027a048ea2c86a3583400b4c
doc/go1.17: document strconv changes for Go 1.17 For #44513. Fixes #46021. Change-Id: I40a4645fedfae24f67e249743c6a143e71b9f507 Reviewed-on: https://go-review.googlesource.com/c/go/+/326150 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Review...
[ { "path": "doc/go1.17.html", "patch": "@@ -838,12 +838,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"strconv\"><dt><a href=\"/pkg/strconv/\">strconv</a></dt>\n <dd>\n- <p><!-- CL 170079 -->\n- TODO: <a href=\"https://golang.org/cl/170079\">https://golang.org...
2021-06-08T21:26:13
vercel/next.js
2df0f4838e69f8dfba6336d18ff6e3e4270c5030
539d9a537c42e3861bbb97a879f0ff5d071a0ee9
fix imports in default arguments in functions (vercel/turbo#3292)
[ { "path": "packages/next-swc/crates/next-dev/tests/integration/turbopack/basic/default-args/index.js", "patch": "@@ -0,0 +1,9 @@\n+import { named } from \"./module.js\";\n+\n+function Fun({ value = named }) {\n+ return value;\n+}\n+\n+it(\"support imports in default arguments\", () => {\n+ expect(Fun({}))...
2023-01-12T16:34:08
huggingface/transformers
2ad152f84c1111a87adf39467aef3c6bdd51cd41
de70c8426eaf3ac9c54897ace88408450a4c0e76
In Llama4 fix wrongly inverted causal attention mask when using SDPA implementation (#38094) When preparing the causal attention mask at this point the mask comes in as a float tensor with min value as a masked value. It is not correct to convert it to bool and treat it as a bool mask as this inverts the mask. `torch....
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -730,7 +730,7 @@ def _update_causal_mask(\n # When output attentions is True, sdpa implementation's forward method calls the eager implementation's forward\n if self.config._attn_implementation == \"sdpa\" and chunke...
2025-05-20T12:47:59
nodejs/node
56d7411be3c70a3e99cbc60aadee06bbc99a233e
8dc159658c97ff04dfc08ff5bfcd1a1a17b98430
deps: cherry-pick e1a7699 from upstream V8 Original commit message: [api][runtime] Support all-in ctors of {Named,Indexed}PropertyHandlerConfiguration - Explicitly allows construction of {Named,Indexed}PropertyHandlerConfiguration with all the members filled. Bug: v8:7612 Cq-Include-Trybots: lu...
[ { "path": "common.gypi", "patch": "@@ -29,7 +29,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.4',\n+ 'v8_embedder_string': '-node.5',\n \n # Enable disassembler for `--print-code...
2018-08-18T17:41:51
golang/go
1402b27d465d9949027a048ea2c86a3583400b4c
df35ade067f22ef1f3aad3c2f3576997ff9646b4
strconv: document parsing of leading +/- Explicitly document the handling of a sign prefix, and the interaction between the sign and base prefixes. Fixes #46641. Change-Id: I3cd6773e3f074fe671a944a05a79d2408137fcd4 Reviewed-on: https://go-review.googlesource.com/c/go/+/325875 Trust: Damien Neil <dneil@google.com> Ru...
[ { "path": "src/strconv/atoi.go", "patch": "@@ -57,6 +57,8 @@ const IntSize = intSize\n const maxUint64 = 1<<64 - 1\n \n // ParseUint is like ParseInt but for unsigned numbers.\n+//\n+// A sign prefix is not permitted.\n func ParseUint(s string, base int, bitSize int) (uint64, error) {\n \tconst fnParseUint ...
2021-06-07T23:30:03
huggingface/transformers
8ea61c453021b6e37be0ac0b69f9328c89aa85e4
d34e21e7dd392c76e7852d836b6f30ba1a2c5d62
Add support to Marimo Notebooks and Enverge.ai (#38210) * Add support to Marimo notebooks * Consice logic * Simplify logic * Ruff fixes
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -1222,6 +1222,9 @@ def is_keras_nlp_available():\n \n def is_in_notebook():\n try:\n+ # Check if we are running inside Marimo\n+ if \"marimo\" in sys.modules:\n+ return True\n # Test adapted from tqdm.auton...
2025-05-20T12:26:34
rust-lang/rust
29f9aaf5038ba61d9a8ef8d1deb642d389c82ba0
0eb0b8cb67ff2c37eab775eaac6b330347e5c97f
calculate step duration in a panic-safe way Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/builder/mod.rs", "patch": "@@ -1534,7 +1534,7 @@ impl<'a> Builder<'a> {\n let out = step.clone().run(self);\n let dur = start.elapsed();\n let deps = self.time_spent_on_dependencies.replace(parent + dur);\n- (out, dur - deps)\n...
2025-05-05T14:56:56
electron/electron
3e6d8ddbbdfbb8021d94695b37f47085a0b54a26
45228493eb7d2a460b0f98c9d6aae1f953fe3a74
Small typo fix in fatal JS error message An javascript error -> A javascript error
[ { "path": "atom/browser/lib/init.coffee", "patch": "@@ -47,7 +47,7 @@ setImmediate ->\n message = error.stack ? \"#{error.name}: #{error.message}\"\n require('dialog').showMessageBox\n type: 'warning'\n- title: 'An javascript error occured in the browser'\n+ title: 'A javascript erro...
2014-09-01T19:02:03
nodejs/node
8dc159658c97ff04dfc08ff5bfcd1a1a17b98430
127e7035ce70e70bdb62969f965d6941156c042c
deps: cherry-pick c608122 from upstream V8 Original commit message: [api][keys] Allow skipping indices for Proxies with GetPropertyNames Bug: v8:7942 Change-Id: I7b3740b04cbcaa56dc809150900ab8d821b054ce Reviewed-on: https://chromium-review.googlesource.com/1156544 Reviewed-by: Toon Verwaest <verw...
[ { "path": "common.gypi", "patch": "@@ -29,7 +29,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.3',\n+ 'v8_embedder_string': '-node.4',\n \n # Enable disassembler for `--print-code...
2018-08-19T19:53:40
golang/go
e4e7807d240eb62e1d4a73eec2706975c8cc847b
ec3026d032be065fb26c5826b9abb7b6b806d7ef
net/http: add AllowQuerySemicolons Fixes #45973 Change-Id: I6cbe05f5d1d3c324900c74314b0ea0e12524d7f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/326309 Run-TryBot: Filippo Valsorda <filippo@golang.org> Reviewed-by: Katie Hockman <katie@golang.org> Trust: Katie Hockman <katie@golang.org> Trust: Filippo Vals...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -6524,3 +6524,87 @@ func TestMuxRedirectRelative(t *testing.T) {\n \t\tt.Errorf(\"Expected response code %d; got %d\", want, got)\n \t}\n }\n+\n+// TestQuerySemicolon tests the behavior of semicolons in queries. See Issue 25192.\n+func TestQuerySemicolon(...
2021-06-09T11:43:57
vercel/next.js
19be87bea76083fa5d1a44f42256741b1f8657fd
5687c4ab000a07ec07035259bc02ce4de7a3120d
fix imports in default arguments in functions (vercel/turbo#3292)
[ { "path": "crates/next-dev/tests/integration/turbopack/basic/default-args/index.js", "patch": "@@ -0,0 +1,9 @@\n+import { named } from \"./module.js\";\n+\n+function Fun({ value = named }) {\n+ return value;\n+}\n+\n+it(\"support imports in default arguments\", () => {\n+ expect(Fun({})).toBe(\"named\");\...
2023-01-12T16:34:08
huggingface/transformers
183fb3637cae5e3161c969981a20d4da2e12b617
f022bf93220d2c19df68647b4ddcfc5b0e91d011
Add `Llama4TextModel` to `AutoModel` mapping (#38162) Add Llama4TextModel to AutoModel mapping using Llama4TextConfig on AutoModel.from_config raises a ValueError when it is expected to instantiate a Llama4TextModel
[ { "path": "src/transformers/models/auto/modeling_auto.py", "patch": "@@ -177,6 +177,7 @@\n (\"lilt\", \"LiltModel\"),\n (\"llama\", \"LlamaModel\"),\n (\"llama4\", \"Llama4ForConditionalGeneration\"),\n+ (\"llama4_text\", \"Llama4TextModel\"),\n (\"llava\", \"LlavaMode...
2025-05-20T10:01:00
rust-lang/rust
c3bdb24764ce91e04b0321382cd0af5ed2a387b5
b858b977223d823459a5af4d9f0fde3db7271076
fix: Remove unnecessary token length check for macros in renaming
[ { "path": "src/tools/rust-analyzer/crates/ide-db/src/rename.rs", "patch": "@@ -390,11 +390,6 @@ pub fn source_edit_from_references(\n let mut edited_ranges = Vec::new();\n for &FileReference { range, ref name, .. } in references {\n let name_range = name.text_range();\n- if name_range...
2025-05-05T14:53:17
electron/electron
3b95f49a14bd33458ef91bed9b201904fe5e004c
d9d1d03d4d159f8755fb4b695a75518601d0e962
Upgrade node to fix child_process.fork.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 7297b341778d8c0f8828a396889635cc3f537387\n+Subproject commit 20b07f3e991f82d6aef22e8b8212f19ef1cb5bcb", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-09-01T13:30:53