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
electron/electron
4f4456bde8475fbfd3a45c6b554e5c87d5c00f9b
45ddbb6d6790094b322cd95d7c19a8ac9801a95c
Clean up indent eslint errors
[ { "path": "atom/common/lib/asar.js", "patch": "@@ -1,587 +1,587 @@\n (function () {\n-const asar = process.binding('atom_common_asar');\n-const child_process = require('child_process');\n-const path = require('path');\n-const util = require('util');\n+ const asar = process.binding('atom_common_asar');\n+ ...
2016-01-19T18:25:03
golang/go
49b7c9caec6b96d0b327624efee61bd8a72cf68c
56817040d53187abcd568af0eea27cc21379c0ad
net/netip: make Prefix.MarshalText format 4-in-6 IPs consistently Fixes #50115. Change-Id: Iac76e5b486d3a2a784583345eaeb22c31cc4a36d Reviewed-on: https://go-review.googlesource.com/c/go/+/371134 Trust: Matt Layher <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfit...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -1422,7 +1422,12 @@ func (p Prefix) AppendTo(b []byte) []byte {\n \tif p.ip.z == z4 {\n \t\tb = p.ip.appendTo4(b)\n \t} else {\n-\t\tb = p.ip.appendTo6(b)\n+\t\tif p.ip.Is4In6() {\n+\t\t\tb = append(b, \"::ffff:\"...)\n+\t\t\tb = p.ip.Unmap().appendTo4(b)\n+\...
2021-12-12T15:53:17
huggingface/transformers
aee5c2384a176e110377af6259c799ea8cc29696
5b6c209bc5a19b80c866279ee0c8e124ff7e4e49
DOC Fix typo in argument name: pseudoquant (#41994) The correct argument name is pseudoquantization. Since there is no error on passing wrong arguments name (which is arguably an anti-pattern), this is difficult for users to debug.
[ { "path": "docs/source/en/quantization/fp_quant.md", "patch": "@@ -40,7 +40,7 @@ You can choose between MXFP4 and NVFP4 with `FPQuantConfig(forward_dtype=\"mxfp4\"\n \n A **Blackwell-generation GPU is required** to run the kernels. Runtime support for FP-Quant is implemented through the [QuTLASS](https://gi...
2025-11-04T09:48:39
vercel/next.js
dd4c35fd86a8131f4556ed7adc34c7827157023b
b7d10156b0e1b49a89dcc0db85b29964ba961821
Fix hang up when loading duplicated CSS module chunks (vercel/turbo#4879) ### Description I identified this issue when authoring a test for PostCSS. Here's how it goes: 1. CSS chunk 1 loads with module chunk A and source = runtime. This marks chunk A as an available module chunk. The promise for A is the same...
[ { "path": "crates/turbopack-dev/js/src/runtime.dom.js", "patch": "@@ -18,15 +18,8 @@ let BACKEND;\n \n for (const otherChunkData of params.otherChunks) {\n const otherChunkPath = getChunkPath(otherChunkData);\n- if (otherChunkPath.endsWith(\".css\")) {\n- // Mark all CSS chunks...
2023-05-09T14:52:21
electron/electron
45ddbb6d6790094b322cd95d7c19a8ac9801a95c
fbfbf2158a2722ac07e53f86b5fed77aea94a31f
Clean up no-unreachable lint errors
[ { "path": "atom/renderer/api/lib/remote.js", "patch": "@@ -111,7 +111,6 @@ var metaToValue = function(meta) {\n return new Date(meta.value);\n case 'exception':\n throw new Error(meta.message + \"\\n\" + meta.stack);\n- break;\n default:\n if (meta.type === 'function') {\n ...
2016-01-19T18:21:18
huggingface/transformers
258c76e4dc00953c67bde7900602586fb8754006
64397a830188a35b5e9056036e13bb6ccfe434d8
Fix `run slow v2`: empty report when there is only one model (#42002) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled.yml", "patch": "@@ -102,8 +102,10 @@ jobs:\n working-directory: /transformers/tests\n run: |\n if [ \"${{ inputs.job }}\" = \"run_models_gpu\" ]; then\n- echo \"folder_slices=$(python3 ../utils/split_model_tests.py --subdirs '$...
2025-11-04T05:46:21
nodejs/node
86b4f3729ae66d8da8e86f37684de439bbe0e08a
1d022e825356dfba9bef2d6f194b9e93d63b726d
tls: include invalid method name in thrown error When an invalid TLS method name error is thrown, include the invalid name in the error message. PR-URL: https://github.com/nodejs/node/pull/27390 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@...
[ { "path": "src/node_crypto.cc", "patch": "@@ -627,7 +627,8 @@ void SecureContext::Init(const FunctionCallbackInfo<Value>& args) {\n max_version = TLS1_2_VERSION;\n method = TLS_client_method();\n } else {\n- THROW_ERR_TLS_INVALID_PROTOCOL_METHOD(env, \"Unknown method\");\n+ const s...
2019-04-24T17:44:01
golang/go
56817040d53187abcd568af0eea27cc21379c0ad
8692bacb6a43d1f65e09d0e581ca8b464fd77664
os: document error returned by pending I/O operations on Close Currently, File.Close only documents that "an" error will be returned by pending I/O operations. Update the documentation to say that error is specifically ErrClosed. Change-Id: Ica817c9196ad6cb570c826789d37a4ff15a5d13d Reviewed-on: https://go-review.goog...
[ { "path": "src/os/file_plan9.go", "patch": "@@ -139,7 +139,7 @@ func openFileNolog(name string, flag int, perm FileMode) (*File, error) {\n \n // Close closes the File, rendering it unusable for I/O.\n // On files that support SetDeadline, any pending I/O operations will\n-// be canceled and return immediat...
2021-12-11T02:09:16
vercel/next.js
201ab71ee74b58484806c13b794023965210967b
5451564f364399003b05939fa6dd7d32c1dabec7
type: update React.CSSProperties type to Record (#49186) <!-- 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 Co...
[ { "path": "packages/next/src/client/components/error.tsx", "patch": "@@ -1,6 +1,6 @@\n import React from 'react'\n \n-const styles: { [k: string]: React.CSSProperties } = {\n+const styles: Record<string, React.CSSProperties> = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/mai...
2023-05-09T13:16:55
huggingface/transformers
64397a830188a35b5e9056036e13bb6ccfe434d8
cd309610c0d45d97ac0c3d80a2bdd7be302dcff2
Fixed wrong padding value in OWLv2 (#41938) * Update image_processing_owlv2_fast.py fixed padding value * fixed padding value * Change padding constant value from 0.5 to 0.0 * Fixed missed padding value in modular_owlv2.py --------- Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
[ { "path": "src/transformers/models/owlv2/image_processing_owlv2.py", "patch": "@@ -291,7 +291,7 @@ def pad(\n image = pad(\n image=image,\n padding=((0, size - height), (0, size - width)),\n- constant_values=0.5,\n+ constant_values=0.0,\n dat...
2025-11-03T23:46:28
nodejs/node
d04b37671716b4cdf6fbec9a5bc35e4a2295fe26
744cdecbf42e9ba9bdff2d5006cb625f25b87917
build: allow icu download to use other hashes besides md5 - ICU uses sha512 instead of md5 in some recent releases - Use hashlib.algorithms_guaranteed to choose the following algorithms: sha1 sha224 sha384 sha256 sha512 md5 - No preference as to the priority of the algorithms - This commit does not change the hash...
[ { "path": "configure.py", "patch": "@@ -1261,7 +1261,8 @@ def glob_to_var(dir_base, dir_sub, patch_dir):\n \n def configure_intl(o):\n def icu_download(path):\n- with open('tools/icu/current_ver.dep') as f:\n+ depFile = 'tools/icu/current_ver.dep';\n+ with open(depFile) as f:\n icus = json....
2019-04-23T17:01:07
golang/go
8692bacb6a43d1f65e09d0e581ca8b464fd77664
cc795a01dcec7c97044b31571af88ac98310f2b3
runtime: run gdb with a timeout for TestGdbBacktrace This sometimes times out and we don't have any useful output for debugging it. Hopefully this will help. For #37405. Change-Id: I79074e6fbb9bd16a864c651109a0acbfc8aa6cef Reviewed-on: https://go-review.googlesource.com/c/go/+/370703 Trust: Austin Clements <austin@g...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -424,7 +424,7 @@ func TestGdbBacktrace(t *testing.T) {\n \t\t\"-ex\", \"continue\",\n \t\tfilepath.Join(dir, \"a.exe\"),\n \t}\n-\tgot, err := exec.Command(\"gdb\", args...).CombinedOutput()\n+\tgot, err := testenv.RunWithTimeout(t, exec.Command(\"gd...
2021-12-09T18:52:18
huggingface/transformers
cd309610c0d45d97ac0c3d80a2bdd7be302dcff2
dd8f2314956fdbb92401b0a61586da4a406e2d21
Integrate colqwen2.5 using colqwen2 modelling code (#40600) * adding option for 2.5 * minor - arg in conversion script * getting started on modelling.py * minor - shouldve been using modular * adressing comments + fixing datatype/device _get method * minor * commiting suggestion Co-authored-by: Yoni Gozlan <745...
[ { "path": "docs/source/en/model_doc/colqwen2.md", "patch": "@@ -158,6 +158,24 @@ print(\"Retrieval scores (query x image):\")\n print(scores)\n ```\n \n+You can also use checkpoints for `ColQwen2.5` that are **compatible with the ColQwen2 architecture**. This version of the model uses [Qwen2_5_VL](./qwen2_5...
2025-11-03T23:31:07
vercel/next.js
5451564f364399003b05939fa6dd7d32c1dabec7
81f5ed7aa29a210b352b9c7331b62547e9881f67
[docs] Add iOS hydration mismatch details to error page (#43584) We recently ran into hydration mismatch errors on iOS, which we realised was due to iOS automatically converting what it thought were phone numbers into links. We then found this GitHub issue, https://github.com/vercel/next.js/issues/38290, and tho...
[ { "path": "errors/react-hydration-error.md", "patch": "@@ -82,10 +82,18 @@ Common causes with css-in-js libraries:\n - When using other css-in-js libraries\n - Similar to Styled Components / Emotion css-in-js libraries generally need configuration specified in their examples in the [examples directory](ht...
2023-05-09T10:55:41
golang/go
9c6e8f63c0e4f24ccf4326164ddbc0f0607343a2
1c1998ea08d41ef09ef16c22eb8e53ea0eb569c5
net/netip: make AddrPort.MarshalText format 4-in-6 IPs consistently Thanks again to @capnspacehook. Fixes #50110 Change-Id: I1973bdea68eac9842b45f9524f62152e4f5342cf Reviewed-on: https://go-review.googlesource.com/c/go/+/371114 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Matt Layher <mdlayher@gma...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -1157,8 +1157,17 @@ func (p AddrPort) AppendTo(b []byte) []byte {\n \tcase z4:\n \t\tb = p.ip.appendTo4(b)\n \tdefault:\n-\t\tb = append(b, '[')\n-\t\tb = p.ip.appendTo6(b)\n+\t\tif p.ip.Is4In6() {\n+\t\t\tb = append(b, \"[::ffff:\"...)\n+\t\t\tb = p.ip.Unmap...
2021-12-12T03:35:08
nodejs/node
744cdecbf42e9ba9bdff2d5006cb625f25b87917
e029b927c2a291b78bb27202a14bff09628b75a6
src: move OnMessage to node_errors.cc Rename the per-isolate message listener to `PerIsolateMessageListener` and move it to `node_errors.cc` since it's part of the error handling process. It also creates an external reference so it needs to be exposed in `node_errors.h` for a snapshot builder to know. PR-URL: https:/...
[ { "path": "src/api/environment.cc", "patch": "@@ -5,7 +5,6 @@\n #include \"node_internals.h\"\n #include \"node_native_module_env.h\"\n #include \"node_platform.h\"\n-#include \"node_process.h\"\n #include \"node_v8_platform-inl.h\"\n #include \"uv.h\"\n \n@@ -46,32 +45,6 @@ static bool ShouldAbortOnUncaugh...
2019-04-19T04:40:27
huggingface/transformers
dd8f2314956fdbb92401b0a61586da4a406e2d21
1619a3475f93c0cdf8d46612e62842df7b6692a2
fix 3 failed test cases for video_llama_3 model on Intel XPU (#41931) * fix 3 failed test cases for video_llama_3 model on Intel XPU Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * adjust format Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> ...
[ { "path": "tests/models/video_llama_3/test_modeling_video_llama_3.py", "patch": "@@ -36,6 +36,7 @@\n is_torch_available,\n )\n from transformers.testing_utils import (\n+ Expectations,\n backend_empty_cache,\n require_flash_attn,\n require_torch,\n@@ -831,7 +832,14 @@ def test_small_model...
2025-11-03T17:18:20
rust-lang/rust
3003050d473abd13d56c7e7966b971bd7443194f
321dde12528a6baf0990ec611d33122b68c33fca
Fix hang in --print=file-names in bootstrap In an interactive context, the subprocess inherited a real tty stdin, which lead it it waiting for something to happen, even though nothing happened. By explicitly passing null as stdin we make sure an empty file is passed, which achieves the desired behavior.
[ { "path": "src/bootstrap/src/core/builder/cargo.rs", "patch": "@@ -683,6 +683,7 @@ impl Builder<'_> {\n .arg(\"--print=file-names\")\n .arg(\"--crate-type=proc-macro\")\n .arg(\"-\")\n+ .stdin(std::process::Stdio:...
2025-06-23T19:01:08
vercel/next.js
81f5ed7aa29a210b352b9c7331b62547e9881f67
761c293093a91151d154310dfa241ec6b88dbb15
Fix: Router.query contains _next when using middleware with dynamic routes (#48753) Fixes: #43598 This was a tricky one to find! Not sure why more people aren't complaining about this issue, was super annoying in my use case since links had the wrong URL. ## What? This issue only occurred when basepath was de...
[ { "path": "packages/next/src/shared/lib/router/router.ts", "patch": "@@ -221,7 +221,12 @@ function getMiddlewareData<T extends FetchDataOutput>(\n ) {\n const parsedSource = getNextPathnameInfo(\n parseRelativeUrl(source).pathname,\n- { parseData: true }\n+ ...
2023-05-09T10:49:27
electron/electron
65325dc63f0d073991ff281fdaed973a11221362
7842a657d0545025a7e02439de42a6f82ba34c2d
browser: fix crash when switching to sibling menu from submenus
[ { "path": "atom/browser/ui/views/menu_delegate.cc", "patch": "@@ -105,24 +105,17 @@ views::MenuItemView* MenuDelegate::GetSiblingMenu(\n ui::MenuModel* model;\n if (menu_bar_->GetMenuButtonFromScreenPoint(screen_point, &model, &button) &&\n button->tag() != id_) {\n- // Switch to sibling menu o...
2016-01-20T02:59:44
golang/go
1c1998ea08d41ef09ef16c22eb8e53ea0eb569c5
766f89b5c625f8c57492cf5645576d9e6f450cc2
net/netip: fix formatting of IPv4-in-6 address with zone Weird, but don't drop the zone when stringifying. Fixes #50111 Change-Id: I5fbccdfedcdc77a77ee6bafc8d82b8ec8ec7220c Reviewed-on: https://go-review.googlesource.com/c/go/+/371094 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gopher Robot <go...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -769,7 +769,11 @@ func (ip Addr) String() string {\n \tdefault:\n \t\tif ip.Is4In6() {\n \t\t\t// TODO(bradfitz): this could alloc less.\n-\t\t\treturn \"::ffff:\" + ip.Unmap().String()\n+\t\t\tif z := ip.Zone(); z != \"\" {\n+\t\t\t\treturn \"::ffff:\" + ip....
2021-12-12T00:17:46
huggingface/transformers
1619a3475f93c0cdf8d46612e62842df7b6692a2
ff0f7d6498582f83ab75a2c1d7f5943b85984046
fix (CI): Refactor SSH runners (#41991) * Change ssh runner type * Add wait step to SSH runner workflow * Rename wait step to wait2 in ssh-runner.yml * Remove wait step from ssh-runner.yml Removed the wait step from the SSH runner workflow. * Update runner type for single GPU A10 instance * Update SSH runner ver...
[ { "path": ".github/workflows/ssh-runner.yml", "patch": "@@ -4,7 +4,7 @@ on:\n workflow_dispatch:\n inputs:\n runner_type:\n- description: 'Type of runner to test (a10 or t4)'\n+ description: 'Type of runner to test (a10)'\n required: true\n docker_image:\n des...
2025-11-03T17:16:32
rust-lang/rust
81476465311b1b89cd70f3ade586faa322891a0c
22be76b7e259f27bf3e55eb931f354cd8b69d55f
fix `-Zmin-function-alignment` without attributes the minimum function alignment was skipped on functions without attributes. That is because in our testing we generally apply `#[no_mangle]` to functions that are tested. I've added a test now that deliberately has no attributes
[ { "path": "compiler/rustc_codegen_ssa/src/codegen_attrs.rs", "patch": "@@ -145,12 +145,6 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {\n }\n }\n \n- // Apply the minimum function alignment here, so that individual backends don't have to.\n- co...
2025-06-23T18:24:59
nodejs/node
08a9c4a996964aca909cd75fa8ecafd652c54885
5ab65cff8d95faa6ebd91f20b77156a520dc3ac2
bootstrap: delay the instantiation of maps in per-context scripts Instantiating maps renders the snapshot non-rehashable (v8 currently fails silently during `CreateBlob()`). Then the hash seed would always be the same and not recomputed if custom V8 snapshot is enabled. This patch delays the instantiation of the maps ...
[ { "path": "lib/internal/per_context/domexception.js", "patch": "@@ -15,12 +15,28 @@ class ERR_INVALID_THIS extends TypeError {\n get code() { return 'ERR_INVALID_THIS'; }\n }\n \n-const internalsMap = new SafeWeakMap();\n+let internalsMap;\n+let nameToCodeMap;\n+let isInitialized = false;\n \n-const nameT...
2019-04-23T17:24:23
vercel/next.js
b7d10156b0e1b49a89dcc0db85b29964ba961821
8fc423b98a622c43db6624991ff9fa631e06b53d
vdbg! macro (vercel/turbo#4868) ### Description The `vdbg!` macro works the same way as the `dbg!` macro, with the additional benefit of automatically calling `ValueDebugFormat` implementations. This means that you can do: ```rust vdbg!(42, asset_ident_vc); vdbg!(42, asset_ident_vc; depth = 1); ``` and the macro w...
[ { "path": "crates/turbo-tasks-testing/src/lib.rs", "patch": "@@ -221,6 +221,13 @@ impl TurboTasksApi for VcStorage {\n fn mark_own_task_as_finished(&self, _task: TaskId) {\n // no-op\n }\n+\n+ fn detached(\n+ &self,\n+ _f: std::pin::Pin<Box<dyn Future<Output = Result<()>> + ...
2023-05-09T08:41:14
electron/electron
517dce443b96b8ce2de0c0b8eeef8df835cce84e
c719b252cb154e73673deed3f760883a9f60a7c7
Remove unused errorMessage reference
[ { "path": "atom/browser/lib/desktop-capturer.js", "patch": "@@ -59,7 +59,7 @@ desktopCapturer.emit = function(event, name, sources) {\n request = requestsQueue[i];\n if (deepEqual(handledRequest.options, request.options)) {\n if ((ref1 = request.webContents) != null) {\n- ref1.send(\"AT...
2016-01-19T19:02:12
golang/go
c473ca087733236a6524900d037d92f32d5f6b70
13d15d147dd09b9209f5bc3778905684379129d8
net: ignore EADDRINUSE errors when dialing to IPv4 from IPv6 on FreeBSD The failure mode in #34264 appears to match https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210726. That bug was supposed to have been fixed in FreeBSD 12, but we're still observing failures specifically for the 6-to-4 case on FreeBSD 12.2. It ...
[ { "path": "src/net/dial_test.go", "patch": "@@ -537,6 +537,9 @@ func TestDialerPartialDeadline(t *testing.T) {\n \t}\n }\n \n+// isEADDRINUSE reports whether err is syscall.EADDRINUSE.\n+var isEADDRINUSE = func(err error) bool { return false }\n+\n func TestDialerLocalAddr(t *testing.T) {\n \tif !supportsIP...
2021-12-03T19:02:58
huggingface/transformers
ff0f7d6498582f83ab75a2c1d7f5943b85984046
80305364e2faa402ee39068a7fc0b27ac0ef9d10
More data in benchmarking (#41848) * Reduce scope of cross-generate * Rm generate_sall configs * Workflow benchmarks more * Prevent crash when FA is not installed
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -52,7 +52,7 @@ jobs:\n commit_id=$GITHUB_SHA\r\n fi\r\n commit_msg=$(git show -s --format=%s | cut -c1-70)\r\n- python3 benchmark_v2/run_benchmarks.py -b 32 -s 128 -n 256 --branch-name \"$BRANCH_NAME\" --commi...
2025-11-03T17:05:26
rust-lang/rust
6ea79a13b58d7e62b6aebbbc8ba56042daa3c493
42245d34d22ade32b3f276dcf74deb826841594c
Fix comment on NoMangle Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "src/librustdoc/clean/types.rs", "patch": "@@ -753,7 +753,8 @@ impl Item {\n .other_attrs\n .iter()\n .filter_map(|attr| {\n- // NoMangle is special-cased because cargo-semver-checks uses it\n+ // NoMangle is special cased, as it ap...
2025-06-23T18:24:54
nodejs/node
c80c414027307da5b3135d3452f8e6f792a121c0
c9b298c5eed7abec0aff02d1f67e18e5ea938fc9
tools: update LICENSE and tools/icu/current_ver.dep Update the LICENSE file and tools/icu/current_ver.dep file in order to finalize the upgrade to ICU 64.2 PR-URL: https://github.com/nodejs/node/pull/27361 Fixes: https://github.com/nodejs/node/issues/26388 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ste...
[ { "path": "LICENSE", "patch": "@@ -118,8 +118,8 @@ The externally maintained libraries used by Node.js are:\n \"\"\"\n COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)\n \n- Copyright © 1991-2018 Unicode, Inc. All rights reserved.\n- Distributed under the Terms of Use in http://www.unicode.org...
2019-04-23T12:51:33
vercel/next.js
8fc423b98a622c43db6624991ff9fa631e06b53d
b880233b927568bac138ad94fe4a79c9de138ea9
Fix and add test for ignoring a macro field (vercel/turbo#4869) ### Description https://github.com/vercel/turbo/pull/4828 changed the order of the `.enumerate()` and `.filter()` operations, which causes the index tracking to break. We need the input's indexes before the filter mutates, so that ignoring a field actual...
[ { "path": "crates/turbo-tasks-macros-shared/src/expand.rs", "patch": "@@ -119,8 +119,10 @@ pub fn generate_destructuring<'a, I: Fn(&Field) -> bool>(\n ) -> (TokenStream, Vec<TokenStream>) {\n let fields_len = fields.len();\n let (captures, fields_idents): (Vec<_>, Vec<_>) = fields\n- .filter(...
2023-05-09T08:37:45
rust-lang/rust
c37994c726574c47aa5d02099b25637f3e8faea6
d0ebff04308c51d04adfdcab256b4248ae508635
fix: Respect `.cargo/config.toml` `build.target-dir`
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/env.rs", "patch": "@@ -1,6 +1,6 @@\n //! Cargo-like environment variables injection.\n use base_db::Env;\n-use paths::Utf8Path;\n+use paths::{Utf8Path, Utf8PathBuf};\n use rustc_hash::FxHashMap;\n use toolchain::Tool;\n \n@@ -123,6 +123,26 @@ fn pa...
2025-06-23T14:47:06
huggingface/transformers
a623cda4271c739bd53b874b713d4479a19ff907
7d5160bd7a2f6362889fa6b70aff8a7a90653c61
[kernels] Add Tests & CI for kernels (#41765) * first commit * add tests * add kernel config * add more tests * add ci * small fix * change branch name * update tests * nit * change test name * revert jobs * addressing review * reenable all jobs * address second review
[ { "path": ".github/workflows/self-scheduled-caller.yml", "patch": "@@ -118,3 +118,15 @@ jobs:\n report_repo_id: hf-internal-testing/transformers_daily_ci\n commit_sha: ${{ github.sha }}\n secrets: inherit\n+\n+ kernels-ci:\n+ name: Kernels CI\n+ uses: ./.github/workflows/self-schedule...
2025-11-03T15:36:52
vercel/next.js
d6c83a4fefc1dbadaf9249ac6ffb025f53b1ef6f
e570ad4e56b494e0b2c2824d3ef71f30741412d5
Replace var with const (#49379) Hey there :) I found this small issue. Replace `var` with `const` for block-scope variable declaration following the standard introduced by ES2015. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we req...
[ { "path": "bench/rendering/pages/stateless-big.js", "patch": "@@ -5,7 +5,7 @@ export default () => {\n }\n \n const items = () => {\n- var out = new Array(10000)\n+ const out = new Array(10000)\n for (let i = 0; i < out.length; i++) {\n out[i] = <li key={i}>This is row {i + 1}</li>\n }", "addi...
2023-05-09T08:25:39
golang/go
8ff254e30ba9d9c13747fe42213c3f54b47c58e7
ece493eb831a7797d03d60b44b817caf1c63a0ab
cmd/compile: preserve 'any' type alias in unified IR When exporting the "any" empty interface type for unified IR, write it out as a reference to the "any" alias, rather than to the underlying empty interface. This matches how "byte" and "rune" are handled. Verified to fix the issue demonstrated in CL 369975. Change...
[ { "path": "src/cmd/compile/internal/noder/writer.go", "patch": "@@ -229,6 +229,8 @@ func (pw *pkgWriter) pkgIdx(pkg *types2.Package) int {\n \n // @@@ Types\n \n+var anyTypeName = types2.Universe.Lookup(\"any\").(*types2.TypeName)\n+\n func (w *writer) typ(typ types2.Type) {\n \tw.typInfo(w.p.typIdx(typ, w....
2021-12-08T19:12:50
rust-lang/rust
aa460dc24751c038a6598a8adff7914065025b93
42245d34d22ade32b3f276dcf74deb826841594c
tests: Add `RUST_BACKTRACE` and `-Cpanic` revisions to `panic-main.rs` test
[ { "path": "tests/ui/panics/panic-main.rs", "patch": "@@ -1,3 +1,26 @@\n+//@ revisions: default abort-zero abort-one abort-full unwind-zero unwind-one unwind-full\n+\n+//@[abort-zero] compile-flags: -Cpanic=abort\n+//@[abort-zero] no-prefer-dynamic\n+//@[abort-zero] exec-env:RUST_BACKTRACE=0\n+\n+//@[abort-o...
2025-06-10T17:25:36
huggingface/transformers
7d5160bd7a2f6362889fa6b70aff8a7a90653c61
22e39dfb319fdba0cd17302c285240f26fb4dcd2
Fix `torchcodec` version in quantization docker file (#41988) check Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -24,7 +24,7 @@ RUN [ ${#PYTORCH} -gt 0 ] && VERSION='torch=='$PYTORCH'.*' || VERSION='torch';\n RUN echo torch=$VERSION\n # `torchvision` and `torchaudio` should be installed along with `torch`, especially for nightly build.\n...
2025-11-03T14:27:47
vercel/next.js
e570ad4e56b494e0b2c2824d3ef71f30741412d5
04799216ec4e8bb40c9742b250fb0f42d91bf2fa
Fix Node Crypto polyfill (#49288) ### What? Allow overwriting the `global.crypto` property when polyfilling it. ### Why? #48941 introduced `global.crypto` polyfill. The problem is that if some library (e.g. [xksuid](https://github.com/ValeriaVG/xksuid/blob/main/src/index.node.mjs)) tries to do the same thi...
[ { "path": "packages/next/src/server/node-polyfill-crypto.test.ts", "patch": "@@ -0,0 +1,11 @@\n+/* eslint-env jest */\n+import './node-polyfill-crypto'\n+\n+describe('node-polyfill-crypto', () => {\n+ test('overwrite crypto', async () => {\n+ expect(global.crypto).not.toBeUndefined()\n+ const a = {} ...
2023-05-09T07:48:12
rust-lang/rust
78528bc0e69d57182cadd802ad099d381a0e2621
7632fab6689770d0f482851781e9735d7b8f5f5e
tests: Verify varargs with unsupported fn ptr ABIs must error
[ { "path": "tests/ui/abi/unsupported-varargs-fnptr.rs", "patch": "@@ -0,0 +1,18 @@\n+// FIXME(workingjubilee): add revisions and generalize to other platform-specific varargs ABIs,\n+// preferably after the only-arch directive is enhanced with an \"or pattern\" syntax\n+//@ only-x86_64\n+\n+// We have to use...
2025-06-06T19:02:01
electron/electron
fd5c249cb8cc1ff8365bb9d5d308eda468ef9a5c
0a79204abb7122d69bb60dbdd3636516b49afe92
fix for windows
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -793,7 +793,7 @@ bool NativeWindowViews::CanMaximize() const {\n }\n \n bool NativeWindowViews::CanMinimize() const {\n-#ifdef(OS_WIN)\n+#if defined(OS_WIN)\n return minimizable_;\n #elif defined(USE_X11)\n return true;", "additions": 1, ...
2016-01-19T15:57:14
golang/go
ece493eb831a7797d03d60b44b817caf1c63a0ab
78b4518e31b39aac4fbad1679db95b3f526229a7
cmd/compile: fix type error reported on the wrong line The 'Does not match' type error shoud be reported where the function is called, not where the function is declared. And fix the todo by gri of issue45985 Fixes #45985 Fixes #49800 Change-Id: I15aac44dd44f2a57c485a1c273fcd79db912c389 Reviewed-on: https://go-revi...
[ { "path": "src/cmd/compile/internal/types2/infer.go", "patch": "@@ -60,7 +60,7 @@ func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type,\n \t// If we have type arguments, see how far we get with constraint type inference.\n \tif len(targs) > 0 && useConstraintTypeInference {\n \t\tv...
2021-11-09T15:46:41
huggingface/transformers
63fbd50fb4ff7b586ab1b59b67f7464e62f9df69
b433ec8b505118a6c89ac92bdb82a643860e94f7
fix: dict[RopeParameters] to dict[str, RopeParameters] (#41963)
[ { "path": "src/transformers/models/arcee/configuration_arcee.py", "patch": "@@ -136,7 +136,7 @@ def __init__(\n bos_token_id: Optional[int] = 128000,\n eos_token_id: Optional[int] = 128001,\n tie_word_embeddings: Optional[bool] = False,\n- rope_parameters: Optional[RopeParamet...
2025-11-03T14:09:27
nodejs/node
c9b298c5eed7abec0aff02d1f67e18e5ea938fc9
6bbb9ebf8d8da927fc71f648af4739f2d574014f
deps: update ICU to 64.2 Update the version of the bundled ICU (deps/icu-small) to ICU version 64.2 (Unicode 12, CLDR 35) Fixes: https://github.com/nodejs/node/issues/26388 PR-URL: https://github.com/nodejs/node/pull/27361 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Steven R Loomis <srloomis@us.ibm.com...
[ { "path": "deps/icu-small/LICENSE", "patch": "@@ -1,7 +1,7 @@\n COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)\n \n-Copyright © 1991-2018 Unicode, Inc. All rights reserved.\n-Distributed under the Terms of Use in http://www.unicode.org/copyright.html.\n+Copyright © 1991-2019 Unicode, Inc. All rights res...
2019-04-23T10:05:49
rust-lang/rust
7632fab6689770d0f482851781e9735d7b8f5f5e
0dd29e1a86683ec2ff439cd41c1a1765f617b520
tests: Adopt ABI transmute tests from crashtests
[ { "path": "tests/auxiliary/minicore.rs", "patch": "@@ -16,6 +16,7 @@\n \n #![feature(\n no_core,\n+ intrinsics,\n lang_items,\n auto_traits,\n freeze_impls,\n@@ -196,3 +197,9 @@ impl<'a, 'b: 'a, T: PointeeSized + Unsize<U>, U: PointeeSized> CoerceUnsized<&'a\n trait Drop {\n fn drop(&...
2025-06-01T22:20:27
vercel/next.js
04799216ec4e8bb40c9742b250fb0f42d91bf2fa
8d228780e72706ef4bd5b6327ede2c0340181353
Fix failing actions e2e deploy test (#49497) x-ref: https://github.com/vercel/next.js/actions/runs/4921305860/jobs/8791173036
[ { "path": "test/e2e/app-dir/actions/app-action.test.ts", "patch": "@@ -12,7 +12,7 @@ createNextDescribe(\n {\n files: __dirname,\n },\n- ({ next, isNextDev }) => {\n+ ({ next, isNextDev, isNextStart }) => {\n it('should handle basic actions correctly', async () => {\n const browser = awa...
2023-05-09T04:09:42
electron/electron
b9c9da3f4e619b2056b2cc6b162a59d504aaab31
7842a657d0545025a7e02439de42a6f82ba34c2d
Update debugging-main-process.md fix doc typo
[ { "path": "docs/tutorial/debugging-main-process.md", "patch": "@@ -60,13 +60,13 @@ or, to pause your script on the first line:\n $ electron --debug-brk=5858 your/app\n ```\n \n-### 5. Start the [node-inspector][node-inspector] server using electron\n+### 6. Start the [node-inspector][node-inspector] server ...
2016-01-19T05:49:49
huggingface/transformers
b433ec8b505118a6c89ac92bdb82a643860e94f7
3c16c1ae43abc5b4107f0fb7cbb7c9d5a1ea06b7
test tensor parallel: make tests for dense model more robust (#41968) * make test forward and backward more robust * refactor compile part of test tensor parallel * linting * pass rank around instead of calling it over and over * Run slow v2 (#41914) * Super * Super * Super * Super --------- Co-authored-by: ...
[ { "path": "tests/tensor_parallel/test_tensor_parallel.py", "patch": "@@ -15,16 +15,16 @@\n # Run all tests: RUN_SLOW=1 pytest -v tests/tensor_parallel/test_tensor_parallel.py\n # Run specific config: RUN_SLOW=1 pytest -v tests/tensor_parallel/test_tensor_parallel.py -k \"2Proc\"\n # Run multiple configs: RU...
2025-11-03T12:56:26
golang/go
78b4518e31b39aac4fbad1679db95b3f526229a7
307d7c67477ee7ccb8544ac802e965b5d18a069e
crypto/x509: skip known TestSystemVerify flakes on windows-*-2008 builders The "-2008" builders are the only ones on which the failure has been observed, so I suspect that it is due to a platform bug fixed in a subsequent release. Since no one has added a workaround since #19564 was filed over four years ago, I'm ass...
[ { "path": "src/crypto/x509/verify_test.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"encoding/pem\"\n \t\"errors\"\n \t\"fmt\"\n+\t\"internal/testenv\"\n \t\"math/big\"\n \t\"runtime\"\n \t\"strings\"\n@@ -469,6 +470,9 @@ func testVerify(t *testing.T, test verifyTest, useSystemRoots bool) {\n \tchains, er...
2021-12-08T21:47:56
nodejs/node
b9f1e572017c146da66077331260bac0e60c0928
237d9f97165da39d1e540699294cf2dc83bbc2d3
lib: throw a special error in internal/assert Instead of using the public AssertionError, use a simplified error that describes potential causes of these assertions and suggests the user to open an issue. PR-URL: https://github.com/nodejs/node/pull/26635 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/errors.md", "patch": "@@ -1148,6 +1148,12 @@ is set for the `Http2Stream`.\n `http2.connect()` was passed a URL that uses any protocol other than `http:` or\n `https:`.\n \n+<a id=\"ERR_INTERNAL_ASSERTION\"></a>\n+### ERR_INTERNAL_ASSERTION\n+\n+There was a bug in Node.js or incorrect usa...
2019-03-13T14:43:00
rust-lang/rust
7e35b284e12c7174a77ed24952cfd1f13eb1bb6d
a69aeaf1e3f4dd530763850d1ae91291e6245c95
tests: Enhance unsupported ABI tests We have fairly different error messages now and handle more cases, so we augment the test in tests/ui/abi/unsupported.rs with more examples to handle structs, traits, and impls on same when those feature the unsupported ABIs of interest.
[ { "path": "tests/crashes/132430.rs", "patch": "@@ -1,10 +0,0 @@\n-//@ known-bug: #132430\n-\n-//@ compile-flags: --crate-type=lib\n-//@ edition: 2018\n-#![feature(cmse_nonsecure_entry)]\n-struct Test;\n-\n-impl Test {\n- pub async unsafe extern \"C-cmse-nonsecure-entry\" fn test(val: &str) {}\n-}", "...
2025-06-13T19:37:55
vercel/next.js
dbb412437a6e20ee904d92797ec6227ba106136d
71d354363e3098bbf4218af43c452c360334fb8c
fix: better error message with an invalid assetPrefix (#49403) fixes #47641 This adds a friendly error for loading a font error caused by the invalid `assetPrefix` setting. Current: <img width="747" alt="image" src="https://user-images.githubusercontent.com/250407/236685607-c03b6160-9e8c-4c88-80e1-714f6a14058...
[ { "path": "packages/next/src/build/webpack/loaders/next-font-loader/index.ts", "patch": "@@ -49,6 +49,15 @@ export default async function nextFontLoader(this: any) {\n postcss: getPostcss,\n } = this.getOptions()\n \n+ if (assetPrefix && !/^\\/|https?:\\/\\//.test(assetPrefix)) {\n+ const ...
2023-05-08T23:14:48
huggingface/transformers
37a629628329217a8f0913fd8b0119086d67058c
0ed6d51ae8ed3f4fafca67a983b8d75bc76cd51b
Fix `autoawq[kernels]` installation in quantization docker file (#41978) fix autoawq[kernels] Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -50,7 +50,7 @@ RUN python3 -m pip install --no-cache-dir hqq\n RUN python3 -m pip install --no-cache-dir gguf\n \n # Add autoawq for quantization testing\n-RUN python3 -m pip install --no-cache-dir autoawq[kernels]\n+RUN python...
2025-11-02T17:54:55
electron/electron
b4aaaed843d7434ca7538a8f31690d2647b87f47
7842a657d0545025a7e02439de42a6f82ba34c2d
Fix a broken link The reference-style link uses a relative path, which doesn't work well on the main site http://electron.atom.io/.
[ { "path": "docs/api/synopsis.md", "patch": "@@ -11,7 +11,7 @@ both processes.\n \n The basic rule is: if a module is [GUI][gui] or low-level system related, then\n it should be only available in the main process. You need to be familiar with\n-the concept of [main process vs. renderer process][main-process]...
2016-01-18T21:50:33
golang/go
307d7c67477ee7ccb8544ac802e965b5d18a069e
61ba0bcf8eebd1515d1af7a0e918bf912db6eb46
net/http: update bundled golang.org/x/net/http2 Pull in security fix 2d13015 http2: cap the size of the server's canonical header cache and 0a0e4e1 http2: Fix handling of expect continue 04296fa http2: prioritize RST_STREAM frames in random write scheduler Fixes #50058 Fixes CVE-2021-44716 Change-Id: ...
[ { "path": "src/go.mod", "patch": "@@ -4,7 +4,7 @@ go 1.18\n \n require (\n \tgolang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa\n-\tgolang.org/x/net v0.0.0-20211123203042-d83791d6bcd9\n+\tgolang.org/x/net v0.0.0-20211209124913-491a49abca63\n )\n \n require (", "additions": 1, "deletions": 1, ...
2021-12-09T14:09:52
rust-lang/rust
e93a99b3243e1864bab279476f935d944a2229eb
2f4a55b41d437e5496a51cf7ba0e7a0b751bc6ad
hir_analysis: Avoid repeating unsupported ABI errors
[ { "path": "compiler/rustc_hir_analysis/src/check/check.rs", "patch": "@@ -58,15 +58,9 @@ pub fn check_abi(tcx: TyCtxt<'_>, hir_id: hir::HirId, span: Span, abi: ExternAbi\n \n match AbiMap::from_target(&tcx.sess.target).canonize_abi(abi, false) {\n AbiMapping::Direct(..) => (),\n+ // alrea...
2025-06-13T19:47:29
nodejs/node
237d9f97165da39d1e540699294cf2dc83bbc2d3
3d0a309fa023c50a72652229082553cfbdfe7047
doc: fix pull request number This fixes a pull request number in `repl.md`. PR-URL: https://github.com/nodejs/node/pull/27336 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@...
[ { "path": "doc/api/repl.md", "patch": "@@ -480,7 +480,7 @@ with REPL instances programmatically.\n added: v0.1.91\n changes:\n - version: v12.0.0\n- pr-url: https://github.com/nodejs/node/pull/v12.0.0\n+ pr-url: https://github.com/nodejs/node/pull/26518\n description: The `terminal` option now f...
2019-04-21T19:51:44
huggingface/transformers
0ed6d51ae8ed3f4fafca67a983b8d75bc76cd51b
8fb854cac869b42c87a7bd15d9298985c5aea96e
Fix `detectron2` installation in docker files (#41975) * detectron2 - part 1 * detectron2 - part 2 --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -67,7 +67,7 @@ RUN set -e; \\\n \n RUN python3 -m pip install --no-cache-dir -U timm\n \n-RUN [ \"$PYTORCH\" != \"pre\" ] && python3 -m pip install --no-cache-dir git+https://github.com/facebookresearch/detectron2.git || echo \"Don't in...
2025-11-02T13:20:36
vercel/next.js
71d354363e3098bbf4218af43c452c360334fb8c
20e13490ab39eafa1262703e40742fd38af7bef1
Fix external rewrite with body (#49487) This ensures we use the proper body stream when rewriting to an external resource as currently it tries to consume an already read body stream. Fixes: https://github.com/vercel/next.js/issues/48040
[ { "path": "packages/next/src/server/next-server.ts", "patch": "@@ -860,7 +860,12 @@ export default class NextNodeServer extends BaseServer {\n }\n })\n })\n- proxy.web(req.originalRequest, res.originalResponse)\n+ proxy.web(req.originalRequest, res.originalRespons...
2023-05-08T22:22:02
golang/go
61ba0bcf8eebd1515d1af7a0e918bf912db6eb46
474ebb917cb802bf1d08434a265515d50c174082
cmd/go: use -count=1 in test_fuzz_chatty.txt Fuzz tests in test_fuzz_chatty.txt now use -count=1 where applicable. Fixes #48984 Change-Id: If1673924af990fe12d5dfba95082ccb573806fde Reviewed-on: https://go-review.googlesource.com/c/go/+/369674 Trust: Julie Qiu <julie@golang.org> Trust: Katie Hockman <katie@golang.org...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_chatty.txt", "patch": "@@ -37,11 +37,9 @@ go test -v chatty_with_test_fuzz_test.go -fuzz=Fuzz -fuzztime=1x\n stdout ok\n stdout PASS\n ! stdout FAIL\n-# TODO: It's currently the case that it's logged twice. Fix that, and change\n-# this check to verify it.\n-s...
2021-12-06T17:31:27
rust-lang/rust
2f4a55b41d437e5496a51cf7ba0e7a0b751bc6ad
42245d34d22ade32b3f276dcf74deb826841594c
compiler: plug unsupported ABI leakage from the AST We modify rustc_ast_lowering to prevent all unsupported ABIs from leaking through the HIR without being checked for target support. Previously ad-hoc checking on various HIR items required making sure we check every HIR item which could contain an `extern "{abi}"` st...
[ { "path": "compiler/rustc_ast_lowering/src/item.rs", "patch": "@@ -2,7 +2,7 @@ use rustc_abi::ExternAbi;\n use rustc_ast::ptr::P;\n use rustc_ast::visit::AssocCtxt;\n use rustc_ast::*;\n-use rustc_errors::ErrorGuaranteed;\n+use rustc_errors::{E0570, ErrorGuaranteed, struct_span_code_err};\n use rustc_hir::d...
2025-06-01T00:32:49
huggingface/transformers
a0bf5a82eebf88ee9f52145be427f6f1541329f6
6fb6d3c0fbce052bffa061ad41e1a20e7558e73a
Fix typo in image_processing_lfm2_vl_fast (#41940) fix typo
[ { "path": "src/transformers/models/lfm2_vl/image_processing_lfm2_vl_fast.py", "patch": "@@ -209,8 +209,8 @@ class Lfm2VlImageProcessorFast(BaseImageProcessorFast):\n do_normalize = True\n do_pad = True\n return_row_col_info = False\n- image_mean = IMAGENET_STANDARD_STD\n- image_std = IMAGE...
2025-10-31T15:02:39
nodejs/node
3d0a309fa023c50a72652229082553cfbdfe7047
55fbcda864fd3181540e59f7b620fee8869c7ee1
src: do not require JS Context for `~AsyncResoure()` Allow the destructor to be called during GC, which is a common use case. PR-URL: https://github.com/nodejs/node/pull/27255 Fixes: https://github.com/nodejs/node/issues/27218 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.c...
[ { "path": "src/api/async_resource.cc", "patch": "@@ -1,4 +1,5 @@\n #include \"node.h\"\n+#include \"env-inl.h\"\n \n namespace node {\n \n@@ -15,43 +16,44 @@ AsyncResource::AsyncResource(Isolate* isolate,\n Local<Object> resource,\n const char* name,...
2019-04-16T11:31:44
vercel/next.js
3c2c7c145b7e6e0da75745a7d60649cab9301213
054c29017a921d465fdbe68c711b7f81ba2da051
Fix/daemon fixups (vercel/turbo#4831) Co-authored-by: Greg Soltis <greg.soltis@vercel.com> Co-authored-by: Greg Soltis <Greg Soltis>
[ { "path": "crates/globwatch/src/lib.rs", "patch": "@@ -62,7 +62,7 @@ impl GlobWatcher {\n std::fs::create_dir_all(&flush_dir).ok();\n let flush_dir = flush_dir.canonicalize()?;\n \n- let mut watcher = notify::recommended_watcher(move |event: Result<Event, Error>| {\n+ let watch...
2023-05-08T22:12:59
golang/go
474ebb917cb802bf1d08434a265515d50c174082
a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2
syscall: avoid writing to p when Pipe(p) fails Generally speaking Go functions make no guarantees about what has happened to result parameters on error, and Pipe is no exception: callers should avoid looking at p if Pipe returns an error. However, we had a bug in which ForkExec was using the content of p after a fail...
[ { "path": "src/syscall/syscall_aix.go", "patch": "@@ -66,8 +66,10 @@ func Pipe(p []int) (err error) {\n \t}\n \tvar pp [2]_C_int\n \terr = pipe(&pp)\n-\tp[0] = int(pp[0])\n-\tp[1] = int(pp[1])\n+\tif err == nil {\n+\t\tp[0] = int(pp[0])\n+\t\tp[1] = int(pp[1])\n+\t}\n \treturn\n }\n ", "additions": 4, ...
2021-12-08T23:06:41
huggingface/transformers
5f8d02f2f12e771d59d473702bc61a7e7c4a6255
4418728dfa815fe3163d27c43f1b16135bd75528
[v5] Return a BatchEncoding dict from apply_chat_template by default (#41626) * Flip the default return type for `apply_chat_template` to match the underlying tokenizer * Remove test_tokenization_for_chat tests, which no longer do anything useful * Remove test_tokenization_for_chat tests, which no longer do anything...
[ { "path": "src/transformers/models/voxtral/processing_voxtral.py", "patch": "@@ -206,7 +206,7 @@ def apply_chat_template(\n tokenizer_kwargs = {**processed_kwargs[\"template_kwargs\"], **text_kwargs}\n tokenizer_kwargs[\"return_tensors\"] = None # let's not return tensors here\n tok...
2025-10-31T13:50:26
nodejs/node
55fbcda864fd3181540e59f7b620fee8869c7ee1
324154631097e5fd3e4043c2c4c86a73d153500c
n-api: do not require JS Context for `napi_async_destroy()` Allow the function to be called during GC, which is a common use case. Fixes: https://github.com/nodejs/node/issues/27218 PR-URL: https://github.com/nodejs/node/pull/27255 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@g...
[ { "path": "src/node_api.cc", "patch": "@@ -632,10 +632,11 @@ napi_status napi_async_destroy(napi_env env,\n CHECK_ENV(env);\n CHECK_ARG(env, async_context);\n \n- v8::Isolate* isolate = env->isolate;\n node::async_context* node_async_context =\n reinterpret_cast<node::async_context*>(async_cont...
2019-04-16T11:19:40
golang/go
a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2
d6c4583ad4923533ddc9f5792ed3b66f3b9f9feb
syscall: fix ForkLock spurious close(0) on pipe failure Pipe (and therefore forkLockPipe) does not make any guarantees about the state of p after a failed Pipe(p). Avoid that assumption and the too-clever goto, so that we don't accidentally Close a real fd if the failed pipe leaves p[0] or p[1] set >= 0. Fixes #50057...
[ { "path": "src/syscall/exec_unix.go", "patch": "@@ -152,9 +152,6 @@ func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)\n \t\tsys = &zeroSysProcAttr\n \t}\n \n-\tp[0] = -1\n-\tp[1] = -1\n-\n \t// Convert args to C form.\n \targv0p, err := BytePtrFromString(argv0)\n \tif err != ni...
2021-12-08T23:05:11
rust-lang/rust
b3c79137c1665f440f6fe74403e01c252f79ee4f
6c3a87054514dc99fc56c3a22881857f7e614fe4
fix: Use `ROOT` hygiene for `args` inside new `format_args!` expansion
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs", "patch": "@@ -2825,14 +2825,7 @@ impl ExprCollector<'_> {\n let use_format_args_since_1_89_0 = fmt_args().is_some() && fmt_unsafe_arg().is_none();\n \n let idx = if use_format_args_since_1_89_0 {\n- self.c...
2025-06-23T15:12:39
huggingface/transformers
4418728dfa815fe3163d27c43f1b16135bd75528
0a8ab33f7a7b81bc5777da47dd7fcc5835c51568
V4.57.1 training ci: Refactor `test_tensor_parallel.py` (#41918) * refactor test to not depends on subprocess (this way we can easily debug test with breakpoint) * make test more robust by testing on more process (2 4 8) * remove 8 gpus tests because llama is too tiny to apply TP then => RuntimeError. This will impl...
[ { "path": "tests/tensor_parallel/test_tensor_parallel.py", "patch": "@@ -12,26 +12,68 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-# Run the test: CUDA_VISIBLE_DEVICES=0,1 RUN_SLOW=1 pytest -sv tests/tensor_parallel/test_tensor_parallel.p...
2025-10-31T13:46:45
nodejs/node
324154631097e5fd3e4043c2c4c86a73d153500c
51079db826601425f4364a010a6468d734519d95
src: add `Environment` overload of `EmitAsyncDestroy` This can be necessary for being able to call the function when no JS Context is on the stack, e.g. during GC. Refs: https://github.com/nodejs/node/issues/27218 PR-URL: https://github.com/nodejs/node/pull/27255 Fixes: https://github.com/nodejs/node/issues/27218 Re...
[ { "path": "src/api/hooks.cc", "patch": "@@ -130,8 +130,11 @@ async_context EmitAsyncInit(Isolate* isolate,\n }\n \n void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) {\n- AsyncWrap::EmitDestroy(\n- Environment::GetCurrent(isolate), asyncContext.async_id);\n+ EmitAsyncDestroy(Environ...
2019-04-16T11:18:45
electron/electron
85449e953efb638154da4bcc547fcc32eb8b56cd
b9789ef191322a3aca191901a4a1933672beff47
Fix Windows crash when trying to free asar fd
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path)\n \n Archive::~Archive() {\n #if defined(OS_WIN)\n+ file_.Close();\n _close(fd_);\n #endif\n }", "additions": 1, "deletions": 0, "language": "Unknown" } ]
2016-01-16T01:48:07
rust-lang/rust
637bf919eb1117662267d1f187062719532505c1
ae2fc9722f08ef131407c1dc8057768868f65e8e
Fix doc comment
[ { "path": "compiler/rustc_lint/src/passes.rs", "patch": "@@ -92,7 +92,7 @@ macro_rules! expand_combined_late_lint_pass_methods {\n /// Combines multiple lints passes into a single lint pass, at compile time,\n /// for maximum speed. Each `check_foo` method in `$methods` within this pass\n /// simply calls `...
2025-04-09T15:56:56
huggingface/transformers
0a8ab33f7a7b81bc5777da47dd7fcc5835c51568
90d1b67db1ecf15a631b8020d412bfbee2f0206c
Fix: prevent .gitignore truncation in run_clm_no_trainer.py (#41957) * fix: update gitignore update flow * fix: remove whitespace
[ { "path": "examples/pytorch/language-modeling/run_clm_no_trainer.py", "patch": "@@ -308,11 +308,19 @@ def main():\n api = HfApi()\n repo_id = api.create_repo(repo_name, exist_ok=True, token=args.hub_token).repo_id\n \n- with open(os.path.join(args.output_dir, \".gitignore\...
2025-10-31T12:17:09
nodejs/node
a763de137ceb81a19a2446b0f7286c4a309c27e4
a88700abd54f56714cdad5c0c70d111af89af173
doc: clarify behaviour of writeFile(fd) This is a continuing source of confusion, attempt to make it even more clear. Fixes: https://github.com/nodejs/node/issues/24923 PR-URL: https://github.com/nodejs/node/pull/27282 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.co...
[ { "path": "doc/api/fs.md", "patch": "@@ -3592,8 +3592,12 @@ changes:\n * `callback` {Function}\n * `err` {Error}\n \n-Asynchronously writes data to a file, replacing the file if it already exists.\n-`data` can be a string or a buffer.\n+When `file` is a filename, asynchronously writes data to the file, re...
2019-04-17T17:04:30
vercel/next.js
3c2c7c145b7e6e0da75745a7d60649cab9301213
054c29017a921d465fdbe68c711b7f81ba2da051
Fix/daemon fixups (vercel/turbo#4831) Co-authored-by: Greg Soltis <greg.soltis@vercel.com> Co-authored-by: Greg Soltis <Greg Soltis>
[ { "path": "crates/globwatch/src/lib.rs", "patch": "@@ -62,7 +62,7 @@ impl GlobWatcher {\n std::fs::create_dir_all(&flush_dir).ok();\n let flush_dir = flush_dir.canonicalize()?;\n \n- let mut watcher = notify::recommended_watcher(move |event: Result<Event, Error>| {\n+ let watch...
2023-05-08T22:12:59
rust-lang/rust
a3ede1038f19262b746f21080acd90ec5f703b3f
2b0274c71dba0e24370ebf65593da450e2e91868
Fixes firefox copy paste issue
[ { "path": "src/librustdoc/html/static/js/main.js", "patch": "@@ -1,6 +1,6 @@\n // Local js definitions:\n /* global addClass, getSettingValue, hasClass, updateLocalStorage */\n-/* global onEachLazy, removeClass, getVar */\n+/* global onEachLazy, removeClass, getVar, nonnull */\n \n \"use strict\";\n \n@@ -2...
2025-06-11T08:55:46
huggingface/transformers
90d1b67db1ecf15a631b8020d412bfbee2f0206c
02c324f43fe0ef5d484e846417e5f3bf4484524c
fix prepare_config_and_inputs_for_common bug in llava test (#41942) fix bug Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
[ { "path": "tests/models/llava/test_modeling_llava.py", "patch": "@@ -152,10 +152,11 @@ def prepare_config_and_inputs(self):\n def prepare_config_and_inputs_for_common(self):\n config_and_inputs = self.prepare_config_and_inputs()\n config, pixel_values = config_and_inputs\n- input_...
2025-10-31T09:02:39
golang/go
f5ddd94334a63ac8107c976aa4bd6ee2171d7d64
bb9b20a15d637667614ec4a312f216bd4c67b76a
runtime/pprof: increase systemstack calls in TestLabelSystemstack TestLabelSystemstack needs to collect samples within runtime.systemstack to complete the test. The current approach uses fmt.Fprintf, which gets into systemstack through the allocator and GC, but also does lots of other work. In my measurements, approx...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -1425,6 +1425,11 @@ func TestLabelRace(t *testing.T) {\n // TestLabelSystemstack makes sure CPU profiler samples of goroutines running\n // on systemstack include the correct pprof labels. See issue #48577\n func TestLabelSystemstack(t *testing.T) {\...
2021-12-08T20:30:28
nodejs/node
a88700abd54f56714cdad5c0c70d111af89af173
fb3f6005c037f9af8f435edd0d1f407266af2916
tools: fix use-after-free mkcodecache warning Call `v8::Platform::ShutdownPlatform()` to fix a Coverity warning about the `v8::Platform` instance being deleted when it's still in use. PR-URL: https://github.com/nodejs/node/pull/27332 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk....
[ { "path": "tools/code_cache/mkcodecache.cc", "patch": "@@ -58,5 +58,6 @@ int main(int argc, char* argv[]) {\n out.close();\n }\n \n+ v8::V8::ShutdownPlatform();\n return 0;\n }", "additions": 1, "deletions": 0, "language": "Unknown" } ]
2019-04-21T07:50:59
vercel/next.js
20e13490ab39eafa1262703e40742fd38af7bef1
5ca02a875cf8e905c24d4fd0c84abd3e035d8aef
Restrict `useOptimistic` and `useFormStatus` APIs on the server layer (#49331) This PR extends `invalid_server_react_dom_apis` with `experimental_useOptimistic` and `experimental_useFormStatus` to create early compile-time errors.
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -572,6 +572,8 @@ pub fn server_components<C: Comments>(\n JsWord::from(\"findDOMNode\"),\n JsWord::from(\"flushSync\"),\n JsWord::from(\"unstable_batchedUpdates\"),\n+ JsWord...
2023-05-08T22:02:32
electron/electron
64f310168cbaa36bbc9dfde98e646b5f15c1db96
b75dccb0be78512638e9d6aa0f3ae6578ad4c36f
code style fix
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -375,7 +375,8 @@ bool NativeWindowViews::IsFullscreen() const {\n return window_->IsFullscreen();\n }\n \n-void NativeWindowViews::SetBounds(const gfx::Rect& bounds, bool animate = false) {\n+void NativeWindowViews::SetBounds(const gfx::Rect& b...
2016-01-15T16:40:42
huggingface/transformers
02c324f43fe0ef5d484e846417e5f3bf4484524c
b47b35637f5c0c0a6f4b7563072a36c083fb4159
Fix: Gemma3TextConfig rope scaling assignments (#41934) * Fix: Gemma3TextConfig rope scaling assignments * Fix: type annotation for rope_parameters
[ { "path": "src/transformers/models/gemma3/configuration_gemma3.py", "patch": "@@ -156,7 +156,7 @@ def __init__(\n layer_types: Optional[list[str]] = None,\n final_logit_softcapping: Optional[float] = None,\n attn_logit_softcapping: Optional[float] = None,\n- rope_parameters: O...
2025-10-30T12:23:54
golang/go
bb9b20a15d637667614ec4a312f216bd4c67b76a
9e29dd42df18141506dcfc2513e8a653564fdbf1
cmd/api: run half as many go list calls in parallel We currently run one 'go list' invocation per GOMAXPROC. Since the go command uses memory and has its own internal parallelism, that's unlikely to be an efficient use of resources. Run half as many. I suspect that's still too many but this should fix our OOMs. For #...
[ { "path": "src/cmd/api/goapi.go", "patch": "@@ -460,7 +460,7 @@ type listImports struct {\n var listCache sync.Map // map[string]listImports, keyed by contextName\n \n // listSem is a semaphore restricting concurrent invocations of 'go list'.\n-var listSem = make(chan semToken, runtime.GOMAXPROCS(0))\n+var ...
2021-12-08T20:29:12
vercel/next.js
5ca02a875cf8e905c24d4fd0c84abd3e035d8aef
b20d5f2df7dc698f9ed3cde973c2f1dfdb86103a
Fix actions redirect handling (#49483) This ensures we properly strip conflicting headers from being forwarded when handling the redirect request/response in actions. x-ref: [slack thread](https://vercel.slack.com/archives/C042LHPJ1NX/p1683218335368759) Fixes: ```sh failed to get redirect response TypeErr...
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -21,6 +21,7 @@ import { StaticGenerationStore } from '../../client/components/static-generation\n import { FlightRenderResult } from './flight-render-result'\n import { ActionResult } from './types'\n import { ActionAsyncStorage...
2023-05-08T21:41:58
huggingface/transformers
b47b35637f5c0c0a6f4b7563072a36c083fb4159
e7e7eca06b4ae1284ea6b066d4326744445f8300
Fix rope_parameters for gemma3 weights conversion script (#41922) Fix rope_parameters for gemma3 weights conversion script. Co-authored-by: Douglas Reid <21148125+douglas-reid@users.noreply.github.com>
[ { "path": "src/transformers/models/gemma3/convert_gemma3_weights.py", "patch": "@@ -191,7 +191,10 @@\n num_hidden_layers=34,\n num_key_value_heads=4,\n sliding_window=1024,\n- rope_parameters={\"rope_type\": \"linear\", \"factor\": 8.0}, # used for global RoPE...
2025-10-30T11:49:18
nodejs/node
fb3f6005c037f9af8f435edd0d1f407266af2916
9b982feedf76ac51fe4ed1aaf22026cbb0df1a5e
test: fix ineffective error tests Fix tests whether errors are thrown correctly because they are successful when error doesn't get thrown. PR-URL: https://github.com/nodejs/node/pull/27333 Fixes: https://github.com/nodejs/node/issues/26385 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca...
[ { "path": "test/addons/non-node-context/test-make-buffer.js", "patch": "@@ -9,14 +9,15 @@ const {\n // Because the `Buffer` function and its protoype property only (currently)\n // exist in a Node.js instance’s main context, trying to create buffers from\n // another context throws an exception.\n+assert.th...
2019-04-21T08:04:04
golang/go
9e29dd42df18141506dcfc2513e8a653564fdbf1
61011de1af0bc6ab286c4722632719d3da2cf746
doc: document cmd/vet changes for generics in 1.18 Fixes #50011 Updates #47694 Change-Id: Id3d43f2f72de61b360b79c2b375ca1372d5f4692 Reviewed-on: https://go-review.googlesource.com/c/go/+/369979 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <go...
[ { "path": "doc/go1.18.html", "patch": "@@ -266,6 +266,28 @@ <h3 id=\"gofmt\"><code>gofmt</code></h3>\n multiple CPUs, <code>gofmt</code> should now be significantly faster.\n </p>\n \n+<h3 id=\"vet\"><code>vet</code></h3>\n+\n+<h4 id=\"vet-generics\">Updates for Generics</h4>\n+\n+<p><!-- https://golang.o...
2021-12-07T19:29:21
huggingface/transformers
e7e7eca06b4ae1284ea6b066d4326744445f8300
cad7eeeb5e8a173f8d7d746ccdb6ef670ffe6be4
fix some ut failures on XPU w/ torch 2.9 (#41941) * fix some ut failures on XPU w/ torch 2.9 Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix style Signed-off-by: Yao, Matrix <matrix.yao@intel.com> --------- Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
[ { "path": "tests/models/grounding_dino/test_modeling_grounding_dino.py", "patch": "@@ -682,7 +682,7 @@ def test_inference_object_detection_head(self):\n \n expectations = Expectations(\n {\n- (None, None): [[0.4526, 0.4082]],\n+ (None, None): [0.4526, 0.4082...
2025-10-30T10:23:57
nodejs/node
62c7b2eca9d9a53ccedd6517c955285b0732d255
b773f77ddbae7fb6b4530b0ab60e2d72aebf277f
benchmark: fix http bench-parser.js The internal HTTParser `reinitialize()` function was removed in ece507394a and replaced with an `initialize()` function. This broke benchmark/http/bench-parser.js. This change updates the benchmark so that it runs again. PR-URL: https://github.com/nodejs/node/pull/27359 Reviewed-By...
[ { "path": "benchmark/http/bench-parser.js", "patch": "@@ -24,7 +24,7 @@ function main({ len, n }) {\n bench.start();\n for (var i = 0; i < n; i++) {\n parser.execute(header, 0, header.length);\n- parser.reinitialize(REQUEST, i > 0);\n+ parser.initialize(REQUEST, header);\n }\n ...
2019-04-23T12:46:46
vercel/next.js
b20d5f2df7dc698f9ed3cde973c2f1dfdb86103a
00ed2ba7ccabca31a5f705ac054151521bfc094f
Fix metadata image route encoding (#49482) Fix the bad encoded buffer introduced in #49323
[ { "path": "packages/next/src/build/webpack/loaders/next-metadata-route-loader.ts", "patch": "@@ -51,13 +51,11 @@ const contentType = ${JSON.stringify(getContentType(resourcePath))}\n const buffer = Buffer.from(${JSON.stringify(\n (\n await fs.promises.readFile(\n- resourcePath.replace(METAD...
2023-05-08T21:16:34
huggingface/transformers
cad7eeeb5e8a173f8d7d746ccdb6ef670ffe6be4
76fc50a1527a7db593a6057903b749598f7000a9
Minor fix in docker image build workflow (#41949) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -78,7 +78,7 @@ jobs:\n with:\n context: ./docker/transformers-all-latest-gpu\n build-args: |\n- REF=update_dockerfile\n+ REF=main\n PYTORCH=2.8.0\n TORCHCODEC=0.7.0\n...
2025-10-30T10:02:11
rust-lang/rust
d0ebff04308c51d04adfdcab256b4248ae508635
b8cc80565f65c931d7bc221bbc0861e7259a29a4
fix: Fix cargo project manifest not pointing to the workspace root
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/workspace.rs", "patch": "@@ -16,6 +16,7 @@ use paths::{AbsPath, AbsPathBuf, Utf8PathBuf};\n use rustc_hash::{FxHashMap, FxHashSet};\n use semver::Version;\n use span::{Edition, FileId};\n+use toolchain::Tool;\n use tracing::instrument;\n use triomp...
2025-06-23T12:04:57
golang/go
61011de1af0bc6ab286c4722632719d3da2cf746
7b7efd7a7c952f8b372c861c94acd159ee371acb
cmd/compile: try to preserve IsStmt marks from OpConvert Note when a statement mark was not consumed during Prog generation, and try to use it on a subsequent opcode so that the statement marker will not be lost. And a test. Fixes #49628. Change-Id: I03f7782a9809cc4a0a5870df92b3e182cf124554 Reviewed-on: https://go-...
[ { "path": "src/cmd/compile/internal/ssa/debug_lines_test.go", "patch": "@@ -82,6 +82,25 @@ func TestDebugLinesPushback(t *testing.T) {\n \t}\n }\n \n+func TestDebugLinesConvert(t *testing.T) {\n+\tif runtime.GOOS != \"linux\" && runtime.GOOS != \"darwin\" { // in particular, it could be windows.\n+\t\tt.Ski...
2021-11-23T18:29:13
electron/electron
a5cc1053113e5b500519e5cde982271757bb05d5
39225ac5ec5b7d5a779011a6e3638389cb256540
fix incorrect markdown tag
[ { "path": "docs-translations/zh-CN/tutorial/desktop-environment-integration.md", "patch": "@@ -31,7 +31,7 @@ app.clearRecentDocuments();\n ## 自定义的鱼眼菜单(OS X)\n OS X 可以让开发者定制自己的菜单,通常会包含一些常用特性的快捷方式。\n ### 菜单中的终端\n-[Dock menu of Terminal.app][6]\n+![Dock menu of Terminal.app][6]\n \n 使用 `app.dock.setMenu` API 来...
2016-01-15T07:26:16
nodejs/node
b773f77ddbae7fb6b4530b0ab60e2d72aebf277f
a41a4ee61b25698394aeda277546605ea25070c1
doc: fix v12.0.0 changelog id PR-URL: https://github.com/nodejs/node/pull/27368 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "doc/changelogs/CHANGELOG_V12.md", "patch": "@@ -28,7 +28,7 @@\n * [io.js](CHANGELOG_IOJS.md)\n * [Archive](CHANGELOG_ARCHIVE.md)\n \n-<a id=\"11.0.0\"></a>\n+<a id=\"12.0.0\"></a>\n ## 2019-04-23, Version 12.0.0 (Current), @BethGriggs\n \n ### Notable Changes", "additions": 1, "deleti...
2019-04-23T15:58:35
vercel/next.js
00ed2ba7ccabca31a5f705ac054151521bfc094f
3a5501e67878fb7b899ff08a6faf38eddd027629
Fix revalidate: false detection in app (#49473) When revalidate isn't defined in the tree at all and a fetch without cache/revalidate fields is done we are incorrectly marking the initial revalidate period with a time based value when it should be `false`. This causes pages that should be fully static to revalidate...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -289,7 +289,11 @@ export default async function build(\n hasAppDir = Boolean(appDir)\n \n if (isAppDirEnabled && hasAppDir) {\n- if (!process.env.__NEXT_TEST_MODE && ciEnvironment.hasNextSupport) {\n+ if (\n+ (!pro...
2023-05-08T20:19:41
huggingface/transformers
a43b36cf802f00616800e0bd4d748679236123ee
10d557123b42236dabfb70d40cf3d9ef57a445d0
fix some ut failures on XPU w/ torch 2.9 (#41923) * fix 6 ut failures on XPU w/ torch 2.9 Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix UT failures for 4 models on XPU Signed-off-by: Yao, Matrix <matrix.yao@intel.com> --------- Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
[ { "path": "tests/models/aria/test_modeling_aria.py", "patch": "@@ -520,7 +520,6 @@ def test_generation_no_images(self):\n quantization_config=BitsAndBytesConfig(load_in_4bit=True, llm_int8_skip_modules=[\"multihead_attn\"]),\n )\n processor = AutoProcessor.from_pretrained(model_i...
2025-10-29T15:15:33
rust-lang/rust
c7bfb114b7f1dca70cd14d476646cd68f35ef886
22be76b7e259f27bf3e55eb931f354cd8b69d55f
Fix install-template.sh for Solaris tr
[ { "path": "src/tools/rust-installer/install-template.sh", "patch": "@@ -160,7 +160,7 @@ valopt() {\n local doc=\"$*\"\n if [ $HELP -eq 0 ]\n then\n- local uop=$(echo $op | tr 'a-z-' 'A-Z_')\n+ local uop=$(echo $op | tr '[a-z]-' '[A-Z]_')\n local v=\"CFG_${uop}\"\n e...
2025-06-23T11:16:08
golang/go
85a8e1786a669efe525fd4555edb77a60bac2ffe
6b609110fdfab4a496c246889f1e67fd7cba61df
cmd/go: fix hang in workspaces golang.org/cl/365234 incorrectly had pruningForGoVersion always return workspace pruning instead of just returning workspace pruning at the top level, which broke the proper determination of pruning for dependency packages. Fix that code, and also fix a hang that resulted because the mod...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -694,7 +694,11 @@ func LoadModFile(ctx context.Context) *Requirements {\n \t\tMainModules = makeMainModules([]module.Version{mainModule}, []string{\"\"}, []*modfile.File{nil}, []*modFileIndex{nil}, \"\", nil)\n \t\tgoVersion := LatestGoVersion()\...
2021-11-23T22:36:21
electron/electron
f93d890874d319609e06e8efdaa073866f982179
2598b00b41d7a6b5d0bd92c03c09da14317d7718
Fix doc
[ { "path": "docs/api/browser-window.md", "patch": "@@ -456,7 +456,8 @@ height areas you have within the overall content view.\n * `y` Integer\n * `width` Integer\n * `height` Integer\n-* `animate` Boolean (optional) _OS X_\n+\n+`animate` Boolean (optional) _OS X_\n \n Resizes and moves the window to `width`,...
2016-01-15T04:57:00