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
golang/go
a6d3dc40c40c8a93e6b8bd641104d7655eb5093b
9cc3469106df94ad0d3c806bcfbddb7e5224d8b6
misc/cgo/testso, misc/cgo/testsovar: fix for Windows At least in mingw-clang it is not permitted to just name a .dll on the command line. You must name the corresponding import library instead, even though the dll is used when the executable is run. This fixes misc/cgo/testso and misc/cgo/testsovar on windows/arm64. ...
[ { "path": "misc/cgo/testso/so_test.go", "patch": "@@ -79,6 +79,10 @@ func TestSO(t *testing.T) {\n \tcase \"windows\":\n \t\text = \"dll\"\n \t\targs = append(args, \"-DEXPORT_DLL\")\n+\t\t// At least in mingw-clang it is not permitted to just name a .dll\n+\t\t// on the command line. You must name the corr...
2021-04-20T20:22:01
huggingface/transformers
d1eafe8d4e9ecc7c8b4b5d21119e897733794ddf
0e56fb69a23ad2bb9b56583d1ba130aa37c5b8e9
Optimize `to_py_obj` for python-native numeric lists and scalars (#36885) * Optimize to_py_obj for python-native numeric lists and scalars * Fix bug that tuple is not converted to list * Try np.array for more robust type checking * Apply review and add tests for to_py_obj
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -257,6 +257,18 @@ def to_py_obj(obj):\n \"\"\"\n Convert a TensorFlow tensor, PyTorch tensor, Numpy array or python list to a python list.\n \"\"\"\n+ if isinstance(obj, (int, float)):\n+ return obj\n+ elif isinstance(obj, ...
2025-03-27T13:16:46
nodejs/node
1da88552ea6d7d4fb5b590b86109053419858f30
f56c9657bcc62a7111484d6016f1d6eb33f7c054
doc: fix indentation in console.md PR-URL: https://github.com/nodejs/node/pull/21367 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
[ { "path": "doc/api/console.md", "patch": "@@ -94,7 +94,7 @@ changes:\n * `stdout` {stream.Writable}\n * `stderr` {stream.Writable}\n * `ignoreErrors` {boolean} Ignore errors when writing to the underlying\n- streams. **Default:** `true`.\n+ streams. **Default:** `true`.\...
2018-06-16T13:25:03
vercel/next.js
97520cc32df81e93f6a4a2f417b4513d3a090c49
ebbd9a98e952308ac21f7fb1f3e47d5e0fca64ba
Leverage outputFileTracingIgnores for next-server trace as well (#43108) Follow-up to https://github.com/vercel/next.js/pull/43103 this adds the ignores to the `next-server` trace as well since it may be needed for some cases as well. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration ...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -1857,6 +1857,7 @@ export default async function build(\n ...(!hasSsrAmpPages\n ? ['**/next/dist/compiled/@ampproject/toolbox-optimizer/**/*']\n : []),\n+ ...(config.experimental.outputF...
2022-11-18T23:39:39
electron/electron
984d60f9351d64a0eb96e2bbc8cb20c9455d1c44
65f258160e231ff9f5cc0ed239098c4c902f19fd
Override default window.close, fixes #70.
[ { "path": "renderer/lib/init.coffee", "patch": "@@ -50,6 +50,11 @@ window.onerror = (error) ->\n else\n false\n \n+# Override default window.close, see:\n+# https://github.com/atom/atom-shell/issues/70\n+window.close = ->\n+ require('remote').getCurrentWindow().close()\n+\n # Override default window....
2014-02-17T10:18:52
golang/go
bf9216055b98e94cb2c96f4534777dd6d0ee0532
a25d1d45d968253f0b257cca9d57619a5af248c9
runtime/testdata: fix testprogcgo for windows/arm64 Our toolchain does not like -mnop-fun-dllimport. Change-Id: Iaaee01fe0f4b0959406a35eb13aefa390116b483 Reviewed-on: https://go-review.googlesource.com/c/go/+/312043 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@go...
[ { "path": "src/runtime/testdata/testprogcgo/windows/win.go", "patch": "@@ -1,7 +1,7 @@\n package windows\n \n /*\n-#cgo CFLAGS: -mnop-fun-dllimport\n+#cgo amd64 386 CFLAGS: -mnop-fun-dllimport\n \n #include <windows.h>\n ", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-04-20T18:06:51
huggingface/transformers
0e56fb69a23ad2bb9b56583d1ba130aa37c5b8e9
7e813f9cf0d66a8340c19ea56be964e5f1b440a8
fix pegasus init weights and other copied models (#36844) * fix pegasus init weights Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix the rest of models Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix informer init Signed-off-by: jiq...
[ { "path": "src/transformers/models/autoformer/modeling_autoformer.py", "patch": "@@ -360,7 +360,6 @@ class AutoformerSinusoidalPositionalEmbedding(nn.Embedding):\n \n def __init__(self, num_positions: int, embedding_dim: int, padding_idx: Optional[int] = None) -> None:\n super().__init__(num_pos...
2025-03-27T13:14:30
electron/electron
07fc2b41af1e0f963a7e378f3d2565a1c9390386
a9efe77ceb8c1e08c42c6299794df890f7feeadf
Fix using BrowserWindow as parameter for ipc.sendChannel.
[ { "path": "browser/api/lib/auto-updater.coffee", "patch": "@@ -23,6 +23,6 @@ autoUpdater.quitAndInstall = ->\n \n # Tell all windows to remove beforeunload handler and then close itself.\n ipc = require 'ipc'\n- ipc.sendChannel win.getProcessId(), win.getRoutingId(), 'ATOM_SHELL_SILENT_CLOSE' for win i...
2014-02-17T07:24:42
vercel/next.js
70c6f15522569395b4381cf2fde44952e83d893f
24867fd785572e6198a9d7560679acc00cb2097f
Add experimental outputFileTracingIgnores config (#43103) This allows filtering out known traces that should be ignored even if `node-file-trace` detects them as being potentially used. x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1668761350086149) ## Bug - [ ] Related issues linke...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1993,13 +1993,15 @@ export default async function getBaseWebpackConfig(\n config.outputFileTracing &&\n (isNodeServer || isEdgeServer) &&\n !dev &&\n- new (require('./webpack/plugins/next-trace-entrypoints-plugin')...
2022-11-18T22:35:28
nodejs/node
f56c9657bcc62a7111484d6016f1d6eb33f7c054
859a8d1907e672009362ec37d58d0b5892e154d4
doc: fix heading of optional console method args PR-URL: https://github.com/nodejs/node/pull/21311 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/console.md", "patch": "@@ -164,7 +164,7 @@ operates similarly to the `clear` shell command. On Windows, `console.clear()`\n will clear only the output in the current terminal viewport for the Node.js\n binary.\n \n-### console.count([label='default'])\n+### console.count([label])\n <!-- Y...
2018-06-13T13:32:30
huggingface/transformers
d13c390d0194eda30f787ec27be37515a029fd4d
d6d930a64b4889d715d3989691209b3f70c11b20
Mark 2 tests as flaky for now (#37038) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/smolvlm/test_modeling_smolvlm.py", "patch": "@@ -29,6 +29,7 @@\n )\n from transformers.testing_utils import (\n cleanup,\n+ is_flaky,\n require_torch,\n require_torch_sdpa,\n slow,\n@@ -373,6 +374,11 @@ def test_contrastive_generate_low_memory(self):\n def test...
2025-03-27T09:59:47
golang/go
a25d1d45d968253f0b257cca9d57619a5af248c9
16330817aa6588651a09df03b556091c16052ce6
runtime: fix windows/arm64 callbackasm1 for frame pointer hack Fixes the previously failing TestStdcallAndCDeclCallbacks for the 9+ argument case. The last time this code passed, the invisible frame pointer below SP was apparently not enabled on windows/arm64. Change-Id: Ifc3064e894b2f39d6410f3be51c17309ebab08a4 Rev...
[ { "path": "src/runtime/sys_windows_arm64.s", "patch": "@@ -309,14 +309,19 @@ TEXT runtime·callbackasm1<ABIInternal>(SB),NOSPLIT,$208-0\n \n \t// Save callback register arguments R0-R7.\n \t// We do this at the top of the frame so they're contiguous with stack arguments.\n-\tMOVD\tR0, arg0-(8*8)(SP)\n-\tMOVD...
2021-04-20T18:05:49
electron/electron
a9efe77ceb8c1e08c42c6299794df890f7feeadf
b932461b4506853b39870c22ea16598dd02b7895
Fix quitAndInstall when there is no window.
[ { "path": "browser/api/lib/auto-updater.coffee", "patch": "@@ -9,14 +9,20 @@ autoUpdater.on 'update-downloaded-raw', (args...) ->\n @emit 'update-downloaded', args..., => @quitAndInstall()\n \n autoUpdater.quitAndInstall = ->\n+ # If we don't have any window then quitAndInstall immediately.\n+ BrowserWi...
2014-02-17T07:05:34
vercel/next.js
abd5a8436ffe7362548db5e2c8639a715cf9cbf3
37d5abaa94becabcebcc23e3ced4e9b510746f4c
Add force-static handling for app dir (#43061) Fixes: https://github.com/vercel/next.js/issues/42932 x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1668639343426429?thread_ts=1668631260.554489&cid=C03S8ED1DKM) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tes...
[ { "path": "packages/next/client/components/headers.ts", "patch": "@@ -1,8 +1,12 @@\n+import { RequestCookies } from '../../server/web/spec-extension/cookies'\n import { requestAsyncStorage } from './request-async-storage'\n import { staticGenerationBailout } from './static-generation-bailout'\n \n export fu...
2022-11-18T17:47:44
huggingface/transformers
927ce1d39fee46ab894519d56dd2454171c13b9b
49b5ab6a27511de5168c72e83318164f1b4adc43
Fix PixtralProcessor patch_size when spatial_merge_size is used (#37019)
[ { "path": "src/transformers/models/pixtral/processing_pixtral.py", "patch": "@@ -156,6 +156,8 @@ def __call__(\n **kwargs,\n )\n \n+ patch_size = self.patch_size * self.spatial_merge_size\n+\n if images is not None:\n if is_image_or_image_url(images):\n ...
2025-03-27T09:46:23
golang/go
79f35130cd8cd391ae98dffb1eb303b53610a0be
a0248a99a8567fcd8188e08977ec5eafd553bc18
cmd/link: expand PE constants and fix doc URL Change-Id: Ie3492b925f6d12430ce05e7d727e739a62f201e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/312038 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com...
[ { "path": "src/cmd/link/internal/ld/pe.go", "patch": "@@ -3,7 +3,7 @@\n // license that can be found in the LICENSE file.\n \n // PE (Portable Executable) file writing\n-// https://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx\n+// https://docs.microsoft.com/en-us/windows/win32/debug/pe-format...
2021-04-14T16:52:53
huggingface/transformers
49b5ab6a27511de5168c72e83318164f1b4adc43
5b08db884443fe9446138dd835cb98b0b4ba5c54
Support QuestionAnswering Module for ModernBert based models. (#35566) * push ModernBertForQuestionAnswering * update ModernBertForQuestionAnswering * update __init__ loading * set imports for ModernBertForQuestionAnswering * update ModernBertForQuestionAnswering * remove debugging logs * update init_weights met...
[ { "path": "docs/source/en/model_doc/modernbert.md", "patch": "@@ -60,6 +60,9 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n \n - [Masked language modeling task guide](../tasks/masked_language_modeling)\n \n+<PipelineTag pipeline=\"question-answering\"/>\n+\n+- [`ModernBe...
2025-03-26T20:24:18
electron/electron
b932461b4506853b39870c22ea16598dd02b7895
6b3ff63358d29067122aad6bb1fed195cddc81ef
Fix crash when calling quitAndUpdate without any update.
[ { "path": "browser/api/atom_api_auto_updater.cc", "patch": "@@ -80,7 +80,11 @@ void AutoUpdater::CheckForUpdates(\n void AutoUpdater::QuitAndInstall(\n const v8::FunctionCallbackInfo<v8::Value>& args) {\n AutoUpdater* self = AutoUpdater::Unwrap<AutoUpdater>(args.This());\n- self->quit_and_install_.Ru...
2014-02-17T06:56:23
vercel/next.js
37d5abaa94becabcebcc23e3ced4e9b510746f4c
e701c715f9984a75a58aac1df2560f1d10b14ba9
fix: Wrong link to source in "responsive" image example (#43081)
[ { "path": "examples/image-component/pages/responsive.tsx", "patch": "@@ -4,7 +4,7 @@ import mountains from '../public/mountains.jpg'\n \n const Responsive = () => (\n <div>\n- <ViewSource pathname=\"pages/layout-responsive.tsx\" />\n+ <ViewSource pathname=\"pages/responsive.tsx\" />\n <h1>Image ...
2022-11-18T17:16:37
golang/go
a0248a99a8567fcd8188e08977ec5eafd553bc18
59ceb985c7f78ca5dba6b83ff126d97d86267d7c
cmd/link: fix PE emitRelocations for >4GB base address Change-Id: I1dda31bb1efa177159e4e7b4c9c9cc615e2fdc0c Reviewed-on: https://go-review.googlesource.com/c/go/+/312037 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@g...
[ { "path": "src/cmd/link/internal/ld/pe.go", "patch": "@@ -534,12 +534,12 @@ func (f *peFile) emitRelocations(ctxt *Link) {\n \t\t\t\tbreak\n \t\t\t}\n \t\t}\n-\t\teaddr := int32(sect.Vaddr + sect.Length)\n+\t\teaddr := int64(sect.Vaddr + sect.Length)\n \t\tfor _, s := range syms {\n \t\t\tif !ldr.AttrReacha...
2021-04-14T16:55:43
huggingface/transformers
5b08db884443fe9446138dd835cb98b0b4ba5c54
3a8ec8c467bc7416f957f004f76cdc6e0c62fdf3
fix transformers_cli import relative path issue (#36989) * fix transformers_cli relative import path issue 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> Co-authored-by: Joao Gante <joaofra...
[ { "path": "src/transformers/commands/env.py", "patch": "@@ -94,6 +94,7 @@ def run(self):\n \n pt_version = torch.__version__\n pt_cuda_available = torch.cuda.is_available()\n+ pt_xpu_available = torch.xpu.is_available()\n pt_npu_available = is_torch_npu_availab...
2025-03-26T18:45:56
electron/electron
9ba7db8815f3c19056f79fe48f69fa966ef2760a
f4a2c12d758fc7afbd4cc2c8e0b439eed458462d
win: Fix detecting attached modal dialog.
[ { "path": "browser/native_window.cc", "patch": "@@ -49,6 +49,7 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n has_frame_(true),\n is_closed_(false),\n node_integration_(\"all\"),\n+ has_dialog_attached_(false),\n weak_factory_(this),\n inspectable_web_...
2014-02-10T12:07:38
vercel/next.js
ce5b59d2ed71261bd5fbafb1abdf849c6d9d8926
58fa90f1bf93f450d9ae195935a990fb4357a584
Remove unnecessary async function when preloading async components (#42957) The fix in #42793 added an unnecessary step by returning a new async function when the result is a promise. We only have to make sure we don't get an unhandledRejection error if the promise rejects, React takes care of getting the data from th...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -59,23 +59,12 @@ function preloadComponent(Component: any, props: any) {\n }\n try {\n let result = Component(props)\n- if (result && result.then) {\n- result = result\n- .then((res: any) => {\n- return { success: ...
2022-11-18T09:51:23
golang/go
59ceb985c7f78ca5dba6b83ff126d97d86267d7c
199575a119d909b98afb044a94f43249883c1062
cmd/link: make Loader.SymName not crash Even if not presented with a valid symbol, recover gracefully, so that debug prints do not crash. Change-Id: I06bbe4bec5f90b79b4830e772a7fc3d7c919df1b Reviewed-on: https://go-review.googlesource.com/c/go/+/312036 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -771,6 +771,9 @@ func (l *Loader) SymName(i Sym) string {\n \t\treturn pp.name\n \t}\n \tr, li := l.toLocal(i)\n+\tif r == nil {\n+\t\treturn \"?\"\n+\t}\n \tname := r.Sym(li).Name(r.Reader)\n \tif !r.NeedNameExpansion() {\n \t\treturn name", ...
2021-04-14T16:44:04
nodejs/node
a703df9785b79987ca03a2ad66f13afcfa2e4ade
0179e940cc3cbd81e6abaf7b12677b72070f94c5
crypto: fix behavior of createCipher in wrap mode The old implementation silently failed in EVP_CipherInit_ex in EVP_CIPH_WRAP_MODE, this commit should fix that. PR-URL: https://github.com/nodejs/node/pull/21287 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewe...
[ { "path": "src/node_crypto.cc", "patch": "@@ -2611,10 +2611,14 @@ void CipherBase::Init(const char* cipher_type,\n iv);\n \n ctx_.reset(EVP_CIPHER_CTX_new());\n+\n+ const int mode = EVP_CIPHER_mode(cipher);\n+ if (mode == EVP_CIPH_WRAP_MODE)\n+ EVP_CIPHER_CTX_set_flags(...
2018-06-12T14:14:46
huggingface/transformers
2b550c47b208fc1a57feca46307349ab575cba2c
44715225e3169a5b57645c3a81f8d791cf67154b
Remove deprecated training arguments (#36946) * Remove deprecated training arguments * More fixes * More fixes * More fixes
[ { "path": "examples/pytorch/instance-segmentation/README.md", "patch": "@@ -66,7 +66,7 @@ python run_instance_segmentation.py \\\n --dataloader_persistent_workers \\\n --dataloader_prefetch_factor 4 \\\n --do_eval \\\n- --evaluation_strategy epoch \\\n+ --eval_strategy epoch \\\n --log...
2025-03-26T16:44:48
vercel/next.js
4d2b7e573a4aa4ea3d4ef46c8679f1e730791797
22b16e1e37f253236c8508bb68280b2ce2c5ca37
Fix app render: escape segment value #42626 (#42823) Fix: https://github.com/vercel/next.js/issues/42398 relates to https://github.com/vercel/next.js/pull/42626#pullrequestreview-1172032873 <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as poss...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -874,7 +874,13 @@ export async function renderToHTMLOrFlight(\n }\n \n const key = segmentParam.param\n- const value = pathParams[key]\n+ let value = pathParams[key]\n+\n+ if (Array.isArray(value)) {\n+ value = v...
2022-11-18T01:45:39
electron/electron
f4a2c12d758fc7afbd4cc2c8e0b439eed458462d
74a83e3d7c3b41edf2ff6f428a81bb517ba49ceb
Use keydown event for accelerator. This follows the behaivor on OS X, fixed #174.
[ { "path": "browser/native_window_win.cc", "patch": "@@ -417,7 +417,7 @@ void NativeWindowWin::UpdateDraggableRegions(\n void NativeWindowWin::HandleKeyboardEvent(\n content::WebContents*,\n const content::NativeWebKeyboardEvent& event) {\n- if (event.type == WebKit::WebInputEvent::KeyUp) {\n+ if (...
2014-02-06T11:43:30
nodejs/node
0179e940cc3cbd81e6abaf7b12677b72070f94c5
772d390746eb6e0ebe7dc98f4c074147c61ac23f
test: fix deprecation warning due to util.print PR-URL: https://github.com/nodejs/node/pull/21265 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Michaël Zasso <tar...
[ { "path": "test/parallel/test-child-process-double-pipe.js", "patch": "@@ -23,7 +23,6 @@\n const common = require('../common');\n const assert = require('assert');\n const os = require('os');\n-const util = require('util');\n const spawn = require('child_process').spawn;\n \n // We're trying to reproduce:\n...
2018-06-11T19:45:36
huggingface/transformers
44715225e3169a5b57645c3a81f8d791cf67154b
79d6f9fd7006bd6a7860f63f43f0e6e89a0412a4
fix typos in the code comments and error messages (#36993) * chore: enhance code comments * chore: enhance code comments * chore: enhance code comments * chore: enhance code comments * chore: enhance code comments * chore: enhance code comments * chore: enhance code comments
[ { "path": "src/transformers/models/altclip/modeling_altclip.py", "patch": "@@ -798,7 +798,7 @@ def forward(\n attn_weights = nn.functional.softmax(attn_weights, dim=-1)\n \n if output_attentions:\n- # this operation is a bit akward, but it's required to\n+ # this operat...
2025-03-26T16:09:48
electron/electron
74a83e3d7c3b41edf2ff6f428a81bb517ba49ceb
283aa79c179fe8466e5e04df4d9d407138deb328
The translate-crash-log-addresses script is abandonded.
[ { "path": "script/translate-crash-log-addresses.coffee", "patch": "@@ -1,54 +0,0 @@\n-#!/usr/bin/env coffee\n-# Usage:\n-# Copy the crash log into pasteboard and then run\n-# pbpaste | ./script/translate-crash-log-addresses.coffee\n-\n-atos = (addresses, callback) ->\n- path = require 'path'\n- exec = req...
2014-02-06T10:35:54
vercel/next.js
22b16e1e37f253236c8508bb68280b2ce2c5ca37
2f744a1ae32a65f1362af0957e3c57f33d102914
Ensure backslash is correctly handled in find-page-file (#43057) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/43019#issuecomment-1319340037
[ { "path": "packages/next/server/lib/find-page-file.ts", "patch": "@@ -67,6 +67,6 @@ export async function findPageFile(\n // The filename should start with 'page' and end with one of the allowed extensions\n export function isLayoutsLeafPage(filePath: string, pageExtensions: string[]) {\n return new RegEx...
2022-11-18T01:30:01
nodejs/node
e11447a08b132906d9852e58ccb0433b17f65b0c
7a687624b4b5c7de1a2a33944dc44df76723309a
deps: Upgrade node-inspect to 1.11.5 Removes the prompt to report a bug when trying to launch the debugger using a port that is already in use. Changeset generated via: ``` rm -rf deps/node-inspect node-inspect-* && \ curl -sSL "https://github.com/nodejs/node-inspect/archive/v1.11.5.tar.gz" | \ tar -xzvf - && mv...
[ { "path": "deps/node-inspect/.eslintrc", "patch": "@@ -5,7 +5,7 @@ env:\n es6: true\n \n parserOptions:\n- ecmaVersion: 2016\n+ ecmaVersion: 2017\n \n rules:\n # Possible Errors\n@@ -139,3 +139,9 @@ globals:\n DTRACE_HTTP_SERVER_RESPONSE: false\n DTRACE_NET_SERVER_CONNECTION: false\n DTRACE_NET_...
2018-05-31T10:21:03
golang/go
c0e1301b8c137d4b9f93067469b9608c252f2cea
073f9139497401e019e4357d110c2801c5be31e1
cmd/link: fix PE section attributes for windows/arm64 The clang-mingw toolchain on windows/arm64 expects .text to NOT be listed as containing initialized data and .dwarf* to be listed as containing initialized data. Neither is true today, resulting in the go .text and .dwarf* not being merged with the system .text an...
[ { "path": "src/cmd/link/internal/ld/pe.go", "patch": "@@ -452,7 +452,7 @@ func (f *peFile) addDWARFSection(name string, size int) *peSection {\n \toff := f.stringTable.add(name)\n \th := f.addSection(name, size, size)\n \th.shortName = fmt.Sprintf(\"/%d\", off)\n-\th.characteristics = IMAGE_SCN_MEM_READ | I...
2021-04-20T19:00:35
huggingface/transformers
79d6f9fd7006bd6a7860f63f43f0e6e89a0412a4
13d36e89fe6a9aaae7bca48552a2eae9bbee80a2
Log the correct learning rate (#36973) * fix learning rate log * fix lr log * add lr
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2460,6 +2460,7 @@ def _inner_training_loop(\n self._globalstep_last_logged = self.state.global_step\n model.zero_grad()\n grad_norm: Optional[float] = None\n+ learning_rate = None\n self.control = self.callback_han...
2025-03-26T15:52:00
vercel/next.js
2f744a1ae32a65f1362af0957e3c57f33d102914
cb8eeefcaa7963572dca872272c659d470038d88
Fix middleware prefetch cases (#43056) This ensures we properly handle prefetching with config based rewrites with middleware configured. No additional tests have been added as the existing tests caught this. Fixes: https://github.com/vercel/next.js/actions/runs/3492657731/jobs/5847159406 ## Bug - [ ] Rela...
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -2097,13 +2097,13 @@ export default class Router implements BaseRouter {\n data?.json && !wasBailedPrefetch\n ? data\n : await fetchNextData({\n- dataHref:\n- data?...
2022-11-18T01:20:14
electron/electron
283aa79c179fe8466e5e04df4d9d407138deb328
dc69c7b6940b964c159c8334d25bec237adc6c33
Fix assertions when building against Debug libchromiumcontent. Imported from https://github.com/brightray/brightray/pull/50.
[ { "path": "browser/atom_browser_context.cc", "patch": "@@ -61,7 +61,8 @@ AtomURLRequestContextGetter* AtomBrowserContext::CreateRequestContext(\n GetPath(),\n BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO),\n BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::FILE...
2014-02-05T03:18:32
nodejs/node
9310f86cb306a66a0473722471abd1f2a747132c
7b46e177ba7f0f8349eb5fd73daf57fe847765ff
test: removing unnecessary parameter from assert call Removed unnecessary parameter from assert call in test/parallel/test-stream2-basic.js. Fixes: https://github.com/nodejs/node/issues/21305 PR-URL: https://github.com/nodejs/node/pull/21307 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ih...
[ { "path": "test/parallel/test-stream2-basic.js", "patch": "@@ -212,10 +212,10 @@ class TestWriter extends EE {\n 'xxxxx' ];\n \n w[0].on('end', common.mustCall(function(received) {\n- assert.deepStrictEqual(received, expect, 'first');\n+ assert.deepStrictEqual(received, expect);\n...
2018-06-13T07:15:42
huggingface/transformers
13d36e89fe6a9aaae7bca48552a2eae9bbee80a2
021006e1b00f0ee325e9e17d99985dac7abdc755
Fix device_map check for ggml files (#37003) fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4329,7 +4329,11 @@ def from_pretrained(\n \"You cannot combine Quantization and loading a model from a GGUF file, try again by making sure you did not passed a `quantization_config` or that you did not load a quantized model from ...
2025-03-26T15:24:57
golang/go
073f9139497401e019e4357d110c2801c5be31e1
cef3a442eaa1f86b81bb67fb881c5bb9e446fb13
debug/dwarf: skip over zero-length compilation units DWARF sections generated by mingw-clang seem to include these (not often - only one out of many in the binary that I am looking at). Skipping over them, everything parses correctly. This makes TestDefaultLinkerDWARF pass on windows/arm64. Change-Id: Ie4a7daa1423f5...
[ { "path": "src/debug/dwarf/unit.go", "patch": "@@ -48,7 +48,9 @@ func (d *Data) parseUnits() ([]unit, error) {\n \t\t\tbreak\n \t\t}\n \t\tb.skip(int(len))\n-\t\tnunit++\n+\t\tif len > 0 {\n+\t\t\tnunit++\n+\t\t}\n \t}\n \tif b.err != nil {\n \t\treturn nil, b.err\n@@ -61,7 +63,9 @@ func (d *Data) parseUnit...
2021-04-20T19:41:24
vercel/next.js
533c242094a08a41bd8cc89958c438998fbc27f0
07d3da102dfef65be9c13fd4b754a12eda7eded1
Add middleware prefetching config (#42936) This adds a new `experimental.middlewarePrefetch` config with two modes with the default being the `flexible` config. - `strict` only prefetches when the `href` explicitly matches an SSG route (won't prefetch for middleware rewrite usage unless manual `href`/`as` values...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -229,6 +229,9 @@ export function getDefineEnv({\n 'process.env.__NEXT_OPTIMISTIC_CLIENT_CACHE': JSON.stringify(\n config.experimental.optimisticClientCache\n ),\n+ 'process.env.__NEXT_MIDDLEWARE_PREFETCH': JSON.stringify(\n+ ...
2022-11-17T21:22:36
rust-lang/rust
91114bd289cf92c7b62b1d2d53f2467024d9cf07
4cfecfdfa6a432d72f5ee03c5a0904b5fbcca0a3
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -96,6 +96,7 @@ rm -r tests/run-make/llvm-location-discriminator-limit-dummy-span # same\n rm tests/ui/abi/stack-protector.rs # requires stack protector support\n rm -r tests/run-make/emit-stack-sizes # requires support for -Z emit-stack-sizes\n rm -r tes...
2025-04-21T10:48:40
huggingface/transformers
021006e1b00f0ee325e9e17d99985dac7abdc755
788e1092e90eacfd1afb14166a68574ef58cafa9
Fix removing "cpu" from frozenset in bitsandbytes.py to allow better ROCm support. (#36975) * Fix removing "cpu" from frozenset in bitsandbytes.py to allow better ROCm support. Related to https://github.com/bitsandbytes-foundation/bitsandbytes/issues/1573 and https://github.com/huggingface/transformers/issues/36949 ,...
[ { "path": "src/transformers/integrations/bitsandbytes.py", "patch": "@@ -496,7 +496,9 @@ def _validate_bnb_multi_backend_availability(raise_exception):\n \"You have Intel IPEX installed but if you're intending to use it for CPU, it might not have the right version. Be sure to double check th...
2025-03-26T15:18:08
nodejs/node
690475958e7cee8d254698cd080fc98d0075422b
82db6729915e031814425360d2b8e7c83328697d
src: use `%zx` in printf for size_t This fixes a compiler warning on Windows. PR-URL: https://github.com/nodejs/node/pull/21323 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigip...
[ { "path": "src/node_errors.h", "patch": "@@ -99,7 +99,7 @@ inline void THROW_ERR_SCRIPT_EXECUTION_TIMEOUT(Environment* env,\n inline v8::Local<v8::Value> ERR_BUFFER_TOO_LARGE(v8::Isolate* isolate) {\n char message[128];\n snprintf(message, sizeof(message),\n- \"Cannot create a Buffer larger than 0x...
2018-06-10T00:49:38
golang/go
19470dc535513dc824fe5c1dbec700329e7692dc
142151697397235ba5f30a7a660ed8a159adce0b
misc/cgo/test: do not redeclare exported Go functions An exported Go function like //export F func F() {} gets declared in _cgo_export.h as something like extern void F(void); The exact declaration varies by operating system. In particular, Windows adds __declspec(dllimport). Clang on Windows/ARM64 rejects cod...
[ { "path": "misc/cgo/test/issue8148.c", "patch": "@@ -0,0 +1,11 @@\n+// Copyright 2014 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+#include \"_cgo_export.h\"\n+\n+int get8148(void) {\n+\tT t;\n+\tt.i = 4...
2021-04-20T17:30:50
rust-lang/rust
913796c1c5f7e0afa6c4323e8bd850efd7a646d9
94448a6ff6ac1d4af6892086ea1bc67518363e44
Fix compiler-builtins publish compiler-builtins currently wouldn't publish correctly because of a relative path to `libm` that doesn't get included in the package. Fix this by simlinking `libm` to within the `compiler-builtins` directory. Also symlink LICENSE.txt which lets us drop the `include` array in Cargo.toml. ...
[ { "path": "library/compiler-builtins/compiler-builtins/Cargo.toml", "patch": "@@ -9,16 +9,6 @@ homepage = \"https://github.com/rust-lang/compiler-builtins\"\n documentation = \"https://docs.rs/compiler_builtins\"\n edition = \"2021\"\n description = \"Compiler intrinsics used by the Rust compiler.\"\n-inclu...
2025-04-21T09:20:37
vercel/next.js
0a2ae766a8c0df6f102c59b7f37abcbb50af698d
397894b133f11432b80c18f41fd4bc555c85044e
docs: Add examples of using multiple weights and styles (#43031) Add examples of using multiple weights and styles for google and local fonts. Although it's in the [API reference](https://nextjs.org/docs/api-reference/next/font) it's probably a good idea to have examples since it's a common use case. Also added subet...
[ { "path": "docs/basic-features/font-optimization.md", "patch": "@@ -33,7 +33,7 @@ To use the font in all your pages, add it to [`_app.js` file](https://nextjs.org\n import { Inter } from '@next/font/google'\n \n // If loading a variable font, you don't need to specify the font weight\n-const inter = Inter()...
2022-11-17T16:59:03
electron/electron
c2afa3521e41fbd738e17aeb530de295c9c2458c
6ae38d86df11c90176b121b28329edbc970e096c
Fix building on Windows.
[ { "path": "browser/auto_updater_win.cc", "patch": "@@ -6,28 +6,12 @@\n \n namespace auto_updater {\n \n-// static\n-void AutoUpdater::Init() {\n-}\n-\n // static\n void AutoUpdater::SetFeedURL(const std::string& url) {\n }\n \n-// static\n-void AutoUpdater::SetAutomaticallyChecksForUpdates(bool yes) {\n-}\n...
2014-02-03T01:21:45
nodejs/node
82db6729915e031814425360d2b8e7c83328697d
60e6991291e8571c4b27172714582e7d65f29c41
v8: replace Buffer with FastBuffer in deserialize Replace the Buffer constructor with a FastBuffer in v8.deserialize in order to avoid calling the Buffer constructor and thus triggering a deprecation warning from code inside the core. Fixes: https://github.com/nodejs/node/issues/21181 PR-URL: https://github.com/node...
[ { "path": "lib/v8.js", "patch": "@@ -143,7 +143,7 @@ const arrayBufferViewTypeToIndex = new Map();\n }\n }\n \n-const bufferConstructorIndex = arrayBufferViewTypes.push(Buffer) - 1;\n+const bufferConstructorIndex = arrayBufferViewTypes.push(FastBuffer) - 1;\n \n class DefaultSerializer extends Serializer ...
2018-06-07T17:21:47
golang/go
691e1b84c11d038060807f9c79107996ca2f19ae
768a39975d8851f1c309b163a8eb4b7a5388aa24
cmd/compile: generalize fix for lvalue-init evaluation The previous fix to ensure early evaluation of lvalue-init statements (CL 312632) added it after we'd already peeled away any array-OINDEX expressions. But those might have init statements too, so we need to do this earlier actually and perhaps more than once. Lo...
[ { "path": "src/cmd/compile/internal/walk/assign.go", "patch": "@@ -322,6 +322,13 @@ func ascompatee(op ir.Op, nl, nr []ir.Node) []ir.Node {\n \t\t// Save subexpressions needed on left side.\n \t\t// Drill through non-dereferences.\n \t\tfor {\n+\t\t\t// If an expression has init statements, they must be eva...
2021-04-23T19:18:59
vercel/next.js
397894b133f11432b80c18f41fd4bc555c85044e
8e7c45bfe0dd712cf045335f8ae2a8fa03146c27
@next/font/google variable fonts without weight range (#43036) A few variable fonts don't have a weight range, in those cases a `wght` axis shouldn't be set at all. Just add optional additional axes. Some fonts set a CSS variable on a `body` tag, ignore it to keep the CSS module pure. Fixes #43040 ## Bug ...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -95,7 +95,7 @@ const downloadGoogleFonts: FontLoader = async ({\n \n try {\n const hasCachedCSS = cssCache.has(url)\n- const fontFaceDeclarations = hasCachedCSS\n+ let fontFaceDeclarations = hasCachedCSS\n ? cssCache.get(url)\n ...
2022-11-17T16:52:19
electron/electron
f7fb6371c225b30b27c94f72a8003aa786d29371
8b80473ef971f1fd7525209f70cf9c2351a68538
Increase the open file limit on OS X to 1024 The default (256) is too low for pages that load a lot of resources all at once. See https://codereview.chromium.org/125151 and bugs like https://code.google.com/p/chromium/issues/detail?id=14137 and https://code.google.com/p/chromium/issues/detail?id=151039. The new limit ...
[ { "path": "brightray/browser/browser_main_parts.h", "patch": "@@ -27,6 +27,7 @@ class BrowserMainParts : public content::BrowserMainParts {\n virtual BrowserContext* CreateBrowserContext();\n \n #if defined(OS_MACOSX)\n+ virtual void PreEarlyInitialization() OVERRIDE;\n virtual void PreMainMessageLoopS...
2014-01-31T15:38:12
nodejs/node
22c826f5aa3811e758686fd00a8fe15728f6fc37
61e9e3c26b3730f10b5c4d90af68e76eed35d3e6
src: do proper error checking in `AsyncWrap::MakeCallback` At least one method on a native object is added as a getter, namely `MessagePort.prototype.onmessage`. When a MessagePort attempts to call this method from C++ in response to receiving data, it will first invoke that getter and then call the function. Since `...
[ { "path": "src/async_wrap-inl.h", "patch": "@@ -81,18 +81,14 @@ inline v8::MaybeLocal<v8::Value> AsyncWrap::MakeCallback(\n const v8::Local<v8::Name> symbol,\n int argc,\n v8::Local<v8::Value>* argv) {\n- v8::Local<v8::Value> cb_v = object()->Get(symbol);\n- CHECK(cb_v->IsFunction());\n- retu...
2018-06-07T12:43:45
rust-lang/rust
1b401883142604ee43217e95ef649df34d3345d2
8f80674dd6628cc3a4d10b17b57d4323febbcd92
fix: Support unstable `UnsafePinned` struct in type layout calc
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs", "patch": "@@ -345,6 +345,7 @@ language_item_table! {\n IndexMut, sym::index_mut, index_mut_trait, Target::Trait, GenericRequirement::Exact(1);\n \n UnsafeCell, sym::unsafe_c...
2025-04-21T07:35:30
golang/go
768a39975d8851f1c309b163a8eb4b7a5388aa24
c3e2ed711ce1e5758e5d01a26d74445813de2857
cmd/go/internal/modload: remove the addedModuleFor map At one point this map checked for infinite loops during package iteration. The last write to the map was mistakenly removed in CL 251445. However, looking at the code before that change, the map-based termination strategy was never quite right to begin with: it c...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -890,7 +890,6 @@ func loadFromRoots(ctx context.Context, params loaderParams) *loader {\n \t\twork: par.NewQueue(runtime.GOMAXPROCS(0)),\n \t}\n \n-\taddedModuleFor := make(map[string]bool)\n \tfor {\n \t\tld.reset()\n \n@@ -931,7 +930,7 ...
2021-04-23T05:13:50
vercel/next.js
8e7c45bfe0dd712cf045335f8ae2a8fa03146c27
3d4c038fa5c314f5800b8caeee7ada8c385cb3ce
Fix app page check on windows (#43022) Ensures we check for backslashes as well when matching `/page`. Will investigate adding the app suite to windows CI in follow-up x-ref: https://github.com/vercel/next.js/pull/42996 Fixes: https://github.com/vercel/next.js/issues/43019 ## Bug - [ ] Related issues linked...
[ { "path": "packages/next/server/lib/find-page-file.ts", "patch": "@@ -66,7 +66,7 @@ export async function findPageFile(\n // Determine if the file is leaf node page file under layouts,\n // The filename should start with 'page' and end with one of the allowed extensions\n export function isLayoutsLeafPage(f...
2022-11-17T16:43:30
electron/electron
c13724b342166228055aa99e3cfd077d189f1216
5da1e9ed1055ff6cab0bf183e03eb03ef18ebe98
Fix ci.
[ { "path": "browser/auto_updater_mac.mm", "patch": "@@ -48,8 +48,7 @@ void RelaunchToInstallUpdate() {\n int state = [stateNumber integerValue];\n if (state == SQRLUpdaterStateCheckingForUpdate) {\n delegate->OnCheckingForUpdate();\n- }\n- else if (state == SQRLUpdater...
2014-02-02T11:58:25
nodejs/node
371103dae8b97264471e17de1989199ffcd2718e
58176e352c7b4fe6042fc31283a79d8de4cdb569
crypto: add scrypt() and scryptSync() methods Scrypt is a password-based key derivation function that is designed to be expensive both computationally and memory-wise in order to make brute-force attacks unrewarding. OpenSSL has had support for the scrypt algorithm since v1.1.0. Add a Node.js API modeled after `cryp...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1361,9 +1361,9 @@ password always creates the same key. The low iteration count and\n non-cryptographically secure hash algorithm allow passwords to be tested very\n rapidly.\n \n-In line with OpenSSL's recommendation to use PBKDF2 instead of\n+In line with OpenS...
2018-05-18T09:05:20
golang/go
c3e2ed711ce1e5758e5d01a26d74445813de2857
d2f96f2f75f6808362136dd1f20ae338e91aed81
cmd/go: use builtin version and reexec for env Skip execing for version (most reliable) and attempt to reexec for env, falling back to the go in GOROOT Fixes #43981 Change-Id: I17fb84d36036807274eecca3d4f64b3add9b9483 Reviewed-on: https://go-review.googlesource.com/c/go/+/288693 Reviewed-by: Bryan C. Mills <bcmills@...
[ { "path": "src/cmd/go/internal/bug/bug.go", "patch": "@@ -81,7 +81,7 @@ func printGoVersion(w io.Writer) {\n \tfmt.Fprintf(w, \"### What version of Go are you using (`go version`)?\\n\\n\")\n \tfmt.Fprintf(w, \"<pre>\\n\")\n \tfmt.Fprintf(w, \"$ go version\\n\")\n-\tprintCmdOut(w, \"\", \"go\", \"version\")...
2021-02-02T17:08:50
huggingface/transformers
ad5d40de9c4d4899d5b79243f63e22c72e8b3669
8084b2629433d9adab84559ff43df97040966974
Fix get_device_properties (#36997) Fix remove remnant self from get_device_properties Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3056,7 +3056,7 @@ def cleanup(device: str, gc_collect=False):\n \n \n @cache\n-def get_device_properties(self) -> DeviceProperties:\n+def get_device_properties() -> DeviceProperties:\n \"\"\"\n Get environment device properties.\n \"\"...
2025-03-26T14:46:34
vercel/next.js
2500c8b4436a10ce79538e3ff02d82d653717e22
443f74dbdb6ea17b51ff18c3e7bce14d0a2d5413
Ensure next.config.js function is handled for turbo (#43015) Fixes: https://github.com/vercel/next.js/issues/43001 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existin...
[ { "path": "packages/next/cli/next-dev.ts", "patch": "@@ -183,6 +183,12 @@ const nextDev: cliCommand = async (argv) => {\n await loadConfig(PHASE_DEVELOPMENT_SERVER, dir, undefined, true)\n ) as NextConfig\n \n+ if (typeof rawNextConfig === 'function') {\n+ rawNextConfig = (rawNextC...
2022-11-16T23:40:00
rust-lang/rust
5d12827099a2c9927f8f3213d2048d2543a6fddc
c85f63d42e589c7a77d0620fdb3f91679f02949c
fix: Fix completion_snippets_custom config always erroring
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -921,10 +921,9 @@ impl Config {\n tracing::info!(\"updating config from JSON: {:#}\", json);\n \n if !(json.is_null() || json.as_object().is_some_and(|it| it.is_empty())) {\n- let mut ...
2025-04-20T11:26:24
nodejs/node
aa2304b8d5c53ba2d9710d8b8ed4482f3cbd1192
8e2d33f15620013de504c1181641aa961906f436
worker,src: display remaining handles if `uv_loop_close` fails Right now, we crash the process if there are handles remaining on the event loop when we exit (except for the main thread). This does not provide a lot of information about causes, though; in particular, we don’t show which handles are pending and who own...
[ { "path": "src/debug_utils.cc", "patch": "@@ -97,11 +97,11 @@ class Win32SymbolDebuggingContext final : public NativeSymbolDebuggingContext {\n public:\n Win32SymbolDebuggingContext() {\n current_process_ = GetCurrentProcess();\n- USE(SymInitialize(process, nullptr, true));\n+ USE(SymInitialize...
2018-06-07T20:07:02
huggingface/transformers
8084b2629433d9adab84559ff43df97040966974
b56d8f07e4503b5abdae87926596876739145d80
Fix Optional type annotation (#36841) * Fix annotation * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/generation/utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transforme...
[ { "path": "src/transformers/agents/agents.py", "patch": "@@ -217,7 +217,7 @@ def tools(self) -> Dict[str, Tool]:\n \"\"\"Get all tools currently in the toolbox\"\"\"\n return self._tools\n \n- def show_tool_descriptions(self, tool_description_template: str = None) -> str:\n+ def show_t...
2025-03-26T13:53:44
golang/go
8c666697646bc820beb3725b3ff4a4cd5514bbe7
d4bfe006155ea0d9c2970e22fca5a027125c8a98
cmd/compile: make sure ascompatee walk lhs init statements CL 281152 improved ascompatee by removing the call to safeExpr on lhs. But we forgot that lhs int statements, if any, must be walked prior saving subexpressions, which cause the bug in #45706. Fixes #45706 Change-Id: I0064315056ef4ca92ebf3c332c2e3a9bb2b26f68...
[ { "path": "src/cmd/compile/internal/walk/assign.go", "patch": "@@ -341,6 +341,9 @@ func ascompatee(op ir.Op, nl, nr []ir.Node) []ir.Node {\n \t\t\tbreak\n \t\t}\n \n+\t\twalkStmtList(l.Init())\n+\t\tearly.Append(ir.TakeInit(l)...)\n+\n \t\tvar name *ir.Name\n \t\tswitch l.Op() {\n \t\tdefault:", "additi...
2021-04-23T05:53:51
electron/electron
50eb5454d4d7a87cb9af0e5b60a52f71aaf2685f
8ee1e1d208e76a27a0bdb119de345220e006bc1b
Still subscribe to "updates" for update notifications. It seems that we should subscribeError to checkForUpdatesCommand to catch all errors, and the "updates" would only work when there is no error happened.
[ { "path": "browser/auto_updater_mac.mm", "patch": "@@ -37,6 +37,31 @@ void RelaunchToInstallUpdate() {\n NSURL* url = [NSURL URLWithString:base::SysUTF8ToNSString(feed)];\n NSURLRequest* urlRequest = [NSURLRequest requestWithURL:url];\n g_updater = [[SQRLUpdater alloc] initWithUpdateRequest:urlR...
2014-01-31T13:47:59
vercel/next.js
7e195a29c1c1d73b4adf462be1cb3f7ffca84fb1
6bbb52edfe3e969b4a80dc2d32c961303bb8c848
chore(eslint-config-next): bump eslint-import-resolver-typescript (#43010) <!-- 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 that you're maki...
[ { "path": "packages/eslint-config-next/package.json", "patch": "@@ -13,7 +13,7 @@\n \"@rushstack/eslint-patch\": \"^1.1.3\",\n \"@typescript-eslint/parser\": \"^5.42.0\",\n \"eslint-import-resolver-node\": \"^0.3.6\",\n- \"eslint-import-resolver-typescript\": \"^2.7.1\",\n+ \"eslint-import...
2022-11-16T23:01:13
rust-lang/rust
c85f63d42e589c7a77d0620fdb3f91679f02949c
31c591846348793d59f99a86778e2dd2e3df2442
Back out "When changing the config, do not emit an error if a field is missing" This backs out commit 8497fc321cad420b923e15f600106f8e22324930.
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -921,10 +921,10 @@ impl Config {\n tracing::info!(\"updating config from JSON: {:#}\", json);\n \n if !(json.is_null() || json.as_object().is_some_and(|it| it.is_empty())) {\n+ let mut...
2025-04-21T06:09:35
huggingface/transformers
b56d8f07e4503b5abdae87926596876739145d80
78afa1c5375240f927ec4ddc5c932fa5a28f1e52
Install `networkx==3.2.1` manually in some CircleCI jobs after #36957 (#37000) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -206,6 +206,9 @@ def job_name(self):\n generate_job = CircleCIJob(\n \"generate\",\n docker_image=[{\"image\": \"huggingface/transformers-torch-light\"}],\n+ # networkx==3.3 (after #36957) cause some issues\n+ # TODO: remove this on...
2025-03-26T13:49:09
golang/go
d4bfe006155ea0d9c2970e22fca5a027125c8a98
bedfeed54a7a80123c07f83c325a0bcfe5c43398
cmd/go: make build cache tag sensitive to GOSSADIR; remove unused GOSSADIR is a useful compiler flag for debugging. Removed GO_SSA_PHI_LOC_CUTOFF, it is no longer mentioned in the compiler. Change-Id: I3600f4c6ded95c9d34b85a6f0da6ba89b17a13ec Reviewed-on: https://go-review.googlesource.com/c/go/+/312290 Trust: David ...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -289,7 +289,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t\tmagic := []string{\n \t\t\t\"GOCLOBBERDEADHASH\",\n \t\t\t\"GOSSAFUNC\",\n-\t\t\t\"GO_SSA_PHI_LOC_CUTOFF\",\n+\t\t\t\"GOSSADIR\",\n \t\t\t\"GOSSAHASH\",\n \t\t}\n \t\...
2021-04-21T14:28:27
nodejs/node
8e2d33f15620013de504c1181641aa961906f436
483bbf097bc80924d3220bc345ea2f142cc06a7c
src: unify native symbol inspection code Use a single file, and a single interface, for inspecting symbols in the current process for debugging. PR-URL: https://github.com/nodejs/node/pull/21238 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus...
[ { "path": "node.gyp", "patch": "@@ -317,6 +317,7 @@\n 'src/cares_wrap.cc',\n 'src/connection_wrap.cc',\n 'src/connect_wrap.cc',\n+ 'src/debug_utils.cc',\n 'src/env.cc',\n 'src/exceptions.cc',\n 'src/fs_event_wrap.cc',\n@@ -496,9 +497,6 @@\n 'd...
2018-06-07T14:54:29
electron/electron
a8f172752a72d93537820322b9ce62b601be6c5f
b7e120b68c804a76e3e29ed9079516859dabac42
:lipstick: Fix cpplint warning.
[ { "path": "script/cpplint.py", "patch": "@@ -6,10 +6,10 @@\n import sys\n \n IGNORE_FILES = [\n- 'app/win/resource.h',\n 'browser/atom_application_mac.h',\n 'browser/atom_application_delegate_mac.h',\n 'browser/native_window_mac.h',\n+ 'browser/resources/win/resource.h',\n 'browser/ui/cocoa/event_...
2014-01-31T12:28:33
vercel/next.js
6bbb52edfe3e969b4a80dc2d32c961303bb8c848
fdc07c001218c3eda5037ad30425fa9756201770
Allow generateStaticParams to be a synchronous function in app directory (#42942) <!-- 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 that you'...
[ { "path": "packages/next/build/webpack/plugins/flight-types-plugin.ts", "patch": "@@ -45,7 +45,7 @@ interface IEntry {\n : `default: PageComponent`\n }\n config?: {}\n- generateStaticParams?: (params?: PageParams) => Promise<any[]>\n+ generateStaticParams?: (params?: PageParams) => any[] | Promi...
2022-11-16T22:25:20
huggingface/transformers
e7139d06f5fae8e2d3f1542c2d8d68cad2588981
be37d34f44ff1bc928e59ffb8a30adecab8835a8
Fix tensor dtype mismatch (#36985) * Fix tensor dtype mismatch * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mixtral/test_modeling_mixtral.py", "patch": "@@ -486,7 +486,7 @@ def test_small_model_logits(self):\n # Note: Key 9 is currently set for MI300, but may need potential future adjustments for H100s,\n # considering differences in hardware processing and potential deviat...
2025-03-26T09:37:46
nodejs/node
483bbf097bc80924d3220bc345ea2f142cc06a7c
4c166935ae2eedef10c2a604947eb7703eb15798
meta: remove CODEOWNERS The CODEOWNERS file is not working out. It is not pinging any groups other than TSC (and more-or-less can't), and it pings TSC mostly for all the wrong things. It was a valiant effort, and possible worth revisiting at a future date when functionality is closer to what we need. But for now, let...
[ { "path": ".github/CODEOWNERS", "patch": "@@ -1,88 +0,0 @@\n-# Remember: order matters. Subsequent rules will override prior rules.\n-\n-*addons* @nodejs/addon-api\n-*assert* @nodejs/testing\n-*async_hook* @nodejs/async_hooks @nodejs/diagnostics\n-*async_wrap* @nodejs/async_hooks\n-*buffer* @nodejs/buffer\n...
2018-06-06T03:33:47
golang/go
5963f0a332496a68f1eb2d0c6a5badd73c9f046d
d310b2a6b8a66eeb5953b1e682cf27669c8a08c2
cmd/vendor: get golang.org/x/tools@f946a157eef To bring in the fix for sigchanyzer pass to detect valid usage of unbuffer channel to builtin make. Fixes #45043 Change-Id: I60d2ee90f7c111183b33747008903a7df88b76ca Reviewed-on: https://go-review.googlesource.com/c/go/+/312631 Trust: Cuong Manh Le <cuong.manhle.vn@gmai...
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,6 @@ require (\n \tgolang.org/x/arch v0.0.0-20210308155006-05f8f0431f72\n \tgolang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect\n \tgolang.org/x/mod v0.4.3-0.20210409134425-858fdbee9c24\n-\tgolang.org/x/sys v0.0.0-20210309074719-68d13333faf2 //...
2021-04-23T02:31:19
electron/electron
fe30880ec03e795376221fd868d2741f19f5a275
c81128b675805ca2e6c3d3386a4d16aeced47837
Add Info.plist for Atom Framework, fixes #171.
[ { "path": "atom.gyp", "patch": "@@ -503,6 +503,7 @@\n '<(libchromiumcontent_resources_dir)/content_shell.pak',\n ],\n 'xcode_settings': {\n+ 'INFOPLIST_FILE': 'common/mac/Info.plist',\n 'LIBRARY_SEARCH_PATHS': [\n '<(libchromiumcontent_lib...
2014-01-31T09:39:31
huggingface/transformers
a844297088d046b3d16d3726ca96822b479e884c
d68a91aebf2d341ce88e852165a1db4421a74b7b
[docs] Fix image link (#36869) * fix image link * fix * update * fix
[ { "path": "docs/source/en/processors.md", "patch": "@@ -29,8 +29,8 @@ import requests\n \n processor = AutoProcessor.from_pretrained(\"google/paligemma-3b-pt-224\")\n \n-prompt = \"answer en Where is the cow standing?\"\n-url = \"https://huggingface.co/gv-hf/PaliGemma-test-224px-hf/resolve/main/cow_beach_1....
2025-03-25T18:34:21
vercel/next.js
fdc07c001218c3eda5037ad30425fa9756201770
ec07e30985dde685562bd36b41ce977ec11b3834
App files ending with page registred as page files (#42996) When building (`next/build/index.ts`) files ending with `page.js` got picked up by the RegEx which meant files like `not-a-page.js` ended up as a page. This change makes sure the segment actually starts with `page`. Dev had the same issue and also misse...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -493,7 +493,7 @@ export default async function build(\n .traceAsyncFn(() =>\n recursiveReadDir(\n appDir,\n- new RegExp(`page\\\\.(?:${config.pageExtensions.join('|')})$`)\n+ new RegExp(`^pag...
2022-11-16T21:46:04
golang/go
d310b2a6b8a66eeb5953b1e682cf27669c8a08c2
1b0a0316802b8048d69da49dc23c5a5ab08e8ae8
cmd/compile: set correct Defn for inlined vars Currently, when copying definition node of an inlined var, we do not update var Defn field to point to new copied node. That causes all inlined vars point to the same Defn, and ir.StaticValue can not find inlined var in the lhs of its definition. clovar creates new ONAME...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -1002,6 +1002,7 @@ func mkinlcall(n *ir.CallExpr, fn *ir.Func, maxCost int32, inlMap map[*ir.Func]b\n \t\tretvars: retvars,\n \t\tdelayretvars: delayretvars,\n \t\tinlvars: inlvars,\n+\t\tdefnMarker: ir.NilExpr{},\n \t\tbases: ...
2021-04-22T10:14:10
nodejs/node
01bc5713f9ec1653bb4f5c81f9cf07f594048f0c
8bf213dbdc7ee9c852252527f020d48e3bc97e15
deps: update to nghttp2 1.32.0 This fixes CVE-2018-1000168. PR-URL: https://github.com/nodejs-private/node-private/pull/117 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me...
[ { "path": "deps/nghttp2/lib/CMakeLists.txt", "patch": "@@ -49,7 +49,7 @@ target_include_directories(nghttp2 INTERFACE\n \"${CMAKE_CURRENT_SOURCE_DIR}/includes\"\n )\n \n-if(HAVE_CUNIT)\n+if(HAVE_CUNIT OR ENABLE_STATIC_LIB)\n # Static library (for unittests because of symbol visibility)\n add_lib...
2018-04-13T14:51:35
electron/electron
2634328720bf018d4643ee6d4a3aea7ecca62ca2
0df59e27143e08423da3029dc9895ac48bb0b3e2
Fix how we filter out atom-shell switches in process.argv.
[ { "path": "app/atom_main_delegate.cc", "patch": "@@ -58,6 +58,9 @@ void AtomMainDelegate::PreSandboxStartup() {\n if (process_type == switches::kRendererProcess)\n return;\n \n+ // Add a flag to mark the start of switches added by atom-shell.\n+ command_line->AppendSwitch(\"atom-shell-switches-start...
2014-01-31T08:40:20
huggingface/transformers
3dce98a4379d42a5357d8efb2e56f90061f96a30
ebd202948346e27f2e651d721f0d940573c7fb5d
typo fixed in README_fr.md (#36951)
[ { "path": "i18n/README_fr.md", "patch": "@@ -225,7 +225,7 @@ Le modèle lui-même est un module [`nn.Module` PyTorch](https://pytorch.org/doc\n \n 1. Choisissez le bon framework pour chaque partie de la vie d'un modèle :\n - Entraînez des modèles de pointe en 3 lignes de code.\n- - Trasnférer un seul m...
2025-03-25T16:29:36
rust-lang/rust
867fe30ba076e2f631e279c4001f65fab3654085
db127cd717afaa023f528943aa9c8c6ad0c24bec
Add `test-everything` annotations to more archs to ensure test coverage, and some small changes to make CI pass - Disable `vsx` tests for `ppc` and `ppc64` - Disable `tme` tests for `aarch64` and `aarch64_be` - Disable `frecipe` tests for `loongarch64` - Add `altivec` run for PPC32 (with `-C target-feature=+vsx` `q...
[ { "path": "library/stdarch/.github/workflows/main.yml", "patch": "@@ -122,6 +122,42 @@ jobs:\n \n # Add additional variables to the matrix variations generated above using `include`:\n include:\n+ # `TEST_EVERYTHING` setups - there should be at least 1 for each architecture\n+ ...
2025-04-18T03:59:14
golang/go
cfac62a1cc021cae55c9c5e373ebe9c408b75a5d
14056d0d004489592ee0173e685ff86f241cfb4f
cmd/compile: fix bug in defer wrapping The defer wrapping feature added to the compiler's "order" phase creates temporaries into which it copies defer arguments. If one of these temps is large enough that we place it into the defer closure by address (as opposed to by value), then the temp in question can't be reused ...
[ { "path": "src/cmd/compile/internal/walk/order.go", "patch": "@@ -1592,12 +1592,26 @@ func (o *orderState) wrapGoDefer(n *ir.GoDeferStmt) {\n \t\treturn n.Esc() != ir.EscNever\n \t}()\n \n-\t// A helper for making a copy of an argument.\n+\t// A helper for making a copy of an argument. Note that it is\n+\t/...
2021-04-22T22:34:57
huggingface/transformers
80b4c5dcc9ec3dae38a80ff426dd60f5658ab4bc
0f733110a695e81c9ded93e565f673afb284d4af
Fix cuda index issue in cache allocator (#36937) fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -5870,7 +5870,8 @@ def caching_allocator_warmup(model: PreTrainedModel, expanded_device_map: Dict):\n # This will kick off the caching allocator to avoid having to Malloc afterwards\n for device, byte_count in total_byte_count.items():\n ...
2025-03-25T10:51:41
electron/electron
0df59e27143e08423da3029dc9895ac48bb0b3e2
18fdbb6432e4112e8474b61d44baa53136b6620e
:lipstick: Fix cppling warning.
[ { "path": "browser/atom_browser_client.cc", "patch": "@@ -21,7 +21,8 @@ namespace atom {\n namespace {\n \n struct FindByProcessId {\n- FindByProcessId(int child_process_id) : child_process_id_(child_process_id) {\n+ explicit FindByProcessId(int child_process_id)\n+ : child_process_id_(child_process_...
2014-01-31T07:53:01
nodejs/node
8bf213dbdc7ee9c852252527f020d48e3bc97e15
3217e8e66fa81e787b9f3b18c0c09235f050acee
http2: fixup http2stream cleanup and other nits This fixes CVE-2018-7161. PR-URL: https://github.com/nodejs-private/node-private/pull/115 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com>
[ { "path": "src/node_http2.cc", "patch": "@@ -499,8 +499,8 @@ Http2Session::Http2Session(Environment* env,\n Http2Session::~Http2Session() {\n CHECK_EQ(flags_ & SESSION_STATE_HAS_SCOPE, 0);\n Debug(this, \"freeing nghttp2 session\");\n- for (const auto& stream : streams_)\n- stream.second->session_ =...
2018-04-03T18:26:38
huggingface/transformers
19085c28dae05ff88027b85cb465b252d934cdcb
69bcb86c58ca23b946404ba017b782d44c7a5572
fix typos in the tests directory (#36932) * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * chore: fix typos in test codes * cho...
[ { "path": "tests/models/chameleon/test_modeling_chameleon.py", "patch": "@@ -130,7 +130,7 @@ def prepare_config_and_inputs(self):\n \n def get_config(self):\n # create dummy vocab map for image2bpe mapping if it needs remapping\n- # we assume that vocab size is big enough to accoun for im...
2025-03-25T09:49:24
golang/go
74059685fda0b60d539450ad6b7331ade838e90c
f7afdfd48383c4f0ea8653ea9f8c7b9a3d93abee
go/types: suppress index-out-of-bounds error on Unknown constants Follow up to CL 312591, which was stumping rfindley and I for a while. Credit to him for figuring out a repro and explaining the correct solution. Change-Id: Ib8578bba05f60fc41d382c34c5266d815441e7a1 Reviewed-on: https://go-review.googlesource.com/c/go...
[ { "path": "src/go/types/expr.go", "patch": "@@ -1020,9 +1020,14 @@ func (check *Checker) index(index ast.Expr, max int64) (typ Type, val int64) {\n \t\treturn x.typ, -1\n \t}\n \n-\tv, valid := constant.Int64Val(constant.ToInt(x.val))\n-\tif !valid || max >= 0 && v >= max {\n-\t\tcheck.errorf(&x, _InvalidIn...
2021-04-22T19:42:33
electron/electron
bd51a4c8cf3937c1be64b6838547cedf1c9438b1
192014cc3f1b0e108080d429349fc4bc92e863dc
Fix crash when opening multiple pages at the same time.
[ { "path": "browser/atom_browser_client.cc", "patch": "@@ -108,6 +108,8 @@ void AtomBrowserClient::AppendExtraCommandLineSwitches(\n if (window != NULL)\n command_line->AppendSwitchASCII(switches::kNodeIntegration,\n window->node_integration());\n+\n+ dying_render_p...
2014-01-31T07:09:13
nodejs/node
3217e8e66fa81e787b9f3b18c0c09235f050acee
785e5ba48cb57a05c9c0966a502d34ac03084561
src: re-add `Realloc()` shrink after reading stream data This would otherwise keep a lot of unused memory lying around, and in particular add up to a page per chunk of memory overhead for network reads, potentially opening a DoS vector if the resulting `Buffer` objects are kept around indefinitely (e.g. stored in a li...
[ { "path": "src/stream_base.cc", "patch": "@@ -374,8 +374,9 @@ void EmitToJSStreamListener::OnStreamRead(ssize_t nread, const uv_buf_t& buf) {\n }\n \n CHECK_LE(static_cast<size_t>(nread), buf.len);\n+ char* base = Realloc(buf.base, nread);\n \n- Local<Object> obj = Buffer::New(env, buf.base, nread).To...
2018-03-29T20:21:17
huggingface/transformers
be2c0e7bff1735c5771d007ed5bcc04e9ea86a96
4303d88c097d39e138f47a7946e46943d99bdfdf
Fixing _pre_quantization_dtype when torch_dtype is None (#36930) fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4454,7 +4454,7 @@ def from_pretrained(\n # once the weights have been quantized\n # Note that once you have loaded a quantized model, you can't change its dtype so this will\n # remain a single source of truth\...
2025-03-25T09:43:27
golang/go
f7afdfd48383c4f0ea8653ea9f8c7b9a3d93abee
cfe5d79c5c2c9888a0e56e089dca99e405a225b9
go/types: cleanup and fix Checker.index A couple minor spec compliance issues: constant, typed index operands must still be representable as type "int", but should also be recorded as their original type. Fixes #45667. Change-Id: Iefeb29f20a8e48350af83a62c9ae0e92198c5ef7 Reviewed-on: https://go-review.googlesource.c...
[ { "path": "src/go/types/builtins_test.go", "patch": "@@ -87,6 +87,9 @@ var builtinCalls = []struct {\n \t{\"make\", `var c int32; _ = make([]float64 , 0, c)`, `func([]float64, int, int32) []float64`},\n \t{\"make\", `var l, c uint ; _ = make([]complex128, l, c)`, `func([]complex128, uint, uint) []compl...
2021-04-22T01:22:35
electron/electron
61b69a4e8a93a0160406032405338a04faec8101
ec00da416f85d113e902fe4ccca3f5dda0a4856b
Fix loss of --node-integration token after refresh.
[ { "path": "browser/atom_browser_client.cc", "patch": "@@ -12,12 +12,30 @@\n #include \"browser/window_list.h\"\n #include \"common/options_switches.h\"\n #include \"content/public/browser/render_process_host.h\"\n+#include \"content/public/browser/site_instance.h\"\n #include \"content/public/browser/web_co...
2014-01-31T02:30:16
nodejs/node
785e5ba48cb57a05c9c0966a502d34ac03084561
0cb3325f124805c0f8911627a38cfb34be35b675
test: add tls write error regression test Add a mock TLS socket implementation and a regression test for the previous commit. Refs: https://github.com/nodejs-private/security/issues/189 PR-URL: https://github.com/nodejs-private/node-private/pull/127 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan L...
[ { "path": "test/common/tls.js", "patch": "@@ -0,0 +1,176 @@\n+/* eslint-disable node-core/required-modules, node-core/crypto-check */\n+\n+'use strict';\n+const crypto = require('crypto');\n+const net = require('net');\n+\n+exports.ccs = Buffer.from('140303000101', 'hex');\n+\n+class TestTLSSocket extends n...
2018-04-12T20:10:59
huggingface/transformers
4303d88c097d39e138f47a7946e46943d99bdfdf
47e5432805611145f41908946838eb474903db76
Add Phi4 multimodal (#36939) * raw start * update * update * add to imports * update * up * simplify configs * clean configs * style * typos * Update convert_phi4_multimodal_weights_to_hf.py * Update convert_phi4_multimodal_weights_to_hf.py * fix * up * up * up * Update convert_phi4_multimodal_weights_...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -583,6 +583,8 @@\n title: Phi\n - local: model_doc/phi3\n title: Phi-3\n+ - local: model_doc/phi4_multimodal\n+ title: Phi4 Multimodal\n - local: model_doc/phimoe\n title: PhiMoE\n - local: model_doc/...
2025-03-25T08:55:21
vercel/next.js
295f15e057dbf03e05634e06baaa2a99c718b1ce
71a8c73d5d9e8940552742cbb7a4d58c54b42666
Fix test retry cleanup (#43011) As noticed in https://github.com/vercel/next.js/pull/42966#pullrequestreview-1181705091 we weren't resetting tests correctly on retry causing an incorrect pass. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful l...
[ { "path": "run-tests.js", "patch": "@@ -356,7 +356,13 @@ async function main() {\n } catch (err) {\n if (i < numRetries) {\n try {\n- const testDir = path.dirname(path.join(__dirname, test))\n+ let testDir = path.dirname(path.join(__dirname, test))\n+\...
2022-11-16T21:16:35
golang/go
cfe5d79c5c2c9888a0e56e089dca99e405a225b9
ecfce58965da6017e02f5fc5c03eda52fc41c8d6
os: depend on Readlink only when necessary Currently Readlink gets linked into the binary even when Executable is not needed. This reduces a simple "os.Stdout.Write([]byte("hello"))" by ~10KiB. Previously the executable path was read during init time, because deleting the executable would make "Readlink" return "(de...
[ { "path": "src/os/executable_procfs.go", "patch": "@@ -12,10 +12,7 @@ import (\n \t\"runtime\"\n )\n \n-// We query the executable path at init time to avoid the problem of\n-// readlink returns a path appended with \" (deleted)\" when the original\n-// binary gets deleted.\n-var executablePath, executableP...
2021-04-20T14:38:54
nodejs/node
0cb3325f124805c0f8911627a38cfb34be35b675
06cab45b2c2121af527b7e305f0176114da741d1
tls: fix SSL write error handling Fix an use-after-free bug in the TLS implementation. If we return from `DoWrite()` with an early error, we should not be storing the `WriteWrap` object and complete it again at a later point, when it has already been freed (because of the write error). This issue was reported by Jor...
[ { "path": "src/stream_base.cc", "patch": "@@ -387,6 +387,7 @@ void ReportWritesToJSStreamListener::OnStreamAfterReqFinished(\n AsyncWrap* async_wrap = req_wrap->GetAsyncWrap();\n HandleScope handle_scope(env->isolate());\n Context::Scope context_scope(env->context());\n+ CHECK(!async_wrap->persistent...
2018-04-12T19:53:59