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
b4be6eb290f75773d904ed644585a594e0fe35ee
c3fa14d702ed2feabca6e81dbee91036d6b50be5
Continue page rendering after handling server requests (#47089) This moves the position of action handling so it can continue page rendering afterwards. And a `asNotFound` option is added to `LayoutRouter` to indicate the router to opt into the root not-found boundary, so not found pages can be programmatically ren...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -422,6 +422,7 @@ function RedirectBoundary({ children }: { children: React.ReactNode }) {\n interface NotFoundBoundaryProps {\n notFound?: React.ReactNode\n notFoundStyles?: React.ReactNode\n+ asNotFound?: boolean\n child...
2023-03-14T04:07:44
golang/go
3100dc1a7fe3f3302cf2419298b0585bc8e83890
ae83301ab21fd3a0664d1277ee7b313cbf6590d9
cmd/link,runtime: remove relocations from stkobjs Use an offset from go.func.* instead. This removes the last relocation from funcdata symbols, which lets us simplify that code. size before after Δ % addr2line 3683218 3680706 -2512 -0.068% api 4951074 4944850 -6224 -0.126% asm ...
[ { "path": "src/cmd/compile/internal/liveness/plive.go", "patch": "@@ -1443,7 +1443,7 @@ func (lv *liveness) emitStackObjects() *obj.LSym {\n \t\t}\n \t\toff = objw.Uint32(x, off, uint32(sz))\n \t\toff = objw.Uint32(x, off, uint32(ptrdata))\n-\t\toff = objw.SymPtr(x, off, lsym, 0)\n+\t\toff = objw.SymPtrOff(...
2021-09-27T21:27:20
huggingface/transformers
eb2f9da096fc59dd80ed14d4165719887dfeb792
6ce8f0537537455806ab7bfd39b59ad37803ead9
fix error vocab_size at Qwen2_5_VLForConditionalGeneration loss_function (#40130) * fix error vocab_size at Qwen2_5_VLForConditionalGeneration loss_function Signed-off-by: luoxiaoc <xiaochuan.luo@intel.com> * fix similar errer at qwen2_vl and do make fix-copies Signed-off-by: luoxiaoc <xiaochuan.luo@intel.com> * p...
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -1524,7 +1524,9 @@ def forward(\n \n loss = None\n if labels is not None:\n- loss = self.loss_function(logits=logits, labels=labels, vocab_size=self.config.vocab_size)\n+ loss = self.los...
2025-08-18T08:59:25
vercel/next.js
c3fa14d702ed2feabca6e81dbee91036d6b50be5
bfd6c3ea2e5586f12b0d48ed113cc1c56eab60c2
Correctly list unsupported turbopack experimental options (#47093) * Fixes an issue where unsupported experimental options were not listed correctly * Fixes formatting if more than one unsupported option is configured * Shows unsupported options first and makes it slightly more clear blue options are supported ...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -270,7 +270,7 @@ const nextDev: CliCommand = async (argv) => {\n let babelrc = await getBabelConfigFile(dir)\n if (babelrc) babelrc = path.basename(babelrc)\n \n- let nonSupportedConfig: string[] = []\n+ let unsupportedConfig: string[...
2023-03-14T01:22:19
rust-lang/rust
7167e7ce06437ec093e80cc4ff20bf33dbf1fef5
91fad92585b2dafc52a074e502b2a6c1f093ca35
Fix false positive lint error from no_implicit_prelude attr
[ { "path": "compiler/rustc_resolve/src/check_unused.rs", "patch": "@@ -193,6 +193,16 @@ impl<'a, 'ra, 'tcx> UnusedImportCheckVisitor<'a, 'ra, 'tcx> {\n continue;\n }\n \n+ let module = self\n+ .r\n+ .get_nearest_non_block_module(self.r.loca...
2025-06-02T09:40:35
nodejs/node
9dfbc391fafe0495d30512ab811d4e372f9be449
b22c86ed3bd3242177b02a34292febe41275a52b
worker: improve JS-side debugging Do not print debug messages that indicate that a stdio stream has drained; because `util.debuglog()` uses `console.log`, which in turn uses stdio streams, this would otherwise have lead to an endless loop. PR-URL: https://github.com/nodejs/node/pull/25312 Reviewed-By: Colin Ihrig <cj...
[ { "path": "lib/internal/worker/io.js", "patch": "@@ -62,7 +62,8 @@ MessagePort.prototype.unref = MessagePortPrototype.unref;\n // .onmessage events, and a function used for sending data to a MessagePort\n // in some other thread.\n MessagePort.prototype[kOnMessageListener] = function onmessage(payload) {\n-...
2019-01-02T15:07:20
huggingface/transformers
2914ceca202fd3a68a79fa88d03cf5b0435ec4f1
cd22550692cabffb037b7e5a956e8da3cbbb2b67
Revert "Pin torch to 2.7.1 on CircleCI for now" + Final fix for `too long with no output` (#40201) * Revert "Pin torch to 2.7.1 on CircleCI for now (#40174)" This reverts commit 31b6e6e1dac0d32f74ec5cd6b3c1868534ccd7b5. * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -110,6 +110,8 @@ def __post_init__(self):\n print(f\"Using {self.docker_image} docker image\")\n if self.install_steps is None:\n self.install_steps = [\"uv pip install .\"]\n+ # Use a custom patched pytest ...
2025-08-18T06:40:53
golang/go
ae83301ab21fd3a0664d1277ee7b313cbf6590d9
7e69c5decf0b95ce2856769b9798c3a1cf3078ee
internal/buildcfg: enable register ABI for PPC64 This enables the new register ABI for all PPC64 targets by default including linux/ppc64, linux/ppc64le, and aix/ppc64. Improvements with the new register ABI on a power9: name old time/op (ns/op) new time/op (ns/op) delta BinaryTree17 3882070000 3274900000 -15.64...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -46,7 +46,11 @@ var FramePointerEnabled = GOARCH == \"amd64\" || GOARCH == \"arm64\"\n //\n // TODO(mdempsky): Move to internal/goexperiment.\n func ParseGOEXPERIMENT(goos, goarch, goexp string) (flags, baseline goexperiment.Flags, err error) {\n-\trega...
2021-10-04T17:13:41
rust-lang/rust
2e527f03d1c6b428cedbea52c1b644c4d0abe1c4
a5f7d44405146a7cc5dadd65601c8d71546e382f
fix bug where borrowck tries to describe a name from a macro in another crate
[ { "path": "compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs", "patch": "@@ -840,14 +840,22 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n } else {\n bug!(\"not an upvar\")\n };\n- err.span_label(\n- *span,\n- ...
2025-06-02T09:15:20
vercel/next.js
1c83bb868d9cde3271398b4f361a92fa0eccb552
cbc511ba36aa311cb8161f7eafa482ef9129febb
Fix(typedRoutes): fixed empty DynamicRoutes or StaticRoutes causing Route to turn into type string (#46980) Fixes #46974 When `dynamicRouteTypes` or `staticRouteTypes` is empty, type `DynamicRoutes`/`StaticRoutes` fallbacks to type `string`, causing type `Route` to resolve to type `string` as well, meaning that the...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -257,6 +257,10 @@ function createRouteDefinitions() {\n dynamicRouteTypes += routeTypes[type].dynamic\n }\n \n+ // If both StaticRoutes and DynamicRoutes are empty, fallback to type 'string'.\n+ const routeTypesFa...
2023-03-14T00:54:59
huggingface/transformers
05000aefe173bf7a10fa1d90e4c528585b45d3c7
3f4c85fef06549d8e5f11b1931f178419e1913cd
Fix GPT-OSS `swiglu_limit` not passed in for MXFP4 (#40197) Add swiglu_limit = 7.0
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -172,7 +172,7 @@ def __init__(self, config):\n torch.zeros(self.num_experts, self.hidden_size, dtype=torch.float32), requires_grad=False\n )\n self.alpha = 1.702\n-\n+ self.limit = getattr(config, \"swiglu_li...
2025-08-15T15:04:25
electron/electron
40c7e6e1797d972218320cc4d2d16e65da522400
0f648f4468e3ed66504d31bb83bea7f3640556c1
Update as upstream, translate 2 files, fix some typos
[ { "path": "docs/api/auto-updater-ko.md", "patch": "@@ -12,7 +12,7 @@ Squirrel.Mac은 업데이트 설치를 위해 `.app` 폴더에\n \n ## Squirrel\n \n-Squirrel은 어플리케이션이 **안전하고 투명한 웹사이트 업데이트**를 할 수 있도록 하는데 초점이 맞춰진 OS X 프레임워크입니다.\n+Squirrel은 어플리케이션이 **안전하고 투명한 업데이트**를 제공할 수 있도록 하는데 초점이 맞춰진 OS X 프레임워크입니다.\n \n Squirrel은 사용자에게 어플리케이션...
2015-08-09T18:33:32
golang/go
017ffcd10d980e7fe6ca101e253a12c9326fba37
cfd74f7727f6ad5a81d574c28cbee52cc13fdc52
cmd/link, runtime: convert FUNCDATA relocations to offsets Every function has associated numbered extra funcdata to another symbol. Prior to this change, a funcdata pointer was stored as a relocation. This change alters this to be an offset relative to go.func.* or go.funcrel.*. This reduces the number of relocation...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -552,11 +552,8 @@ type pclnSetUint func(*loader.SymbolBuilder, *sys.Arch, int64, uint64) int64\n //\n // Because of timing in the linker, generating this table takes two passes.\n // The first pass is executed early in the link, and it creates any n...
2021-10-01T23:35:43
vercel/next.js
cbc511ba36aa311cb8161f7eafa482ef9129febb
cb729c10879ae22bd4a7dedb76456a8be1979a0a
Verify router state query params can't grow out of control (#47094) Not certainly sure about the reasonable limitation of this header. For example https://app-dir.vercel.app/context/books sends a state query of size ~110, consider an app with 100x more complicated nested, parallel and named segments, we still have a 3...
[ { "path": "packages/next/src/server/app-render.tsx", "patch": "@@ -782,6 +782,16 @@ function parseAndValidateFlightRouterState(\n 'Multiple router state headers were sent. This is not allowed.'\n )\n }\n+\n+ // We limit the size of the router state header to ~40kb. This is to prevent\n+ // a m...
2023-03-13T23:37:11
nodejs/node
1f1a373df0121a9e4a2887f69862169b2f4ed2fd
7e15f0490a894607ee1cedbe02026793a0f589e5
worker: use engine-provided deleter for `SharedArrayBuffer`s Store the full information we have on a given `SharedArrayBuffer`, and use the deleter provided by the JS engine to free the memory when that is needed. This fixes memory lifetime management for WASM buffers that are passed through a `MessageChannel` (e.g. ...
[ { "path": "src/sharedarraybuffer_metadata.cc", "patch": "@@ -89,8 +89,7 @@ SharedArrayBufferMetadata::ForSharedArrayBuffer(\n }\n \n SharedArrayBuffer::Contents contents = source->Externalize();\n- SharedArrayBufferMetadataReference r(new SharedArrayBufferMetadata(\n- contents.Data(), contents.Byt...
2019-01-01T20:42:43
huggingface/transformers
3f4c85fef06549d8e5f11b1931f178419e1913cd
29e4e35927711da5381ccf5b12d11ed5e2d6d5e7
Add X-Codec model (#38248) * add working x-codec * nit * fix styling + copies * fix docstring * fix docstring and config attribute * Update args + config * update convertion script * update docs + cleanup * Ruff fix * fix doctrings
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -693,6 +693,8 @@\n title: UL2\n - local: model_doc/umt5\n title: UMT5\n+ - local: model_doc/xcodec\n+ title: X-CODEC\n - local: model_doc/xmod\n title: X-MOD\n - local: model_doc/xglm", "additions...
2025-08-15T14:24:12
rust-lang/rust
a4360d6fc3bf116379feebf6669ae8db5859847a
57cbadd68ac473bc50453f6b1320a02b68115f12
fix: `unnecessary_debug_formatting` FP inside `Debug` impl
[ { "path": "clippy_lints/src/format_args.rs", "patch": "@@ -9,7 +9,7 @@ use clippy_utils::macros::{\n use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::{SpanRangeExt, snippet};\n use clippy_utils::ty::{implements_trait, is_type_lang_item};\n-use clippy_utils::{is_diag_trait_item, is_from_pro...
2025-06-02T09:23:56
golang/go
7983830423ca0017dc5d990532e28df13862dc2d
d55009c59458c5fe8520f8cd10e8b61696ebab7a
runtime: add ABIInternal to strhash and memhash on ppc64x In testing the register ABI changes I found that the benchmarks for strhash and memhash degraded unless I marked them as ABIInternal. This fixes that. Change-Id: I9c7a04eaa6a66b888877f43454c51277c07e638a Reviewed-on: https://go-review.googlesource.com/c/go/+/3...
[ { "path": "src/runtime/asm_ppc64x.s", "patch": "@@ -855,14 +855,14 @@ TEXT runtime·unspillArgs(SB),NOSPLIT,$0-0\n #endif\n \n // AES hashing not implemented for ppc64\n-TEXT runtime·memhash(SB),NOSPLIT|NOFRAME,$0-32\n-\tJMP\truntime·memhashFallback(SB)\n-TEXT runtime·strhash(SB),NOSPLIT|NOFRAME,$0-24\n-\tJM...
2021-10-04T21:27:56
vercel/next.js
cb729c10879ae22bd4a7dedb76456a8be1979a0a
49e8f2bbbfe6acc0a6f80ba54b679557c0dbf3b7
Remove experimental fontLoaders option from next.config.js (#46886) Currently there's an experimental option in `next.config.js` that lets you define default subset(s) to preload for all your fonts. [docs](https://nextjs.org/docs/basic-features/font-optimization#specifying-a-subset) Over time we haven't seen much use...
[ { "path": "docs/basic-features/font-optimization.md", "patch": "@@ -117,29 +117,10 @@ export default function Home() {\n \n Google Fonts are automatically [subset](https://fonts.google.com/knowledge/glossary/subsetting). This reduces the size of the font file and improves performance. You'll need to define ...
2023-03-13T21:34:43
huggingface/transformers
29e4e35927711da5381ccf5b12d11ed5e2d6d5e7
de437d0d7ac30beb44b196e1413544122df64152
Benchmarking improvements (#39768) * Start revamping benchmarking * Start refactoring benchmarking * Use Pandas for CSV * import fix * Remove benchmark files * Remove sample data * Address review comments
[ { "path": "benchmark/.gitignore", "patch": "@@ -0,0 +1 @@\n+benchmark_results/\n\\ No newline at end of file", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "benchmark/benches/llama.py", "patch": "@@ -0,0 +1,345 @@\n+# Copyright 2025 The HuggingFace Team. All rig...
2025-08-15T13:59:11
nodejs/node
b5239d9ad3fb77339e8f8f5b029c6c37c922c916
ee592c35623d6108f3cc64aaf8322f2e261bdb42
build: fix Windows shared lib build PR-URL: https://github.com/nodejs/node/pull/25166 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "node.gyp", "patch": "@@ -882,7 +882,7 @@\n '<(PRODUCT_DIR)/<(node_core_target_name).exe',\n ],\n 'action': [\n- 'mv', '<@(_inputs)', '<@(_outputs)',\n+ 'move', '<@(_inputs)', '<@(_outputs)',\n ],\n ...
2018-12-21T15:37:30
golang/go
78c2529d73fbd2e2213c9f03862bcf2aaa86d78b
199ec4235000a51518802ce822447df5901c7df5
debug/gosym: add funcTab abstraction This clarifies the existing code and makes modifications easier. name old time/op new time/op delta 115/LineToPC-8 58.6µs ± 3% 56.4µs ± 3% -3.80% (p=0.000 n=15+15) 115/PCToLine-8 194ns ± 2% 188ns ± 2% -3.31% (p=0.000 n=15+15) Change-Id: Iafdf57a...
[ { "path": "src/debug/gosym/pclntab.go", "patch": "@@ -232,6 +232,7 @@ func (t *LineTable) parsePclnTab() {\n \tdefault:\n \t\treturn\n \t}\n+\tt.version = possibleVersion\n \n \t// quantum and ptrSize are the same between 1.2, 1.16, and 1.18\n \tt.quantum = uint32(t.Data[6])\n@@ -255,7 +256,7 @@ func (t *Li...
2021-10-04T21:49:42
electron/electron
5d3445cebb23eef45cc68508cefa4626e82160d7
24ba712aa5ae47d95ec45cc964b53882ee6e8c06
Style fix
[ { "path": "atom/renderer/atom_render_view_observer.cc", "patch": "@@ -162,8 +162,7 @@ void AtomRenderViewObserver::OnJavaScriptExecuteRequest(\n v8::HandleScope handle_scope(isolate);\n \n blink::WebFrame* frame = render_view()->GetWebView()->mainFrame();\n- frame->executeScriptAndReturnValue(\n- ...
2015-08-07T07:06:09
nodejs/node
edde0651912aca116f7e23c548bc5b56407a8056
0ff1eb83d9c3416f9619c1ce2c3a7327efd9bee4
repl: indicate if errors are thrown or not Currently an error is printed identical, no matter if it is just inspected or if the error is thrown inside of the REPL. This makes sure we are able to distinguish these cases. PR-URL: https://github.com/nodejs/node/pull/25253 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-B...
[ { "path": "lib/repl.js", "patch": "@@ -435,15 +435,18 @@ function REPLServer(prompt,\n }\n \n if (errStack === '') {\n- errStack = `Thrown: ${util.inspect(e)}`;\n+ errStack = `Thrown: ${util.inspect(e)}\\n`;\n+ } else {\n+ const ln = errStack.endsWith('\\n') ? '' : '\\n';\n+ e...
2018-12-28T13:32:16
huggingface/transformers
28a03fb78a46a27d875b8b2b06dcfbd12ee20ae4
ec85d2c44f0c9020e54144afd50fcc96fbc52e90
Fix various Pylint warnings (#40107) Tidy code Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "examples/legacy/run_chinese_ref.py", "patch": "@@ -19,14 +19,14 @@ def _is_chinese_char(cp):\n # like the all of the other languages.\n if (\n (cp >= 0x4E00 and cp <= 0x9FFF)\n- or (cp >= 0x3400 and cp <= 0x4DBF) #\n- or (cp >= 0x20000 and cp <= 0x2A6DF) #\n- ...
2025-08-15T12:40:12
golang/go
199ec4235000a51518802ce822447df5901c7df5
7c79e8ef0922ae27349cea9abd7e637ac429dfa0
debug/gosym: use sort.Search in findFunc Use sort.Search instead of open-coding the binary search. This makes the code a lot easier to work on. As a bonus, it speeds it up. name old time/op new time/op delta 115/LineToPC-8 57.4µs ± 5% 59.2µs ± 8% +3.19% (p=0.003 n=15+13) 115/PCToLine-8 ...
[ { "path": "src/debug/gosym/pclntab.go", "patch": "@@ -11,6 +11,7 @@ package gosym\n import (\n \t\"bytes\"\n \t\"encoding/binary\"\n+\t\"sort\"\n \t\"sync\"\n )\n \n@@ -319,25 +320,13 @@ func (t *LineTable) findFunc(pc uint64) funcData {\n \tif pc < t.uintptr(t.functab) || pc >= t.uintptr(t.functab[len(t.fu...
2021-10-04T21:08:05
vercel/next.js
49e8f2bbbfe6acc0a6f80ba54b679557c0dbf3b7
7e0bae4ce7438a358c8424374d1590d849092eb4
Add instructions to bug issue template (#47090) Hi everyone! Thank you for your work on this awesome framework 🙌 This short PR will add a short description on how to install the `canary` version of `next` to the `bug issue template`. It's only affecting this issue template and nothing else. Closes #47080 Co-auth...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -11,7 +11,7 @@ body:\n - type: checkboxes\n attributes:\n label: Verify canary release\n- description: '`next@canary` is the canary version of Next.js that ships daily. It includes all features and fixes that have not been re...
2023-03-13T21:02:21
nodejs/node
2370bc7143211d860fc14e710cc8400fb4004bed
5fab50bdaf6d82abc8a15bc55685211431ef3b75
test: remove unused --expose-native-as V8 flag test-preload.js was using a V8 flag (`--expose-native-as`) that made an V8 internally used object available. As this test does not use this object, this commit removes the usage of this flag. In some distant past, this internally used object may have had some external us...
[ { "path": "test/parallel/test-preload.js", "patch": "@@ -155,7 +155,7 @@ if (common.isWindows) {\n // https://github.com/nodejs/node/issues/1691\n process.chdir(fixtures.fixturesDir);\n childProcess.exec(\n- `\"${nodeBinary}\" --expose_natives_as=v8natives --require ` +\n+ `\"${nodeBinary}\" --require ` +...
2018-12-29T17:28:07
huggingface/transformers
c167faa0813ef261623d6cfcaee21ddaff607ec5
5068fcd9a80221357ebf7c3d3971c187bd2ca8e1
Fix typos (#40175) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "docs/source/en/auto_docstring.md", "patch": "@@ -290,7 +290,7 @@ The `@auto_docstring` decorator automatically generates docstrings by:\n \n 7. Adding return values to the docstring. For methods like `forward`, the decorator automatically generates the `Returns` field in the docstring based on th...
2025-08-15T12:10:26
electron/electron
fb60f7946fe3bd6562aed26c2a2a6d120e49de5a
744059b8bd8132d5fd1cfd757accc60b45ba55e2
Fixed typo
[ { "path": "docs/api/app.md", "patch": "@@ -23,7 +23,7 @@ In most cases, you should just do everything in the `ready` event handler.\n \n ## Event: ready\n \n-Emitted when Electron has finsished initialization.\n+Emitted when Electron has finished initialization.\n \n ## Event: window-all-closed\n ", "ad...
2015-08-07T05:15:59
vercel/next.js
7e0bae4ce7438a358c8424374d1590d849092eb4
d08caa88ba4332bf30de4774c886404115afc366
chore(examples): fix `@ts-ignore` in Cloudinary config (#47029) This change will remove the typescript error. cloudinary.config doesn't exist, it should be updated to cloudinary.v2.config <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible w...
[ { "path": "examples/with-cloudinary/utils/cloudinary.ts", "patch": "@@ -1,7 +1,6 @@\n import cloudinary from 'cloudinary'\n \n-// @ts-ignore\n-cloudinary.config({\n+cloudinary.v2.config({\n cloud_name: process.env.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME,\n api_key: process.env.CLOUDINARY_API_KEY,\n api_secr...
2023-03-13T20:40:21
golang/go
7c79e8ef0922ae27349cea9abd7e637ac429dfa0
17674e2f174280c38ea7ae8297571c09b6eb076b
cmd/objdump: print full disassembly when testing with -v It is helpful for debugging. Change-Id: Idd566d312037420f8341fcf502a45410a8497798 Reviewed-on: https://go-review.googlesource.com/c/go/+/353878 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by:...
[ { "path": "src/cmd/objdump/objdump_test.go", "patch": "@@ -228,7 +228,7 @@ func testDisasm(t *testing.T, srcfname string, printCode bool, printGnuAsm bool,\n \t\t}\n \t}\n \n-\tif !ok {\n+\tif !ok || testing.Verbose() {\n \t\tt.Logf(\"full disassembly:\\n%s\", text)\n \t}\n }", "additions": 1, "dele...
2021-10-04T21:06:37
huggingface/transformers
421175685d715214b216f5ee71f78992e772691c
4912d5b490a39d621b9d6f1b80df446d99e6239a
Fix fsdp for generic-task models (#40191) * remove abc inheritance * add fast test
[ { "path": "src/transformers/modeling_layers.py", "patch": "@@ -11,7 +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-from abc import ABC\n from functools import p...
2025-08-15T10:28:16
rust-lang/rust
12fc6c7cc919ff5bdbce93da70e221a060acf23f
57cbadd68ac473bc50453f6b1320a02b68115f12
fix: `semicolon_outside_block` suggests wrongly when inside macros
[ { "path": "clippy_lints/src/semicolon_block.rs", "patch": "@@ -143,7 +143,7 @@ impl LateLintPass<'_> for SemicolonBlock {\n StmtKind::Expr(Expr {\n kind: ExprKind::Block(block, _),\n ..\n- }) if !block.span.from_expansion() => {\n+ }) if !blo...
2025-06-02T05:40:31
nodejs/node
8881a5ac416118ce56413d7ce4c9bc75238a31ec
a779ee4fad71b22a35ff4fd8176e36f98ac2e684
test: make test-v8-coverage.js more strict Update the coverage test to verify that nothing is printed to stderr (which happens when coverage errors happen). Also add a test case to verify that non-absolute coverage paths work. PR-URL: https://github.com/nodejs/node/pull/25289 Fixes: https://github.com/nodejs/node/iss...
[ { "path": "test/parallel/test-v8-coverage.js", "patch": "@@ -23,6 +23,7 @@ function nextdir() {\n require.resolve('../fixtures/v8-coverage/basic')\n ], { env: { ...process.env, NODE_V8_COVERAGE: coverageDirectory } });\n assert.strictEqual(output.status, 0);\n+ assert.strictEqual(output.stderr.toSt...
2018-12-31T16:10:01
electron/electron
454085eb95d854c3bfbe5785e88536715e96e266
6e75af5c0f159981ce44eadae618976895119696
Fix cpplint warning
[ { "path": "atom/browser/ui/win/taskbar_host.cc", "patch": "@@ -126,7 +126,7 @@ bool TaskbarHost::SetProgressBar(HWND window, double value) {\n else if (value < 0)\n r = taskbar_->SetProgressState(window, TBPF_NOPROGRESS);\n else\n- r= taskbar_->SetProgressValue(window, static_cast<int>(value * 10...
2015-08-06T05:07:39
huggingface/transformers
4912d5b490a39d621b9d6f1b80df446d99e6239a
cc9997878a5ffefafbb659dbbfc5c7d2a2b78776
fix to avoid modifying a view in place (#40162) * fix to avoid modifying a view in place * add backward test in tensor parallel * add test to test_modelig_gpt_oss.py * linting
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -677,7 +677,7 @@ def _prepare_output_fn(output_layouts, use_local_output, mod, outputs, device_me\n outputs = outputs.redistribute(placements=output_layouts, async_op=True)\n outputs = outputs.to_local() # otherw...
2025-08-15T08:30:49
golang/go
739328c694d5e608faa66d17192f0a59f6e01d04
d99f1de56e7d86389a373e36ed3325e1e5069c31
cmd/compile: intrinsify publicationBarrier This CL intrinsify asm call for publicationBarrier on ARM64. As for x86 we may completly removes any instructions due to strong memory oredering, but decided to leave it as is for compiler barrier. Benchmarks Go1 ARM64: name old time/op new time/op ...
[ { "path": "src/cmd/compile/internal/arm64/ssa.go", "patch": "@@ -1132,6 +1132,10 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tp := s.Prog(obj.AGETCALLERPC)\n \t\tp.To.Type = obj.TYPE_REG\n \t\tp.To.Reg = v.Reg()\n+\tcase ssa.OpARM64DMB:\n+\t\tp := s.Prog(v.Op.Asm())\n+\t\tp.From.Type = obj.TYP...
2021-06-11T09:27:09
vercel/next.js
d08caa88ba4332bf30de4774c886404115afc366
9b40be8e444a5b4a5d23da8510dbe8d02f8d9ee8
Fix: Update README templates in `create-next-app` (#47037) To make them up to date with other templates <!-- 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 ...
[ { "path": "packages/create-next-app/templates/app/js/README-template.md", "patch": "@@ -16,9 +16,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the\n \n You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.\n \n-[API routes]...
2023-03-13T20:20:39
nodejs/node
a779ee4fad71b22a35ff4fd8176e36f98ac2e684
d32f769d75dc31773ad34b5c28ddefd2dbd84a57
coverage: pass cwd to path.resolve() in setup During coverage setup, path.resolve() is called. path.resolve() can potentially call process.cwd(), which hasn't been bootstrapped yet. This commit passes the current working directory directly so that path.resolve() doesn't attempt to compute it. PR-URL: https://github.c...
[ { "path": "lib/internal/process/coverage.js", "patch": "@@ -76,9 +76,10 @@ function setup() {\n }));\n \n try {\n+ const { cwd } = internalBinding('process_methods');\n const { resolve } = require('path');\n coverageDirectory = process.env.NODE_V8_COVERAGE =\n- resolve(process.env.NODE_V...
2018-12-31T00:47:47
electron/electron
78eac4116c656b7bb7cb2c539984726068cb7a71
dfd076a3e5e364dfa0e1b02ad9d77ecc293bdd55
Polish thumbar code. * Fix a memory leak in thumbar initialization. * Check the number of thumbar buttons, should be <= 7. * Correct to check thumbar button click event.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -27,7 +27,6 @@\n #include \"ui/views/controls/webview/unhandled_keyboard_event_handler.h\"\n #include \"ui/views/controls/webview/webview.h\"\n #include \"ui/views/window/client_view.h\"\n-#include \"ui/views/widget/desktop_aura/desktop_native_wi...
2015-08-05T05:47:59
rust-lang/rust
25563645801c9466129e709d94154de815597274
a2fd1aa46f897fc0dbe3d43e06742ed7e71106f2
Trivial: fix typo (change `foo` to `bar`) There is no `foo` symbol in the preceding example. I assume the method `bar` is meant.
[ { "path": "src/doc/rustc-dev-guide/src/return-position-impl-trait-in-trait.md", "patch": "@@ -356,7 +356,7 @@ trait Foo {\n \n Failing because a down-stream impl could theoretically provide an\n implementation for `RPITIT` without providing an implementation of\n-`foo`:\n+`bar`:\n \n ```text\n error[E0308]:...
2025-06-02T07:52:31
huggingface/transformers
85fce2e54c1677d7d7e51fd91457c461ac0a210f
52c6c1bb6e27ca87c4faede34a4c2a7404c17c4d
[MINOR:TYPO] Update base.py (#40169) * [MINOR:TYPO] Update base.py All other occurrences in the docs use lowercase. (https://github.com/search?q=repo%3Ahuggingface%2Ftransformers%20translation_XX_to_YY&type=code) Also, using uppercase doesn't work: tested with "translation_EN_to_FR" which doesn't work and instead ...
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -519,7 +519,7 @@ def check_task(task: str) -> tuple[str, dict, Any]:\n Returns:\n (normalized_task: `str`, task_defaults: `dict`, task_options: (`tuple`, None)) The normalized task name\n (removed alias and options). The ac...
2025-08-15T05:53:57
golang/go
e8a85e90aca4adb472c66f8c42f6d4a41b8cca99
2dc91a25f619c49b5d64af1b92497705a3325951
internal/fuzz: print size of interesting cache This change updates the log lines to clarify that the printed interesting count is only for newly discovered cache entries, and prints the total cache size. It only prints information about interesting entries when coverageEnabled is true. Fixes #48669 Change-Id: I2045a...
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -685,7 +685,12 @@ func (c *coordinator) logStats() {\n \t\t}\n \t} else {\n \t\trate := float64(c.count) / time.Since(c.startTime).Seconds() // be more precise here\n-\t\tfmt.Fprintf(c.opts.Log, \"fuzz: elapsed: %s, execs: %d (%.0f/sec), interesting: %d\\n...
2021-09-30T15:35:30
vercel/next.js
b21c85bceafb58f0ddec1e11393af455bd807e42
0b3e357808fbb9d679a092448c4321c2f7156127
Detect common invalid cases for the server directive (#47069) It will be crucial to detect these common problems and abort compilation, because it's intended to be using a server boundary but these problems might cause it ending up in the client. Fixes NEXT-762.
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -855,21 +855,98 @@ fn annotate_ident_as_action(\n ));\n }\n \n+const DIRECTIVE_TYPOS: &[&str] = &[\n+ \"use servers\",\n+ \"use-server\",\n+ \"use sevrer\",\n+ \"use srever\",\n+ \"use servre\",\n+ \"user ser...
2023-03-13T19:20:10
nodejs/node
d32f769d75dc31773ad34b5c28ddefd2dbd84a57
49672f45181e1cec8bc1ac5adc1946dc2639c504
coverage: use process._rawDebug() during setup console is not ready to use at this point in the bootstrapping process, so switch to process._rawDebug() instead. PR-URL: https://github.com/nodejs/node/pull/25289 Fixes: https://github.com/nodejs/node/issues/25287 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewe...
[ { "path": "lib/internal/process/coverage.js", "patch": "@@ -53,7 +53,7 @@ exports.writeCoverage = writeCoverage;\n function setup() {\n const { Connection } = internalBinding('inspector');\n if (!Connection) {\n- console.warn('inspector not enabled');\n+ process._rawDebug('inspector not enabled');...
2018-12-31T00:44:13
huggingface/transformers
52c6c1bb6e27ca87c4faede34a4c2a7404c17c4d
31b6e6e1dac0d32f74ec5cd6b3c1868534ccd7b5
Update dynamic attnt setter for multimodals (#39908) * update * fix the test for DepthPro * PR comments * wait, I didn't delete this in prev commit? * fix * better way --------- Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co> Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -121,7 +121,6 @@\n is_torch_greater_or_equal,\n is_torch_mlu_available,\n is_torch_npu_available,\n- is_torch_sdpa_available,\n is_torch_xla_available,\n is_torch_xpu_available,\n logging,\n@@ -2641,14 +2640,12 @@ def _s...
2025-08-14T19:46:13
golang/go
579ff8b1313479b795e3b536f7b9444094060b32
7d822af4500831d131562f17dcf53374469d823e
cmd/go,cmd/compile: re-enable concurrent compilation on darwin/arm64 I've manually reviewed all uses of ctxt.Flag_shared for concurrency safety. And I manually tested with the race detector and found no issues. Allow -shared to be used with compiler concurrency, thereby re-enabling concurrent compilation on darwin/arm...
[ { "path": "src/cmd/compile/internal/base/flag.go", "patch": "@@ -357,7 +357,7 @@ func concurrentBackendAllowed() bool {\n \t\treturn false\n \t}\n \t// TODO: fix races and enable the following flags\n-\tif Ctxt.Flag_shared || Ctxt.Flag_dynlink || Flag.Race {\n+\tif Ctxt.Flag_dynlink || Flag.Race {\n \t\tret...
2021-10-04T19:14:10
vercel/next.js
b146da60370d36af0ffce9c8417ce9fef85a03ba
82ed6a3b0dec4d5b382fbc44a79ceed49ad3fdcb
Refactor renderers and RenderResult (#46955) This PR does two major changes: 1. Make sure both pages renderer and app renderer return `RenderResult`, no more `null`. This was achieved with a new `null` type in the constructor `new RenderResult(null)`, and a `.isNull()` method. 2. Remove all mutations of the `ren...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -259,7 +259,8 @@ async function runOperation(renderData: RenderData) {\n renderOpt as any as RenderOpts\n );\n \n- if (!result) throw new Error(\"rendering was not successful\");\n+ if (!result || result.isNul...
2023-03-13T17:53:43
nodejs/node
da9a4d0fb4df8be01cfd5a8d582f9acbb1e10306
3c5e2372db4f1733fb9ae65baa30ae6c45546c9c
src: fix warning in cares_wrap.cc This commit fixes the following warning: ./src/cares_wrap.cc:1268:5: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] CHECK_EQ(ret->Length(), a_count + aaaa_count); PR-URL: https://github.com/nodejs/node/pull/...
[ { "path": "src/cares_wrap.cc", "patch": "@@ -1212,15 +1212,15 @@ class QueryAnyWrap: public QueryWrap {\n ret,\n addrttls,\n &naddrttls);\n- int a_count = ret->Length();\n+ uint32_t a_count = ret->Length();\n ...
2018-12-26T15:11:02
huggingface/transformers
31b6e6e1dac0d32f74ec5cd6b3c1868534ccd7b5
b02f2d8b6a46da679c152256f3bc2d965f612043
Pin torch to 2.7.1 on CircleCI for now (#40174) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/consistency.dockerfile", "patch": "@@ -5,7 +5,7 @@ ARG REF=main\n RUN apt-get update && apt-get install -y time git g++ pkg-config make git-lfs\n ENV UV_PYTHON=/usr/local/bin/python\n RUN pip install uv && uv pip install --no-cache-dir -U pip setuptools GitPython\n-RUN uv pip install --no-...
2025-08-14T18:19:35
golang/go
7d822af4500831d131562f17dcf53374469d823e
9f8d558c3b28def1b188e60e1b3b8361a461c9e2
cmd/go/internal/cfg: improve error message when GOPATH is unset Add GoPathError variable. This variable gets set when GOPATH is not set in the environment and in build.Default.GOPATH. GoPathError may be used in "GOPATH unset" error messages to explain why GOPATH is not set. This CL improves upon CL 158257. Fixes #29...
[ { "path": "src/cmd/go/internal/cfg/cfg.go", "patch": "@@ -56,6 +56,10 @@ var (\n \n \tDebugActiongraph string // -debug-actiongraph flag (undocumented, unstable)\n \tDebugTrace string // -debug-trace flag\n+\n+\t// GoPathError is set when GOPATH is not set. it contains an\n+\t// explanation why GOPATH...
2021-06-28T23:36:53
vercel/next.js
82ed6a3b0dec4d5b382fbc44a79ceed49ad3fdcb
48b9c1a23c08f42678e9c41187c1bedfb924a97f
Fix next/image config injection during static generation (#47007) Fixes #39330. I've not added a new test, but extended the existing test instead (and re-enabled it). It seems to me that a custom next/image config was not considered during static generation (which itself uses `next export`?) before. Adding the...
[ { "path": "packages/next/src/export/index.ts", "patch": "@@ -410,6 +410,7 @@ export default async function exportApp(\n 'server',\n `${NEXT_FONT_MANIFEST}.json`\n )),\n+ images: nextConfig.images,\n }\n \n const { serverRuntimeConfig, publicRuntimeConfig } = nextConfig", ...
2023-03-13T17:47:05
rust-lang/rust
4a803d26ead24aa9cfdba3717fe2e9ffdc41f0e0
d2d0f62f783b0640f7ededb25776a724031cebf7
Suppress redundant error
[ { "path": "compiler/rustc_hir/src/hir.rs", "patch": "@@ -2370,6 +2370,10 @@ impl Expr<'_> {\n // Lang item paths cannot currently be local variables or statics.\n ExprKind::Path(QPath::LangItem(..)) => false,\n \n+ // Suppress errors for bad expressions.\n+ Expr...
2025-06-02T02:19:32
nodejs/node
d28980c46411ef1b10003b5c966938d6cd4d16d9
00babd38f37b9305281c5c290840978fb8b4c0aa
crypto: add crypto/keys to cannotUseCache Currently when configuring --without-ssl test-code-cache.js will fail with the following error: internal/bootstrap/loaders.js:151 mod = bindingObj[module] = getInternalBinding(module); ^ Error: No such module: crypto at internalBindi...
[ { "path": "lib/internal/bootstrap/cache.js", "patch": "@@ -55,6 +55,7 @@ if (!process.versions.openssl) {\n 'internal/crypto/diffiehellman',\n 'internal/crypto/hash',\n 'internal/crypto/keygen',\n+ 'internal/crypto/keys',\n 'internal/crypto/pbkdf2',\n 'internal/crypto/random',\n '...
2018-12-27T07:56:08
golang/go
cc5e3de593afca73cf1b4d732ddceffb2837b390
94323206aee1363471a4ae3b8d40dd4ae7a5cd9c
crypto/tls: use cryptobyte.NewFixedBuilder Change-Id: Ia2a9465680e766336dae34f5d2b3cb412185bf1f Reviewed-on: https://go-review.googlesource.com/c/go/+/318131 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Roland Shoem...
[ { "path": "src/crypto/tls/handshake_messages.go", "patch": "@@ -329,16 +329,15 @@ func (m *clientHelloMsg) updateBinders(pskBinders [][]byte) {\n \tm.pskBinders = pskBinders\n \tif m.raw != nil {\n \t\tlenWithoutBinders := len(m.marshalWithoutBinders())\n-\t\t// TODO(filippo): replace with NewFixedBuilder o...
2021-05-08T05:07:30
huggingface/transformers
b02f2d8b6a46da679c152256f3bc2d965f612043
8a658ac119028ccb6a3a8a4f75eec390741725a2
Add dates to the model docs (#39320) * added dates to the models with a single hf papers link * added the dates for models with multiple papers * half of no_papers models done * rest of no_papers models also done, only the exceptions left * added copyright disclaimer to sam_hw, cohere, cohere2 + dates * some more...
[ { "path": "Makefile", "patch": "@@ -52,6 +52,7 @@ repo-consistency:\n \tpython utils/check_doctest_list.py\n \tpython utils/update_metadata.py --check-only\n \tpython utils/check_docstrings.py\n+\tpython utils/add_dates.py\n \n # this target runs checks on all files\n ", "additions": 1, "deletions":...
2025-08-14T17:08:46
vercel/next.js
48b9c1a23c08f42678e9c41187c1bedfb924a97f
e7cbf4b57d111b88f6deecab9a2e61f98383b8df
Prevent `handleDisconnect` being called twice (#46959) ### Fixing a bug When a timeout occurs the `handleDisconnect` can be called twice on my machine (Chrome 110.0.5481.178). Once by the timeout code, and once by the `onerror` handler, possibly triggered by the `source.close()` call. This leads to every timeout...
[ { "path": "packages/next/src/client/dev/error-overlay/websocket.ts", "patch": "@@ -51,6 +51,7 @@ export function connectHMR(options: {\n let timer: NodeJS.Timeout\n function handleDisconnect() {\n clearInterval(timer)\n+ source.onerror = null\n source.close()\n setTimeout(init...
2023-03-13T17:34:45
rust-lang/rust
c5e758d3ad5e17579644c1d0a17a194ceba60328
99e7c15e81385b38a8186b51edc4577d5d7b5bdd
Fixed a typo in `ManuallyDrop`'s doc
[ { "path": "library/core/src/mem/manually_drop.rs", "patch": "@@ -84,7 +84,7 @@ use crate::ptr;\n /// use std::mem::ManuallyDrop;\n ///\n /// pub struct BadOption<T> {\n-/// // Invariant: Has been dropped iff `is_some` is false.\n+/// // Invariant: Has been dropped if `is_some` is false.\n /// va...
2025-06-01T23:55:29
nodejs/node
af237152cdb0b7b5a4495e84cdf4b170f6ddd361
7163fbf066fe3e84a2203c01a385df1765d53ab6
process: split worker IO into internal/worker/io.js - Move `setupProcessStdio` which contains write access to the process object into `bootstrap/node.js` - Move `MessagePort`, `MessageChannel`, `ReadableWorkerStdio`, and `WritableWorkerStdio` into `internal/worker/io.js` - Move more worker-specific bootstrap code ...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -140,9 +140,13 @@ function startup() {\n }\n \n if (isMainThread) {\n- mainThreadSetup.setupStdio();\n+ const { getStdout, getStdin, getStderr } =\n+ NativeModule.require('internal/process/stdio').getMainThreadStdio();\n+ setupProces...
2018-12-23T03:53:05
golang/go
94323206aee1363471a4ae3b8d40dd4ae7a5cd9c
3bbc82371eb801ce489f77359f0badc8e469c26d
cmd/compile: fix PPC64.rules to correct failure in issue45344.go with regabi This changes a rule in PPC64.rules to fix a failure in test/issue45344.go when regabi is enabled. Change-Id: I98baf2ae92c766b7276b0f3167b2e6fef37dfe84 Reviewed-on: https://go-review.googlesource.com/c/go/+/353789 Run-TryBot: Lynn Boger <labo...
[ { "path": "src/cmd/compile/internal/ssa/gen/PPC64.rules", "patch": "@@ -580,7 +580,7 @@\n (Store {t} ptr val mem) && t.Size() == 8 && is64BitFloat(val.Type) => (FMOVDstore ptr val mem)\n (Store {t} ptr val mem) && t.Size() == 8 && is32BitFloat(val.Type) => (FMOVDstore ptr val mem) // glitch from (Cvt32Fto64...
2021-10-04T13:00:20
huggingface/transformers
8a658ac119028ccb6a3a8a4f75eec390741725a2
2b6cbedeb2595baa3ee25a951cb323ff3b25b6ca
Standardize BARTpho model card: badges, new examples, fixed broken im… (#40051) * Standardize BARTpho model card: badges, new examples, fixed broken image section, and links (#36979)Update bartpho.md * Update bartpho.md Removed non-required/unsupported sections: Quantization, Attention visualizer, and Resources (plu...
[ { "path": "docs/source/en/model_doc/bartpho.md", "patch": "@@ -14,79 +14,98 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# BARTpho\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\...
2025-08-14T16:55:27
rust-lang/rust
0a7e59265a3432d6544b35d93120b66f45a67159
c6df6a72d8f2463985b6b130673536e6d4cc7cbf
Upgrade all dependencies to the latest available version In particular, this includes a fix to `iai-callgrind` that will allow us to simplify our benchmark runner.
[ { "path": "library/compiler-builtins/builtins-test/Cargo.toml", "patch": "@@ -10,19 +10,19 @@ license = \"MIT AND Apache-2.0 WITH LLVM-exception AND (MIT OR Apache-2.0)\"\n # For fuzzing tests we want a deterministic seedable RNG. We also eliminate potential\n # problems with system RNGs on the variety of p...
2025-06-01T19:22:42
vercel/next.js
e7cbf4b57d111b88f6deecab9a2e61f98383b8df
97299a67a7ae3b623c6a44f88a238b56e9dd2bec
Update _mongoClientPromise type error (#46985) Fixes #46983. The type of `_mongoClientPromise` has been added as Promise<MongoClient> which fixes the error. … file @/examples/with-mongodb/lib/mongodb.ts ![image](https://user-images.githubusercontent.com/96732471/224264097-2f4f3181-73b3-4ebd-b756-2301bab1a3fd.png)...
[ { "path": "examples/with-mongodb/lib/mongodb.ts", "patch": "@@ -13,11 +13,15 @@ let clientPromise: Promise<MongoClient>\n if (process.env.NODE_ENV === 'development') {\n // In development mode, use a global variable so that the value\n // is preserved across module reloads caused by HMR (Hot Module Repl...
2023-03-13T16:48:46
electron/electron
3b05b135a513d658f216009faab3e9b6745cdd5c
6b65a6611996523f9f26d1e6e408a7cddf7d1b35
tracing: fix api and docs
[ { "path": "atom/browser/api/atom_api_content_tracing.cc", "patch": "@@ -7,6 +7,7 @@\n \n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n #include \"base/bind.h\"\n+#include \"base/files/file_util.h\"\n #include \"content/public/browser/tracing_controller.h\"\n #include \"native_mate/...
2015-08-04T20:12:57
nodejs/node
7163fbf066fe3e84a2203c01a385df1765d53ab6
da13c44b0d3e858e6195a56534deb5c22be161c5
process: move eval and exception bootstrap ito process/execution.js This patch: - Moves `tryGetCwd`, `evalScript` and `fatalException` from `bootstrap/node.js` into `process/execution.js` so that they do have to be passed into the worker thread setup function, instead the worker code can require them when nec...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -18,16 +18,30 @@\n \n const { internalBinding, NativeModule } = loaderExports;\n \n-const exceptionHandlerState = { captureFn: null };\n let getOptionValue;\n \n function startup() {\n setupTraceCategoryState();\n \n setupProcessObject();\n \n- /...
2018-12-23T03:42:28
golang/go
a7fe161ccceb330cd1f19cd103a61f8deacbbdc3
07a7c6f904a4deed9a37bf5c79a1c3d21d623347
net: don't use syscall.NET_RT_IFLISTL on FreeBSD The golang.org/x/net/route package can't parse the RIB returned by NET_RT_IFLISTL. Use the route.RIBTypeInterface constant instead, leaving the choice of syscall up to the route package. Fixes #48553. Change-Id: Ida4bd6e332c0dc6dc871d3a93cfb56c0fbc93e1b Reviewed-on: h...
[ { "path": "src/net/interface_freebsd.go", "patch": "@@ -11,16 +11,11 @@ import (\n )\n \n func interfaceMessages(ifindex int) ([]route.Message, error) {\n-\ttyp := route.RIBType(syscall.NET_RT_IFLISTL)\n-\trib, err := route.FetchRIB(syscall.AF_UNSPEC, typ, ifindex)\n+\trib, err := route.FetchRIB(syscall.AF_...
2021-10-02T00:45:09
huggingface/transformers
2b6cbedeb2595baa3ee25a951cb323ff3b25b6ca
b834cb813862387c7148ca86cdab68d2a959d7f3
Add GptOssForSequenceClassification for GPT-OSS models (#40043) * Add GptOssForSequenceClassification * Tiny fix * make fixup * trigger CI rerun * Check config type instead --------- Co-authored-by: Yuefeng Zhan <yuefzh@microsoft.com>
[ { "path": "docs/source/en/model_doc/gpt_oss.md", "patch": "@@ -56,3 +56,8 @@ The original code can be found [here](<INSERT LINK TO GITHUB REPO HERE>).\n \n [[autodoc]] GptOssForCausalLM\n - forward\n+\n+## GptOssForSequenceClassification\n+\n+[[autodoc]] GptOssForSequenceClassification\n+ - forward",...
2025-08-14T16:32:14
rust-lang/rust
c6df6a72d8f2463985b6b130673536e6d4cc7cbf
3c35505fe9c1a0f2c15c780709ed9812f8a332f0
Fix new `dead_code` warnings from recent nightlies
[ { "path": "library/compiler-builtins/libm/src/math/support/float_traits.rs", "patch": "@@ -6,6 +6,7 @@ use super::int_traits::{CastFrom, Int, MinInt};\n \n /// Trait for some basic operations on floats\n // #[allow(dead_code)]\n+#[allow(dead_code)] // Some constants are only used with tests\n pub trait Floa...
2025-06-01T19:41:03
vercel/next.js
97299a67a7ae3b623c6a44f88a238b56e9dd2bec
9af72fa06e668114d01d9884ca6fda12d720e702
[with-jest]: Update to use automatic path aliases (#46982) <!-- 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: ## For ...
[ { "path": "examples/with-jest/jest.config.js", "patch": "@@ -8,12 +8,6 @@ const createJestConfig = nextJest({\n // Add any custom config to be passed to Jest\n const customJestConfig = {\n setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],\n- moduleNameMapper: {\n- // Handle module aliases (this will be...
2023-03-13T16:40:53
nodejs/node
48a88c824f31cfa5398caba892d2778fad93a5a5
2f981cdd5824845aeaf0abb0412b64bb31f49225
doc: include license for src/large_pages in LICENSE Include License for src/large_pages (MIT licensed by Intel), to the main LICENSE file and make required changes to the tools/license-builder.sh script. Fixes: https://github.com/nodejs/node/issues/25238 PR-URL: https://github.com/nodejs/node/pull/25246 Reviewed-By:...
[ { "path": "LICENSE", "patch": "@@ -1325,3 +1325,26 @@ The externally maintained libraries used by Node.js are:\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n IN THE SOFTWARE.\n \"\"\"\n+\n+- large_pages, located at src/large_pages, is licensed as follows:\n+ \"\"...
2018-12-28T07:21:15
huggingface/transformers
b834cb813862387c7148ca86cdab68d2a959d7f3
6f259bc83e518c281877cfc90efe61bf8a79bba0
build: Add fast image processor tvp (#39529) * build: add TvpImageProcessorFast - Introduced TvpImageProcessorFast to enhance image processing capabilities. - Updated image processing auto registration to include the new fast processor. - Modified tests to accommodate both TvpImageProcessor and TvpImageProcessorFast,...
[ { "path": "docs/source/en/model_doc/tvp.md", "patch": "@@ -174,6 +174,11 @@ Tips:\n [[autodoc]] TvpImageProcessor\n - preprocess\n \n+## TvpImageProcessorFast\n+\n+[[autodoc]] TvpImageProcessorFast\n+ - preprocess\n+\n ## TvpProcessor\n \n [[autodoc]] TvpProcessor", "additions": 5, "deletions...
2025-08-14T15:48:18
golang/go
07a7c6f904a4deed9a37bf5c79a1c3d21d623347
7bf7bbc2419795f11b2a4fd482ae67d6f66e2df8
test/typeparam: require -G=3 for issue48424.go (fix build) Change-Id: Icabef5cf75770ffde012b1fc785a72f53f9b2c46 Reviewed-on: https://go-review.googlesource.com/c/go/+/353669 Trust: Robert Griesemer <gri@golang.org> Trust: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot...
[ { "path": "test/typeparam/issue48424.go", "patch": "@@ -1,4 +1,4 @@\n-// run\n+// run -gcflags=-G=3\n \n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-10-02T04:02:43
nodejs/node
571273adad22ba2f77221e10b85de501c48b1102
9b60bcb3b92cb499e0ca16682260c403ac4b164e
win, build: fix building addons on Windows Building addons would fail because addon-verify.js dependencies from tools\doc where not installed. This fixes this issue by installing those dependencies if addons are to be built. Fixes: https://github.com/nodejs/node/issues/25096 PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "vcbuild.bat", "patch": "@@ -446,8 +446,8 @@ if errorlevel 1 goto exit\n \n \n :install-doctools\n-REM only install if building doc OR testing doctool\n-if not defined doc (\n+REM only install if building doc OR testing doctool OR building addons\n+if not defined doc if not defined build_addons (\...
2018-12-18T13:11:54
golang/go
7bf7bbc2419795f11b2a4fd482ae67d6f66e2df8
afe43f1e5e0d256341689195454527726b26ccae
cmd/go: remove double parallelism from "go fmt" Now that gofmt knows how to format many files in parallel, there's no need for "go fmt" to have its own parallelism. Instead of running "gofmt -l -w $file" in parallel with GOMAXPROCS, simply collect a large list of files and hand it to "gofmt -l -w $files". The benchma...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -31,7 +31,6 @@ import (\n \t\"cmd/go/internal/cache\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/robustio\"\n-\t\"cmd/go/internal/work\"\n \t\"cmd/internal/sys\"\n )\n \n@@ -1378,7 +1377,7 @@ func TestLdFlagsLongArgumentsIssue42295(t *testing.T) {\n \t\...
2021-01-16T18:03:31
huggingface/transformers
6f259bc83e518c281877cfc90efe61bf8a79bba0
41980ce93e775f6c88500c51c8db7946fc6a2add
Fix docs typo (#40167) * DINOv3 model * working version * linter revert * linter revert * linter revert * fix init * remove flex and add convert to hf script * DINOv3 convnext * working version of convnext * adding to auto * Dinov3 -> DINOv3 * PR feedback * complete convert checkpoint * fix assertion * b...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -763,6 +763,8 @@\n title: DINOV2\n - local: model_doc/dinov2_with_registers\n title: DINOv2 with Registers\n+ - local: model_doc/dinov3\n+ title: DINOv3\n - local: model_doc/dit\n title: DiT\n - local...
2025-08-14T15:29:53
vercel/next.js
8ae2df0f1053783f0ae034e49568a07119cd1876
b98469c86b74b06b55fc4c59bcf87d034e1919f1
Integrate next-* crates from Turbopack (#47019) Update workspace cargo deps Update cargo deps to point to local workspace Ignore too-many-arguments warnings Fix clippy errors Update pnpm workspaces exclude integration tests from unit tests CI rust-analyzer settings add rust flags and env vars
[ { "path": ".alexignore", "patch": "@@ -1,2 +1,3 @@\n CODE_OF_CONDUCT.md\n examples/\n+**/*/LICENSE.md", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1127,7 +1127,7 @@ jobs:\n toolchain: ${{ env.R...
2023-03-10T20:59:54
golang/go
afe43f1e5e0d256341689195454527726b26ccae
64da5e0fd5979ba489e03cedf3c63c21f8bfcefe
context: implement Context.Value using iteration rather than recursion In profiles of a production server, 2.3% of CPU time is spent in runtime.newstack for stacks with 12 or more chained Context.Value calls. Using iteration will avoid some needless stack resizes. When calling Context.Value in the same goroutine (see...
[ { "path": "src/context/benchmark_test.go", "patch": "@@ -152,3 +152,39 @@ func BenchmarkContextCancelDone(b *testing.B) {\n \t\t}\n \t})\n }\n+\n+func BenchmarkDeepValueNewGoRoutine(b *testing.B) {\n+\tfor _, depth := range []int{10, 20, 30, 50, 100} {\n+\t\tctx := Background()\n+\t\tfor i := 0; i < depth; ...
2021-07-19T11:49:57
huggingface/transformers
41980ce93e775f6c88500c51c8db7946fc6a2add
eba1d62091a84644f0de8aede67da37fe5344a93
[bugfix] fix flash-attention2 unavailable error for Ascend NPU (#40151) * [bugfix] fix flash-attention2 unavailable error for Ascend NPU * remove redundant apply_rotary_emb usage * fix ruff check error * pad_input and unpad_input use same implementation as fa2 * rollback redundant codes * fix ruff check error * ...
[ { "path": "src/transformers/integrations/npu_flash_attention.py", "patch": "@@ -19,7 +19,7 @@\n \n \n if is_torch_npu_available():\n- from torch_npu import npu_fusion_attention, npu_rotary_mul\n+ from torch_npu import npu_fusion_attention\n \n \n # FlashAttention2 is supported on Ascend NPU with down-...
2025-08-14T12:21:39
electron/electron
c0ce8723d49d7ae0923b352aca95e32a9f4e0df3
9dab6e02ca5e713a0a10b6af9960578cad360653
Fix typo
[ { "path": "atom/renderer/lib/web-view/guest-view-internal.coffee", "patch": "@@ -27,7 +27,7 @@ WEB_VIEW_EVENTS =\n 'leave-html-full-screen': []\n \n dispatchEvent = (webView, event, args...) ->\n- throw new Error(\"Unkown event #{event}\") unless WEB_VIEW_EVENTS[event]?\n+ throw new Error(\"Unknown even...
2015-07-31T18:16:26
golang/go
cf241a34a2ee8b337e11731958d918cbfd338caf
c129af90eb20a5723fc7ed19b19afe054036fe71
net: consistently return DNSError on lookup failure Previously if we failed because the context timed out or was canceled, we returned errCanceled or errTimeout. Fixes #39178 Change-Id: I11bd7ebfaa7e5775fb05dfbb6b67f8307c8d8697 Reviewed-on: https://go-review.googlesource.com/c/go/+/353400 Trust: Ian Lance Taylor <ia...
[ { "path": "src/net/lookup.go", "patch": "@@ -316,18 +316,39 @@ func (r *Resolver) lookupIPAddr(ctx context.Context, network, host string) ([]IP\n \t\t\t\tlookupGroupCancel()\n \t\t\t}()\n \t\t}\n-\t\terr := mapErr(ctx.Err())\n+\t\tctxErr := ctx.Err()\n+\t\terr := &DNSError{\n+\t\t\tErr: mapErr(ctxErr)...
2021-09-30T23:35:52
huggingface/transformers
eba1d62091a84644f0de8aede67da37fe5344a93
1c5d2f7fb6c56e50a7aea48d55597682a8975b5b
[FA2] Fix it finally - revert fa kwargs preparation (#40161) revert
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -46,7 +46,6 @@\n from ..integrations.deepspeed import is_deepspeed_zero3_enabled\n from ..integrations.fsdp import is_fsdp_managed_module\n from ..masking_utils import create_masks_for_generate\n-from ..modeling_flash_attention_utils import prep...
2025-08-14T11:39:11
vercel/next.js
baa22255dab5dbc96e95fbf04dd4b21526b60cde
cbd3c2983ab8730594d7a9633f56a39c1e5b920f
Initial support of redirection in server handlers (#46944 This is an initial implementation of POST-driven redirection handling: https://vercel.slack.com/archives/C035J346QQL/p1678321389089839. Highly experimental. Fixes NEXT-803, fixes NEXT-804.
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -152,8 +152,6 @@ function useInitialServerResponse(cacheKey: string): Promise<JSX.Element> {\n \n const newResponse = createFromReadableStream(readable, {\n async callServer(id: string, args: any[]) {\n- console.log('callServer', id...
2023-03-13T13:20:27
electron/electron
9dab6e02ca5e713a0a10b6af9960578cad360653
2eaaad610dbf7715694c986236411d28e370a6ad
Fix typo
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -184,7 +184,7 @@ const char* AppCommandToString(int command_id) {\n case APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE:\n return \"dictate-or-command-control-toggle\";\n default:\n- return \"unkown\";\n+ return \"unknown\";...
2015-07-31T18:14:50
golang/go
0d65c272c9e494cbb604f2bee99d434b8cde46ff
243d65c8e551be424008a3dfcaf5c87dc1f35a77
cmd/compile: remove typeparam subscripts, use func/type prefix for uniqueness In types1 and for the export format, we were using type param subscripts coming from types2 (originally for debugging) to provide unique names. We need unique full-names for type params in types1 to ensure consistent references to type param...
[ { "path": "src/cmd/compile/internal/importer/iimport.go", "patch": "@@ -362,13 +362,13 @@ func (r *importReader) obj(name string) {\n \t\tif r.p.exportVersion < iexportVersionGenerics {\n \t\t\terrorf(\"unexpected type param type\")\n \t\t}\n-\t\tname0, sub := parseSubscript(name)\n-\t\ttn := types2.NewType...
2021-09-29T17:54:27
huggingface/transformers
c47544b16f36d3529d26efa048baaa38c576fd54
22e89e538529420b2ddae6af70865655bc5c22d8
Fix CI: Use correct import in SAM for torchvision InterpolationMode (#40160) fix ci
[ { "path": "src/transformers/models/sam/image_processing_sam_fast.py", "patch": "@@ -243,9 +243,9 @@ def _preprocess_image_like_inputs(\n {\n \"do_normalize\": False,\n \"do_rescale\": False,\n- \"interpolation\": F.InterpolationMode....
2025-08-14T10:53:23
golang/go
243d65c8e551be424008a3dfcaf5c87dc1f35a77
33576247e295b19311484d943d85495006d2fb39
bufio: reject UnreadByte or UnreadRune after a Discard or WriteTo Discard is not really a read operation, and in theory it could Seek the underlying Reader without actually reading anything, so an UnreadByte following a Discard is disallowed. Similarly, although WriteTo usually does end up calling Read on the underly...
[ { "path": "src/bufio/bufio.go", "patch": "@@ -173,6 +173,10 @@ func (b *Reader) Discard(n int) (discarded int, err error) {\n \tif n == 0 {\n \t\treturn\n \t}\n+\n+\tb.lastByte = -1\n+\tb.lastRuneSize = -1\n+\n \tremain := n\n \tfor {\n \t\tskip := b.Buffered()\n@@ -266,8 +270,8 @@ func (b *Reader) ReadByte...
2021-09-23T15:56:16
electron/electron
9fb03d584c4f2ebcc726c652748eb5661f36f4b3
239d535cac0ad766f78d5760c55abdde0504d0b9
add spec and fix docs
[ { "path": "docs/api/browser-window.md", "patch": "@@ -910,7 +910,9 @@ Injects CSS into this page.\n * `code` String\n * `userGesture` Boolean - Default false\n \n-Evaluates `code` in page. If `userGesture` is set will simulate user gesture.\n+Evaluates `code` in page. If `userGesture` is set will create use...
2015-07-30T16:26:57
huggingface/transformers
22e89e538529420b2ddae6af70865655bc5c22d8
252364fd8e88f14fe588912b0992f3d016495355
[efficientloftr] fix bugs and follow original cross attn implementation strictly (#40141) * fix: changed is_causal to be False * fix: Added original cross attention bug * fix: fixed the way bordel removal is computed * fix: added missing normalization on coarse features * test: fixed integration tests --------- ...
[ { "path": "src/transformers/models/efficientloftr/modeling_efficientloftr.py", "patch": "@@ -322,7 +322,6 @@ def eager_attention_forward(\n class EfficientLoFTRAttention(nn.Module):\n \"\"\"Multi-headed attention from 'Attention Is All You Need' paper\"\"\"\n \n- # Copied from transformers.models.lla...
2025-08-14T09:42:59
nodejs/node
6c7c77ef05a04ffa5532056f8a1ea44a946c2014
ad10cc57ee5303761d6b35b1c6c68f16b60a9f99
util: fix util.inspect with proxied function PR-URL: https://github.com/nodejs/node/pull/25244 Fixes: https://github.com/nodejs/node/issues/25212 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ujjwal Sharma <ush...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -628,7 +628,10 @@ function formatRaw(ctx, value, recurseTimes) {\n }\n } else if (typeof value === 'function') {\n const type = constructor || tag || 'Function';\n- const name = `${type}${value.name ? `: ${value.name}` : ''}`;\n+ ...
2018-12-28T02:03:00
vercel/next.js
5cf4219686a4a9d9a6537af5b8928713a2ec5a7e
acb174455ffab14d41d73cc6244e6e3f60ba9677
Fix URL anchor position in `going-to-production.md` (#47056) Fix an anchor currently not working properly.
[ { "path": "docs/going-to-production.md", "patch": "@@ -109,7 +109,7 @@ Since Next.js runs on both the client and server, there are multiple forms of lo\n - `console.log` in the browser\n - `stdout` on the server\n \n-If you want a structured logging package, we recommend [Pino](https://www.npmjs.com/package...
2023-03-13T06:01:37
electron/electron
c69002b0dd517e3c0e9698851a3ac457337c67e4
2eaaad610dbf7715694c986236411d28e370a6ad
Fix: browser window will be resiable when calling `window.setResizable(false)` twice.
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -589,7 +589,7 @@ - (void)drawRect:(NSRect)dirtyRect {\n [window_ setStyleMask:[window_ styleMask] | NSResizableWindowMask];\n } else {\n [[window_ standardWindowButton:NSWindowZoomButton] setEnabled:NO];\n- [window_ setStyleMask:[windo...
2015-07-31T01:57:08
huggingface/transformers
12e49cda32a5301fe94df0d1a96d6756472ff81d
e651ae0a32d6603dee91c41985b4177fb0f562ae
Fix quantized cache with only cache_implementation in generate (#40144) * fix args * comment
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1990,19 +1990,20 @@ def _prepare_cache_for_generation(\n \"cache, please open an issue and tag @zucchini-nlp.\"\n )\n \n- cache_config = (\n- generation_config.cache_...
2025-08-13T21:21:41
nodejs/node
76ecec208266d2f49660e5db2a8ebbbcc1d841c7
0043c6f5482993f7d91d6a78edeb310147895fb5
buffer: fix crash for invalid index types 2555cb4a4049dc4c41d8a2f4ce50909cc0a12a4a introduced a crash when a non-number value was passed to `ParseArrayIndex()`. We do not always have JS typechecking for that in place, though. This returns back to the previous behavior of coercing values to integers, which is certainl...
[ { "path": "src/node_buffer.cc", "patch": "@@ -40,17 +40,18 @@\n \n #define THROW_AND_RETURN_IF_OOB(r) \\\n do { \\\n- if (!(r)) \\\...
2018-10-21T04:44:48
golang/go
8b2f583ad141b1123b26a75202ead2d4eaf143ef
70b1a45425a5e456b4e347e96fc94f94b04ce121
cmd/compile: correct comment: walkSwitch -> walkSelect fix typo Change-Id: Ie2470e494ba95eed067ad42677520b35b383555f GitHub-Last-Rev: 831f1973194f55b435dcdc6ef30290848228a114 GitHub-Pull-Request: golang/go#47117 Reviewed-on: https://go-review.googlesource.com/c/go/+/333789 Reviewed-by: Matthew Dempsky <mdempsky@googl...
[ { "path": "src/cmd/compile/internal/ir/stmt.go", "patch": "@@ -338,7 +338,7 @@ type SelectStmt struct {\n \tHasBreak bool\n \n \t// TODO(rsc): Instead of recording here, replace with a block?\n-\tCompiled Nodes // compiled form, after walkSwitch\n+\tCompiled Nodes // compiled form, after walkSelect\n }\n \n...
2021-07-10T04:11:22
vercel/next.js
acb174455ffab14d41d73cc6244e6e3f60ba9677
0bee9e6f924adb4bc86fc8309d1227651eeee3a9
Fix generateStaticParams check in app dir (#47051) This ensures our `params` checking works properly with `app` dir. x-ref: [slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1678659475821299)
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1005,7 +1005,7 @@ export async function buildStaticPaths({\n // If from appDir and not all params were provided from\n // generateStaticParams we can just filter this entry out\n // as it's meant to be generated at run...
2023-03-13T00:05:35
nodejs/node
a84e0ec0dd20d0585d5c626f7ba333eb38d2221a
4100001624a4cc88c61143e2678bf80c2aacd922
src: ignore termination exceptions in fatal TryCatch We don’t want these to terminate the process in case of Worker threads receiving a termination exception, rather than a “real one”. PR-URL: https://github.com/nodejs/node/pull/25141 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell...
[ { "path": "src/node_errors.cc", "patch": "@@ -315,7 +315,7 @@ void OnFatalError(const char* location, const char* message) {\n namespace errors {\n \n TryCatchScope::~TryCatchScope() {\n- if (HasCaught() && mode_ == CatchMode::kFatal) {\n+ if (HasCaught() && !HasTerminated() && mode_ == CatchMode::kFatal)...
2018-12-19T22:07:53
vercel/next.js
c110dfd57c754f88cb239dc154a4b7d49e5696a3
74891fde180281cabbc0e7472dd986ab8c76df03
fix: exclude 'mdx-bundler' from being bundled in server components (#46992) `mdx-bundler` is used for server-side transformation of MDX files and currently using it within server components will throw a `Module parse failed: Unexpected token` error. Adding `serverComponentsExternalPackages: ['mdx-bundler']` to `next....
[ { "path": "packages/next/src/lib/server-external-packages.json", "patch": "@@ -14,6 +14,7 @@\n \"jest\",\n \"jsdom\",\n \"lodash\",\n+ \"mdx-bundler\",\n \"mongodb\",\n \"next-mdx-remote\",\n \"next-seo\",", "additions": 1, "deletions": 0, "language": "JSON" } ]
2023-03-11T02:12:10
huggingface/transformers
e651ae0a32d6603dee91c41985b4177fb0f562ae
0f9c2595cd6e113e0f1780181314838cbd5e716a
🌐 [i18n-KO] Translated `gemma3.md` to Korean (#39865) * docs: ko: gemma3.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> * fix: resolve suggestions --------- Co-authored-by: Chaewon Song <chaewon1019@ewhain.net>
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -1053,7 +1053,7 @@\n title: Emu3\n - local: in_translation\n title: FLAVA\n- - local: in_translation\n+ - local: model_doc/gemma3\n title: Gemma3\n - local: in_translation\n title: Gemma3n", "addi...
2025-08-13T20:25:20
electron/electron
e0a117414b9ff6f999a73a07a2ebac0c2be1ce8e
2ab079dc7dea8380e159761a891d3cb1f3f7e2c1
Add missing dependency for ubuntu build I tried to follow the document to build electron on a fresh clean built Ubuntu 15.04. I encountered the following error message when trying to run ./script/bootstrap.py -v Package nss was not found in the pkg-config search path. Perhaps you should add the directory contain...
[ { "path": "docs/development/build-instructions-linux.md", "patch": "@@ -17,7 +17,7 @@ On Ubuntu, install the following libraries:\n $ sudo apt-get install build-essential clang libdbus-1-dev libgtk2.0-dev \\\n libnotify-dev libgnome-keyring-dev libgconf2-dev \\\n ...
2015-07-30T08:21:17