repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vercel/next.js
0e1c85ce833daaebcff9411fca736d5bc05f3f21
1aab5ee91527259662cfde4290593510a51368c2
Remove additional appDir checks (#54788) Followup to #54785 removing additional places where `.appDir` was used. <!-- 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 righ...
[ { "path": "packages/next-swc/crates/next-build/src/next_app/app_entries.rs", "patch": "@@ -61,7 +61,7 @@ pub async fn get_app_entries(\n server_compile_time_info: Vc<CompileTimeInfo>,\n next_config: Vc<NextConfig>,\n ) -> Result<Vc<AppEntries>> {\n- let app_dir = find_app_dir_if_enabled(project_r...
2023-08-30T18:39:00
huggingface/transformers
a7e73cdf6f9ffe65e5eeb4949379dcc00cadd209
bfe00b41ebdb66b92ca40a8c81778dae3acdaccf
Disable async loading when quantizing on the fly (#44576) * better logic * fix * better now * Apply repo consistency fixes * Apply suggestion from @Cyrilvallez Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co> * fix * Apply repo consistency fixes --------- Co-authored-by: github-actions[bot] <github-...
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -791,7 +791,10 @@ def _materialize_copy(tensor: torch.Tensor, device=None, dtype=None) -> torch.Te\n \n \n def spawn_materialize(\n- thread_pool: ThreadPoolExecutor | None, tensor: torch.Tensor, device=None, dtype=None\n+ thread_pool: Th...
2026-03-16T16:30:29
golang/go
8d074f61b709047fcc365a4556838f7ad7d80fec
960ffa98ce73ef2c2060c84c7ac28d37a83f345e
archive/zip: error if using io/fs on zip with duplicate entries Fixes #50390 Change-Id: I92787cdb3fa198ff88dcaadeccfcb49a3a6a88cf Reviewed-on: https://go-review.googlesource.com/c/go/+/374954 Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Joseph Tsai <joetsai@digital-static.net> Reviewed-by: Ian Lance ...
[ { "path": "src/archive/zip/reader.go", "patch": "@@ -662,18 +662,22 @@ type fileListEntry struct {\n \tname string\n \tfile *File\n \tisDir bool\n+\tisDup bool\n }\n \n type fileInfoDirEntry interface {\n \tfs.FileInfo\n \tfs.DirEntry\n }\n \n-func (e *fileListEntry) stat() fileInfoDirEntry {\n+func (e *f...
2021-12-30T06:02:45
nodejs/node
6bdf8d106009e4ed0f3c323d0f0874a51acc8e08
02a0c74861c3107e6a9a1752e91540f8d4c49a76
repl: support previews by eager evaluating input This adds input previews by using the inspectors eager evaluation functionality. It is implemented as additional line that is not counted towards the actual input. In case no colors are supported, it will be visible as comment. Otherwise it's grey. It will be triggered ...
[ { "path": "doc/api/repl.md", "patch": "@@ -510,6 +510,9 @@ with REPL instances programmatically.\n <!-- YAML\n added: v0.1.91\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/30811\n+ description: The `preview` option is now available.\n - version: v12.0.0\n pr-...
2019-12-05T13:41:49
electron/electron
4aa292c7cdc03828f4f0bf5c6487934a87171043
f28e8d716803c2c6c3ebd03c0e31a8532d42975d
Fix building on Linux
[ { "path": "atom/common/chrome_version.h", "patch": "@@ -8,7 +8,7 @@\n #ifndef ATOM_COMMON_CHROME_VERSION_H_\n #define ATOM_COMMON_CHROME_VERSION_H_\n \n-#define CHROME_VERSION_STRING \"52.0.2743.82\"\n+#define CHROME_VERSION_STRING \"53.0.2785.89\"\n #define CHROME_VERSION \"v\" CHROME_VERSION_STRING\n \n #...
2016-09-06T08:44:34
vercel/next.js
3fbbfeb68e040df127f4d54ded4771d5088f8cf8
f567aaf11e8cc1c84f0daf8b17541a8de13e805a
Remove experimental.appDir as it's stable (#54785) Removes the experimental option as it has been shipped. <!-- 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 checkli...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -405,7 +405,7 @@ export default async function build(\n setGlobal('telemetry', telemetry)\n \n const publicDir = path.join(dir, 'public')\n- const isAppDirEnabled = !!config.experimental.appDir\n+ const isAppDirEnabled = true\n...
2023-08-30T15:57:21
golang/go
960ffa98ce73ef2c2060c84c7ac28d37a83f345e
7a574ff23f9cda0967fd63a55c897e7598b60ad2
os/exec: return clear error for missing cmd.Path Following up on CL 403694, there is a bit of confusion about when Path is and isn't set, along with now the exported Err field. Catch the case where Path and Err (and lookPathErr) are all unset and give a helpful error. Fixes #52574 Followup after #43724. Change-Id: I...
[ { "path": "src/os/exec/exec.go", "patch": "@@ -465,6 +465,9 @@ func lookExtensions(path, dir string) (string, error) {\n // The Wait method will return the exit code and release associated resources\n // once the command exits.\n func (c *Cmd) Start() error {\n+\tif c.Path == \"\" && c.Err == nil && c.lookP...
2022-05-03T19:14:56
huggingface/transformers
bfe00b41ebdb66b92ca40a8c81778dae3acdaccf
f842abaca95a7dbf3fc6e16122e7409109bc1431
Bump torchao >=0.15 and fix quantization CI (#44604) * Fix * update expected * fix fp_quant * fix metal * fix mxfp4 * fix * fix bnb * style * bump torchao to 0.15.0 min to have safetensor support by default * style * fix torchao tests * Fix ! * style * update docs * update dockerfile * build quant docke...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -78,6 +78,7 @@ RUN python3 -m pip uninstall -y flash-attn\n RUN cd transformers && python3 setup.py develop\n \n # Add fouroversix for quantization testing\n+RUN python3 -m pip install --no-cache-dir --upgrade setuptools wheel\...
2026-03-16T16:01:38
nodejs/node
d7b8ae72d97557571c577a865c37e7a5b196a332
26991d0831e356c9ab86fa6cd0823afeaa0ec950
fs: reduce unnecessary sync rimraf retries rimraf should only retry if certain errors are encountered. Additionally, there is no point sleeping if an error occurs on the last try. PR-URL: https://github.com/nodejs/node/pull/30785 Fixes: https://github.com/nodejs/node/issues/30580 Refs: https://github.com/nodejs/node/...
[ { "path": "lib/internal/fs/rimraf.js", "patch": "@@ -209,12 +209,19 @@ function _rmdirSync(path, options, originalErr) {\n rimrafSync(join(path, child), options);\n });\n \n- for (let i = 1; i <= options.maxRetries + 1; i++) {\n+ const tries = options.maxRetries + 1;\n+\n+ for (...
2019-12-08T15:50:04
vercel/next.js
75c641522dd3ee6e65ccbd52cc6dab36a599f7e4
523d376ae39a72dce6880b0c1f9c1f30cce97ba7
Fixed typo in Building your application > 03. Rendering section (#54764) <!-- 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 maki...
[ { "path": "docs/02-app/01-building-your-application/03-rendering/index.mdx", "patch": "@@ -71,7 +71,7 @@ When working in these environments, it's helpful to think of the flow of the cod\n \n {/* Diagram: Response flow */}\n \n-If you need to access the server from the client, you send a **new** request to t...
2023-08-30T11:59:02
electron/electron
f28e8d716803c2c6c3ebd03c0e31a8532d42975d
2e0a1a8a643b7c6de60344e741c9c69d88dcd982
Fix API changes of Chrome 53
[ { "path": "atom/browser/api/atom_api_content_tracing.cc", "patch": "@@ -7,12 +7,13 @@\n \n #include \"atom/common/native_mate_converters/callback.h\"\n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n-#include \"atom/common/node_includes.h\"\n #include \"base/bind.h\"\n #include \"bas...
2016-09-06T08:24:37
huggingface/transformers
f842abaca95a7dbf3fc6e16122e7409109bc1431
39f751a538ca67932cab53e6eb5763243674ae2c
Fix tensor indexing crash in serve generate_response KV cache continuation (#44735) The `generate_response` method indexes `inputs` as a dict (`inputs["input_ids"]`) but `inputs` is already the raw `input_ids` tensor at that point. This causes a TypeError on the second request in a conversation session when KV cache r...
[ { "path": "src/transformers/cli/serve.py", "patch": "@@ -1328,7 +1328,7 @@ def generate_response(self, req: dict) -> Generator[str, None, None]:\n last_kv_cache = None\n if self.is_continuation(req) and not must_discard_cache:\n seq_len = self.last_kv_cache.get_seq_length()\n- ...
2026-03-16T15:22:27
nodejs/node
26991d0831e356c9ab86fa6cd0823afeaa0ec950
ba612536725da20fe1fdbdec748dc1aca63d6357
fs: add synchronous retries to rimraf This commit gives the synchronous version of rimraf the same linear retry logic as the asynchronous version. Prior to this commit, sync rimraf kept retrying the operation as soon as possible until maxRetries was reached. PR-URL: https://github.com/nodejs/node/pull/30785 Fixes: ht...
[ { "path": "lib/internal/fs/rimraf.js", "patch": "@@ -21,6 +21,7 @@ const {\n } = require('fs');\n const { join } = require('path');\n const { setTimeout } = require('timers');\n+const { sleep } = require('internal/util');\n const notEmptyErrorCodes = new Set(['ENOTEMPTY', 'EEXIST', 'EPERM']);\n const retryE...
2019-12-04T04:54:35
golang/go
7a574ff23f9cda0967fd63a55c897e7598b60ad2
482669db62bc5b6537727d621555a46eccb6173d
cmd/compile: fix boolean comparison on PPC64 Following CL 405114, for PPC64. Should fix PPC64 builds. Updates #52788. Change-Id: I193ac31cfba18b4f907dd2523b51368251fd6fad Reviewed-on: https://go-review.googlesource.com/c/go/+/405116 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@goo...
[ { "path": "src/cmd/compile/internal/ssa/gen/PPC64.rules", "patch": "@@ -446,19 +446,19 @@\n (If (FGreaterThan cc) yes no) => (FGT cc yes no)\n (If (FGreaterEqual cc) yes no) => (FGE cc yes no)\n \n-(If cond yes no) => (NE (CMPWconst [0] cond) yes no)\n+(If cond yes no) => (NE (CMPWconst [0] (ANDconst <typ.U...
2022-05-09T18:56:14
vercel/next.js
ba0472c507baeffd3bca771d4fd86b61d7a2354d
8405a1a2c363d082f0b198816fc30ee5f7c14855
Fix unexpected full hmr reload when editing _app (#54690) ### What When you only have `pages/` folder and custom `_app.js`, editing the `_app.js` file when unexpectedly lead to full page reload. This is because the `pages/_app` chunk is included into `pages/_document` chunk as they all pass through the `next-route...
[ { "path": "packages/next/src/build/entries.ts", "patch": "@@ -53,7 +53,10 @@ import { isAppRouteRoute } from '../lib/is-app-route-route'\n import { normalizeMetadataRoute } from '../lib/metadata/get-metadata-route'\n import { fileExists } from '../lib/file-exists'\n import { getRouteLoaderEntry } from './we...
2023-08-30T10:44:08
huggingface/transformers
39f751a538ca67932cab53e6eb5763243674ae2c
96f807a33b75ef2533e52473709e9f5d3b192867
:rotating_light: Validate config attributes (#41250) * initial commit * just push for now * maybe not do it for all models, lets see how many models fail now * update * lets see what esle fails now * nit * style * delete rope validation * bart * make style * provate rope valid for now, hub complains * more ...
[ { "path": "examples/modular-transformers/modeling_new_task_model.py", "patch": "@@ -336,7 +336,7 @@ def forward(\n output_hidden_states = (\n output_hidden_states if output_hidden_states is not None else self.config.output_hidden_states\n )\n- return_dict = return_dict if ...
2026-03-16T13:39:29
nodejs/node
ba612536725da20fe1fdbdec748dc1aca63d6357
eac3f0adc46c3af0e94d70bb8635440382df7d7f
test: scale keepalive timeouts for slow machines The test was using fixed timeouts and that seems to be causing sporadic test failures on pi1-docker host (which is a very slow machine.) Fixes: https://github.com/nodejs/node/issues/30828 PR-URL: https://github.com/nodejs/node/pull/30834 Reviewed-By: Richard Lau <ricl...
[ { "path": "test/sequential/test-https-server-keep-alive-timeout.js", "patch": "@@ -34,13 +34,13 @@ test(function serverKeepAliveTimeoutWithPipeline(cb) {\n common.mustCall((req, res) => {\n res.end();\n }, 3));\n- server.setTimeout(500, common.mustCall((socket) => {\n+ server.setTimeout(comm...
2019-12-07T12:57:46
golang/go
482669db62bc5b6537727d621555a46eccb6173d
2226952b8a9564a83b29cb281238c5adac6c71b3
runtime: add lock partial order edge for trace and wbufSpans and mheap This edge represents the case of executing a write barrier under the trace lock: we might use the wbufSpans lock to get a new trace buffer, or mheap to allocate a totally new one. Fixes #52794. Change-Id: Ia1ac2c744b8284ae29f4745373df3f9675ab1168...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -240,8 +240,8 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankStackLarge: {lockRankSysmon, lockRankAssistQueue, lockRankSched, lockRankItab, lockRankHchan, lockRankProfInsert, lockRankProfBlock, lockRankProfMemActive, lockRankProfMemFutur...
2022-05-10T15:18:21
huggingface/transformers
96f807a33b75ef2533e52473709e9f5d3b192867
30adbf3f5bad10416f40ec1831bc27fefe875464
[MistralCommonBackend] Upgrade mistral-common to v1.10.0 (#44656) * [MistralCommonBackend] Support reasoning_effort and image_sizes. * Update mistral-common * Fix dependency * Move reasoning_effort argument and add doc --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "setup.py", "patch": "@@ -93,7 +93,7 @@\n \"kenlm\",\n \"kernels>=0.10.2,<0.11\",\n \"librosa\",\n- \"mistral-common[image]>=1.8.8\",\n+ \"mistral-common[image]>=1.10.0\",\n \"nltk<=3.8.1\",\n \"num2words\",\n \"numpy>=1.17\",\n@@ -185,8 +185,7 @@ def deps_list(*pkgs)...
2026-03-16T12:45:32
electron/electron
34b9ba2edcf374a1373d28a70d08a7fea76695ff
b13bab6fae3dd5605d99f220c65693952eeb1f6e
Upload ARM assets without v7l suffix
[ { "path": "script/upload.py", "patch": "@@ -4,6 +4,7 @@\n import errno\n import hashlib\n import os\n+import shutil\n import subprocess\n import sys\n import tempfile\n@@ -216,6 +217,14 @@ def upload_electron(github, release, file_path):\n # Upload the checksum file.\n upload_sha256_checksum(release['ta...
2016-09-13T17:06:09
vercel/next.js
8405a1a2c363d082f0b198816fc30ee5f7c14855
842366c92cedabd1b31c89e3782915d625f3860a
Misc Typescript updates (#54734) This bundles a collection of Typescript updates that correct typings across the servers: - Manifest typings have been narrowed - Some methods have been moved to abstract methods on classes - Added some type guard functions for route matches - Utilized early returns in logic to r...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -32,6 +32,7 @@ import { FileType, fileExists } from '../lib/file-exists'\n import { findPagesDir } from '../lib/find-pages-dir'\n import loadCustomRoutes, {\n CustomRoutes,\n+ Header,\n normalizeRouteRegex,\n Redirect,\n Rewrite,\n@@ -170,4...
2023-08-30T10:04:02
nodejs/node
d1f4936fab0a57282581da65d82411db96eb4108
a2cfb7dd8664c73385758c98966823fb80144d2c
src: improve checked uv loop close output Addon developers may run into this when not closing libuv handles inside Workers. Previously, output may have included unhelpful statements such as `uv loop at ... has 0 active handles`, which may sound like everything’s supposed to be fine actually. So, instead of printing ...
[ { "path": "src/debug_utils.cc", "patch": "@@ -292,19 +292,21 @@ void PrintLibuvHandleInformation(uv_loop_t* loop, FILE* stream) {\n struct Info {\n std::unique_ptr<NativeSymbolDebuggingContext> ctx;\n FILE* stream;\n+ size_t num_handles;\n };\n \n- Info info { NativeSymbolDebuggingContext::N...
2019-12-05T23:59:19
huggingface/transformers
30adbf3f5bad10416f40ec1831bc27fefe875464
66dd6a3225c34e14fdf5bed65ee10c097eef6ec5
Fix `mlcd` auto config/model/mapping issues (#44730) * min. fix for mlcd auto config * min. fix for mlcd auto modeling * comment --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -288,7 +288,8 @@\n (\"mistral\", \"MistralConfig\"),\n (\"mistral3\", \"Mistral3Config\"),\n (\"mixtral\", \"MixtralConfig\"),\n- (\"mlcd\", \"MLCDVisionConfig\"),\n+ (\"mlcd\", \"MLCDVisionCon...
2026-03-16T12:06:17
golang/go
8fdd277fe6ee1770b12650a4bc2bc257e49c8065
dd7d9b773f0c1319955eee0857e07dd411628e00
runtime: profile finalizer G more carefully in goroutine profile If SetFinalizer is never called, we might readgstatus on a nil fing variable, resulting in a crash. This change guards code that accesses fing by a nil check. Fixes #52821. Change-Id: I3e8e7004f97f073dc622e801a1d37003ea153a29 Reviewed-on: https://go-re...
[ { "path": "src/runtime/mprof.go", "patch": "@@ -952,9 +952,9 @@ func goroutineProfileWithLabelsConcurrent(p []StackRecord, labels []unsafe.Point\n \t// system goroutine (to be excluded). Pick one before restarting the world.\n \tif fing != nil {\n \t\tfing.goroutineProfiled.Store(goroutineProfileSatisfied)\...
2022-05-10T15:09:12
vercel/next.js
842366c92cedabd1b31c89e3782915d625f3860a
59e3ffabbbc314128c78789e3c35cacdfad8f5f5
Fix memory watcher reboot (#54760) I've introduced a bug with memory watching in development in this PR: #53523. Specifically when calling `cleanup` the process would exit because the `exit` listener on the childprocess would be called which then calls `process.exit(0)`. This caused a condition where calling `worker....
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -193,6 +193,12 @@ async function createRouterWorker(fullConfig: NextConfigComplete): Promise<{\n return {\n worker,\n cleanup: async () => {\n+ // Remove process listeners for childprocess too.\n+ for (const curWorker of ((worke...
2023-08-30T08:58:44
huggingface/transformers
66dd6a3225c34e14fdf5bed65ee10c097eef6ec5
0832773d6302beb3b2f0b0dda54fc51e4687ad39
Fix bug and add XPU Expectations for qwen2 and jamba tests (#44733) * add XPU Expectations for qwen2 and jamba tests Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-b...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -171,8 +171,10 @@ def _lazy_imports(\n else:\n from .integrations.hub_kernels import load_and_register_attn_kernel\n \n+ # Map standard attention names to hub kernel repos\n+ kernel_repo = ...
2026-03-16T11:40:57
nodejs/node
7ab21b2f5702ae0b2a5fe5d30ec356f83a95f698
6669cd138e918c6252e7c1dcb4bdfbc673105bad
lib: add parent to ERR_UNKNOWN_FILE_EXTENSION - default_resolve updated to pass parentURL into error - ERR_UNKNOWN_FILE_EXTENSION updated to include parentURL - test added to check for import message in error PR-URL: https://github.com/nodejs/node/pull/30728 Fixes: https://github.com/nodejs/node/issues/30721 Reviewed...
[ { "path": "lib/internal/errors.js", "patch": "@@ -1228,7 +1228,9 @@ E('ERR_UNHANDLED_ERROR',\n E('ERR_UNKNOWN_BUILTIN_MODULE', 'No such built-in module: %s', Error);\n E('ERR_UNKNOWN_CREDENTIAL', '%s identifier does not exist: %s', Error);\n E('ERR_UNKNOWN_ENCODING', 'Unknown encoding: %s', TypeError);\n-E(...
2019-11-30T04:11:21
golang/go
dd7d9b773f0c1319955eee0857e07dd411628e00
59ef3a966b38cb2ac537d1be43f0b8fd2468ea70
go/doc: remove brackets from receiver in example identifier When constructing a string for a method that will match an example function's name, remove brackets from the receiver. This makes it possible to write an example associated with a method of a generic type. Also, modify the test for classifying examples to ch...
[ { "path": "src/go/doc/example.go", "patch": "@@ -512,7 +512,6 @@ func classifyExamples(p *Package, examples []*Example) {\n \tif len(examples) == 0 {\n \t\treturn\n \t}\n-\n \t// Mapping of names for funcs, types, and methods to the example listing.\n \tids := make(map[string]*[]*Example)\n \tids[\"\"] = &p...
2022-04-22T17:18:15
electron/electron
9e8b0953f3cbca77348f8a03ac1779576939ca5d
18585204b7d9885d56bfcd6d54bdf4440f51d8af
fix indentation
[ { "path": "script/upload.py", "patch": "@@ -78,8 +78,8 @@ def main():\n upload_electron(github, release, os.path.join(DIST_DIR, DIST_NAME))\n upload_electron(github, release, os.path.join(DIST_DIR, SYMBOLS_NAME))\n if PLATFORM == 'darwin':\n- upload_electron(github, release, os.path.join(DIST_DIR...
2016-09-12T17:47:36
vercel/next.js
59e3ffabbbc314128c78789e3c35cacdfad8f5f5
2fa63b901870b4fef243a64a21565358f5ed22aa
Reimplement getBabelConfigFile to be simpler (#54741) Fixes the feedback shared here: https://github.com/vercel/next.js/pull/54716#discussion_r1309359377. Reimplements `getBabelConfigFile` to use `for of` instead of `reduce`. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your ...
[ { "path": "packages/next/src/build/get-babel-config-file.ts", "patch": "@@ -16,15 +16,12 @@ const BABEL_CONFIG_FILES = [\n export async function getBabelConfigFile(\n dir: string\n ): Promise<string | undefined> {\n- const babelConfigFile = await BABEL_CONFIG_FILES.reduce(\n- async (memo: Promise<stri...
2023-08-30T08:16:00
huggingface/transformers
0832773d6302beb3b2f0b0dda54fc51e4687ad39
f074011f5c7a50d2ff038973a527923d46db6905
Add model lerobot PI0 to transformers (#44160) * let it be, as one said * smaller ish inference * some stuff * update * fixes * style * fixes * notation * improve testing a bit * fi xtests * fixes and not obvious changes * revert the last commit on capture outputs and save while it works * make it a proper...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1260,6 +1260,8 @@\n title: PerceptionLM\n - local: model_doc/phi4_multimodal\n title: Phi4 Multimodal\n+ - local: model_doc/pi0\n+ title: PI0\n - local: model_doc/pix2struct\n title: Pix2Struct\n - l...
2026-03-16T10:16:52
nodejs/node
4ec02d5afdad4610b59fbc22ff2279e35120294e
5360dd151da9d8b1c97785a0e394cc731af31f69
module: fix dynamic import from eval This allows dynamic import to work from CLI `--eval` with or without `--input-type=module`. Fixes: https://github.com/nodejs/node/issues/30591 PR-URL: https://github.com/nodejs/node/pull/30624 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> R...
[ { "path": "lib/internal/modules/esm/loader.js", "patch": "@@ -25,7 +25,6 @@ const defaultResolve = require('internal/modules/esm/default_resolve');\n const createDynamicModule = require(\n 'internal/modules/esm/create_dynamic_module');\n const { translators } = require('internal/modules/esm/translators');...
2019-11-23T05:45:10
golang/go
59ef3a966b38cb2ac537d1be43f0b8fd2468ea70
1ce7fcf139417d618c2730010ede2afb41664211
go/doc: group play example imports When synthesizing a program from a playable example, preserve the grouping of imports. That is, maintain blank lines between imports while removing unused ones. People are used to having those groups because that is what goimports does. It's disconcerting to see the all imports pla...
[ { "path": "src/go/doc/example.go", "patch": "@@ -270,8 +270,22 @@ func playExample(file *ast.File, f *ast.FuncDecl) *ast.File {\n \t// Use unresolved identifiers to determine the imports used by this\n \t// example. The heuristic assumes package names match base import\n \t// paths for imports w/o renames (...
2022-02-10T15:32:58
huggingface/transformers
3491f116a0ec4def708c2fbc141ea08df16ba29b
1af62a6046ae574b719f0418fdd1d5895080d72e
Idefics3 without cache fix (#44607) * fix: Remove cache_position kwargs everywhere in idefics3 Branch: Idefics3WithoutCacheFix AI-usage: none Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * fix: Only purge pixel model inputs for subsequent turns if using cache This was the root of the incorrect results without ca...
[ { "path": "src/transformers/models/idefics2/modeling_idefics2.py", "patch": "@@ -1117,6 +1117,7 @@ def prepare_inputs_for_generation(\n image_hidden_states=None,\n logits_to_keep=None,\n is_first_iteration=False,\n+ use_cache=False,\n **kwargs,\n ):\n # Ove...
2026-03-16T09:20:00
vercel/next.js
2fa63b901870b4fef243a64a21565358f5ed22aa
70d41b26278b505916e4102ddd5a8c03dd729b6f
Move getBabelConfigFile to separate file (#54716) Small change to move this function into a separate file as it's shared between 2 files. <!-- 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 be...
[ { "path": "packages/next/src/build/get-babel-config-file.ts", "patch": "@@ -0,0 +1,30 @@\n+import { fileExists } from '../lib/file-exists'\n+import { join } from 'path'\n+\n+const BABEL_CONFIG_FILES = [\n+ '.babelrc',\n+ '.babelrc.json',\n+ '.babelrc.js',\n+ '.babelrc.mjs',\n+ '.babelrc.cjs',\n+ 'babe...
2023-08-30T08:15:15
golang/go
1ce7fcf139417d618c2730010ede2afb41664211
3f43096f1549ea32229202618d9cd81a5761c697
net/http: close accepted connection Fixes #48642 Change-Id: I7bf00517bea43dcf38e15b778818a3a3f6ffe23e GitHub-Last-Rev: a0e8b80f18dc8ae60944e01e5985c30d610efdf5 GitHub-Pull-Request: golang/go#48753 Reviewed-on: https://go-review.googlesource.com/c/go/+/353714 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: ...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -6725,3 +6725,28 @@ func testMaxBytesHandler(t *testing.T, maxSize, requestSize int64) {\n \t\tt.Errorf(\"expected echo of size %d; got %d\", handlerN, buf.Len())\n \t}\n }\n+\n+// Issue 48642: close accepted connection\n+func TestServerCloseAccepted(t *t...
2022-05-08T09:46:10
electron/electron
5fc1f57fb5028792365606e9863730161abe26f2
01fa9827b44177a4350a8056386379fc79ddb670
Fix navigation controller In-page navigation has not actually started if the current entry is being replaced. Do not set inPageIndex if replaceEntry is true.
[ { "path": "lib/browser/api/navigation-controller.js", "patch": "@@ -33,7 +33,7 @@ var NavigationController = (function () {\n if (this.inPageIndex > -1 && !inPage) {\n // Navigated to a new page, clear in-page mark.\n this.inPageIndex = -1\n- } else if (this.inPageIndex === -1 && ...
2016-09-11T21:46:17
huggingface/transformers
d64a6d67d8c004a25570db4df5689e06caea6af7
a609966c06bbfb803d80019b6a5213a8f92d6cf5
Fix transformers serve's 422 unprocessable entity (#44620) * Revert "Fix CLI NameError: name 'TypeAdapter' is not defined (#44256)" This reverts commit 30c480166a95342fefdd9d727fc2a163bea7b2b1. * Hints should not rely on optional dependencies
[ { "path": "src/transformers/cli/serve.py", "patch": "@@ -11,9 +11,6 @@\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-from __future__ import annotations\n-\n import a...
2026-03-16T00:02:01
nodejs/node
5d2944d7b65840766bd8c4efef0af4e2680c0166
09ea00b0c117d219ec7017e7125601e9e26f84b9
deps: upgrade to libuv 1.34.0 Notable changes: - Fix handling of large files in uv_fs_copyfile(). Fixes: https://github.com/nodejs/node/issues/30085 - Fix Android build errors. - uv_sleep() has been added. - uv_interface_addresses() IPv6 netmask support has been fixed. Fixes: https://github.com/nodejs/node/issues...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -411,3 +411,4 @@ Ouyang Yadong <oyydoibh@gmail.com>\n ZYSzys <zyszys98@gmail.com>\n Carl Lei <xecycle@gmail.com>\n Stefan Bender <stefan.bender@ntnu.no>\n+nia <nia@NetBSD.org>", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "...
2019-12-04T03:19:16
vercel/next.js
dc9f30c1064ea72aef2fd046da2f1d2722b89735
593ec3096e2f3b198aa986ce8a77b0f3b1edc45c
Remove experimental.newNextLinkBehavior as it's stable (#54720) Cleans up some code that is not used anymore as this feature went stable in Next.js 13. <!-- 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 check...
[ { "path": "packages/next-codemod/bin/cli.ts", "patch": "@@ -132,7 +132,7 @@ const TRANSFORMER_INQUIRER_CHOICES = [\n value: 'cra-to-next',\n },\n {\n- name: 'new-link: Ensures your <Link> usage is backwards compatible. Used in combination with experimental newNextLinkBehavior',\n+ name: 'new-l...
2023-08-29T20:49:00
huggingface/transformers
a609966c06bbfb803d80019b6a5213a8f92d6cf5
c0fe6164d0d74e021aab9bfa0342a0f59ff59b16
Fix missing / incorrect `config` class in some model class definitions (#44715) * fix 1 * fix 2 * style * modular --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/blip_2/modeling_blip_2.py", "patch": "@@ -877,6 +877,8 @@ def forward(\n \"\"\"\n )\n class Blip2QFormerModel(Blip2PreTrainedModel):\n+ config: Blip2QFormerConfig\n+\n _supports_attention_backend = False # adds position on attn weights before last matmul\n ...
2026-03-15T11:19:49
golang/go
3f43096f1549ea32229202618d9cd81a5761c697
a971499a6234d94b5be93b573de64d1b4f36654e
go/doc/comment: don't crash if there are no words to wrap Fixes #52783 Change-Id: I12e3da40d49cd92776052bf19cb07ee8a07f3ee0 Reviewed-on: https://go-review.googlesource.com/c/go/+/405215 Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@g...
[ { "path": "src/go/doc/comment/testdata/crash1.txt", "patch": "@@ -0,0 +1,16 @@\n+-- input --\n+[]\n+\n+[]: http://\n+-- gofmt --\n+[]\n+\n+[]: http://\n+-- html --\n+<p><a href=\"http://\"></a>\n+-- markdown --\n+[](http://)\n+-- text --\n+\n+\n+[]: http://", "additions": 16, "deletions": 0, "la...
2022-05-09T20:23:10
electron/electron
004d25d2489916e8a39d092e6ddf0ab327a2a7fa
573332721a5d76c3ab112d2cf69488a514620490
Upgrade electron-download for checksum support Fixes #51.
[ { "path": "npm/package.json", "patch": "@@ -15,11 +15,11 @@\n \"main\": \"index.js\",\n \"dependencies\": {\n \"extract-zip\": \"^1.0.3\",\n- \"electron-download\": \"^2.0.0\"\n+ \"electron-download\": \"^2.2.0\"\n },\n \"devDependencies\": {\n \"home-path\": \"^0.1.1\",\n- \"path-e...
2016-09-10T15:59:40
nodejs/node
eea5bb4160517f84e9673e685f0b2494214b95de
418dd68b611cce7e916dae82c75cb3d63b3c43a6
deps: fix OPENSSLDIR on Windows Backslashes and spaces are need to be escaped to define OPENSSLDIR to "C:\Program Files\Common Files\SSL". PR-URL: https://github.com/nodejs/node/pull/29456 Refs: https://github.com/nodejs/node/pull/29455 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@...
[ { "path": "deps/openssl/openssl_common.gypi", "patch": "@@ -24,7 +24,7 @@\n }, 'OS==\"win\"', {\n 'defines': [\n ## default of Win. See INSTALL in openssl repo.\n- 'OPENSSLDIR=\"C:\\Program Files\\Common Files\\SSL\"',\n+ 'OPENSSLDIR=\"C:\\\\\\Program\\ Files\\\\\\Common\\ Fi...
2019-09-05T16:46:57
vercel/next.js
593ec3096e2f3b198aa986ce8a77b0f3b1edc45c
e90f127896bc36cf5a861e7a26ff73da25228206
Remove leftover webpack config compat code (#54715) This logic is no longer used as these plugins have been deprecated/removed for a long time. <!-- 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 sec...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -3111,98 +3111,6 @@ export default async function getBaseWebpackConfig(\n }\n }\n \n- // Patch `@zeit/next-sass`, `@zeit/next-less`, `@zeit/next-stylus` for compatibility\n- if (webpackConfig.module && Array.isArray(webpackConfig.mo...
2023-08-29T20:32:32
huggingface/transformers
c368e139aade3ee7cdfa29387f3249168a912e5c
18e377ba957d38b76b6212a697785dd6b2077078
[`FA`] Fix fa detection (#44703) * fix fa2 and fa4 detection * should be there as well * also adapt fa3 to same pattern
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -74,7 +74,7 @@ def is_flash_attn_available():\n \"flash_attn_version\": 2,\n \"general_availability_check\": is_flash_attn_2_available,\n \"pkg_availability_check\": lambda *args, **kwargs: importlib.util.fi...
2026-03-14T17:17:39
golang/go
a971499a6234d94b5be93b573de64d1b4f36654e
f088f4962e628992833444df7486d392715ea73d
cmd/go: don't fail in ToSymbolFunc when using -n CL 214429, among other things, created gccgo_link_c.txt as a copy of a test formerly in go_test.go, but accidentally did so incorrectly: it used -r instead of -n. This was not noticed because the new test also incorrectly used [gccgo] when it should have used [exec:gccg...
[ { "path": "src/cmd/go/internal/work/gccgo.go", "patch": "@@ -605,7 +605,11 @@ var gccgoToSymbolFunc func(string) string\n \n func (tools gccgoToolchain) gccgoCleanPkgpath(b *Builder, p *load.Package) string {\n \tgccgoToSymbolFuncOnce.Do(func() {\n-\t\tfn, err := pkgpath.ToSymbolFunc(tools.compiler(), b.Wor...
2021-08-12T22:51:26
electron/electron
2435f1b660659230efd3f3759ec49ef5a21baeda
afb551e94a1076ba9ccef14c64e3294f74dc7878
lint fix
[ { "path": "atom/browser/api/frame_subscriber.cc", "patch": "@@ -8,8 +8,8 @@\n #include \"atom/common/node_includes.h\"\n #include \"base/bind.h\"\n #include \"content/public/browser/render_widget_host.h\"\n-#include \"ui/display/screen.h\"\n #include \"ui/display/display.h\"\n+#include \"ui/display/screen.h...
2016-09-09T21:50:01
huggingface/transformers
18e377ba957d38b76b6212a697785dd6b2077078
6133195dcb027feb7502379acd13750e167eb6c5
Fix `set_encoder` (#44698) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2222,7 +2222,7 @@ def set_encoder(self, encoder, modality: str | None = None):\n # NOTE: new models need to use existing names for layers if possible, so this list doesn't grow infinitely\n if modality in [\"image\", \"video\"]:\n...
2026-03-14T13:31:27
vercel/next.js
e90f127896bc36cf5a861e7a26ff73da25228206
ac1e392cc7750a32f4540d5fbee1975e95341d1a
Remove experimental.swcFileReading as it is stable (#54721) This feature has been landed long ago and the experimental option was leftover. This PR removes it. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow t...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -907,7 +907,6 @@ export default async function getBaseWebpackConfig(\n appDir,\n hasReactRefresh: dev && isClient,\n hasServerComponents: true,\n- fileReading: config.experimental.swcFileReading,\n nex...
2023-08-29T20:32:03
golang/go
f088f4962e628992833444df7486d392715ea73d
6399b24539c78686e5eaf8402ac623f341c0350f
go/types, types2: use a type lookup by identity in method lookup Named type identity is no longer canonical. For correctness, named types need to be compared with types.Identical. Our method set algorithm was not doing this: it was using a map to de-duplicate named types, relying on their pointer identity. As a result...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -1618,19 +1618,41 @@ func TestLookupFieldOrMethod(t *testing.T) {\n \t\t{\"var x T; type T struct{ f int }\", true, []int{0}, false},\n \t\t{\"var x T; type T struct{ a, b, f, c int }\", true, []int{2}, false},\n \n+\t\t// field lookups o...
2022-05-04T21:41:39
electron/electron
3d40c720dd3cf8247c1d39c63df803a7937f667f
8d201ae1ad9f6f18a061702efced501bca25824f
fix indentation and rename function
[ { "path": "script/create-dist.py", "patch": "@@ -85,7 +85,7 @@ def main():\n copy_chrome_binary('chromedriver')\n copy_chrome_binary('mksnapshot')\n copy_license()\n- copy_api_json()\n+ copy_api_json_schema()\n \n if PLATFORM == 'linux':\n strip_binaries()\n@@ -129,8 +129,8 @@ def copy_license...
2016-09-07T02:42:16
huggingface/transformers
6133195dcb027feb7502379acd13750e167eb6c5
74e685ee64516fb63492f5b2d3037c2e8ddfba53
[docs] cb config (#44675) * fix * fix
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -1549,20 +1549,38 @@ class ContinuousBatchingConfig:\n Class that holds arguments relative to continuous batching, when using continuous batching through the\n `generate_batch` method or the `continuous_batching_context_man...
2026-03-13T23:02:20
vercel/next.js
ac1e392cc7750a32f4540d5fbee1975e95341d1a
20d05958ff853e9c9e42139ffec294336881c648
Remove experimental.legacyBrowsers as it is stable (#54718) This experimental option went to stable in Next.js 13, so this code was leftover from then. The reason `true` wasn't needed is that you can provide your own `browserslistrc` that will allow targeting any browsers needed. <!-- Thanks for opening a PR! Yo...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -2067,8 +2067,7 @@ export class NestedMiddlewareError extends Error {\n \n export function getSupportedBrowsers(\n dir: string,\n- isDevelopment: boolean,\n- config: NextConfigComplete\n+ isDevelopment: boolean\n ): string[] | undefined {\n l...
2023-08-29T20:31:06
golang/go
4861475c1a373f2004ef9f95862fb1b370577d91
0d410d676dde6cf5f2fc6f78ed7f2c39181d6720
net: avoid racing on port reuse in TestListenConfigControl Fixes #52798. Fixes #51441 (until proven otherwise 😅). Change-Id: Ic1eadebd0d41c5cbe37340190f8b2bde4b6c5673 Reviewed-on: https://go-review.googlesource.com/c/go/+/405214 Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.co...
[ { "path": "src/net/listen_test.go", "patch": "@@ -7,7 +7,6 @@\n package net\n \n import (\n-\t\"context\"\n \t\"fmt\"\n \t\"internal/testenv\"\n \t\"os\"\n@@ -735,17 +734,7 @@ func TestListenConfigControl(t *testing.T) {\n \t\t\tif !testableNetwork(network) {\n \t\t\t\tcontinue\n \t\t\t}\n-\t\t\tln := newLo...
2022-05-09T16:51:28
huggingface/transformers
74e685ee64516fb63492f5b2d3037c2e8ddfba53
65db6fc07c776406f7b4afe1ee5ecdbeb7202af7
Fix more model tester missing `parent` issue (#44685) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/pp_lcnet/test_modeling_pp_lcnet.py", "patch": "@@ -52,6 +52,7 @@\n class PPLCNetModelTester:\n def __init__(\n self,\n+ parent,\n batch_size=3,\n image_size=128,\n num_channels=3,\n@@ -68,6 +69,7 @@ def __init__(\n out_indices=[2, 3,...
2026-03-13T20:57:43
vercel/next.js
20d05958ff853e9c9e42139ffec294336881c648
fc48fc8c4cbb718646f1c3cb89de5af87f392567
Add cache control header for prefetch empty responses (#54732) Fix #45301 If you deploy Next.js with in front Cloudflare, empty prefetch responses will be cached because there is no `cache-control` header and the extension is .json, Cloudflare considers these requests cacheable assets If you want a test for this I w...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -1614,6 +1614,10 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n !(is404Page || pathname === '/_error')\n ) {\n res.setHeader('x-middleware-skip', '1')\n+ res.setHeader(\n+ 'cac...
2023-08-29T20:18:25
golang/go
0d410d676dde6cf5f2fc6f78ed7f2c39181d6720
dcfe57b8c2ff32e3dba99787a81a43657a115011
os, syscall: don't consider stderr output as part of hostname A successful invocation of the hostname command prints the hostname to stdout and exits with code 0. No part of the hostname is printed to stderr, so don't consider it. This avoids false positive failures in environments where hostname prints some extraneo...
[ { "path": "src/os/os_test.go", "patch": "@@ -1736,7 +1736,7 @@ func runBinHostname(t *testing.T) string {\n \n func testWindowsHostname(t *testing.T, hostname string) {\n \tcmd := osexec.Command(\"hostname\")\n-\tout, err := cmd.CombinedOutput()\n+\tout, err := cmd.Output()\n \tif err != nil {\n \t\tt.Fatal...
2022-05-09T03:04:28
huggingface/transformers
65db6fc07c776406f7b4afe1ee5ecdbeb7202af7
39f1c8d5d294779dbd13248b0986e510c477c529
:rotating_light: [`FA4`] Initial support (#42435) * initial implementation * CB support * change how we call item on max_seq_len_q/k * fix * tests * fix fa2 clash * unify the fa dispatch * fix * modernbert... * oops * parity test * style * nit * fixup imports for fa4 * enable attention sinks, fixup logit...
[ { "path": ".github/workflows/self-scheduled-flash-attn-caller.yml", "patch": "@@ -56,5 +56,5 @@ jobs:\n runner_type: \"a10\"\n report_repo_id: hf-internal-testing/transformers_flash_attn_ci\n commit_sha: ${{ github.sha }}\n- pytest_marker: \"flash_attn_test or flash_attn_3_test\"\n+ ...
2026-03-13T19:19:37
nodejs/node
418dd68b611cce7e916dae82c75cb3d63b3c43a6
6c40cb2aca89df4c7c0e3923d93024734dd49f2d
tools: update icu to 65.1 Update the version of the bundled ICU (deps/icu-small) to ICU version 65.2. Fixes: https://github.com/nodejs/node/issues/30211 Fixes: https://github.com/nodejs/node/issues/29540 PR-URL: https://github.com/nodejs/node/pull/30232 Reviewed-By: Steven R Loomis <srloomis@us.ibm.com> Reviewed-By:...
[ { "path": "deps/icu-small/README-FULL-ICU.txt", "patch": "@@ -1,8 +1,8 @@\n ICU sources - auto generated by shrink-icu-src.py\n \n This directory contains the ICU subset used by --with-intl=full-icu\n-It is a strict subset of ICU 64 source files with the following exception(s):\n-* deps/icu-small/source/dat...
2019-11-03T01:08:46
rust-lang/rust
1b883197d717db26d66ca3644abb9f4b4d47c08b
7e2d26f4b29f316dd049750b35f9004bb43aece7
fix: `if_then_some_else_none` FP when require type coercion
[ { "path": "clippy_lints/src/if_then_some_else_none.rs", "patch": "@@ -5,7 +5,8 @@ use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::snippet_with_context;\n use clippy_utils::sugg::Sugg;\n use clippy_utils::{\n- contains_return, higher, is_else_clause, is_in_const_context, is_res_lang_cto...
2025-07-13T13:53:34
vercel/next.js
e86029426425c3c9be2807920a4e4aa791562a60
e8c71ed2eabc7a37138305e493104d7c2d52035c
Improve Pages Router types (#54731) Small change to add additional `as const` which allows us to get rid of some `as any` :+1: <!-- 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. Choos...
[ { "path": "packages/next/src/client/router.ts", "patch": "@@ -20,10 +20,10 @@ export type SingletonRouter = SingletonRouterBase & NextRouter\n const singletonRouter: SingletonRouterBase = {\n router: null, // holds the actual router instance\n readyCallbacks: [],\n- ready(cb: () => void) {\n- if (th...
2023-08-29T19:21:04
golang/go
90a11e921ba3b928706854655bd010f309a96458
f566fe3910593de96b6ab17abc906934de78d27c
cmd/compile: more fix on boolean ops on ARM64 Following CL 405114, the extension rule is also wrong. It is safe to drop the extension if the value is from a boolean-generating instruction, but not a boolean-typed Value in general (e.g. a Phi or a in-register parameter). Fix it. Updates #52788. Change-Id: Icf3028fe8e...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM64.rules", "patch": "@@ -1578,9 +1578,9 @@\n (GreaterThanF (InvertFlags x)) => (LessThanF x)\n (GreaterEqualF (InvertFlags x)) => (LessEqualF x)\n \n-// Boolean-generating instructions always\n+// Boolean-generating instructions (NOTE: NOT all boolean Values) a...
2022-05-09T16:57:31
nodejs/node
6c40cb2aca89df4c7c0e3923d93024734dd49f2d
51ccf1b5e90540a11c33866da15d4a7f52d7fddb
repl: use better uncaught exceptions indicator This switches "Thrown:" with "Uncaught" to outline clearer that the thrown error is not caught. PR-URL: https://github.com/nodejs/node/pull/29676 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/repl.js", "patch": "@@ -552,11 +552,28 @@ function REPLServer(prompt,\n });\n } else {\n if (errStack === '') {\n- errStack = `Thrown: ${self.writer(e)}\\n`;\n- } else {\n- const ln = errStack.endsWith('\\n') ? '' : '\\n';\n- errStack = `Thrown:\\n${e...
2019-09-23T17:38:12
rust-lang/rust
1d0eddbedd3b364418d2ae12b1240d487488ac5b
9cd918bcbbc26deb005eb4e1bd9a445380195e56
tests: debuginfo: Work around or disable broken tests on powerpc f16 support for PowerPC has issues in LLVM, therefore we need a small workaround to prevent LLVM from emitting symbols that don't exist for PowerPC yet. It also appears that unused by-value non-immedate issue with gdb applies to PowerPC targets as well,...
[ { "path": "src/tools/compiletest/src/directives.rs", "patch": "@@ -854,6 +854,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[\n \"ignore-openbsd\",\n \"ignore-pass\",\n \"ignore-powerpc\",\n+ \"ignore-powerpc64\",\n \"ignore-remote\",\n \"ignore-riscv64\",\n \"ignore-rustc-debug-as...
2025-07-18T21:26:43
huggingface/transformers
064f0e97c69ca2ac865be78ddff5ce73c54ab071
80572efa0501a0881d23ceb508e19464a6c24288
[CB] [Bug] Fix crashes when running without cuda (#44673) * Fix CUDA being mandatory * Add a test for the feature * Better test and run on CPU * Add back slow and better name
[ { "path": "src/transformers/generation/continuous_batching/continuous_api.py", "patch": "@@ -17,7 +17,7 @@\n import threading\n from abc import abstractmethod\n from collections.abc import Generator\n-from contextlib import contextmanager\n+from contextlib import contextmanager, nullcontext\n from math impo...
2026-03-13T17:44:37
electron/electron
d407eab0ffbe5ab271c15265ecc77f571a887fa3
63e9bc48049861bb679c15f84668affe45eefeb1
Set crashReporter productName in specs
[ { "path": "spec/static/main.js", "patch": "@@ -3,6 +3,7 @@ process.throwDeprecation = true\n \n const electron = require('electron')\n const app = electron.app\n+const crashReporter = electron.crashReporter\n const ipcMain = electron.ipcMain\n const dialog = electron.dialog\n const BrowserWindow = electron....
2016-09-08T18:32:09
vercel/next.js
8cc9630d84c1994356b4642b8c0f628fd4c941ed
952c536a3b6e63996849ca9b54d56ebfff825ed7
fix app routes (#54701) ### What? fix app routes again after adding app pages ### Why? ### How? Closes WEB-1469
[ { "path": "packages/next-swc/crates/next-api/src/app.rs", "patch": "@@ -471,12 +471,14 @@ impl AppEndpoint {\n async fn output(self: Vc<Self>) -> Result<Vc<AppEndpointOutput>> {\n let this = self.await?;\n \n- let app_entry = match this.ty {\n- AppEndpointType::Page { ty: _, lo...
2023-08-29T08:53:38
golang/go
f566fe3910593de96b6ab17abc906934de78d27c
9ae7dc304082cc36d0d587c5edcc899497f2d06f
runtime: make racereadrange ABIinternal CL 266638 marked racewriterange (and some other race functions) as ABIinternal but missed racereadrange. arm64 and ppc64le (the other two register ABI platforms at the moment) already have racereadrange marked as such. The other two instrumented calls are to racefuncenter/race...
[ { "path": "src/runtime/race_amd64.s", "patch": "@@ -94,9 +94,11 @@ TEXT\truntime·racewritepc(SB), NOSPLIT, $0-24\n \n // func runtime·racereadrange(addr, size uintptr)\n // Called from instrumented code.\n-TEXT\truntime·racereadrange(SB), NOSPLIT, $0-16\n-\tMOVQ\taddr+0(FP), RARG1\n-\tMOVQ\tsize+8(FP), RARG...
2022-03-15T20:03:39
rust-lang/rust
4b8f869c638e6d5090420ff46bd14e7b7d909690
0586c63e070981af7df53e2f778d3e50293d8103
Split repeat-operand codegen test Looks like the output it's looking for can be in different orders, so separate tests will fix that.
[ { "path": "tests/codegen/repeat-operand-zero-len.rs", "patch": "@@ -11,10 +11,6 @@\n #[repr(transparent)]\n pub struct Wrapper<T, const N: usize>([T; N]);\n \n-// CHECK-LABEL: define {{.+}}do_repeat{{.+}}()\n-// CHECK-NEXT: start:\n-// CHECK-NOT: alloca\n-// CHECK-NEXT: ret void\n // CHECK-LABEL: define {{....
2025-07-20T03:49:52
nodejs/node
781e41df618a8d8878fb1c819855a31ef75115d1
1549c8e077422b79573936960daaa4c695620310
module: fixup lint and test regressions PR-URL: https://github.com/nodejs/node/pull/30802 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -1169,7 +1169,7 @@ Module.prototype._compile = function(content, filename) {\n } catch {\n // We only expect this codepath to be reached in the case of a\n // preloaded module (it will fail earlier with the main entry)\...
2019-12-05T05:11:04
huggingface/transformers
80572efa0501a0881d23ceb508e19464a6c24288
75aaf68307404eda6ad7f3b6401372c6f3dfeb7c
Another (small) set of fixes required for tiny model creation (#44666) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/gemma3n/test_modeling_gemma3n.py", "patch": "@@ -109,6 +109,9 @@ def get_audio_encoder_config(self):\n conf_attention_context_left=5,\n )\n \n+ def get_config(self):\n+ return self.get_audio_encoder_config()\n+\n def prepare_config_and_inputs_for_com...
2026-03-13T17:20:49
electron/electron
180a77e671dce13272c13102af40b2b1c46592c9
0b7b6b38c0d272e424dc0cd85487a5c06b5989f2
fix a minor bug in navigation-controller where a string is used as an object
[ { "path": "lib/browser/api/navigation-controller.js", "patch": "@@ -49,9 +49,10 @@ var NavigationController = (function () {\n // Normal navigation. Clear history.\n this.history = this.history.slice(0, this.currentIndex + 1)\n currentEntry = this.history[this.currentIndex]\n- ...
2016-09-08T13:31:42
vercel/next.js
63c63ef19d23c7f79d57711b51a7a2b9e421be92
1de3d058f0c6c9e6c819a083edb692f6661eed07
Update HMR for next-api (vercel/turbo#5814) ### Description This makes several changes to our HMR protocol to make play nicely with Next's already existing websocket and protocol: 1. Use a `turbopack-` prefix in our message's `type` 2. Allow any compatible `sendMessage` and `addMessageListener` implementation (so we ...
[ { "path": "crates/turbopack-cli/js/src/entry/client.ts", "patch": "@@ -1,9 +1,14 @@\n import { connect } from \"@vercel/turbopack-ecmascript-runtime/dev/client/hmr-client\";\n-import { connectHMR } from \"@vercel/turbopack-ecmascript-runtime/dev/client/websocket\";\n+import {\n+ connectHMR,\n+ addMessageL...
2023-08-29T01:29:59
huggingface/transformers
75aaf68307404eda6ad7f3b6401372c6f3dfeb7c
f2f7c89413b89949a84f278b071e53f89f7fcb72
Fix CookieCutter (#44334) Fix
[ { "path": "src/transformers/cli/add_new_model_like.py", "patch": "@@ -142,6 +142,7 @@ def __init__(self, lowercase_name: str):\n \n # Get tokenizer class\n if self.lowercase_name in TOKENIZER_MAPPING_NAMES:\n+ self.tokenizer_class = None\n self.fast_tokenizer_class = T...
2026-03-13T17:06:17
golang/go
9ae7dc304082cc36d0d587c5edcc899497f2d06f
53f13128a7a4c7d16af5ea9ca5f25b56ff9881fe
cmd/compile: fix If lowering on ARM64 On ARM64, an If block is lowered to (NZ cond yes no). This is incorrect because cond is a boolean value and therefore only the last byte is meaningful (same as AMD64, see ARM64Ops.go). But here we are comparing a full register width with 0. Correct it by comparing only the last bi...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM64.rules", "patch": "@@ -532,7 +532,7 @@\n (If (GreaterThanF cc) yes no) => (FGT cc yes no)\n (If (GreaterEqualF cc) yes no) => (FGE cc yes no)\n \n-(If cond yes no) => (NZ cond yes no)\n+(If cond yes no) => (TBNZ [0] cond yes no)\n \n // atomic intrinsics\n //...
2022-05-09T15:29:36
nodejs/node
81ac3023b3ab082804deda96d65530321d8af448
bcd5491219bfd34630d331bdca3c92538a7b0e5e
lib,test: improves ERR_REQUIRE_ESM message PR-URL: https://github.com/nodejs/node/pull/30694 Fixes: https://github.com/nodejs/node/issues/30599 Reviewed-By: Guy Bedford <guybedford@gmail.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -1123,7 +1123,26 @@ E('ERR_OUT_OF_RANGE',\n msg += ` It must be ${range}. Received ${received}`;\n return msg;\n }, RangeError);\n-E('ERR_REQUIRE_ESM', 'Must use import to load ES Module: %s', Error);\n+E('ERR_REQUIRE_ESM',\n+ (filename, parentPath...
2019-11-28T01:26:36
electron/electron
d76c970da62cdee59df6da0159742ad65e3d6643
28b33074cf7355b3de2f84cdf9c1d064566402e7
Assert read value instead of exception
[ { "path": "spec/node-spec.js", "patch": "@@ -247,10 +247,8 @@ describe('node feature', function () {\n })\n })\n \n- it('does not throw an exception when calling read()', function () {\n- assert.doesNotThrow(function () {\n- assert.equal(process.stdin.read(), null)\n- })\n+ ...
2016-09-07T21:51:05
huggingface/transformers
f2f7c89413b89949a84f278b071e53f89f7fcb72
036340b7bfb457f056c5ffa696cb11fcf3d098fd
Fix AWQ tests for GPTQModel migration (#44654) * fix awq tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update ground truth Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix return replace_with_awq_linear Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update linear type Signed-off-by: j...
[ { "path": "tests/quantization/autoawq/test_awq.py", "patch": "@@ -110,7 +110,8 @@ class AwqTest(unittest.TestCase):\n )\n \n EXPECTED_OUTPUT_BF16 = [\n- \"Hello my name is Katie and I am a 20 year old student at the University of North Carolina at Chapel Hill. I am a junior and I am majoring ...
2026-03-13T16:20:59
vercel/next.js
6e9a61e5ffb8839c7fa36cab9e87f8c0666f00c9
2122e578ebd527e2eca467fe62d364e93fc0a680
turbopack: should only create _not-found when path_prefix is root (#54687) Should only create default prod _not-found when prefix path is "/" x-ref: https://github.com/vercel/next.js/pull/54199/files#r1307993106
[ { "path": "packages/next-swc/crates/next-core/src/app_structure.rs", "patch": "@@ -788,36 +788,36 @@ async fn directory_tree_to_entrypoints_internal(\n dev_not_found_tree,\n )\n .await?;\n- }\n- } else {\n- // Create default not-found page for product...
2023-08-29T01:05:13
golang/go
53f13128a7a4c7d16af5ea9ca5f25b56ff9881fe
50203976777808f03b01974076ddeb26f24be311
internal/abi, internal/buildcfg: enable regabi on riscv64 by default This CL we turn regabi on by default. Later CLs will clean up fallback code. name old time/op new time/op delta BinaryTree17 35.2s ± 2% 31.0s ± 1% -11.87% (p=0.008 n=5+5) Fannkuch11 10.8s ± 1...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -65,6 +65,8 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {\n \tcase \"amd64\", \"arm64\", \"ppc64le\", \"ppc64\":\n \t\tregabiAlwaysOn = true\n \t\tregabiSupported = true\n+\tcase \"riscv64\":\n+\t\tregabiSupported = t...
2022-04-26T14:07:46
nodejs/node
aa4c57ae7e74a623f5255a7f05a6ff9d5bc335d0
110dc02747473ae8193d71c1aa9cbedd71bfaa01
module: add warnings for experimental flags PR-URL: https://github.com/nodejs/node/pull/30617 Fixes: https://github.com/nodejs/node/issues/30600 Reviewed-By: Guy Bedford <guybedford@gmail.com>
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -46,7 +46,7 @@ const {\n rekeySourceMap\n } = require('internal/source_map/source_map_cache');\n const { pathToFileURL, fileURLToPath, URL } = require('internal/url');\n-const { deprecate } = require('internal/util');\n+const { deprecate, emitEx...
2019-11-24T04:40:40
electron/electron
ab14221a85dae5192368defde7a18ab9e1ec6114
bff2d41e738319e97a0c985f4b56a7e5ffd36c31
Fix API changes of Chrome 53
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -25,15 +25,6 @@\n #include \"content/public/browser/resource_context.h\"\n #include \"content/public/browser/storage_partition.h\"\n #include \"net/base/escape.h\"\n-#include \"net/ssl/client_cert_store.h\"\n-\n-#if defined(USE_NSS_CERTS)\n-#inc...
2016-09-06T08:22:52
huggingface/transformers
036340b7bfb457f056c5ffa696cb11fcf3d098fd
2548d0dbda93e29b1e94cbee64cfb25fbc03610a
[Model] Add PP-OCRV5_mobile_det Model Support (#43247) * Feat: Add PP-OCRV5_mobile_det model * fix code * fix code * fix * use cv and np to replace pyclipper * add model post_init() * fix * fix model init_weight * fix rename module * update * update * update * update * update * update * update * updat...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1268,8 +1268,14 @@\n title: PP-DocLayoutV2\n - local: model_doc/pp_doclayout_v3\n title: PP-DocLayoutV3\n+ - local: model_doc/pp_ocrv5_mobile_det\n+ title: PP-OCRv5_mobile_det\n - local: model_doc/pp_ocrv5_server_...
2026-03-13T15:21:39
vercel/next.js
2122e578ebd527e2eca467fe62d364e93fc0a680
0ef47610924e478cd920716dd7ffd7921aebb69b
fix(next/image): import error `preload` is not exported from `react-dom` (#54688) - Fixes https://github.com/vercel/next.js/issues/54416 - Related to https://github.com/vercel/next.js/pull/47659 Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "packages/next/src/client/image-component.tsx", "patch": "@@ -10,7 +10,7 @@ import React, {\n forwardRef,\n version,\n } from 'react'\n-import { preload } from 'react-dom'\n+import ReactDOM from 'react-dom'\n import Head from '../shared/lib/head'\n import { getImgProps } from '../shared/lib/ge...
2023-08-29T00:45:16
golang/go
c4311a47a0cb97f85e045a6d8f7c284cb6866da9
7ca1e2aa56f23b1766e8f5f65c431d18abd58985
internal/cpu: revise test to make it work properly with -cover Fix up a test to insure that it does the right thing when "go test -cover" is in effect. Fixes #52761. Change-Id: I0c141181e2dcaefd592fb04813f812f2800511da Reviewed-on: https://go-review.googlesource.com/c/go/+/404715 Run-TryBot: Than McIntosh <thanm@goo...
[ { "path": "src/internal/cpu/cpu_test.go", "patch": "@@ -10,7 +10,6 @@ import (\n \t\"internal/testenv\"\n \t\"os\"\n \t\"os/exec\"\n-\t\"strings\"\n \t\"testing\"\n )\n \n@@ -35,13 +34,9 @@ func runDebugOptionsTest(t *testing.T, test string, options string) {\n \tcmd.Env = append(cmd.Env, env)\n \n \toutput...
2022-05-07T13:24:05
nodejs/node
b29986040ef38b0d798fa28cf0df228e0dbdabe6
b9cacfc999c005b5aeefc1d0ba0f0ae1651686b1
test: increase debugging information in subprocess test Refs: https://github.com/nodejs/node/issues/25988#issuecomment-560394046 PR-URL: https://github.com/nodejs/node/pull/30761 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addalea...
[ { "path": "test/parallel/test-child-process-pipe-dataflow.js", "patch": "@@ -37,6 +37,14 @@ const MB = KB * KB;\n cat.stdout._handle.readStart = common.mustNotCall();\n grep.stdout._handle.readStart = common.mustNotCall();\n \n+ // Keep an array of error codes and assert on them during process exit. Th...
2019-12-02T13:21:37
huggingface/transformers
523759e218a89adcdc66a2c68aabc325f6377f44
b7626311663ee66509c7e691afc5a65ff7acacea
[`Chmv2`] Fix conversion after capture refactor (#44665) fix
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -68,6 +68,7 @@\n \n def _build_checkpoint_conversion_mapping():\n mapping = {\n+ \"chmv2\": [WeightRenaming(r\"backbone.layer.\", r\"backbone.model.layer.\")],\n \"dinov3_convnext\": [WeightRenaming(r\"(?<!model\\.)stages\",...
2026-03-13T14:14:48
electron/electron
cdfcca147ac5f467db305572fb73bdce16ee1eb9
8471f647a1675e79e0642743d703f7091f549628
Fix warning when compiling for win32 ia32 build
[ { "path": "atom/browser/ui/win/jump_list.cc", "patch": "@@ -249,7 +249,7 @@ JumpListResult JumpList::AppendCategory(const JumpListCategory& category) {\n if (appended_count == 0)\n return result;\n \n- if ((appended_count < category.items.size()) &&\n+ if ((static_cast<size_t>(appended_count) < cate...
2016-09-02T04:59:00
rust-lang/rust
a6c7ceaae3a918caf7b2e4443441e781405af926
e49e10736f75f7914e6af0e7489c986a1e18c9e2
Fix search of raw labels and lifetimes It used to search for `'foo` which won't find `'r#foo`, now we search for `foo` instead.
[ { "path": "src/tools/rust-analyzer/crates/ide-db/src/search.rs", "patch": "@@ -531,7 +531,7 @@ impl<'a> FindUsages<'a> {\n node.token_at_offset(offset)\n .find(|it| {\n // `name` is stripped of raw ident prefix. See the comment on name retrieval below.\n- i...
2025-07-19T22:20:09
vercel/next.js
0ef47610924e478cd920716dd7ffd7921aebb69b
540f8e29a0cff56c65b2b5ad94c354014053792e
Trace uploader: fix git binary on windows (#54580) Closes WEB-1449
[ { "path": "packages/next/src/trace/trace-uploader.ts", "patch": "@@ -80,7 +80,7 @@ interface TraceMetadata {\n \n const commit = child_process\n .spawnSync(\n- os.platform() === 'win32' ? 'git.cmd' : 'git',\n+ os.platform() === 'win32' ? 'git.exe' : 'git',\n ['rev-parse', 'HEAD'],\n ...
2023-08-29T00:19:03
golang/go
1efe38750a1f29c946fde694738c4ba2ed48ff98
3391517c0e4695a87cdb806cbf7b9760e7c9fa73
cmd/compile: teach prove about and operation For this code: z &= 63 _ = x<<z | x>>(64-z) Now can prove 'x<<z' in bound. In ppc64 lowering pass, it will not produce an extra '(ANDconst <typ.Int64> [63] z)' causing codegen/rotate.go failed. Just remove the type check in rewrite rules as the workaround. Removes 32 bound...
[ { "path": "src/cmd/compile/internal/ssa/gen/PPC64.rules", "patch": "@@ -127,20 +127,20 @@\n \n // Rotate generation with non-const shift\n // these match patterns from math/bits/RotateLeft[32|64], but there could be others\n-(ADD (SLD x (ANDconst <typ.Int64> [63] y)) (SRD x (SUB <typ.UInt> (MOVDconst [64]) ...
2022-05-07T05:58:24
nodejs/node
9ed67f44e29090812444a87e2fe993a8110f31a7
ff2ed3ec858bfed9e2d31e0510614ed3931b499a
doc: fix up N-API doc PR-URL: https://github.com/nodejs/node/pull/30656 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -4380,7 +4380,7 @@ allows them to avoid blocking overall execution of the Node.js application.\n N-API provides an ABI-stable interface for these\n supporting functions which covers the most common asynchronous use cases.\n \n-N-API defines the `napi_work` structur...
2019-11-26T10:59:41
huggingface/transformers
b7626311663ee66509c7e691afc5a65ff7acacea
5b57a1587caf3a040a69549837154dc1bcc9cd9e
fix(models, testing): Fix Llama4 vision rotary meta tensor initialization and MyT5 get_tokenizer signature (#44581) * fix: Recompute rotary embeddings on meta device and correct get_tokenizer signature * fix: Register freqs_ci as a non-persistent buffer * fix: Recompute freqs_ci in _init_weights instead * fix: Use ...
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -485,6 +485,8 @@ def _init_weights(self, module):\n if isinstance(module, Llama4TextExperts):\n init.normal_(module.gate_up_proj, mean=0.0, std=std)\n init.normal_(module.down_proj, mean=0.0, std=std)...
2026-03-13T14:14:28
electron/electron
8471f647a1675e79e0642743d703f7091f549628
0c2da5dceadc586bdc25001954e54899376e0fe3
Fix arm's zip name
[ { "path": "script/lib/config.py", "patch": "@@ -77,7 +77,7 @@ def is_verbose_mode():\n \n def get_zip_name(name, version, suffix=''):\n arch = get_target_arch()\n- if arch is 'arm':\n+ if arch == 'arm':\n arch += 'v7l'\n zip_name = '{0}-{1}-{2}-{3}'.format(name, version, get_platform_key(), arch)\...
2016-09-01T12:00:29
vercel/next.js
8ed492f3c1c12ad291a48be900c5e20cd51f5b1d
a6a452b3b24fa27940b64f500b0cd2489a226081
Default app router not found (#54199) Adding a default app router not-found error page in production. We introduced a custom global not-found page if you have `not-found.js` file under app directory. Next.js will still routed you to default pages 404 if there's no routes matched when you don't have a custom `not-foun...
[ { "path": "packages/next-swc/crates/next-core/src/app_structure.rs", "patch": "@@ -754,7 +754,7 @@ async fn directory_tree_to_entrypoints_internal(\n // Next.js has this logic in \"collect-app-paths\", where the root not-found page\n // is considered as its own entry point.\n if let ...
2023-08-28T22:09:16
golang/go
3391517c0e4695a87cdb806cbf7b9760e7c9fa73
1b86ef47de13622f48f76765403f065222d8f584
cmd/compile: don't crash in size computation for invalid type An invalid program may produce invalid types. If the program calls unsafe.Sizeof on such a type, which is a compile-time computation, the size-computation must be able to handle it. Add the invalid type to the list of permissible basic types and give it a s...
[ { "path": "src/cmd/compile/internal/noder/sizes.go", "patch": "@@ -134,6 +134,7 @@ func (s *gcSizes) Sizeof(T types2.Type) int64 {\n }\n \n var basicSizes = [...]byte{\n+\ttypes2.Invalid: 1,\n \ttypes2.Bool: 1,\n \ttypes2.Int8: 1,\n \ttypes2.Int16: 2,", "additions": 1, "deletions...
2022-05-07T23:18:57
huggingface/transformers
5b57a1587caf3a040a69549837154dc1bcc9cd9e
3dd82faf3e887043db772d4c1191ec40271a1584
[CB] Add dedicated config (#44434) * Added cb config object * Remove manual_eviction * Make cb config the preferred way to pass args * Review auto * Style * Fixes and removing traces of timing * style * Remove paged attention duplicates * nit * nitnit * nitnitnit * Auto review 1/2 * Auto review 2/2 * styl...
[ { "path": "docs/source/en/continuous_batching.md", "patch": "@@ -169,6 +169,14 @@ The [`Scheduler`] selects requests for processing at each step based on the toke\n \n [`ContinuousBatchingManager`] runs the model forward pass for the scheduled requests. It then collects and returns the results.\n \n+[`Conti...
2026-03-13T13:56:37
rust-lang/rust
14d097f6418eacf58e300abfb1531111192e9767
f63685ddf3d3c92a61158cd55d44bde17c2b024f
Give a message with a span on validation error
[ { "path": "compiler/rustc_mir_transform/src/validate.rs", "patch": "@@ -119,14 +119,16 @@ impl<'a, 'tcx> CfgChecker<'a, 'tcx> {\n #[track_caller]\n fn fail(&self, location: Location, msg: impl AsRef<str>) {\n // We might see broken MIR when other errors have already occurred.\n- asser...
2025-07-19T00:19:33
vercel/next.js
bdfbde5db867e83cb805af45c50ca77879655d1f
0f822373eeacbef78f7b0445d08d86249fe93e9d
Update revalidatePath.mdx (#54631) add if statement, because typescript throws error: revalidatePath require `string`, but `searchParams.get('path')` returns `string|null` type Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "docs/02-app/02-api-reference/04-functions/revalidatePath.mdx", "patch": "@@ -41,13 +41,22 @@ export default async function submit() {\n ### Route Handler\n \n ```ts filename=\"app/api/revalidate/route.ts\" switcher\n-import { NextRequest, NextResponse } from 'next/server'\n import { revalidatePat...
2023-08-28T20:33:49