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
huggingface/transformers
e22f3088dd4d53c0a218151e124d45aaee64a63c
82106705eb34848411be8dd12e61c98b9224e979
fix load_best_model_checkpoint_at_end do not load the best model chec… (#44583) * fix load_best_model_checkpoint_at_end do not load the best model checkpoint when `save_strategy` is `best` * update error message to include save strategy best * change the error message to what copilot suggested * add test for load b...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3045,7 +3045,10 @@ def _save_checkpoint(self, model: nn.Module, trial: \"optuna.Trial | dict[str, An\n output_dir = os.path.join(run_dir, checkpoint_folder)\n self.save_model(output_dir, _internal_call=True)\n \n- if self.args.sav...
2026-03-24T15:28:32
vercel/next.js
f47c40917485bac359df0e3c57d5394a7bcb1e90
6ffb8dafbda66f4a053481c83515ed8f6504005d
Check for type of route handler returned value at build time (via the TS plugin) and at runtime (#51394) ### What? Fixes #51130. Before this PR, the package assumes that route handlers return a `Response` which is not necessarily the case. The linked issue specified three suggestions to resolve this 1. Return a d...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin/index.ts", "patch": "@@ -107,6 +107,19 @@ if ('${method}' in entry) {\n '${method}'\n >\n >()\n+ checkFields<\n+ Diff<\n+ {\n+ __tag__: '${method}',\n+ __return_type__: Response | Promise<Response>\n+ ...
2023-09-08T03:26:53
nodejs/node
a03458396b35c455f01a7429456fd8f0b5d7a4f4
be3c7aceba58f0a58ee4813a9894681d9c8ba56e
util: add colors to debuglog() This adds colors to the passed through arguments in case the stream supports colors. The PID will also be highlighted. PR-URL: https://github.com/nodejs/node/pull/30930 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/util/debuglog.js", "patch": "@@ -1,6 +1,6 @@\n 'use strict';\n \n-const { format } = require('internal/util/inspect');\n+const { inspect, format, formatWithOptions } = require('internal/util/inspect');\n \n // `debugs` is deliberately initialized to undefined so any call to\n // debu...
2019-12-12T22:19:01
rust-lang/rust
81d90d8257e59bc27acd6ec98f3cce3d27de6755
5e52677a82c6c146469561c97ca4c63a75242102
Improve error messages of auxv loading
[ { "path": "library/std_detect/src/detect/os/linux/auxvec.rs", "patch": "@@ -119,7 +119,7 @@ pub(crate) fn auxv() -> Result<AuxVec, ()> {\n {\n // If calling getauxval fails, try to read the auxiliary vector from\n // its file:\n- auxv_from_file(\"/proc/self/auxv\")\n+ auxv_...
2025-07-18T06:49:28
huggingface/transformers
82106705eb34848411be8dd12e61c98b9224e979
a8732d5546d84bfb4519b6dbf461c947a5de45f6
fix: split MXFP4 dependency checks for specific error messages (#44930) * fix: split MXFP4 dependency checks for specific error messages Fixes #44912. The combined `kernels_available` check made it impossible to identify which dependency (Triton vs kernels) was missing. Now each check has its own actionable message w...
[ { "path": "src/transformers/quantizers/quantizer_mxfp4.py", "patch": "@@ -90,44 +90,61 @@ def validate_environment(self, *args, **kwargs):\n \n if torch.xpu.is_available():\n is_device_supported_mxfp4 = True\n- kernels_available = is_triton_available(\"3.5.0\") and is_kernels_...
2026-03-24T15:17:30
golang/go
1170771074c0792f36fdfe94e50de1dcc8144946
89533024b011bcf41d6de295a5dfb1ad73486abf
go/types, types2: set an origin object for vars and funcs Historically, Objects in go/types were canonical, meaning each entity was represented by exactly one variable and could thus be identified by its address. With object instantiation this is no longer the case: Var and Func objects must be copied to hold substitu...
[ { "path": "api/next/51682.txt", "patch": "@@ -0,0 +1,2 @@\n+pkg go/types, method (*Func) Origin() *Func #51682\n+pkg go/types, method (*Var) Origin() *Var #51682", "additions": 2, "deletions": 0, "language": "Plain Text" }, { "path": "src/cmd/compile/internal/types2/api_test.go", "pa...
2022-03-24T16:41:25
vercel/next.js
8076d0c68a327869b088559587565708c75f7b71
904d8eed3958be3a0c4167a858f06029aac42c65
Add option to support log full request url in verbose mode (#55111) Fixes #52239 Closes NEXT-1604 Change the logging option to object for flexibility ```js experimental: { logging: { level: 'verbose', // control log level fullUrl: true, // console fetching url logging } } ``` ### After vs Before <img src...
[ { "path": "packages/next/src/server/config-schema.ts", "patch": "@@ -501,7 +501,15 @@ const configSchema = {\n },\n },\n logging: {\n- type: 'string',\n+ type: 'object',\n+ properties: {\n+ level: {\n+ type: 'string',\n+ ...
2023-09-07T23:58:09
electron/electron
d42e51e33a4fcb750fbc44af0d3c0e4497c72b00
c51982a2319202ba86f2db820ee1b89cd8abe826
app.md - fix relaunch arg concat syntax
[ { "path": "docs/api/app.md", "patch": "@@ -351,7 +351,7 @@ line argument to the new instance:\n ```javascript\n const {app} = require('electron')\n \n-app.relaunch({args: process.argv.slice(1) + ['--relaunch']})\n+app.relaunch({args: process.argv.slice(1).concat(['--relaunch'])})\n app.exit(0)\n ```\n ", ...
2016-09-28T17:23:03
nodejs/node
be3c7aceba58f0a58ee4813a9894681d9c8ba56e
a8c2c667ce896f3b168e8622eefa878b355d7c9a
http2: wait for session socket writable end on close/destroy This slightly alters the behaviour of session close by first using .end() on a session socket to finish writing the data and only then calls .destroy() to make sure the Readable side is closed. This allows the socket to finish transmitting data, receive prop...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -488,7 +488,10 @@ function onStreamClose(code) {\n if (!stream || stream.destroyed)\n return false;\n \n- debugStreamObj(stream, 'closed with code %d', code);\n+ debugStreamObj(\n+ stream, 'closed with code %d, closed %s, readable %s',\n+ co...
2019-12-08T11:23:19
huggingface/transformers
a8732d5546d84bfb4519b6dbf461c947a5de45f6
d4895f0810fd57bf5ee8cf65c3fe20d2f622cd0a
Fix failing `T5ModelIntegrationTest` (#44934) Fix failing T5: test_compile_static_cache & Qwen2IntegrationTest: test_speculative_generation
[ { "path": "tests/models/qwen2/test_modeling_qwen2.py", "patch": "@@ -183,11 +183,13 @@ def test_model_450m_long_prompt_sdpa(self):\n \n @slow\n def test_speculative_generation(self):\n- EXPECTED_TEXT_COMPLETION = (\n- \"My favourite condiment is 100% natural, organic, gluten-free, ...
2026-03-24T14:36:58
rust-lang/rust
ffa97a647e3786add894093aa2cc7561c7c64607
e07a1bbb79fc3fb400ac4a2f25bb37cd8a0c245b
Fix warning
[ { "path": "library/std_detect/tests/cpu-detection.rs", "patch": "@@ -27,6 +27,16 @@\n ),\n macro_use\n )]\n+#[cfg(any(\n+ target_arch = \"arm\",\n+ target_arch = \"aarch64\",\n+ target_arch = \"arm64ec\",\n+ target_arch = \"riscv32\",\n+ target_arch = \"riscv64\",\n+ target_arch = ...
2025-07-04T13:25:28
golang/go
89533024b011bcf41d6de295a5dfb1ad73486abf
b2ae2f5358e87fabd519bc2de20b3ab81d733820
vendor: revert stray edit from CL 406835 In reviewing CL 406835, I missed that one of the edited files was in src/vendor. This change reverts that file, fixing the failing moddeps test on the longtest builders. Change-Id: Id04b45c3379cf6c17b333444eb7be1301ffcb5f1 Reviewed-on: https://go-review.googlesource.com/c/go/+...
[ { "path": "src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go", "patch": "@@ -1715,7 +1715,7 @@ func (st *state) demangleCastTemplateArgs(tp AST, addSubst bool) AST {\n \treturn tp\n }\n \n-// mergeQualifiers merges two qualifier lists into one.\n+// mergeQualifiers merges two qualifer lists into...
2022-05-17T20:26:49
vercel/next.js
d330f7b02c2151cf2d6e76c5ae6852d96fd43763
068002bb3a294368de9ef62f8831fe7177f27a61
fix: ensure mpa navigation render side effects are only fired once (#55032) This is to fix an issue where these redirect side effects can be fired multiple times when the router reducer state changes. This block is still run when the router state updates, which can lead to superfluous attempts to redirect to a page. ...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -33,12 +33,12 @@ import {\n ACTION_RESTORE,\n ACTION_SERVER_ACTION,\n ACTION_SERVER_PATCH,\n+ Mutable,\n PrefetchKind,\n ReducerActions,\n RouterChangeByServerResponse,\n RouterNavigate,\n ServerActionDispatcher,\n...
2023-09-07T20:53:07
huggingface/transformers
2f121eaf3c1b3692e49a10172a24714dce7858a1
4f8de83424c066d2edb412876501731dbb62f88a
Fix: Update optimization.py (#44909) * Update optimization.py The `get_scheduler` function was identifying the `inverse_sqrt` scheduler type but failing to pass `**scheduler_specific_kwargs` to the underlying `get_inverse_sqrt_schedule` function. This caused user-defined parameters like `timescale` to be silently...
[ { "path": "src/transformers/optimization.py", "patch": "@@ -1031,7 +1031,7 @@ def scheduler_hook(param):\n return schedule_func(optimizer, num_warmup_steps=num_warmup_steps)\n \n if name == SchedulerType.INVERSE_SQRT:\n- return schedule_func(optimizer, num_warmup_steps=num_warmup_steps)\n...
2026-03-24T12:52:46
nodejs/node
398790149d18a26dd4b9ec263214345467d7439e
9c566e6289fe11b4bc78717941dae09bea2b4e6e
doc: implement minor improvements to BUILDING.md text Fix comma splices. Remove unnecessary words. Minor text improvements. PR-URL: https://github.com/nodejs/node/pull/31070 Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Revi...
[ { "path": "BUILDING.md", "patch": "@@ -80,7 +80,7 @@ There are three support tiers:\n platforms are welcome.\n \n Platforms may move between tiers between major release lines. The table below\n-will be updated to reflect those changes.\n+will reflect those changes.\n \n ### Platform list\n \n@@ -113,26 +1...
2019-12-23T15:17:40
golang/go
13147f744c4ed7900ef9b1c1ffb8bf674f06b052
88c5324f2ea7ebc2fb3f12c3c821096382663aa9
runtime: fix code span element Change-Id: I99c593573b3bec560ab3af49ac2f486ee442ee1c GitHub-Last-Rev: e399ec50f9dde9229e05f801fd752694cc661822 GitHub-Pull-Request: golang/go#52946 Reviewed-on: https://go-review.googlesource.com/c/go/+/406837 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <m...
[ { "path": "src/runtime/HACKING.md", "patch": "@@ -97,7 +97,7 @@ For runtime error debugging, it may be useful to run with `GOTRACEBACK=system`\n or `GOTRACEBACK=crash`. The output of `panic` and `fatal` is as described by\n `GOTRACEBACK`. The output of `throw` always includes runtime frames, metadata\n and ...
2022-05-17T19:29:03
huggingface/transformers
4f8de83424c066d2edb412876501731dbb62f88a
9ef15d7016bd5fb307e961b2e8e56f14748913da
[CB] [Minor] Simplify test suite (#44858) * Common helper functions and inputs * Further simplify * style * Reformat last added test * Fixes * Fix test * style
[ { "path": "tests/generation/test_continuous_batching.py", "patch": "@@ -16,6 +16,7 @@\n import gc\n import itertools\n import unittest\n+from typing import Any\n from unittest.mock import patch\n \n import torch\n@@ -28,6 +29,7 @@\n CompileConfig,\n ContinuousBatchingConfig,\n GenerationConfig,\...
2026-03-24T11:32:00
vercel/next.js
18980a6411030245ae2f1c50fb461ba3e9eb987f
a8fea15b506074b0bfe4fd8324c9f3c55e4a066a
Fixed i18n data route RegExp (#55109) The previous RegExp for data routes when i18n was enabled yielded a pattern like: ``` ^\/_next\/data\/development\/(?<nextLocale>.+?)\/about.json$ ^\/_next\/data\/development\/(?<nextLocale>.+?)\/blog/about.json$ ``` But the capture group for the `nextLocale` did so greedily, wh...
[ { "path": "packages/next/src/server/lib/router-utils/filesystem.ts", "patch": "@@ -249,7 +249,7 @@ export async function setupFsCheck(opts: {\n ? new RegExp(\n route.dataRouteRegex.replace(\n `/${escapedBuildId}/`,\n- `/${escapedBuildId}...
2023-09-07T18:20:41
nodejs/node
05041d3ab1ed4e25f44406ebc288e3961f2b0299
38a593b0f3bc4fa52ed9216d75a98bbf7ab5bd9e
deps: V8: cherry-pick d3a1a5b6c491 Original commit message: [objects] Fix memory leak in PrototypeUsers::Add PrototypeUsers::Add now iterates the WeakArrayList to find empty slots before growing the array. Not reusing empty slots caused a memory leak. It might also be desirable to shrink the WeakArr...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.23',\n+ 'v8_embedder_string': '-node.24',\n \n ##### V8 defaults for Node.js #####\n...
2019-12-17T16:44:07
huggingface/transformers
6a056a16a856097cb0400ce9a48e96ab9d469e30
bc8c80e0288fd369ad06bff5b480d3c51f97a95e
Fix missing post_processor in DebertaV2Tokenizer causing no special t… (#44570) * Fix missing post_processor in DebertaV2Tokenizer causing no special tokens In transformers v5, DebertaV2Tokenizer was rewritten to use TokenizersBackend but the post_processor (responsible for adding [CLS]/[SEP] tokens) was not set. ...
[ { "path": "src/transformers/models/deberta_v2/tokenization_deberta_v2.py", "patch": "@@ -13,7 +13,7 @@\n # limitations under the License.\n \"\"\"Tokenization class for model DeBERTa-v2.\"\"\"\n \n-from tokenizers import Regex, Tokenizer, decoders, normalizers, pre_tokenizers\n+from tokenizers import Regex,...
2026-03-24T09:31:46
golang/go
a6f3f8d97306dc77144b6d3be8cf706c11e2de8f
c25c37137db98323510752f53e93128809a8767c
all: fix spelling Change-Id: I68538a50c22b02cdb5aa2a889f9440fed7b94c54 GitHub-Last-Rev: aaac9e78340ac482e9cd1b506a035f271c29648c GitHub-Pull-Request: golang/go#52944 Reviewed-on: https://go-review.googlesource.com/c/go/+/406835 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Robert Griesemer <gri@google.com...
[ { "path": "src/cmd/compile/internal/ppc64/ssa.go", "patch": "@@ -830,7 +830,7 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \tcase ssa.OpPPC64MOVDload, ssa.OpPPC64MOVWload:\n \n \t\t// MOVDload and MOVWload are DS form instructions that are restricted to\n-\t\t// offsets that are a multiple of 4. I...
2022-05-17T17:09:28
electron/electron
13de65d3106f8058bad8617d042cb992e5658e42
6728efe87edc91fad2412f00708b1bc9260f53c7
Fixes mouse coordinates for Windows when display is set to a higher DPI (ex: enlarged by 150% using display settings)
[ { "path": "atom/renderer/atom_render_view_observer.cc", "patch": "@@ -131,8 +131,9 @@ void AtomRenderViewObserver::DraggableRegionsChanged(blink::WebFrame* frame) {\n blink::WebVector<blink::WebDraggableRegion> webregions =\n frame->document().draggableRegions();\n std::vector<DraggableRegion> reg...
2016-09-27T02:45:14
rust-lang/rust
9ea18272eceae790619661b421dcec7fe1f0e41b
a5bd9d6635831b09457ce39b1eacdc30ec306cd4
Fix sysroot compilation in release mode
[ { "path": "src/int.rs", "patch": "@@ -170,9 +170,9 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {\n if a_type.is_vector() {\n // Vector types need to be bitcast.\n // TODO(antoyo): perhaps use __builtin_convertvector for vector casting.\n- ...
2025-07-22T15:26:31
huggingface/transformers
bc8c80e0288fd369ad06bff5b480d3c51f97a95e
a48a63c27d1cdb7845d2c3acc4f11f580917b69b
incorrect model list update (#44880) * incorrect model list update * fix config type * add tests * ruff --------- Co-authored-by: ita.zaporozhets@huggingface.co <ita_zaporozhets@ip-26-0-169-207.ec2.internal>
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -344,21 +344,34 @@\n MODELS_WITH_INCORRECT_HUB_TOKENIZER_CLASS: set[str] = {\n \"arctic\",\n \"chameleon\",\n- \"deepseek_vl\",\n- \"deepseek_vl_v2\",\n- \"deepseek_vl_hybrid\",\n+ \"chatlm\",\n \"deepseek_v2...
2026-03-24T09:15:35
nodejs/node
38a593b0f3bc4fa52ed9216d75a98bbf7ab5bd9e
5707ed21a253b2ed1e2f5944f622c20092b866d6
events: add EventEmitter.on to async iterate over events Fixes: https://github.com/nodejs/node/issues/27847 PR-URL: https://github.com/nodejs/node/pull/27994 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Hen...
[ { "path": "doc/api/events.md", "patch": "@@ -886,6 +886,41 @@ Value: `Symbol.for('nodejs.rejection')`\n \n See how to write a custom [rejection handler][rejection].\n \n+## events.on(emitter, eventName)\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `emitter` {EventEmitter}\n+* `eventName` {string|symbol} The ...
2019-05-30T15:58:55
vercel/next.js
a5b7c77c1ff0096af7609a8bfc1e064d30db4e30
9bb9f07e82357eeb4a15f9c1f5ecb21d600dd433
perf: add bundled rendering runtimes (#52997) ## What? In Next, rendering a route involves 3 layers: - the routing layer, which will direct the request to the correct route to render - the rendering layer, which will take a route and render it appropriately - the user layer, which contains the user code In #51831, ...
[ { "path": ".eslintrc.json", "patch": "@@ -162,7 +162,10 @@\n },\n {\n \"files\": [\"packages/**\"],\n- \"excludedFiles\": [\"packages/next/taskfile.js\"],\n+ \"excludedFiles\": [\n+ \"packages/next/taskfile*.js\",\n+ \"packages/next/webpack.config.js\"\n+ ],\n ...
2023-09-07T15:51:49
golang/go
668041ef66ddafffccf1863e6180b83ea1ad30c9
076039a5e16acf104210d62778d48363589e241d
fmt: add Append, Appendln, Appendf These are straightforward variants of the existing Sprintf etc., but append the resulting bytes to a provided buffer rather than returning a string. Internally, there is potentially some allocation because the package uses a pool of buffers to build its output. We make no attempt to...
[ { "path": "api/next/47579.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg fmt, func Append([]uint8, ...interface{}) []uint8 #47579\n+pkg fmt, func Appendf([]uint8, string, ...interface{}) []uint8 #47579\n+pkg fmt, func Appendln([]uint8, ...interface{}) []uint8 #47579", "additions": 3, "deletions": 0, "lan...
2022-05-15T00:11:56
electron/electron
ef45b67dbf356ba2e5ebcfbf3e6b0554589f4752
938b9e897a146388253ed32fe846649abd43c487
:penguin: :bug: Move the workaround to `lib/browser/init.js`
[ { "path": "lib/browser/init.js", "patch": "@@ -162,5 +162,10 @@ require('./api/protocol')\n // Set main startup script of the app.\n const mainStartupScript = packageJson.main || 'index.js'\n \n+// Workaround for electron/electron#5050\n+if (process.platform === 'linux' && process.env.XDG_CURRENT_DESKTOP ==...
2016-09-27T11:19:52
huggingface/transformers
19bba39fa79e6ad126d2e95c593cb51d71ca7241
a9532bcf887b364bfedcc33a13be2b1d1acbef85
[CB] Add an option to return logprobs (#44835) * Pretty much the feature * Cleanup * Add custom flag * Add test * Rebase changes * Review compliance * Review compliance 2 * Style * more style * Relaxed cuda graphs test * Style and fix default attn * docstirng * style
[ { "path": "examples/pytorch/continuous_batching.py", "patch": "@@ -215,15 +215,7 @@ def batch_generate(\n \n # Choose attention implementation\n if args.attn is None:\n- if args.compile:\n- args.attn = \"kernels-community/flash-attn3@fake-ops-return-probs\"\n- logger.war...
2026-03-23T18:21:05
rust-lang/rust
6a8780473e689315583fe49b5479d51cd6b721dd
e62e27bf5bbae5d0ba596ae43356a7c9c988a067
fix: `unused_async` FP on function with `todo!`
[ { "path": "clippy_lints/src/unused_async.rs", "patch": "@@ -1,8 +1,12 @@\n use clippy_utils::diagnostics::span_lint_hir_and_then;\n use clippy_utils::is_def_id_trait_method;\n+use clippy_utils::usage::is_todo_unimplemented_stub;\n use rustc_hir::def::DefKind;\n use rustc_hir::intravisit::{FnKind, Visitor, w...
2025-07-18T14:17:53
vercel/next.js
45538e93f256894d880454631e63127265047607
1f797faaa6933ab2b8311251a167613f5a75a901
Debug tracing: include session and anonymous ids (#55021) This adds session ids and anonymous ids to trace metadata. Note: This required setting `session`id on the `Telemetry` object as a public property. Set as readonly. Closes WEB-1500
[ { "path": "packages/next/src/telemetry/storage.ts", "patch": "@@ -58,9 +58,10 @@ function getStorageDirectory(distDir: string): string | undefined {\n }\n \n export class Telemetry {\n+ readonly sessionId: string\n+\n private conf: Conf<any> | null\n private distDir: string\n- private sessionId: strin...
2023-09-06T18:43:30
huggingface/transformers
dda546845f97eb4c6e22df6a2b7fbd865199ada4
e5ad3946209fb96db5e9965b3eb67d69cc3749e0
Continuous batching thread safety (#44924) * fix torch.cuda.graph should operate in thread_local mode * fix tie_weights skipping logic is not thread-safe * doc * cleanup * revert tie_weight() concurrency bug fix. push to another pr * cleanup unit test to only check for `thread_local` error_mode * add true model...
[ { "path": "src/transformers/generation/continuous_batching/continuous_api.py", "patch": "@@ -464,7 +464,15 @@ def _generation_step(self, model: nn.Module, logit_processor: LogitsProcessorLis\n # torch.cuda.current_stream().wait_stream(compute_stream)\n # Capture\n ...
2026-03-23T16:13:24
rust-lang/rust
a5bd9d6635831b09457ce39b1eacdc30ec306cd4
27f3a97747cd46676c4fe2a4afd77009f3b98a46
Fix spelling mistake
[ { "path": "tools/cspell_dicts/rustc_codegen_gcc.txt", "patch": "@@ -26,6 +26,7 @@ fwrapv\n gimple\n hrtb\n immediates\n+interner\n liblto\n llbb\n llcx", "additions": 1, "deletions": 0, "language": "Plain Text" } ]
2025-07-22T15:17:43
golang/go
afd181cf0b69c3591d7e47ceca4fabf14434d77e
cc4957a5f6eba946f359ed9646ec3e5083a259a9
test,misc: fix builders that do not support plugin CL 406358 added test that use -buildmode=plugin. But plugin mode only supports on some os/arch pairs, so this CL moving the test to misc/cgo/testplugin directory instead. Updates #52937 Change-Id: Iad049443c1f6539f6af1988bebd4dff56c6e1bf9 Reviewed-on: https://go-rev...
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -296,6 +296,10 @@ func TestIssue44956(t *testing.T) {\n \trun(t, \"./issue44956.exe\")\n }\n \n+func TestIssue52937(t *testing.T) {\n+\tgoCmd(t, \"build\", \"-buildmode=plugin\", \"-o\", \"issue52937.so\", \"./issue52937/main.go\")\n+}\n+\n func T...
2022-05-17T08:38:35
vercel/next.js
1f797faaa6933ab2b8311251a167613f5a75a901
15980a66d4bdbcd5e9f3494bcaa1a286f6ec9aee
fix: `skipTrailingSlashRedirect` being ignored in `pages` (#55067) This moves `resolve-href` into `next/src/client` to make sure that when it calls `normalizeTrailingSlash`, that function has access to `process.env.__NEXT_MANUAL_TRAILING_SLASH` (inlined via `DefinePlugin`). Closes NEXT-1599 Fixes #54984
[ { "path": "packages/next/src/client/link.tsx", "patch": "@@ -7,7 +7,7 @@ import type {\n \n import React from 'react'\n import { UrlObject } from 'url'\n-import { resolveHref } from '../shared/lib/router/utils/resolve-href'\n+import { resolveHref } from './resolve-href'\n import { isLocalURL } from '../shar...
2023-09-06T18:03:37
rust-lang/rust
a4fb5794e60883625fed8d25e9e55c649f9fb70c
d466953088a41ce98acfcd53961ef07b887f074a
Fix compilation of overflow addition
[ { "path": "src/int.rs", "patch": "@@ -4,12 +4,15 @@\n \n // cSpell:words cmpti divti modti mulodi muloti udivti umodti\n \n-use gccjit::{BinaryOp, ComparisonOp, FunctionType, Location, RValue, ToRValue, Type, UnaryOp};\n+use gccjit::{\n+ BinaryOp, CType, ComparisonOp, FunctionType, Location, RValue, ToRV...
2025-07-22T15:14:31
golang/go
770e0e584a98dfd5e8d0d00558085c339fda0ed7
cf7ec0fa098a46c3b75cc3d625f5d7528fe6e984
net/http: allow sending 1xx responses Currently, it's not possible to send informational responses such as 103 Early Hints or 102 Processing. This patch allows calling WriteHeader() multiple times in order to send informational responses before the final one. If the status code is in the 1xx range, the current conte...
[ { "path": "src/net/http/clientserver_test.go", "patch": "@@ -9,6 +9,7 @@ package http_test\n import (\n \t\"bytes\"\n \t\"compress/gzip\"\n+\t\"context\"\n \t\"crypto/rand\"\n \t\"crypto/sha1\"\n \t\"crypto/tls\"\n@@ -19,7 +20,9 @@ import (\n \t\"net\"\n \t. \"net/http\"\n \t\"net/http/httptest\"\n+\t\"net/...
2022-05-17T16:05:20
huggingface/transformers
e5ad3946209fb96db5e9965b3eb67d69cc3749e0
f6195948b47f06444a7bdf5f169197ed64b64de2
Add static FP8 expert support (#44895) fix static
[ { "path": "src/transformers/integrations/finegrained_fp8.py", "patch": "@@ -186,7 +186,29 @@ def w8a8_fp8_matmul(\n if _supports_cutlass(A, B, block_size, output_dtype):\n return w8a8_block_fp8_matmul_cutlass(A, B, As, Bs, output_dtype)\n \n- # Fall back to Triton\n+ # Ensure correct CUDA ...
2026-03-23T14:50:55
nodejs/node
ee14a645379e4eff58ab106f1eae7abc70a01d9e
ea6a4576ae6ea3d7cc4eb9b9ee3716e5549477d2
test: cover vm with negative tests Test the impossibility of creating an abstract instance of the Module. Test of SyntheticModule to throw exception if invalid params in constructor PR-URL: https://github.com/nodejs/node/pull/31028 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host>...
[ { "path": "test/parallel/test-vm-module-basic.js", "patch": "@@ -4,7 +4,12 @@\n \n const common = require('../common');\n const assert = require('assert');\n-const { SourceTextModule, SyntheticModule, createContext } = require('vm');\n+const {\n+ Module,\n+ SourceTextModule,\n+ SyntheticModule,\n+ creat...
2019-12-18T15:43:22
rust-lang/rust
d466953088a41ce98acfcd53961ef07b887f074a
18cc4f06a5252f0868be4ea620076247da68077c
Fix failing UI tests
[ { "path": "tests/failing-ui-tests.txt", "patch": "@@ -10,7 +10,7 @@ tests/ui/iterators/iter-sum-overflow-overflow-checks.rs\n tests/ui/mir/mir_drop_order.rs\n tests/ui/mir/mir_let_chains_drop_order.rs\n tests/ui/mir/mir_match_guard_let_chains_drop_order.rs\n-tests/ui/oom_unwind.rs\n+tests/ui/panics/oom-pani...
2025-07-22T15:03:49
vercel/next.js
9e8a19fd5ac328283175cfe56a3f179ccd95b388
5471cd930ce40edd6c90511fdb96403b2bdc501b
fix(perf): lazy load `babel/code-frame` (#55024) This changes to lazy import so that babel code-frame isn't loaded until it is needed.
[ { "path": "packages/next/src/lib/typescript/diagnosticFormatter.ts", "patch": "@@ -1,4 +1,3 @@\n-import { codeFrameColumns } from 'next/dist/compiled/babel/code-frame'\n import chalk from 'next/dist/compiled/chalk'\n import path from 'path'\n \n@@ -369,6 +368,7 @@ export function getFormattedDiagnostic(\n ...
2023-09-06T14:24:02
huggingface/transformers
f6195948b47f06444a7bdf5f169197ed64b64de2
0f19dec775aae867c36d29db5d797afb87af2ff6
Fix variable shadowing in pipeline example and typo in BART docs (BERT → BART) (#44935) Update bart.md
[ { "path": "docs/source/en/model_doc/bart.md", "patch": "@@ -37,7 +37,7 @@ The example below demonstrates how to predict the `[MASK]` token with [`Pipeline\n import torch\n from transformers import pipeline\n \n-pipeline = pipeline(\n+fill_mask_pipeline = pipeline(\n task=\"fill-mask\",\n model=\"fac...
2026-03-23T14:18:54
golang/go
41b9d8c75e45636a153c2a31d117196a22a7fc6c
aedf298daf508b564e4dddc7687fff8822315a5e
time: add Time.ZoneBounds The method Location.lookup returns the "start" and "end" times bracketing seconds when that zone is in effect. This CL does these things: 1. Exported the "start" and "end" times as time.Time form 2. Keep the "Location" of the returned times be the same as underlying time Fixes #50062. Cha...
[ { "path": "api/next/50062.txt", "patch": "@@ -0,0 +1 @@\n+pkg time, method (Time) ZoneBounds() (Time, Time) #50062\n\\ No newline at end of file", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/time/time.go", "patch": "@@ -1141,6 +1141,24 @@ func (t Time) ...
2022-05-10T04:30:43
nodejs/node
ea6a4576ae6ea3d7cc4eb9b9ee3716e5549477d2
118b28abed73f82f0d6aab33031edfc78934d90f
test: unflake async hooks statwatcher test Under high load 2 types of issues arise with this test. * filesystem calls gets queued even when the 'sync' is used which leads to async_hooks being called with the events of tmpdir clean or initial file write after clean. This is solved by counting all 'change' calls w...
[ { "path": "test/async-hooks/async-hooks.status", "patch": "@@ -5,8 +5,6 @@ prefix async-hooks\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n-# https://github.com/nodejs/node/issues/21425\n-test-statwatcher: PASS,FLAKY\n \n [$system==win32]\n ", ...
2019-11-10T11:41:41
huggingface/transformers
0f19dec775aae867c36d29db5d797afb87af2ff6
ed003b4482aabdf8377250f22826dd31f378269c
Fix failing job `Update Transformers metadata` after #43514 (#44941) * fix * check * revert --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/video_processing_utils.py", "patch": "@@ -28,8 +28,8 @@\n from .image_processing_utils import BatchFeature\n from .image_utils import (\n ChannelDimension,\n- PILImageResampling,\n SizeDict,\n+ is_vision_available,\n validate_kwargs,\n )\n from .processing_utils...
2026-03-23T13:41:37
rust-lang/rust
0494311b9c09fc72a17d040299eebdb189e582d2
c0b282f0ccdab7523cdb8dfa41b23bed5573da76
miropt: clippy fixes
[ { "path": "src/tools/miropt-test-tools/src/lib.rs", "patch": "@@ -34,7 +34,7 @@ fn output_file_suffix(testfile: &Path, bit_width: u32, panic_strategy: PanicStra\n \n let mut suffix = String::new();\n if each_bit_width {\n- suffix.push_str(&format!(\".{}bit\", bit_width));\n+ suffix.pus...
2025-07-22T11:45:05
vercel/next.js
5471cd930ce40edd6c90511fdb96403b2bdc501b
30da48fcd28b1fc07dcfa06d89b28bec95897d10
webpack: tweak config for split chunks (#55054) Slight tweaks to the dev config for split chunks. I disabled the default groups for chunking to make sure we only chunked the ones from the node_modules + augmented the number of parallel requests possible per Tobias suggestion. <!-- Thanks for opening a PR! Your...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1731,6 +1731,9 @@ export default async function getBaseWebpackConfig(\n reuseExistingChunk: true,\n test: /[\\\\/]node_modules[\\\\/]/,\n minSize: 0,\n+ minChunks: 1,\n...
2023-09-06T14:04:05
golang/go
aedf298daf508b564e4dddc7687fff8822315a5e
f2b1cde544d190e1f4642ef6f4ac8ef9ce31a0c3
io/fs: document requirement that ReadDir return an unwrapped io.EOF This requirement ensures that ReadDir implementations are as compatible as possible with "*os.File".ReadDir. The testing/fstest package already tests for equality to io.EOF. Updates #47062. Fixes #47086. Change-Id: I54f911a34e507a3db0abc4da55a19b7a...
[ { "path": "src/io/fs/fs.go", "patch": "@@ -120,6 +120,7 @@ type ReadDirFile interface {\n \t// In this case, if ReadDir returns an empty slice, it will return\n \t// a non-nil error explaining why.\n \t// At the end of a directory, the error is io.EOF.\n+\t// (ReadDir must return io.EOF itself, not an error...
2021-07-07T16:32:17
huggingface/transformers
ed003b4482aabdf8377250f22826dd31f378269c
eb3d67aaafe368863afc77e4b60fa60c2077c8b5
Clearer type hints and fix rope validation in configs (#44943) * more fixes * dont rraise warning, Yoni has a PR to handle it more generally * the test
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -162,6 +162,9 @@ class PreTrainedConfig(PushToHubMixin, RotaryEmbeddingConfigMixin):\n `float16` weights.\n \"\"\"\n \n+ # Class attributes that we don't want to save or have in `self.__dict__`\n+ # They are not supposed...
2026-03-23T13:20:04
nodejs/node
118b28abed73f82f0d6aab33031edfc78934d90f
c68ecee6a9b119dd17f5ada64c4e8dc85d384efb
test: fix common.enoughTestMem A typo introduced in 1ddcb6d2a70 causes common.enoughTestMem to always be false, resulting in a lot of tests being skipped. Fix the typo. PR-URL: https://github.com/nodejs/node/pull/31035 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-...
[ { "path": "test/common/index.js", "patch": "@@ -788,7 +788,7 @@ module.exports = {\n return Array.isArray(cpus) && (cpus.length > 1 || cpus[0].speed > 999);\n },\n \n- get enoughTestMeme() {\n+ get enoughTestMem() {\n return require('os').totalmem() > 0x70000000; /* 1.75 Gb */\n },\n ", "a...
2019-12-20T14:51:42
vercel/next.js
30da48fcd28b1fc07dcfa06d89b28bec95897d10
d30c94b81697ec9635824a46c8936adf3166bf41
server: enable minification by default (#54960) This PR will enable minifying the *server* part of the user code by default when running `next build`. ## Explanation Next.js compiles two versions of your code: the client version for the app that runs in the browser, and the server for the code that will run on the s...
[ { "path": "packages/next/src/server/config-shared.ts", "patch": "@@ -694,7 +694,7 @@ export const defaultConfig: NextConfig = {\n output: !!process.env.NEXT_PRIVATE_STANDALONE ? 'standalone' : undefined,\n modularizeImports: undefined,\n experimental: {\n- serverMinification: false,\n+ serverMin...
2023-09-06T10:24:01
golang/go
f2b1cde544d190e1f4642ef6f4ac8ef9ce31a0c3
b79c135f377e2cbae888ef50b83f1ee5025af906
cmd/compile: tighten the condition for inlining shape/non-shape function CL 395854 made inline pass to not inlining function with shape params, but pass no shape arguments. This is intended to be the reverse case of CL 361260. However, CL 361260 is using wider condition than necessary. Though it only needs to check a...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -701,13 +701,15 @@ func mkinlcall(n *ir.CallExpr, fn *ir.Func, maxCost int32, inlMap map[*ir.Func]b\n \t// apparent when we first created the instantiation of the generic function.\n \t// We can't handle this if we actually do the inlining, si...
2022-05-15T01:05:41
electron/electron
1f677ed361e0005138481546ce7cc22e6ccd7262
9828926002a1180ab6c682dda72fe280abc34b27
fix typo
[ { "path": "docs/api/shell.md", "patch": "@@ -55,7 +55,7 @@ Play the beep sound.\n ### `shell.writeShortcutLink(shortcutPath[, operation], options)` _Windows_\n \n * `shortcutPath` String\n-* `operation` String (optional) - Default is `create`, can be one of followings:\n+* `operation` String (optional) - De...
2016-09-27T05:12:51
huggingface/transformers
ddb709c8c941ad01c331fc79113438dda466940c
d03945fb8db6d2d41d2b27c06e65143038936f76
fix(i18n): replace broken relative links to awesome-transformers.md with absolute URLs (#44905) 13 i18n README files referenced `./awesome-transformers.md` which resolves to `i18n/awesome-transformers.md` — a non-existent path. Replace with the absolute GitHub URL so links work regardless of the file's location. Co-a...
[ { "path": "i18n/README_ar.md", "patch": "@@ -122,7 +122,7 @@ limitations under the License.\n \n 🤗 Transformers هو أكثر من مجرد مجموعة أدوات لاستخدام النماذج المُدربة مسبقًا: إنه مجتمع من المشاريع المبنية حوله ومركز Hugging Face. نريد أن يمكّن 🤗 Transformers المطورين والباحثين والطلاب والأساتذة والمهندسين...
2026-03-23T12:35:33
nodejs/node
277f3436890fac87fe6b762abc00f59d36a9ec6f
fc553fd8213f81267d5bec76a9f9d9db1cda52a9
test: fix long lines This commit addresses several lines that are unnecessarily longer than the 80 character limit. The only reason they pass linting, I believe, is because they contain URLs. PR-URL: https://github.com/nodejs/node/pull/31014 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jas...
[ { "path": "test/parallel/test-promises-unhandled-proxy-rejections.js", "patch": "@@ -15,7 +15,8 @@ const expectedPromiseWarning = ['Unhandled promise rejection. ' +\n 'not handled with .catch(). To terminate the ' +\n 'node process on unhandled promise rejection, ' +\n 'use the CLI flag `--unhandled-r...
2019-12-18T01:52:25
vercel/next.js
57bbc59028a705ecbeb56e6f920891df2d0db214
85fb714f1665f3afaa49663ed5b2d01f6b88164d
docs: fix typo (#54973)
[ { "path": "docs/01-getting-started/01-installation.mdx", "patch": "@@ -143,7 +143,7 @@ export default function Page() {\n }\n ```\n \n-Next, add an `_app.tsx` file inside `pages/` to define the global layout. Learn more about the [custom App file](/docs/pages/building-your-application/routing/custom-app)).\...
2023-09-06T07:16:19
golang/go
b79c135f377e2cbae888ef50b83f1ee5025af906
a900a176bf946ac220336c7c5dad107745fc9c41
cmd/compile: skip exporting generic functions for -buildmode=plugin Generic functions require instantiation, which package plugin doesn't support, and likely never will. So instead, we can just skip writing out any generic functions, which avoids an ICE in the plugin generation code. This issue doesn't affect GOEXPER...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1726,6 +1726,9 @@ func CollectPTabs() {\n \t\tif s.Pkg.Name != \"main\" {\n \t\t\tcontinue\n \t\t}\n+\t\tif n.Type().HasTParam() {\n+\t\t\tcontinue // skip generic functions (#52937)\n+\t\t}\n \t\tptabs = append(ptabs, n)\n \t}\n }",...
2022-05-17T00:03:59
rust-lang/rust
2832517ba174906b6d6ebedf4893dca8d8a98f55
460259d14de0274b97b8801e08cb2fe5f16fdac5
Clean code for `rustc_parse/src/lexer` 1. Rename `make_unclosed_delims_error` and return `Vec<Diag>` 2. change magic number `unclosed_delimiter_show_limit` to const 3. move `eof_err` below parsing logic 4. Add `calculate_spacing` for `bump` and `bump_minimal` Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "compiler/rustc_parse/src/lexer/diagnostics.rs", "patch": "@@ -126,23 +126,29 @@ pub(super) fn report_suspicious_mismatch_block(\n }\n }\n \n-pub(crate) fn make_unclosed_delims_error(\n- unmatched: UnmatchedDelim,\n- psess: &ParseSess,\n-) -> Option<Diag<'_>> {\n- // `None` here means...
2025-07-21T03:05:37
huggingface/transformers
d03945fb8db6d2d41d2b27c06e65143038936f76
29db503cdef2f00d1f0ecd5841c3a486708ed1dd
Fix backward compatibility for full path imports of Fast Image Processors (#44926) * Fix backward compatibility full path imports fast image processors * skip fast aliases in check_repo * Add warning Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * format Signed-off-by: Harry Mellor <1998...
[ { "path": "src/transformers/__init__.py", "patch": "@@ -822,6 +822,28 @@ def _get_target():\n _create_module_alias(f\"{__name__}.tokenization_utils\", \".tokenization_utils_sentencepiece\")\n _create_module_alias(f\"{__name__}.image_processing_utils_fast\", \".image_processing_backends\")\n \n+ f...
2026-03-23T12:22:55
nodejs/node
9e6c2ba68a46ee693cf0b4875966f96a6dc261cf
ac2fc0dd5f5830d32dd89fe1c9c55d672cf59c0a
test: fix flaky test-http2-client-upload Wait for close event on server stream before shuting down server and client to avoid races seen on windows CI. Refs: https://github.com/nodejs/node/issues/20750#issuecomment-511015247 PR-URL: https://github.com/nodejs/node/pull/29889 Refs: https://github.com/nodejs/node/issue...
[ { "path": "test/parallel/test-http2-client-upload.js", "patch": "@@ -21,24 +21,29 @@ fs.readFile(loc, common.mustCall((err, data) => {\n fileData = data;\n \n const server = http2.createServer();\n+ let client;\n+\n+ const countdown = new Countdown(3, () => {\n+ server.close();\n+ client.close()...
2019-10-08T18:26:26
huggingface/transformers
29db503cdef2f00d1f0ecd5841c3a486708ed1dd
b1527a32a1010cd94bfb4f937af247bb5871f6fd
chore(typing): added rule 11 (#44865) * added rule 11 * fix all offenders for trt011 * the rule was only matching for loops, it now derives its target set from base_model_pp_plan * unify loop * single ast pass --------- Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
[ { "path": "src/transformers/models/qwen3_5/modeling_qwen3_5.py", "patch": "@@ -1356,8 +1356,8 @@ def forward(\n hidden_states = inputs_embeds\n position_embeddings = self.rotary_emb(hidden_states, position_ids)\n \n- for layer_idx, decoder_layer in enumerate(self.layers[: self.config....
2026-03-23T12:19:45
vercel/next.js
85fb714f1665f3afaa49663ed5b2d01f6b88164d
7decb13000de0c3a59bd93471d8c51b3f29b2214
docs: Fix typo in getting-started/project-structure (#55035) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## Fo...
[ { "path": "docs/01-getting-started/02-project-structure.mdx", "patch": "@@ -30,7 +30,7 @@ This page provides an overview of the file and folder structure of a Next.js pro\n | [`.env.development`](/docs/app/building-your-application/configuring/environment-variables) | Development environment variables ...
2023-09-06T07:12:17
golang/go
053b63cfb56f574fd216166020066f3b48d5d878
a8facc456f07574b802c61b11140a77e8ac93c2a
text/template/parse: make atTerminator more efficient The change https://go.dev/cl/398475 was too complicated and expensive. Since the whole string is always available, all that's needed is a call to strings.HasPrefix. While we're here, change the way lexer.backup works so it can be called repeatedly to back up more ...
[ { "path": "src/text/template/parse/lex.go", "patch": "@@ -118,7 +118,7 @@ type lexer struct {\n \temitComment bool // emit itemComment tokens.\n \tpos Pos // current position in the input\n \tstart Pos // start position of this item\n-\twidth Pos // width of last r...
2022-05-15T03:14:49
huggingface/transformers
b1527a32a1010cd94bfb4f937af247bb5871f6fd
9dc8d8aa3090ab3f39e6086d02b712f9274bc795
fix: improve processor loading performance by avoiding redundant tokenizer parsing (#44927) * fix(tokenization_utils_tokenizers): avoid parsing full vocab in from_file when only post_processor/padding/truncation are needed * fix(tokenization_utils_tokenizers): fall back to from_file when model type is missing in toke...
[ { "path": "src/transformers/tokenization_utils_tokenizers.py", "patch": "@@ -118,7 +118,32 @@ def convert_to_native_format(cls, trust_remote_code=False, **kwargs):\n elif fast_tokenizer_file is not None and os.path.isfile(fast_tokenizer_file):\n # we extract vocab/merges and pass decoder...
2026-03-23T10:46:49
golang/go
a8facc456f07574b802c61b11140a77e8ac93c2a
2540f4e49d47f951de6c7697acdc510bcb7b3ed1
cmd/compile/internal/typecheck: remove "name" handling in iimport.go This hack is no longer needed since CL 393715, because LocalPkg.Prefix is set correctly, so when we write out instantiated objects/types into the export data, they'll already have a proper name. Updates #51734. Change-Id: I26cfa522f1bfdfd1626855097...
[ { "path": "src/cmd/compile/internal/typecheck/iimport.go", "patch": "@@ -193,7 +193,7 @@ func ReadImports(pkg *types.Pkg, data string) {\n \t\t}\n \n \t\tfor nSyms := ird.uint64(); nSyms > 0; nSyms-- {\n-\t\t\ts := pkg.Lookup(p.nameAt(ird.uint64()))\n+\t\t\ts := pkg.Lookup(p.stringAt(ird.uint64()))\n \t\t\t...
2022-05-12T22:43:48
vercel/next.js
f2f1c251bf1be7520c353c94dd305ca7cf449e4c
cdfb9de498b172ad8a754addea8d364efb9b05e5
Fix duplicated dynamic metadata routes in dev mode (#55026) In dev mode, we're using a catch-all route for dynamic metadata routes, e.g. page path `/twitter-image` would become `/twitter-image/[[...metadata_id...]]/route` as a dynamic custom app route. But we're missing to convert it in filesystem scanning for routin...
[ { "path": "packages/next/src/lib/metadata/get-metadata-route.ts", "patch": "@@ -1,4 +1,4 @@\n-import { isMetadataRoute, isStaticMetadataRouteFile } from './is-metadata-route'\n+import { isMetadataRoute, isStaticMetadataRoute } from './is-metadata-route'\n import path from '../../shared/lib/isomorphic/path'\...
2023-09-06T00:21:06
nodejs/node
ac2fc0dd5f5830d32dd89fe1c9c55d672cf59c0a
fc28761d771e676c57be92c99ab4e04f749c53f4
errors: improve ERR_INVALID_ARG_TYPE ERR_INVALID_ARG_TYPE is the most common error used throughout the code base. This improves the error message by providing more details to the user and by indicating more precisely which values are allowed ones and which ones are not. It adds the actual input to the error message i...
[ { "path": "lib/internal/errors.js", "patch": "@@ -23,6 +23,21 @@ const {\n const messages = new Map();\n const codes = {};\n \n+const classRegExp = /^([A-Z][a-z0-9]*)+$/;\n+// Sorted by a rough estimate on most frequently used entries.\n+const kTypes = [\n+ 'string',\n+ 'function',\n+ 'number',\n+ 'obje...
2019-09-23T06:17:25
huggingface/transformers
9dc8d8aa3090ab3f39e6086d02b712f9274bc795
687a70daa99d1e1cce4a681291a5348890843254
fix(camembert): add tie_word_embeddings=True to CamembertConfig (#44931) In v5, `modeling_utils.get_expanded_tied_weights_keys()` checks `config.tie_word_embeddings` and returns an empty dict (skipping all weight tying) when the attribute is absent or False. `CamembertConfig` was missing `tie_word_embeddings: bool = ...
[ { "path": "src/transformers/models/camembert/configuration_camembert.py", "patch": "@@ -60,6 +60,7 @@ class CamembertConfig(PreTrainedConfig):\n classifier_dropout: float | int | None = None\n is_decoder: bool = False\n add_cross_attention: bool = False\n+ tie_word_embeddings: bool = True\n \...
2026-03-23T10:47:48
golang/go
99d63007a00c07bdb9571d2a206c55b72fe1295e
6ec46f470797ad816c3a5b20eece0995f13d2bc4
test: fix issue20014 for noopt builder This test is currently overly sensitive to compiler optimizations, because inlining can affect the order in which cmd/link emits field references. The order doesn't actually matter though, so this CL just tweaks the test to sort the tracked fields before printing them. Updates #...
[ { "path": "test/fixedbugs/issue20014.dir/main.go", "patch": "@@ -5,6 +5,7 @@\n package main\n \n import (\n+\t\"sort\"\n \t\"strings\"\n \n \t\"issue20014.dir/a\"\n@@ -13,12 +14,17 @@ import (\n func main() {\n \tsamePackage()\n \tcrossPackage()\n+\n \t// Print fields registered with field tracking.\n+\tvar...
2022-05-16T19:14:14
huggingface/transformers
a8683756653094e3fc3016df8abcdeaaec758f9a
55cc1a7fb8e53a5e7e35ca9cf9759498f20abb93
fix `processing_utils.py`: avoid deepcopying tokenizer in `ProcessorMixin` to improve performance (#44894) fix(processing_utils): avoid deepcopying tokenizer in ProcessorMixin.to_dict to improve performance Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -704,7 +704,16 @@ def to_dict(self) -> dict[str, Any]:\n Returns:\n `dict[str, Any]`: Dictionary of all the attributes that make up this processor instance.\n \"\"\"\n- output = copy.deepcopy(self.__dict__)\n+ ...
2026-03-23T09:56:33
nodejs/node
fc28761d771e676c57be92c99ab4e04f749c53f4
fcd4c2e37d510ea362b4225849b25ac958390091
buffer: improve .from() error details This makes sure the original input is passed to the error in case no matching inputs are found. Instead of passing along all values, only valid or possibliy valid values are passed through. That way invalid values end up in the error case with the original input. PR-URL: https://...
[ { "path": "lib/buffer.js", "patch": "@@ -291,17 +291,21 @@ Buffer.from = function from(value, encodingOrOffset, length) {\n return fromArrayBuffer(value, encodingOrOffset, length);\n \n const valueOf = value.valueOf && value.valueOf();\n- if (valueOf !== null && valueOf !== undefined && valueOf...
2019-09-23T06:14:35
vercel/next.js
c5e1d03b9d0aaf457b3e88c0d6e070d4fccd170e
dcc6ecb2aaaeb4e0bafdc675584afd5223dde9a5
Turbopack Experimental: Fix source maps in HMR (vercel/turbo#5852) This constructs correct `sourceMappingURL`s for the code injected by the hmr client. It removes the `source_maps` module from entirely, as it's not even used by standard `--turbo` and the `next-dev` binary. Test Plan: - Opened a Next.js app with `--t...
[ { "path": "crates/turbopack-cli/src/dev/mod.rs", "patch": "@@ -31,8 +31,7 @@ use turbopack_dev_server::{\n introspect::IntrospectionSource,\n source::{\n combined::CombinedContentSource, router::PrefixedRouterContentSource,\n- source_maps::SourceMapContentSource, static_assets::Static...
2023-09-05T23:39:27
huggingface/transformers
55cc1a7fb8e53a5e7e35ca9cf9759498f20abb93
394b1a0eaa8e6199e372334da0aff3753a117fdb
fix: set `clean_up_tokenization_spaces=False` in Llama 3 tokenizer conversion (#44914) fix: set clean_up_tokenization_spaces=False in Llama 3 tokenizer conversion The Llama3Converter hardcodes clean_up_tokenization_spaces=True, which applies BERT-era string replacements (` .` → `.`, ` !` → `!`, etc.) that silently co...
[ { "path": "src/transformers/models/llama/convert_llama_weights_to_hf.py", "patch": "@@ -465,7 +465,7 @@ def __init__(self, vocab_file, special_tokens=None, instruct=False, llama_versio\n eos_token=\"<|end_of_text|>\" if not instruct else \"<|eot_id|>\",\n model_input_names=[\"input_i...
2026-03-23T08:28:31
electron/electron
987a2e173a02b23b0f59571b7d83e976fb2a7914
d2a701a46518a0a17002487351a5e0cb460d9045
Fix docs linting
[ { "path": "docs/api/web-frame.md", "patch": "@@ -117,28 +117,28 @@ Returns `Object`:\n * `decodedSize` Integer\n * `purgedSize` Integer\n * `purgeableSize` Integer\n-* `cssStyleSheets`\n+* `cssStyleSheets` Object\n * `count` Integer\n * `size` Integer\n * `liveSize` Integer\n * `decodedSize` I...
2016-09-25T00:04:10
nodejs/node
fcd4c2e37d510ea362b4225849b25ac958390091
20d009d2fdab313bb2cfb789881f1f9364474a62
events: allow monitoring error events Installing an error listener has a side effect that emitted errors are considered as handled. This is quite bad for monitoring/logging tools which tend to be interested in errors but don't want to cause side effects like swallow an exception. There are some workarounds in the wil...
[ { "path": "doc/api/events.md", "patch": "@@ -155,6 +155,18 @@ myEmitter.emit('error', new Error('whoops!'));\n // Prints: whoops! there was an error\n ```\n \n+It is possible to monitor `'error'` events without consuming the emitted error\n+by installing a listener using the symbol `errorMonitor`.\n+\n+```j...
2019-12-12T20:08:42
vercel/next.js
5fd38355e6670c907cf96c82c955bd6c7874d092
cdfc4a996dadafe6d43c8906c969706cddd31e5c
Add `Send` bound to `T` in `Vc<T>` to make type error less cryptic (vercel/turbo#5871) ### Description Currently, the diagnostics for `T` in `Vc<T>` not implementing `Send` is too cryptic. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Closes WEB-1498
[ { "path": "crates/turbo-tasks-macros/src/generic_type_macro.rs", "patch": "@@ -6,7 +6,7 @@ use turbo_tasks_macros_shared::{get_type_ident, GenericTypeInput};\n use crate::value_macro::value_type_and_register;\n \n pub fn generic_type(input: TokenStream) -> TokenStream {\n- let input = parse_macro_input!(...
2023-09-05T21:56:40
rust-lang/rust
18cc4f06a5252f0868be4ea620076247da68077c
cf80eeec1650add1e24f114841154484fa051b70
Fix spelling mistakes
[ { "path": "src/lib.rs", "patch": "@@ -360,9 +360,9 @@ impl WriteBackendMethods for GccCodegenBackend {\n cgcx: &CodegenContext<Self>,\n modules: Vec<FatLtoInput<Self>>,\n cached_modules: Vec<(SerializedModule<Self::ModuleBuffer>, WorkProduct)>,\n- diff_fncs: Vec<AutoDiffItem>,...
2025-07-21T18:45:00
electron/electron
27a9f960dea537412b09078c9ad5b56a192d4aaf
123f2a826537127bb965ac4d3bf46a1275dea794
Fix broken link
[ { "path": "docs-translations/ko-KR/styleguide.md", "patch": "@@ -172,7 +172,7 @@ required[, optional]\n * [`Object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)\n * [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)\...
2016-09-25T07:15:16
huggingface/transformers
52bc9b7e4da1d108f358d77b58f518c61d6319be
e168f86efb28d92fa4ebd7e137d1fba4bec60bc3
[Model] Add UVDoc Model Support (#43385) * Feat: Add UVDoc model * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * u...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -970,6 +970,8 @@\n title: Timm Wrapper\n - local: model_doc/upernet\n title: UperNet\n+ - local: model_doc/uvdoc\n+ title: UVDoc\n - local: model_doc/vit\n title: Vision Transformer (ViT)\n - local: m...
2026-03-20T22:02:35
vercel/next.js
9f247d9f98c38985e6d03537806accfeaaa58cf7
bf3c3ce245f3a55a214cc0e6b4fe0801ddbe5344
perf: use split chunks for the node server (#54988) This PR introduces a change in the Next.js server that should improve memory usage nicely during dev. ## How While investigating the repro cases in #54708, @timneutkens and I noticed that the high memory usage often involved `googleapis`. Digging a bit more, I also...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1707,6 +1707,46 @@ export default async function getBaseWebpackConfig(\n | Required<webpack.Configuration>['optimization']['splitChunks']\n | false => {\n if (dev) {\n+ if (isNodeServer) {\n+ /*\...
2023-09-05T15:54:44
rust-lang/rust
cf80eeec1650add1e24f114841154484fa051b70
c1be95ca0c2be04060da7a01f6892e5e6f2ef9dc
Fix clippy warnings
[ { "path": "build_system/src/abi_test.rs", "patch": "@@ -31,7 +31,7 @@ pub fn run() -> Result<(), String> {\n Some(\"clones/abi-cafe\".as_ref()),\n true,\n )\n- .map_err(|err| (format!(\"Git clone failed with message: {err:?}!\")))?;\n+ .map_err(|err| format!(\"Git clone failed with...
2025-07-21T18:42:45
huggingface/transformers
e168f86efb28d92fa4ebd7e137d1fba4bec60bc3
e6ed96c7e93a6408a151e3177793212b02b8bb53
Add backward compatibility for direct imports from legacy `image_processing_utils_fast` (#44897) fix direct imports from image_processing_utils_fast
[ { "path": "src/transformers/__init__.py", "patch": "@@ -119,6 +119,7 @@\n ],\n \"hf_argparser\": [\"HfArgumentParser\"],\n \"hyperparameter_search\": [],\n+ \"image_processing_utils_fast\": [],\n \"image_transforms\": [],\n \"integrations\": [\n \"is_clearml_available\",\n@@ -...
2026-03-20T19:47:10
nodejs/node
20d009d2fdab313bb2cfb789881f1f9364474a62
db9539bba4d62db3b73baf1575a9c3dfcd4d1f32
stream: pipe should not swallow error PR-URL: https://github.com/nodejs/node/pull/30993 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -798,7 +798,9 @@ Readable.prototype.pipe = function(dest, pipeOpts) {\n unpipe();\n dest.removeListener('error', onerror);\n if (EE.listenerCount(dest, 'error') === 0) {\n- if (!dest.destroyed) {\n+ const s = dest._writableState || dest...
2019-12-16T19:33:47
electron/electron
74e03d285e8879a08eb60169a929eaba37e79c1e
bf88fe32fdae1a1e3784f1ee725d6385b626dbc3
Fix broken link
[ { "path": "docs/styleguide.md", "patch": "@@ -177,7 +177,7 @@ of argument is notated by either the common types:\n * [`Object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)\n * [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Obje...
2016-09-25T07:13:34
golang/go
6ec46f470797ad816c3a5b20eece0995f13d2bc4
ab8d7dd75ea4918cde5e71b4482ff5b4f0f69273
runtime/pprof: slow new goroutine launches in test The goroutine profiler tests include one that launches a steady stream of goroutines. That creates a scheduler busy loop that can prevent forward progress in the rest of the program. Slow down the launches a bit so other goroutines have a chance to run. Fixes #52916 ...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -1527,6 +1527,10 @@ func TestGoroutineProfileConcurrency(t *testing.T) {\n \t\t\tSetGoroutineLabels(WithLabels(ctx, Labels(t.Name()+\"-churn-i\", fmt.Sprint(i))))\n \t\t\tif i == 0 {\n \t\t\t\tready.Done()\n+\t\t\t} else if i%16 == 0 {\n+\t\t\t\t// Y...
2022-05-16T16:47:08
huggingface/transformers
a269c990e8571d9b9f8adfc1add9472eec3f252d
d4f88c206295338b545a602ac2c2ab26cad82faf
Bump kernels version dependency to avoid crashes (#44887) * bump * fix * add max version --------- Co-authored-by: vasqu <antonprogamer@gmail.com>
[ { "path": "setup.py", "patch": "@@ -91,7 +91,7 @@\n \"jinja2>=3.1.0\",\n \"jmespath>=1.0.1\",\n \"kenlm\",\n- \"kernels>=0.10.2,<0.11\",\n+ \"kernels>=0.12.0,<0.13\",\n \"librosa\",\n \"mistral-common[image]>=1.10.0\",\n \"nltk<=3.8.1\",", "additions": 1, "deletions": 1...
2026-03-20T18:49:41
vercel/next.js
7288c866eb04308ab25e65bd2980cac7deaf2b76
39a66d5a086b9d6478c78ccc91d4f5fb14981106
upgrade edge-runtime (#55005) Fixing `Headers#getSetCookie` method
[ { "path": "packages/next/package.json", "patch": "@@ -135,9 +135,9 @@\n \"@babel/traverse\": \"7.18.0\",\n \"@babel/types\": \"7.18.0\",\n \"@capsizecss/metrics\": \"1.1.0\",\n- \"@edge-runtime/cookies\": \"3.4.0\",\n+ \"@edge-runtime/cookies\": \"3.4.1\",\n \"@edge-runtime/ponyfill\":...
2023-09-05T13:29:17
rust-lang/rust
dad96b107c0dd35ce2eecfaecc0e6af4988b3bb4
6707bf0f59485cf054ac1095725df43220e4be20
Use serde for target spec json deserialize The previous manual parsing of `serde_json::Value` was a lot of complicated code and extremely error-prone. It was full of janky behavior like sometimes ignoring type errors, sometimes erroring for type errors, sometimes warning for type errors, and sometimes just ICEing for ...
[ { "path": "Cargo.lock", "patch": "@@ -4499,7 +4499,10 @@ dependencies = [\n \"rustc_macros\",\n \"rustc_serialize\",\n \"rustc_span\",\n+ \"serde\",\n+ \"serde_derive\",\n \"serde_json\",\n+ \"serde_path_to_error\",\n \"tracing\",\n ]\n \n@@ -4870,6 +4873,16 @@ dependencies = [\n \"serde\",\n ]\n \n+[...
2025-07-20T12:35:43
golang/go
ab8d7dd75ea4918cde5e71b4482ff5b4f0f69273
db875f4d1b125e41a3999e3dd5c30d6b1bce235c
cmd/compile: set LocalPkg.Path to -p flag Since CL 391014, cmd/compile now requires the -p flag to be set the build system. This CL changes it to initialize LocalPkg.Path to the provided path, rather than relying on writing out `"".` into object files and expecting cmd/link to substitute them. However, this actually ...
[ { "path": "src/cmd/compile/internal/gc/main.go", "patch": "@@ -73,8 +73,7 @@ func Main(archInit func(*ssagen.ArchInfo)) {\n \tbase.DebugSSA = ssa.PhaseOption\n \tbase.ParseFlags()\n \n-\ttypes.LocalPkg = types.NewPkg(\"\", \"\")\n-\ttypes.LocalPkg.Prefix = \"\\\"\\\"\"\n+\ttypes.LocalPkg = types.NewPkg(base...
2022-03-17T20:27:40
nodejs/node
ff5664b83b89c55e4ab5d5f60068fb457f1f5872
3e5967bacb199fcffd9ec080adc62e1382e0cd76
src: fix compiler warning in env.cc This fixes the following warning: ../src/env.cc: In member function ‘void node::Environment::Exit(int)’: ../src/env.cc:946:77: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=] ...
[ { "path": "src/env.cc", "patch": "@@ -943,7 +943,8 @@ void Environment::Exit(int exit_code) {\n if (is_main_thread()) {\n fprintf(stderr, \"(node:%d) \", uv_os_getpid());\n } else {\n- fprintf(stderr, \"(node:%d, thread:%llu) \", uv_os_getpid(), thread_id());\n+ fprintf(stderr, \"(no...
2019-12-18T14:41:54
electron/electron
1df30821db4fc0202c155093c154a982366f9201
bf88fe32fdae1a1e3784f1ee725d6385b626dbc3
Fix getAccentColor() docs in system-preferences.md Example was using a non-existent method.
[ { "path": "docs/api/system-preferences.md", "patch": "@@ -138,13 +138,13 @@ if (browserOptions.transparent) {\n \n [dwm-composition]:https://msdn.microsoft.com/en-us/library/windows/desktop/aa969540.aspx\n \n-### `SystemPreferences.getAccentColor()` _Windows_\n+### `systemPreferences.getAccentColor()` _Wind...
2016-09-24T18:45:34
huggingface/transformers
d4f88c206295338b545a602ac2c2ab26cad82faf
e87125508b9dad4a52894b131a53d4e93f4507ae
[Model] Add SLANeXt Model Support (#43707) * add SLANeXt models * refine codes * refine codes * refine models * refine codes * refine codes * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * lets commit this first * img processor and tests * more fixup * fix in...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1314,6 +1314,8 @@\n title: SigLIP\n - local: model_doc/siglip2\n title: SigLIP2\n+ - local: model_doc/slanext\n+ title: SLANeXt\n - local: model_doc/smollm3\n title: SmolLM3\n - local: model_doc/smol...
2026-03-20T17:11:02
vercel/next.js
3a62a30649bc6263a1a361c0e4e6552bc07b5f0b
e117c000e45b80475d03a9bcaf1d53eb81058719
chore: bump `undici` (#55007) This bumps `undici` to the latest version to match the one used in newer Node.js versions', potentially fixing compatibility issues. I also cleaned up some related `global as any` usage.
[ { "path": "packages/next/package.json", "patch": "@@ -303,7 +303,7 @@\n \"timers-browserify\": \"2.0.12\",\n \"tty-browserify\": \"0.0.1\",\n \"ua-parser-js\": \"1.0.35\",\n- \"undici\": \"5.22.0\",\n+ \"undici\": \"5.23.0\",\n \"unistore\": \"3.4.1\",\n \"util\": \"0.12.4\",\n ...
2023-09-05T12:29:51
nodejs/node
3e5967bacb199fcffd9ec080adc62e1382e0cd76
8b5b61a9a14b364dc702cdaa9f0cb49ad4310e03
doc: clarify required flag for extensionless esm Fixes: https://github.com/nodejs/node/issues/30655 PR-URL: https://github.com/nodejs/node/pull/30657 Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
[ { "path": "doc/api/esm.md", "patch": "@@ -84,7 +84,8 @@ If the nearest parent `package.json` lacks a `\"type\"` field, or contains\n `\"type\": \"commonjs\"`, extensionless and `.js` files are treated as CommonJS.\n If the volume root is reached and no `package.json` is found,\n Node.js defers to the defaul...
2019-11-26T11:30:11
golang/go
db875f4d1b125e41a3999e3dd5c30d6b1bce235c
2a6e13843d5bc0a380ce7081e33db9b636e394f9
runtime/pprof: eliminate arbitrary deadline in testCPUProfile The testCPUProfile helper function iterates until the profile contains enough samples. However, in general very slow builders may need longer to complete tests, and may have less-responsive schedulers (leading to longer durations required to collect profile...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -437,10 +437,14 @@ func testCPUProfile(t *testing.T, matches profileMatchFunc, f func(dur time.Dura\n \n \tbroken := cpuProfilingBroken()\n \n-\tmaxDuration := 5 * time.Second\n-\tif testing.Short() && broken {\n-\t\t// If it's expected to be broken,...
2022-05-16T15:41:12
huggingface/transformers
e87125508b9dad4a52894b131a53d4e93f4507ae
20a233bdc5c0fae8fa116184f105adf498d44ba2
Fix core dumped when `NemotronH` is torch compiled (#44854) * fix * fix * fix * Update src/transformers/models/nemotron_h/modular_nemotron_h.py Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co> * correct fix * much better fix * type hint --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github...
[ { "path": "src/transformers/models/nemotron_h/modeling_nemotron_h.py", "patch": "@@ -20,7 +20,6 @@\n # limitations under the License.\n \n \n-import contextlib\n import math\n from collections.abc import Callable\n from typing import Any\n@@ -222,6 +221,9 @@ def segment_sum(input_tensor):\n return tenso...
2026-03-20T14:29:13
electron/electron
8c7a4de27bf2d30a6c5e2444ae65b5986dd79c56
c6390e71d9a119344e24247b4bb07816c8dfce77
Fix broken links
[ { "path": "docs/tutorial/accessibility.md", "patch": "@@ -6,7 +6,7 @@ Making accessible applications is important and we're happy to introduce new fun\n \n Accessibility concerns in Electron applications are similar to those of websites because they're both ultimately HTML. With Electron apps, however, you ...
2016-09-23T23:26:25
nodejs/node
eaf59754be421498287a7bf2471b83e629da1911
ea86f8c902e13d8cff0e01007ed0d978f59fe132
doc: update message.url example in http.IncomingMessage Update message.url example to use The WHATWG URL API. This is because the old example suggests using deprecated url API. Fixes: https://github.com/nodejs/node/issues/30048 PR-URL: https://github.com/nodejs/node/pull/30830 Reviewed-By: Luigi Pinca <luigipinca@gma...
[ { "path": "doc/api/http.md", "patch": "@@ -1979,54 +1979,32 @@ Accept: text/plain\\r\\n\n \\r\\n\n ```\n \n-Then `request.url` will be:\n+To parse the URL into its parts:\n \n-<!-- eslint-disable semi -->\n ```js\n-'/status?name=ryan'\n+new URL(request.url, `http://${request.headers.host}`);\n ```\n \n-To p...
2019-12-07T04:20:20
huggingface/transformers
20a233bdc5c0fae8fa116184f105adf498d44ba2
81128509a539bd6146c7b1baccecf090d71b5350
Fix several based models' pipeline parallel support (#44699) * Fix Qwen2-VL based models' pipeline parallel support Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * Fix other models too Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * Fix docs modular Signed-off-b...
[ { "path": "src/transformers/models/afmoe/modeling_afmoe.py", "patch": "@@ -423,7 +423,6 @@ def __init__(self, config: AfmoeConfig, layer_idx: int):\n self.layer_idx = layer_idx\n \n self.self_attn = AfmoeAttention(config=config, layer_idx=layer_idx)\n- self.attention_type = config.lay...
2026-03-20T13:43:07
golang/go
568590b0856d457f38404505f96d21032c35f844
35d83535f7235ee54bd30bff05b27d4407147300
runtime: mark panicshift and panicdivide as //go:yeswritebarrierrec When compiling package runtime, cmd/compile logically has two copies of package runtime: the actual source files being compiled, and the internal description used for emitting compiler-generated calls. Notably, CL 393715 will cause the compiler's wri...
[ { "path": "src/runtime/panic.go", "patch": "@@ -225,13 +225,15 @@ func panicSliceConvert(x int, y int)\n \n var shiftError = error(errorString(\"negative shift amount\"))\n \n+//go:yeswritebarrierrec\n func panicshift() {\n \tpanicCheck1(getcallerpc(), \"negative shift amount\")\n \tpanic(shiftError)\n }\n ...
2022-05-13T23:06:53