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
90e619a6d9eaa40d73a8f08ffc5ffc24701e88e0
04b9bd21f888d9976d10f8c1613e72d26e4cc4ab
fix typo
[ { "path": "brightray/browser/linux/inspectable_web_contents_view_linux.cc", "patch": "@@ -24,7 +24,7 @@ InspectableWebContentsViewLinux::~InspectableWebContentsViewLinux() {\n \n gfx::NativeView InspectableWebContentsViewLinux::GetNativeView() const {\n \t// TODO\n-\tfprintf(stderr, \"InspectableWebContents...
2013-11-07T23:25:51
nodejs/node
7295d3ba6b3e5c265052aaa28caa4a7ef8e9f5bc
e270ae9f010db42290c2df733383cfb7dcfcd697
doc: fix fs.promises sample codes PR-URL: https://github.com/nodejs/node/pull/20838 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -3453,6 +3453,7 @@ added: v10.0.0\n Closes the file descriptor.\n \n ```js\n+const fsPromises = require('fs').promises;\n async function openAndClose() {\n let filehandle;\n try {\n@@ -3564,6 +3565,9 @@ For example, the following program retains only the first fou...
2018-05-19T17:45:26
rust-lang/rust
a6dcd519f325e8e3bce6b59461d6f073a9f5c18b
5961e5ba3daa20d98f549eb9029105ae50c13aed
fix multiple `#[repr(align(N))]` on functions
[ { "path": "compiler/rustc_codegen_ssa/src/codegen_attrs.rs", "patch": "@@ -114,7 +114,8 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {\n AttributeKind::Repr(reprs) => {\n codegen_fn_attrs.alignment = reprs\n .iter()\n-...
2025-04-16T10:16:40
golang/go
d6a90d06d2883c6ae4bbd9bff2aafc338cc8f339
3a30381b2110f15de85514609965b7cafd90aec0
cmd/compile/internal/types2: simplify Checker.Call Now that we use square brackets for instantiations, we can tell type arguments from ordinary arguments without "guessing" which permits a simpler implementation. Specifically, replace use of Checker.exprOrTypeList with Checker.exprList, and delete Checker.exprOrTypeL...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -146,13 +146,7 @@ func (check *Checker) call(x *operand, call *syntax.CallExpr) exprKind {\n \t\t}\n \n \t\t// evaluate arguments\n-\t\targs, ok := check.exprOrTypeList(call.ArgList)\n-\t\tif !ok {\n-\t\t\tx.mode = invalid\n-\t\t\tx.expr = ca...
2021-03-31T06:12:48
huggingface/transformers
92abc0dae848d1853d04b9e8b4672da2374d3cd4
9d6abf9778c90441f16b534895538d5e061d410c
Update _get_eval_sampler to reflect Trainer.tokenizer is deprecation self.tokenizer -> self.processing_class (#36315) * fix warning self.tokenizer -> self.processing_class * formating change
[ { "path": "src/transformers/trainer.py", "patch": "@@ -1060,7 +1060,9 @@ def _get_eval_sampler(self, eval_dataset: Dataset) -> Optional[torch.utils.data.\n )\n else:\n lengths = None\n- model_input_name = self.tokenizer.model_input_names[0] if self.toke...
2025-02-25T10:07:50
vercel/next.js
50ced119e2795538ca4ba8e473e6e75d9f5cf3a9
96696c2d3bf24b181d24ecc57506e66de3c5a44b
Add E2E test for @vercel/og API route (#42258) This ensures we don't have a fatal error when not necessary and ensures `@vercel/og` is working as expected. x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1667239940322769?thread_ts=1667238747.240989&cid=CGU8HUTUH) ## Bug - [ ] Related issu...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -1658,7 +1658,9 @@ export async function copyTracedFiles(\n `${normalizePagePath(page)}.js`\n )\n const pageTraceFile = `${pageFile}.nft.json`\n- await handleTraceFiles(pageTraceFile)\n+ await handleTraceFiles(pageTraceFile).catch((e...
2022-10-31T19:32:35
nodejs/node
0271b0f20309afae2b89a685e5002a25bfc94d37
df511c619557d5cf1af27c674a41c0fb7a741f67
doc: fix typo in http2.md PR-URL: https://github.com/nodejs/node/pull/20843 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de...
[ { "path": "doc/api/http2.md", "patch": "@@ -3121,7 +3121,7 @@ added: v8.4.0\n -->\n \n Call [`http2stream.pushStream()`][] with the given headers, and wraps the\n-given newly created [`Http2Stream`] on `Http2ServerRespose`.\n+given newly created [`Http2Stream`] on `Http2ServerResponse`.\n \n The callback wi...
2018-05-20T05:01:44
electron/electron
7324f0468b8b3a99882e1a3097c1080d5be78b7d
64e3a6b4372c11f73eacb21e2ae638e40696255a
:lipstick: fix typo.
[ { "path": "script/bump-version.py", "patch": "@@ -84,7 +84,7 @@ def update_version_h(versions):\n if 'ATOM_MAJOR_VERSION' in line:\n lines[i] = '#define ATOM_MAJOR_VERSION {0}\\n'.format(versions[0])\n lines[i + 1] = '#define ATOM_MINOR_VERSION {0}\\n'.format(versions[1])\n- lines[i + 2...
2013-11-07T08:59:33
golang/go
3a30381b2110f15de85514609965b7cafd90aec0
93466cc1b697836200e73bb103522324d38e894f
cmd/compile/internal/types2: simplify Checker.funcInst Now that we use square brackets for instantiations, we can tell type arguments from ordinary arguments without "guessing" which permits a simpler implementation. While at it, also fix a minor position error for type instantiations (now matching the code for funct...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -15,39 +15,29 @@ import (\n // funcInst type-checks a function instantiaton inst and returns the result in x.\n // The operand x must be the evaluation of inst.X and its type must be a signature.\n func (check *Checker) funcInst(x *operand, i...
2021-03-31T05:07:26
huggingface/transformers
9d6abf9778c90441f16b534895538d5e061d410c
401543a825ca6e632cf53924a1cbcf82f44939e5
enable torchao quantization on CPU (#36146) * enable torchao quantization on CPU Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix int4 Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * enable CPU torchao tests Signed-off-by: jiqing-feng ...
[ { "path": "docs/source/en/quantization/overview.md", "patch": "@@ -59,7 +59,7 @@ Use the table below to help you decide which quantization method to use.\n | [HQQ](./hqq.md) | 🟢 | 🟢 | 🟢 | 🔴 | 🔴 | ...
2025-02-25T10:06:52
vercel/next.js
96696c2d3bf24b181d24ecc57506e66de3c5a44b
a4f9d77f780cf05f7c007496fdadc5c0fdecff5b
Add event for dev process stop (#42255) x-ref: [slack thread](https://vercel.slack.com/archives/C02HEJASXGD/p1667173179573409?thread_ts=1667165920.338789&channel=C02HEJASXGD&message_ts=1667173179.573409) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a...
[ { "path": "packages/next/bin/next.ts", "patch": "@@ -113,7 +113,7 @@ if (process.versions.pnp === '3') {\n \n // Make sure commands gracefully respect termination signals (e.g. from Docker)\n // Allow the graceful termination to be manually configurable\n-if (!process.env.NEXT_MANUAL_SIG_HANDLE) {\n+if (!pr...
2022-10-31T19:19:22
nodejs/node
1ae184a85c05164b40933a5efc678cd9f008d2c4
1c1b8ae409368adee82ebe4edc090db570d21764
fs: improve fchmod{Sync} validation This commit validates the fd parameters to fs.fchmod{Sync} as int32s instead of uint32s because they are ints in the binding layer. PR-URL: https://github.com/nodejs/node/pull/20588 Fixes: https://github.com/nodejs/node/issues/20498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> R...
[ { "path": "lib/fs.js", "patch": "@@ -1057,7 +1057,7 @@ fs.unlinkSync = function(path) {\n };\n \n fs.fchmod = function(fd, mode, callback) {\n- validateUint32(fd, 'fd');\n+ validateInt32(fd, 'fd', 0);\n mode = validateAndMaskMode(mode, 'mode');\n callback = makeCallback(callback);\n \n@@ -1067,7 +1067...
2018-05-20T01:09:45
electron/electron
8d710609fd3946d6fbb5aa928066380031db6a11
7dcbd11863410b9a6eaa03182bd0140919f21f95
win: Fix setting icon after format of atom.rc has changed.
[ { "path": "browser/native_window_win.cc", "patch": "@@ -224,7 +224,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,\n OnViewWasResized();\n \n if (g_exe_icon == NULL)\n- g_exe_icon = ::LoadImage(GetModuleHandle(NULL), L\"IDR_MAINFRAME\",\n+ g_exe_icon = ::LoadImage(GetModu...
2013-11-07T07:09:45
huggingface/transformers
401543a825ca6e632cf53924a1cbcf82f44939e5
bc65f3fc1c1714cccf58ce3d9dcdca8ba9072879
Fix `is_causal` fail with compile (#36374) fix
[ { "path": "src/transformers/integrations/sdpa_attention.py", "patch": "@@ -42,8 +42,9 @@ def sdpa_attention_forward(\n \n # We dispatch to SDPA's Flash Attention or Efficient kernels via this `is_causal` if statement instead of an inline conditional assignment\n # in SDPA to support both torch.compi...
2025-02-25T09:44:56
golang/go
d57189e92b9b4cd6909aefbcee02e9cb6fc05cff
55bac87bd690d5812b3e6640977a0568f14c0715
test/syntax: remove interface.go The exact same test case covered by this file is also in fixedbugs/bug121.go. No need for duplication. Also, the actual syntax error tested (multiple method names with a single signature) is an unlikely syntax error, and only here for historical reasons (in the very beginning, this wa...
[ { "path": "test/syntax/interface.go", "patch": "@@ -1,14 +0,0 @@\n-// errorcheck\n-\n-// Copyright 2010 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-package main\n-\n-type T interface {\n-\tf, g ()\t// E...
2021-04-06T18:36:36
vercel/next.js
a4f9d77f780cf05f7c007496fdadc5c0fdecff5b
8e3586d2cc8da19394bb48a32ba14afc3acb378b
Update failing e2e middleware response test (#42256) Fixes: https://github.com/vercel/next.js/actions/runs/3362784779/jobs/5576284398 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] I...
[ { "path": "test/e2e/middleware-responses/test/index.test.ts", "patch": "@@ -33,9 +33,7 @@ describe('Middleware Responses', () => {\n const res = await fetchViaHTTP(next.url, `${locale}/stream-a-response`)\n expect(res.status).toBe(500)\n \n- if ((global as any).isNextDeploy) {\n- exp...
2022-10-31T18:39:51
nodejs/node
1c1b8ae409368adee82ebe4edc090db570d21764
a7fa0dba88be73cc7210c21117c08281b0b45205
lib: support ranges in validateInt32() This commit adds minimum and maximum value checks to the validateInt32() validator. PR-URL: https://github.com/nodejs/node/pull/20588 Fixes: https://github.com/nodejs/node/issues/20498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> R...
[ { "path": "lib/internal/validators.js", "patch": "@@ -48,19 +48,23 @@ function validateAndMaskMode(value, name, def) {\n throw new ERR_INVALID_ARG_VALUE(name, value, modeDesc);\n }\n \n-function validateInt32(value, name) {\n+function validateInt32(value, name, min = -2147483648, max = 2147483647) {\n+ /...
2018-05-20T01:07:16
rust-lang/rust
da70675eefea6dda23ec211f7bfd1daff32e97a5
d9b61b3382e83c8e3aaab0239da74e0526aed283
fix: use `ast::TokenTree` in `make::expr_macro` Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/destructure_struct_binding.rs", "patch": "@@ -302,7 +302,12 @@ fn build_usage_edit(\n }),\n None => Some((\n usage.name.syntax().as_node().unwrap().clone(),\n- make.expr_macro(ast::make::ext::ident_path...
2025-04-15T06:22:22
huggingface/transformers
931e5f4ac375362be2e5020d54dec4d73dcc8321
2ab7bdc40333b230b642f09e8334fb8e1a92d2a4
Update modeling_llava_onevision.py (#36391) Fixed a potential bug in modeling_llava_onevision.py
[ { "path": "src/transformers/models/llava_onevision/modeling_llava_onevision.py", "patch": "@@ -740,7 +740,7 @@ def forward(\n \n special_video_mask = (input_ids == self.config.video_token_index).unsqueeze(-1)\n special_video_mask = special_video_mask.expand_as(inputs_embeds).to(input...
2025-02-25T08:34:50
electron/electron
d1dc041aaf32e266f752c399630c6a5a91816011
85243edf4e5c167127c2641c2146cb00ecc4e308
win: Use exe's icon as window icon, fixed #123.
[ { "path": "app/win/resource.h", "patch": "@@ -1,9 +1,10 @@\n //{{NO_DEPENDENCIES}}\n // Microsoft Visual C++ generated include file.\n-// Used by brightray_example.rc\n+\n+#define IDR_MAINFRAME 1\n \n // Next default values for new objects\n-// \n+//\n #ifdef APSTUDIO_INVOKED\n #ifndef APSTUDIO_READONLY_SYM...
2013-11-07T03:06:00
golang/go
55bac87bd690d5812b3e6640977a0568f14c0715
b345a306a0258085b65081cf2dadc238dc7e26ee
runtime/pprof: deflake TestMorestack In TestMorestack, on macOS, for some reason it got most of the samples in synchronization (e.g. pthread_cond_signal and pthread_cond_wait) and sometimes in other "syscalls" (usleep, nanotime1), and very few samples in stack copying, sometimes 0, which causes the test to fail. Maybe...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -12,7 +12,6 @@ import (\n \t\"context\"\n \t\"fmt\"\n \t\"internal/profile\"\n-\t\"internal/race\"\n \t\"internal/testenv\"\n \t\"io\"\n \t\"math/big\"\n@@ -586,18 +585,6 @@ func stackContainsAll(spec string, count uintptr, stk []*profile.Location, l...
2021-04-06T14:23:48
vercel/next.js
8e3586d2cc8da19394bb48a32ba14afc3acb378b
848bb3af73c399f83924fb2b31b4327c05ef7d45
Optimize bundle size for appDir (#42252) - Ensure React / other deps are deduped against main-app bundle - Only require web-vitals when it's needed - Move warnOnce into separate file as it's not tree shaken - Add create-next-app with bundle analyzer <details> <summary>13.0.0 (react-dom deduping bug)</summary> <img w...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -984,7 +984,10 @@ export default async function build(\n value,\n ]\n } else {\n- clientEntry[key] = value\n+ clientEntry[key] = {\n+ dependOn: [CLIENT_STATIC...
2022-10-31T17:50:35
nodejs/node
9349e15daa803fc626581802fa827afe8d00340e
c68e6e1f1b4c70bf60485d20b6d4c9778dbbc551
src: move *Exceptions out to separate cc/h PR-URL: https://github.com/nodejs/node/pull/20789 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
[ { "path": "node.gyp", "patch": "@@ -309,6 +309,7 @@\n 'src/connection_wrap.cc',\n 'src/connect_wrap.cc',\n 'src/env.cc',\n+ 'src/exceptions.cc',\n 'src/fs_event_wrap.cc',\n 'src/handle_wrap.cc',\n 'src/js_stream.cc',\n@@ -371,6 +372,7 @@\n 'src/...
2018-05-16T21:24:25
huggingface/transformers
18276b03f759771779c2995937ecaefa782a2c3c
f4684a6eb2d224989d17cda62007de185acf7e01
fix(type): padding_side type should be Optional[str] (#36326)
[ { "path": "src/transformers/models/layoutlmv2/tokenization_layoutlmv2.py", "patch": "@@ -414,7 +414,7 @@ def __call__(\n max_length: Optional[int] = None,\n stride: int = 0,\n pad_to_multiple_of: Optional[int] = None,\n- padding_side: Optional[bool] = None,\n+ padding_s...
2025-02-24T16:09:42
golang/go
b345a306a0258085b65081cf2dadc238dc7e26ee
939b561a6e36d9b3854d860a80c24dc80f01f6be
cmd/compile: when GOSSAFUNC is set, dump the current pass on crash When an SSA pass ICEs, it calls f.Fatalf, which terminates the compiler. When GOSSAFUNC is set, the current pass is not written to ssa.html. This CL makes it write ssa.html when it calls Fatalf, for the ease of debugging. Change-Id: I5d55e4258f0693d89...
[ { "path": "src/cmd/compile/internal/ssa/func.go", "patch": "@@ -653,7 +653,19 @@ func (f *Func) Frontend() Frontend { return f.f\n func (f *Func) Warnl(pos src.XPos, msg string, args ...interface{}) { f.fe.Warnl(pos, msg, args...) }\n func (f *Func) Logf(msg string, args ......
2021-04-06T00:41:56
electron/electron
dc1a8b644a39e34a19919c7ed23b67198813a856
8bb3b53833bcb946728acfdd983d014376333ea2
Get the status of devtools from brightray, fixed #27.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -428,6 +428,12 @@ v8::Handle<v8::Value> Window::CloseDevTools(const v8::Arguments &args) {\n return v8::Undefined();\n }\n \n+// static\n+v8::Handle<v8::Value> Window::IsDevToolsOpened(const v8::Arguments& args) {\n+ UNWRAP_WINDOW_AND_CHECK;\n+ re...
2013-11-05T02:32:45
vercel/next.js
ca1946b0db8ae0e0bfcaa17efa178df4f229117b
cc0c85e5ebf0f1e3868b6b8477deaf1d23cf5e23
Multiple local font weights and styles (#42232) Allows you to specify multiple weights and styles for a `@next/font/local` font family. When generating a fallback font family it will pick the font file with the weight closest to normal, this will typically make up most of the text on a page. ## Bug - [ ] R...
[ { "path": "packages/font/src/local/index.ts", "patch": "@@ -3,7 +3,13 @@ import type { FontModule } from 'next/font'\n type Display = 'auto' | 'block' | 'swap' | 'fallback' | 'optional'\n type CssVariable = `--${string}`\n type LocalFont = {\n- src: string\n+ src:\n+ | string\n+ | Array<{\n+ ...
2022-10-31T15:59:28
huggingface/transformers
2af272c101acf1401d07ae9f72d1dedf019edc8a
977a61f7433df8ea0d5c243869cfe1e2c9abf214
Add autoquant support for torchao quantizer (#35503) * Add autoquant support for torchao quantizer Summary: att, also verified that autoquantized model can be saved and loaded: save: https://gist.github.com/jerryzh168/01d367aaf44dbbbfd4068a4a10a00061 load: https://gist.github.com/jerryzh168/d5c6c401b2abdf18e0b677134...
[ { "path": "docs/source/en/quantization/torchao.md", "patch": "@@ -22,6 +22,12 @@ pip install --upgrade torch torchao transformers\n \n By default, the weights are loaded in full precision (torch.float32) regardless of the actual data type the weights are stored in such as torch.float16. Set `torch_dtype=\"a...
2025-02-24T14:54:16
nodejs/node
c68e6e1f1b4c70bf60485d20b6d4c9778dbbc551
fbd1c4977ed963e2aaebee871d3be4b0a090cc18
src: fix odd linting issue The prior commit causes a linting issue here. Fix by changing from a struct to a class. PR-URL: https://github.com/nodejs/node/pull/20789 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-...
[ { "path": "src/node.cc", "patch": "@@ -2063,7 +2063,8 @@ node_module* get_linked_module(const char* name) {\n return FindModule(modlist_linked, name, NM_F_LINKED);\n }\n \n-struct DLib {\n+class DLib {\n+ public:\n #ifdef __POSIX__\n static const int kDefaultFlags = RTLD_LAZY;\n #else\n@@ -2084,7 +2085,...
2018-05-16T20:21:00
golang/go
5cd8a344954cc29be9bce6d67b3f4293ed72aa9f
84162b88324aa7993fe4a8580a2b65c6a7055f88
cmd/compile: fix gcSizes.Sizeof for a zero-sized struct (*gcSizes).Sizeof was requiring the last field of a zero-sized struct to be at least one byte. But that rule (fix for #9401, see logic in calcStructOffset) only applies to a struct that has some non-zero sized fields. Fix (*gcSizes).Sizeof to have the logic like ...
[ { "path": "src/cmd/compile/internal/noder/sizes.go", "patch": "@@ -115,10 +115,10 @@ func (s *gcSizes) Sizeof(T types2.Type) int64 {\n \t\t}\n \t\toffsets := s.Offsetsof(fields)\n \n-\t\t// gc: The last field of a struct is not allowed to\n+\t\t// gc: The last field of a non-zero-sized struct is not allowed...
2021-04-06T03:03:02
huggingface/transformers
884a8ea1f058716c24adb52a0a6a0bf41fbb973d
4dbf17c17f5834eb68f296457acc605a8c533b5a
Improve model loading for compressed tensor models (#36152) * Disable warnings for stacked compressors * Introduce two new hooks in HfQuantizer lifecycle to allow updates to missing and unexpected keys * Update missing and unexpected keys for stacked compressors * Add tests * Fix: run_compressed cases * Fix: uncompres...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4673,6 +4673,7 @@ def _load_pretrained_model(\n unexpected_keys = [k for k in unexpected_keys if re.search(pat, k) is None]\n if hf_quantizer is not None:\n missing_keys = hf_quantizer.update_missing_keys(model...
2025-02-24T12:47:21
vercel/next.js
cc0c85e5ebf0f1e3868b6b8477deaf1d23cf5e23
b7ea0a5abe96e08671191b2b71eac0a3d0ad1679
Default font config fix (#42235) Fixes typo and makes sure both loaders always have a default value. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature requ...
[ { "path": "packages/next/server/config.ts", "patch": "@@ -90,8 +90,6 @@ export function setHttpClientAndAgentOptions(config: NextConfig) {\n }\n \n async function setFontLoaderDefaults(config: NextConfigComplete, dir: string) {\n- if (config.experimental?.fontLoaders) return\n-\n // Add @next/font loader...
2022-10-31T15:56:37
nodejs/node
27df81cd1874e5392bbfa479543e47dd226f322a
456a8193cb6d7ba3514c14c64130c3f5c5fcd198
util: remove custom inspection function This removes the deprecated custom inspection function and fixes all tests accordingly. Refs: https://github.com/nodejs/node/issues/15549 PR-URL: https://github.com/nodejs/node/pull/20722 Refs: https://github.com/nodejs/node/issues/15549 Reviewed-By: Anna Henningsen <anna@adda...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -718,7 +718,7 @@ Type: Runtime\n <a id=\"DEP0079\"></a>\n ### DEP0079: Custom inspection function on Objects via .inspect()\n \n-Type: Runtime\n+Type: End-of-Life\n \n Using a property named `inspect` on an object to specify a custom inspection\n function fo...
2018-05-14T16:44:30
golang/go
b2389ad3ce7254784db5f4005805714e87ffab85
d446cb7cff024412c0a80c3971dac3049db9f18c
cmd/compile: fix for zerorange on plan9-amd64 In CL 305829 a problematic change was made to the compiler's amd64-specific "zerorange" function. In zerorange the compiler uses different sets of strategies depending on the size of the stack frame it needs to zero; turns out that only on plan9-amd64 was it hitting the fi...
[ { "path": "src/cmd/compile/internal/amd64/ggen.go", "patch": "@@ -58,6 +58,7 @@ func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, state *uint32) *obj.\n \tconst (\n \t\tr13 = 1 << iota // if R13 is already zeroed.\n \t\tx15 // if X15 is already zeroed. Note: in new ABI, X15 is always z...
2021-04-05T20:50:38
huggingface/transformers
4dbf17c17f5834eb68f296457acc605a8c533b5a
92c5ca9dd70de3ade2af2eb835c96215cc50e815
[tests] enable bnb tests on xpu (#36233) * fix failed test * fix device * fix more device cases * add more cases * fix empty cache * Update test_4bit.py --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "tests/models/falcon/test_modeling_falcon.py", "patch": "@@ -591,12 +591,12 @@ def test_batched_generation(self):\n \n test_text = \"A sequence: 1, 2\" # should generate the rest of the sequence\n \n- unpadded_inputs = tokenizer([test_text], return_tensors=\"pt\").to(\"cuda:0\")\n+...
2025-02-24T10:30:15
electron/electron
fd20050fc9749aac75b412c1ecaf97b3977b1b4e
c5946bf977cf143b57084841f3835d5e32f5bafb
First hack at fixing console IO
[ { "path": "app/atom_main.cc", "patch": "@@ -4,6 +4,9 @@\n \n #include <stdlib.h>\n #include <string.h>\n+#include <stdio.h>\n+#include <io.h>\n+#include <fcntl.h>\n \n #include \"content/public/app/content_main.h\"\n \n@@ -21,10 +24,48 @@ int Start(int argc, char *argv[]);\n #include \"content/public/app/st...
2013-11-04T22:15:19
vercel/next.js
b7ea0a5abe96e08671191b2b71eac0a3d0ad1679
2280a2dd5644147de78ced15c698e7c63ccd4ff2
Add prompt for ESLint to CNA (#42218) Following up https://github.com/vercel/next.js/pull/42012 this adds an additional prompt for include ESLint config/dependencies or not. As discussed, this also removes the slow down from doing separate `dependencies` and `devDependencies` installs since this separation is no l...
[ { "path": "docs/api-reference/create-next-app.md", "patch": "@@ -45,6 +45,18 @@ Options:\n \n Initialize as a JavaScript project.\n \n+ --eslint\n+\n+ Initialize with eslint config.\n+\n+ --no-eslint\n+\n+ Initialize without eslint config.\n+\n+ --experimental-app\n+\n+ Initialize as a `app/...
2022-10-31T15:51:50
nodejs/node
c594d15170e6664c0609d317a9a201f34e875900
064057b7ad0ee6f76f43846b4f002072dafa1702
fs: drop duplicate API in promises mode This drops exporting duplicate methods that accept FileHandle as the first argument (to mirror callback-based methods accepting 'fd'). Those methods were not adding actual value to the API because all of those are already present as FileHandle methods, and they would probably b...
[ { "path": "benchmark/fs/bench-stat-promise.js", "patch": "@@ -9,12 +9,12 @@ const bench = common.createBenchmark(main, {\n });\n \n async function run(n, statType) {\n- const arg = statType === 'fstat' ?\n- await fsPromises.open(__filename, 'r') : __filename;\n+ const handleMode = statType === 'fstat';...
2018-05-06T09:13:56
huggingface/transformers
92c5ca9dd70de3ade2af2eb835c96215cc50e815
547911e727fffa06052fcd35776c1df115ec32ed
Fix exploitable regexes in Nougat and GPTSan/GPTJNeoXJapanese (#36121) * Fix potential regex catastrophic backtracking in NougatTokenizerFast The original regex pattern in tokenization_nougat_fast.py was vulnerable to catastrophic backtracking due to greedy quantifiers and nested alternations. This commit replaces it...
[ { "path": "src/transformers/models/deprecated/gptsan_japanese/tokenization_gptsan_japanese.py", "patch": "@@ -18,6 +18,7 @@\n import json\n import os\n import re\n+import sys\n from typing import List, Optional, Tuple, Union\n \n import numpy as np\n@@ -407,9 +408,23 @@ def __init__(self, vocab, ids_to_toke...
2025-02-21T19:49:51
golang/go
0723f062ff906902c44086476f95016e50164c53
79b2e14b1a08d5c5a6a6153c5fa85b6cab0fcbf4
cmd/compile: enable panic+recover adjustment for some ABI wrappers For most ABI wrappers we don't need it because we're never going to defer an ABI wrapper for a function that then recovers, so that's would just be unnecessary code in the ABI wrapper. However, for functions that could be on the path of invoking a def...
[ { "path": "src/cmd/compile/internal/ssagen/abi.go", "patch": "@@ -393,10 +393,20 @@ func setupTextLSym(f *ir.Func, flag int) {\n \t}\n \n \t// Clumsy but important.\n+\t// For functions that could be on the path of invoking a deferred\n+\t// function that can recover (runtime.reflectcall, reflect.callReflec...
2021-04-04T16:59:49
electron/electron
618d0c63973fc9e48c5815f1031533fa0a1b8dc4
362bb6e68bb935ac096a371eb561c30e5ddc219c
Fix the "'true' is not recognized as an internal or external command" error.
[ { "path": "package.json", "patch": "@@ -16,6 +16,6 @@\n \"private\": true,\n \n \"scripts\": {\n- \"preinstall\": \"true\"\n+ \"preinstall\": \"node -e 'process.exit(0)'\"\n }\n }", "additions": 1, "deletions": 1, "language": "JSON" } ]
2013-11-01T02:15:41
vercel/next.js
2280a2dd5644147de78ced15c698e7c63ccd4ff2
005cf9b7a774c110ca902cfc152594860db41499
Fix CSS modules imports from outside of the root directory (#42106) Fixes #41856. There is no way to apply those loader rules to specific directories, especially when `transpileModules` is used. This PR changes that to be based on the issuer layer. ## Bug - [ ] Related issues linked using `fixes #number` - [x...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -273,6 +273,7 @@ export const css = curry(async function css(\n // CSS Modules support must be enabled on the server and client so the class\n // names are available for SSR or Prerendering.\n if (ctx.hasAppDir && !ctx.is...
2022-10-31T15:44:48
nodejs/node
70cc5da0f11a024cf5be1ff20fd885556c1d2153
143a2f8d67a81154bdb2849999837fb0a5c13d8e
lib,src: use V8 API for collection inspection Use a new public V8 API for inspecting weak collections and collection iterators, rather than using V8-internal functions to achieve this. This currently comes with a slight modification of the output for inspecting iterators generated by `Set().entries()`. Fixes: https:/...
[ { "path": "lib/console.js", "patch": "@@ -29,7 +29,7 @@ const {\n ERR_INVALID_ARG_VALUE,\n },\n } = require('internal/errors');\n-const { previewMapIterator, previewSetIterator } = require('internal/v8');\n+const { previewEntries } = process.binding('util');\n const { Buffer: { isBuffer } } = require(...
2018-05-14T15:30:27
rust-lang/rust
c36e9de178fe9e01e38dac70578733514f2df37b
0b0c0e47f82935225a26f705a9fed74bdb0a01db
RISC-V: tidying: Prefer more canonical reference 1. Use canonical kernel.org repository instead of the GitHub mirror. 2. Refer to the fixed commit to guarantee access. 3. Use `uapi` part to ensure that the feature detection is primarily intended for user-mode programs.
[ { "path": "library/stdarch/crates/std_detect/src/detect/os/linux/riscv.rs", "patch": "@@ -21,7 +21,7 @@ pub(crate) fn detect_features() -> cache::Initializer {\n \n // The values are part of the platform-specific [asm/hwcap.h][hwcap]\n //\n- // [hwcap]: https://github.com/torvalds/linux/blob/mast...
2025-04-11T01:13:44
golang/go
79b2e14b1a08d5c5a6a6153c5fa85b6cab0fcbf4
27015152ec769aeed2ab92533772b97c0ef96b11
crypto/ed25519: add comprehensive edge-case test vectors This will allow us to make changes to the internals confidently, without risking causing issues in consensus applications. It will also prevent architecture-specific divergence, like #40475. Fixes #40478 Change-Id: I8c2b31406ca88add6941f14d8df8cecb96379cde Rev...
[ { "path": "src/crypto/ed25519/ed25519vectors_test.go", "patch": "@@ -0,0 +1,109 @@\n+// Copyright 2021 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+package ed25519_test\n+\n+import (\n+\t\"crypto/ed25519...
2021-03-24T13:41:25
electron/electron
362bb6e68bb935ac096a371eb561c30e5ddc219c
b88168c0d207c1b5dc23035351ca4746497a0b49
Mention required options of WDK and Win7 SDK, fixed #114.
[ { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -5,7 +5,7 @@\n * Windows 7 or later\n * Visual Studio 2010 Express or Profissional\n * Make sure \"X64 Compilers and Tools\" are installed if you use the\n- Profissional edition\n+ Profissional edition.\n * [Python 2.7](http://...
2013-10-31T12:06:36
huggingface/transformers
a957b7911a758d54597914b4479fe6e81424d64f
14552cbd7c91ac2b96fc630f852992cb17f46d7f
Add SigLIP 2 (#36323) * Docs * Inits * Auto classes * Add siglip base * Add base tests * Fix Siglip V1 for fix res version * Add image processor * Update conversion * Experimenting with vectorized embeddings * Fixup * Add modular Siglip2Processor * Add modular configuration * Rename num patches * Correct ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -965,6 +965,8 @@\n title: Segment Anything\n - local: model_doc/siglip\n title: SigLIP\n+ - local: model_doc/siglip2\n+ title: SigLIP2\n - local: model_doc/smolvlm\n title: SmolVLM\n - local: model_do...
2025-02-21T09:04:19
vercel/next.js
005cf9b7a774c110ca902cfc152594860db41499
13615953db8be58790c59b8c69eb26b3ebb31f4f
Adding note about beta docs (#42230) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implement...
[ { "path": "docs/getting-started.md", "patch": "@@ -2,13 +2,13 @@\n description: Get started with Next.js in the official documentation, and learn more about all our features!\n ---\n \n+> The beta version of Next.js 13 has been [publicly released](https://nextjs.org/blog/next-13), [read the new docs here](h...
2022-10-31T15:29:45
nodejs/node
143a2f8d67a81154bdb2849999837fb0a5c13d8e
3ff723f940c9b18f281131fad1d0c967c45169dd
deps: cherry-pick ff0a9793334 from upstream V8 Original commit message: [api] Expose PreviewEntries as public API Turn `debug::EntriesPreview` into a public API. This is a straightforward approach to addressing nodejs/node#20409 (not relying on functionality behind `--allow-natives-syntax`) i...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -3503,6 +3503,17 @@ class V8_EXPORT Object : public Value {\n */\n Isolate* GetIsolate();\n \n+ /**\n+ * If this object is a Set, Map, WeakSet or WeakMap, this returns a\n+ * representation of the elements of this object as an array.\n+ * If this ob...
2018-05-18T16:49:41
golang/go
27015152ec769aeed2ab92533772b97c0ef96b11
ee40bb666bed55e7232c50a980e238aed7a32e0c
flag: use strings.Builder instead of concatenating strings There is a single function in the flag package whose implementation uses string concatenation instead of the recommended strings.Builder. The function was last touched before strings.Builder was introduced in Go 1.10, which explains the old style code. This PR...
[ { "path": "src/flag/flag.go", "patch": "@@ -508,31 +508,33 @@ func UnquoteUsage(flag *Flag) (name string, usage string) {\n // documentation for the global function PrintDefaults for more information.\n func (f *FlagSet) PrintDefaults() {\n \tf.VisitAll(func(flag *Flag) {\n-\t\ts := fmt.Sprintf(\" -%s\", f...
2021-04-05T18:21:59
electron/electron
602f02b8671b4d92072eeecbf5874346fe80aaa4
5cf61c9ab4dfb557d142bf6d7473fbd0f9e79bf0
:lipstick: Fix typo of doc.
[ { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -26,7 +26,7 @@ not use Visual Studio for the development. Support of building with Visual\n Studio will come in future.\n \n **Note:** Even though Visual Studio is not used for building, it's still\n-**required because we need the buil...
2013-10-26T10:09:22
huggingface/transformers
e18f233f6c8cba029324e2868fb68abdaf6badf3
27d1707586c38895ef3b64cb0163645f5b8fd688
Fix default attention mask of generate in MoshiForConditionalGeneration (#36171)
[ { "path": "src/transformers/models/moshi/modeling_moshi.py", "patch": "@@ -2099,6 +2099,31 @@ def forward(\n depth_attentions=None if decoder_outputs is None else decoder_outputs.attentions,\n )\n \n+ def _prepare_attention_mask_for_generation(\n+ self,\n+ input_ids: tor...
2025-02-20T19:53:27
vercel/next.js
cdcac4a260955d7d7fb7154416f16e6dcf6ccc39
583557ce5b2ecac66a3e8d5a064bcbe55952c43c
fix bad performance in ApplyVisitors (vercel/turbo#2501) * fix bad performance in ApplyVisitors remove all allocations during visiting rust magic with lifetimes use binary search instead of hash map sort visitors initially * add some comments about the invariant
[ { "path": "crates/turbopack-ecmascript/src/path_visitor.rs", "patch": "@@ -1,4 +1,4 @@\n-use std::{borrow::Cow, collections::HashMap};\n+use std::borrow::Cow;\n \n use swc_core::{\n common::pass::AstKindPath,\n@@ -12,77 +12,95 @@ use crate::code_gen::VisitorFactory;\n \n pub type AstPath = Vec<AstParent...
2022-10-31T11:06:42
golang/go
ee40bb666bed55e7232c50a980e238aed7a32e0c
254fb85c12aa631b5d1596aaf13f6e8666d65d15
cmd/compile: add "surprised by IData of Arg" case for register args This fixes a compile crash for GOEXPERIMENT=regabi,regabiargs go test -c go/constant Updates #40724. Change-Id: I238cef436e045647815326fc8fdb025c30ba1f5c Reviewed-on: https://go-review.googlesource.com/c/go/+/307309 Trust: David Chase <drchase@goog...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -317,6 +317,15 @@ func (x *expandState) rewriteSelect(leaf *Value, selector *Value, offset int64,\n \t\t}\n \t}\n \tswitch selector.Op {\n+\tcase OpArgIntReg, OpArgFloatReg:\n+\t\tif leafType == selector.Type { // OpIData leads us here, ...
2021-04-05T13:47:22
nodejs/node
2c42999f7e0cfb4d79124add35e0b19b50100074
3424f71cc900ce2bb22615630c37ba236a2060a4
assert: fix EOL issue in messages on Windows PR-URL: https://github.com/nodejs/node/pull/20754 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "lib/assert.js", "patch": "@@ -120,12 +120,12 @@ assert.fail = fail;\n assert.AssertionError = AssertionError;\n \n function getBuffer(fd, assertLine) {\n- var lines = 0;\n+ let lines = 0;\n // Prevent blocking the event loop by limiting the maximum amount of\n // data that may be read.\n- ...
2018-05-15T16:44:19
electron/electron
198b52bf40f03fafe776157a8c1a894bb8a3c5fa
cb31140d3a7f44738fa1851890706dc7b2f1085e
win: Ship the pdb file, fixes #112.
[ { "path": "script/create-dist.py", "patch": "@@ -31,6 +31,7 @@\n ],\n 'win32': [\n 'atom.exe',\n+ 'atom.exe.pdb',\n 'chromiumcontent.dll',\n 'content_shell.pak',\n 'ffmpegsumo.dll',", "additions": 1, "deletions": 0, "language": "Python" } ]
2013-10-26T09:44:51
huggingface/transformers
effaef334bf21849f542c317542d8913217b3f6b
5412ff1a1335c63db61b0cb5b418fc67e3906594
fix: prevent second save in the end of training if last step was saved already (#36219) * fix: prevent second save in the end of training * fix: prevent second save in the end of training * test: added test for no duplicate save on epoch save strategy * fix: removed TrainerControl * chore: style formatting ------...
[ { "path": "src/transformers/trainer_callback.py", "patch": "@@ -600,7 +600,7 @@ def on_step_end(self, args: TrainingArguments, state: TrainerState, control: Tra\n if state.global_step >= state.max_steps:\n control.should_training_stop = True\n # Save the model at the end if w...
2025-02-20T16:38:52
rust-lang/rust
2020adba86cb2852b11ab11a440975fb331e8424
40dacd50b7074783db748d73925ac5c3693a7ec1
Fix wrong suggestion for async gen block and add regression ui test for #139839
[ { "path": "compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs", "patch": "@@ -3376,10 +3376,15 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n \n let (sugg_span, suggestion) = match tcx.sess.source_map().span_to_snippet(args_span) {\n Ok(string) => {\n- ...
2025-04-15T14:59:16
vercel/next.js
0affdebf67b0b94d409285906e250acb19b2cca1
389c77f205c134d6f92d104876e77a0a6b20336b
Fix typo `pnpm-lock.yam` in `.prettierignore_staged` (#42212) Fix typo `pnpm-lock.yam` in #38915 Regenerate pnpm-lock.yaml without formatting (#42208) <!-- 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 che...
[ { "path": ".prettierignore_staged", "patch": "@@ -7,6 +7,6 @@ packages/next/bundles/webpack/packages/*.runtime.js\n lerna.json\n packages/next-codemod/transforms/__testfixtures__/**/*\n packages/next-codemod/transforms/__tests__/**/*\n-pnpm-lock.yam\n+pnpm-lock.yaml\n .github/actions/issue-validator/index.m...
2022-10-31T05:58:45
nodejs/node
59f71ea4ddf081b55f50334158c25ea19808b3d6
40469b4f6a43ff825ec8e5ad707c126f745c7a60
doc: fix typo in COLLABORATOR_GUIDE.md PR-URL: https://github.com/nodejs/node/pull/20742 Refs: https://github.com/nodejs/node/pull/20740 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Trivikram Kama...
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -843,7 +843,7 @@ LTS working group and the Release team.\n | `lib/domains` | @nodejs/domains |\n | `lib/fs`, `src/{fs,file}` | @nodejs/fs ...
2018-05-15T08:37:46
golang/go
d5b9dc1317e3d898650fcb6e417f03b00e69270b
e985245cd520cabe4bd3d99058d1089aac50cf45
cmd/cgo: pass end position info for C function arguments. Pass information about original end position for c function arguments processed in pointer checking generated code. Fixes #42580 Change-Id: Ic8a578168362f0ca6055064dbbea092ad37477a6 Reviewed-on: https://go-review.googlesource.com/c/go/+/269760 Reviewed-by: Ia...
[ { "path": "misc/cgo/errors/argposition_test.go", "patch": "@@ -0,0 +1,134 @@\n+// Copyright 2021 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+// Issue 42580: cmd/cgo: shifting identifier position in ast\...
2020-11-13T11:30:15
huggingface/transformers
5412ff1a1335c63db61b0cb5b418fc67e3906594
4397dfcb7107508ab1ff1a8f644f248b84a9e912
Fix typo in Pixtral example (#36302) Fix typo
[ { "path": "docs/source/en/model_doc/pixtral.md", "patch": "@@ -59,7 +59,7 @@ chat = [\n {\n \"role\": \"user\", \"content\": [\n {\"type\": \"text\", \"content\": \"Can this animal\"}, \n- {\"type\": \"image\", \"ur\": \"https://picsum.photos/id/237/200/300\"}, \n+ {\"type\":...
2025-02-20T14:13:48
electron/electron
3ddba90d94d0bee4ed27c2430e0ae96f5223ad45
887a2a3c000c8895cef18645f0177e4efb04d9cf
Fix creating zip distribution on Windows.
[ { "path": "script/create-dist.py", "patch": "@@ -136,10 +136,9 @@ def create_zip():\n zip_file = os.path.join(SOURCE_ROOT, 'dist', dist_name)\n \n with scoped_cwd(DIST_DIR):\n- files = TARGET_BINARIES[TARGET_PLATFORM] + \\\n- TARGET_DIRECTORIES[TARGET_PLATFORM] + \\\n- ['LICENS...
2013-10-26T09:23:16
vercel/next.js
b7a9b06281ea9902cf84c707f6e886e08fb9000e
86b3e7d5b1ca68084aac1eedfe207bf562c90a9e
Fix next/link codemod errors in with-turbopack (#42203) x-ref: https://github.com/vercel/next.js/pull/41913 ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next...
[ { "path": "examples/with-turbopack/app/GlobalNav.tsx", "patch": "@@ -36,7 +36,6 @@ export default function GlobalNav() {\n 'block rounded-md px-3 py-2 text-sm font-medium hover:bg-zinc-800 hover:text-zinc-100',\n { 'text-zinc-400': !isActive, 'text-white': isA...
2022-10-31T04:06:35
golang/go
e985245cd520cabe4bd3d99058d1089aac50cf45
a1a45afd4a0586cea2d238bfa9dd8e584645a562
net: make ErrClosed and ParseError implement net.Error Fixes #45357 Change-Id: Iafd41fff232a89be4c88d4b1d66bc3c04d888bcc Reviewed-on: https://go-review.googlesource.com/c/go/+/307030 Trust: Ian Lance Taylor <iant@golang.org> Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Ian Lance Taylor <iant@golang.o...
[ { "path": "src/internal/poll/fd.go", "patch": "@@ -13,11 +13,22 @@ import (\n \t\"errors\"\n )\n \n-// ErrNetClosing is returned when a network descriptor is used after\n-// it has been closed. Keep this string consistent because of issue\n-// #4373: since historically programs have not been able to detect\...
2021-04-02T21:36:36
nodejs/node
dd9d32f94ce5ed6d136c16677ef323239e708e32
eeb1d514ad4a650f134b23b3eef3c854d0bc48a6
test: add eslint rule to verify assertion input The input for `assert.deepStrictEqual` and similar expect the actual input first and the expected input as second argument. This verifies that this is actually done correct in our tests. This is important so the possible error message actually makes sense. PR-URL: http...
[ { "path": "test/.eslintrc.yaml", "patch": "@@ -19,6 +19,33 @@ rules:\n ## common module is mandatory in tests\n node-core/required-modules: [error, common]\n \n+ no-restricted-syntax:\n+ # Config copied from .eslintrc.js\n+ - error\n+ - selector: \"CallExpression[callee.object.name='assert'][c...
2018-05-14T15:28:26
huggingface/transformers
4397dfcb7107508ab1ff1a8f644f248b84a9e912
f2ab182dca2a9aa4a053a1903bd4b46b90ff9f78
SmolVLM2 (#36126) * smolvlm init * updates * fixing bugs * minimal run, no checks * minimal run, no checks * passing first check + adding url support * updating video dataloading logic * fixing image logic * trying modular, but fails * modular is working, changing processor to match PR comments and general tr...
[ { "path": "docs/source/en/index.md", "patch": "@@ -317,6 +317,7 @@ Flax), PyTorch, and/or TensorFlow.\n | [SEW](model_doc/sew) | ✅ | ❌ | ❌ |\n | [SEW-D](model_doc/sew-d) ...
2025-02-20T14:00:26
vercel/next.js
86b3e7d5b1ca68084aac1eedfe207bf562c90a9e
29c5acd33b0754757e31cf724ed9b0ff83065234
Ensure we detect config correctly with turbo flag (#42201) Ensures we handle the `configFileName` field properly from `next.config.js`. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ]...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -340,6 +340,7 @@ export default async function build(\n (!!appDir && path.relative(dir, appDir).startsWith('src')),\n hasNowJson: !!(await findUp('now.json', { cwd: dir })),\n isCustomServer: null,\n+ turboFlag: ...
2022-10-31T03:06:11
golang/go
a11244e95e1298ae6cd66a64d944dbcbbce3ca49
cf148f3d468f4d0648e7fc6d2858d2afdc37f70d
time: use offset and isDST when caching zone from extend string If the current time is computed from extend string and the zone file contains multiple zones with the same name, the lookup by name might find incorrect zone. This happens for example with the slim Europe/Dublin time zone file in the embedded zip. This z...
[ { "path": "src/time/zoneinfo_read.go", "patch": "@@ -247,8 +247,8 @@ func LoadLocationFromTZData(name string, data []byte) (*Location, error) {\n \t\t// This also avoids a panic later when we add and then use a fake transition (golang.org/issue/29437).\n \t\treturn nil, badData\n \t}\n-\tzone := make([]zone...
2021-04-04T17:20:47
nodejs/node
eeb1d514ad4a650f134b23b3eef3c854d0bc48a6
0c852a1795c0f5886c5bf5e8fa20e76456e78222
repl: changes ctrl+u to delete from cursor to line start Closes: #20145 PR-URL: https://github.com/nodejs/node/pull/20686 Fixes: https://github.com/nodejs/node/issues/20145 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Rev...
[ { "path": "lib/readline.js", "patch": "@@ -800,10 +800,8 @@ Interface.prototype._ttyWrite = function(s, key) {\n }\n break;\n \n- case 'u': // delete the whole line\n- this.cursor = 0;\n- this.line = '';\n- this._refreshLine();\n+ case 'u': // delete from curre...
2018-05-12T07:16:33
huggingface/transformers
f2ab182dca2a9aa4a053a1903bd4b46b90ff9f78
e8531a0e339385e582c33c159b2a7fcc95ead801
Ignore conversion files in test fetcher (#36251) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -730,6 +730,8 @@ def get_module_dependencies(module_fname: str, cache: Dict[str, List[str]] = Non\n while len(imported_modules) > 0:\n new_modules = []\n for module, imports in imported_modules:\n+ if \"models\" in module.split(...
2025-02-20T12:32:02
vercel/next.js
29c5acd33b0754757e31cf724ed9b0ff83065234
ab42da0626d10a021146cd8fbca7308e4efafbad
issue-41925 fix: skip duplicate props when transferring props from anchor to link (#42158) Fixes issue #41925 by skipping duplicate props. I've tested the changes locally - the duplicate prop is being skipped successfully. The new-link.test.js suite is also passing. <!-- Thanks for opening a PR! Your contributio...
[ { "path": "packages/next-codemod/transforms/__testfixtures__/new-link/handle-duplicate-props.input.js", "patch": "@@ -0,0 +1,9 @@\n+import Link from 'next/link'\n+\n+export default function Page() {\n+ return (\n+ <Link href=\"/about\">\n+ <a href=\"/about\" className=\"some-class\">Link</a>\n+ ...
2022-10-30T20:09:14
electron/electron
ae1e26bdddfb8a249d78f2fd0f0f469c96165a88
8ff43b034c142fc2ff1a0426d72847c70a0d3372
Fix a hang on quit when application cache is used If you navigated to a page that used the HTML Application Cache, you'd see a hang on quit with a backtrace like so: + 2825 content::ContentMain(int, char const**, content::ContentMainDelegate*) (in libchromiumcontent.dylib) + 64 [0xb33190] + 2825 ??? (in ...
[ { "path": "brightray/browser/browser_main_parts.cc", "patch": "@@ -23,6 +23,10 @@ void BrowserMainParts::PreMainMessageLoopRun() {\n content::WebUIControllerFactory::RegisterFactory(web_ui_controller_factory_.get());\n }\n \n+void BrowserMainParts::PostMainMessageLoopRun() {\n+ browser_context_.reset();\...
2013-10-23T16:13:24
golang/go
cf148f3d468f4d0648e7fc6d2858d2afdc37f70d
a040ebeb980d1a712509fa3d8073cf6ae16cbe78
cmd/compile, runtime: use ABI-aware function converting float to interface Currently, when converting a float (say float64), we use convT64 function. In the runtime convT64 expects a uint64 argument. In the compiler, convT64 is defined as taking an "any" argument (so it works with also uint64-like types such as [1]uin...
[ { "path": "src/cmd/compile/internal/typecheck/builtin.go", "patch": "@@ -73,7 +73,9 @@ var runtimeDecls = [...]struct {\n \t{\"convI2I\", funcTag, 57},\n \t{\"convT16\", funcTag, 58},\n \t{\"convT32\", funcTag, 58},\n+\t{\"convT32F\", funcTag, 58},\n \t{\"convT64\", funcTag, 58},\n+\t{\"convT64F\", funcTag,...
2021-04-04T00:49:03
huggingface/transformers
e8531a0e339385e582c33c159b2a7fcc95ead801
5e2183f344911aa82aba0b83778a4f196cff378e
Fix broken CI on release branch due to missing conversion files (#36275) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/marian/test_modeling_marian.py", "patch": "@@ -17,8 +17,6 @@\n import tempfile\n import unittest\n \n-from huggingface_hub.hf_api import list_models\n-\n from transformers import MarianConfig, is_torch_available\n from transformers.testing_utils import (\n require_sentencepiece,\...
2025-02-20T12:22:10
vercel/next.js
8ada894a2c8a07b00131866f965cdd7efc9a01a7
e2b6c87af0b198d3217c780b704d50eb7b1dce1e
Correcting documentation (#42179) `response` hasn't been defined in the documentation at the point that a cookie check is being made. The update makes the check against the `request` object instead. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful lin...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -167,9 +167,9 @@ export function middleware(request: NextRequest) {\n const allCookies = request.cookies.getAll()\n console.log(allCookies) // => [{ name: 'vercel', value: 'fast' }]\n \n- response.cookies.has('nextjs') // => true\n- respon...
2022-10-30T19:02:56
rust-lang/rust
ecd20250bc2f98770ecf04b7bf62e740b3a09729
62a9cad8f10b5df8d88c618274f3004e3ccc9033
Add `search_is_some_fixable_*` edition 2021 specific tests
[ { "path": "tests/ui/search_is_some_fixable_none.fixed", "patch": "@@ -214,10 +214,9 @@ mod issue7392 {\n }\n \n fn ref_bindings() {\n- let _ = ![&(&1, 2), &(&3, 4), &(&5, 4)].iter().any(|(&x, y)| x == *y);\n- //~^ search_is_some\n- let _ = ![&(&1, 2), &(&3, 4), &(&5, 4)].iter()....
2025-04-13T10:10:31
nodejs/node
0c852a1795c0f5886c5bf5e8fa20e76456e78222
60cc8ff096c98c3bfd5c4906ac9af3e9c220a748
console: .table fall back to logging for function too According to the console.table documentation, it reads that it "falls back to just logging the argument if it can’t be parsed as tabular." But it doesn't fall back when I give a function as its first argument. It logs an empty table. This is fixes by this commit. ...
[ { "path": "lib/console.js", "patch": "@@ -327,8 +327,7 @@ Console.prototype.table = function(tabularData, properties) {\n if (properties !== undefined && !ArrayIsArray(properties))\n throw new ERR_INVALID_ARG_TYPE('properties', 'Array', properties);\n \n- if (tabularData == null ||\n- (typeof ta...
2018-05-11T17:26:28
electron/electron
640f45a5b3c2990b7fe8ec466946e87d61ba59d0
8bcb5451198577b0a76ef3fbeb59cdeae44f42e1
Fix a possible crash when calling AdapterRequestJob::Kill().
[ { "path": "browser/net/adapter_request_job.cc", "patch": "@@ -30,8 +30,8 @@ void AdapterRequestJob::Start() {\n }\n \n void AdapterRequestJob::Kill() {\n- DCHECK(real_job_);\n- real_job_->Kill();\n+ if (real_job_) // Kill could happen when real_job_ is created.\n+ real_job_->Kill();\n }\n \n bool Ada...
2013-10-22T01:33:38
golang/go
5cc5576a9cff098e6e47397ee32cb250de43d814
45e87cd3ecfe5e579a06493ef8cd43ce9947262c
cmd/compile: untangle Wrapper and ABIWrapper flags Currently, there are Wrapper and ABIWrapper attributes. Wrapper is set when compiler generates an wrapper function (e.g. method wrapper). ABIWrapper is set when compiler generates an ABI wrapper. It also sets Wrapper flag for ABI wrappers. Currently, they have the fo...
[ { "path": "src/cmd/compile/internal/ssagen/abi.go", "patch": "@@ -289,13 +289,6 @@ func makeABIWrapper(f *ir.Func, wrapperABI obj.ABI) {\n \n \tfn.SetABIWrapper(true)\n \tfn.SetDupok(true)\n-\t// Set this as a wrapper so it doesn't appear in tracebacks.\n-\t// Having both ABIWrapper and Wrapper set suppress...
2021-04-04T16:46:21
huggingface/transformers
31bb662db19355e56b3125ab5c48b780ec13111c
78d6484675425cc82121adbd26b5be4aa580a53e
Fix callback handler reference (#36250) * fix reference * style
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2445,7 +2445,11 @@ def _inner_training_loop(\n )\n \n # Update the references\n- self.state.init_training_references(self, train_dataloader, max_steps, num_train_epochs, trial)\n+ for attr in (\"model\", \"optimizer...
2025-02-19T17:17:33
vercel/next.js
2e6588d028a94c74d6f37fa66058b707410dbad4
6d53e8b34f781a571df0ad2e25fcd23cb0e9357e
fix: allow resolving large JSON data in server components (#42025) Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
[ { "path": ".vscode/launch.json", "patch": "@@ -10,7 +10,7 @@\n \"request\": \"launch\",\n \"cwd\": \"${workspaceFolder}\",\n \"runtimeExecutable\": \"pnpm\",\n- \"runtimeArgs\": [\"debug-react-exp\", \"dev\", \"test/e2e/app-dir/app\"],\n+ \"runtimeArgs\": [\"debug\", \"dev\", \"t...
2022-10-30T15:52:35
nodejs/node
60cc8ff096c98c3bfd5c4906ac9af3e9c220a748
9aa4ec43fce7fd9166459c98f347760cf450a350
src: remove 2nd `undefined` argument in node_file.cc In the document for fs, there are several functions that state "No arguments other than a possible exception are given to the completion callback." (ex> fs.access, fs.chmod, fs.close, ..) But, the functions are invoking the callback with two parameters (err, undefi...
[ { "path": "src/node_file.cc", "patch": "@@ -421,7 +421,9 @@ void FSReqWrap::Resolve(Local<Value> value) {\n Null(env()->isolate()),\n value\n };\n- MakeCallback(env()->oncomplete_string(), arraysize(argv), argv);\n+ MakeCallback(env()->oncomplete_string(),\n+ value->IsUndefined() ?...
2018-05-09T14:39:58
electron/electron
7c30d037a303e897afd5831692212b19b59c1114
acda56210ba785fdef41f5acdab34aa708f3631f
mac: Enable to set the 'Help' menu, fixes #109.
[ { "path": "browser/ui/atom_menu_controller_mac.mm", "patch": "@@ -154,9 +154,11 @@ - (void)addItemToMenu:(NSMenu*)menu\n [submenu setTitle:[item title]];\n [item setSubmenu:submenu];\n \n- // Hack to set window menu.\n+ // Hack to set window and help menu.\n if ([[item title] isEqualToStri...
2013-10-17T02:15:57
huggingface/transformers
78d6484675425cc82121adbd26b5be4aa580a53e
e5cea20743755240bee86eca7eb69d646ab8db0e
docs: Update README_zh-hans.md (#36269) Update README_zh-hans.md docs: Fix awkward sentence in README
[ { "path": "i18n/README_zh-hans.md", "patch": "@@ -83,7 +83,7 @@ checkpoint: 检查点\n \n 🤗 Transformers 提供了数以千计的预训练模型,支持 100 多种语言的文本分类、信息抽取、问答、摘要、翻译、文本生成。它的宗旨是让最先进的 NLP 技术人人易用。\n \n-🤗 Transformers 提供了便于快速下载和使用的API,让你可以把预训练模型用在给定文本、在你的数据集上微调然后通过 [model hub](https://huggingface.co/models) 与社区共享。同时,每个定义的 Python ...
2025-02-19T17:04:46
golang/go
e617b2b0dd14faddad82599f31f64bce3ff2ca2f
dcf85b30ba422c50e6e96893a3ed930aea5b6b4a
cmd/compile: add a debug flag to enable/disable open-coded defers For debugging. Change-Id: I831947376569cd2285b713ad304329951adf60ab Reviewed-on: https://go-review.googlesource.com/c/go/+/307230 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@gola...
[ { "path": "src/cmd/compile/internal/base/debug.go", "patch": "@@ -39,6 +39,7 @@ type DebugFlags struct {\n \tLibfuzzer int `help:\"enable coverage instrumentation for libfuzzer\"`\n \tLocationLists int `help:\"print information about DWARF location list creation\"`\n \tNil ...
2021-04-03T01:48:00
rust-lang/rust
e0c8b4bf53d9665a36d951af74706ae7488c4b19
d3267e9230940757fde2fcb608605bf8dbfd85e1
Replace stray `println!()` in lint code by `bug!()` To avoid crashing Clippy, the `bug!()` is used only when debug assertions are enabled. In regular usage, the result will be the same as before, but without the extra line printed on the standard output which has the potential for disrupting shell scripts.
[ { "path": "clippy_lints/src/arbitrary_source_item_ordering.rs", "patch": "@@ -382,7 +382,9 @@ impl<'tcx> LateLintPass<'tcx> for ArbitrarySourceItemOrdering {\n // Filters the auto-included Rust standard library.\n continue;\n }\n- ...
2025-04-15T17:38:20
vercel/next.js
9ac42fd6f3fe143f32662487a6586e49acab3194
56dd821a714cd6dd362dd4e9a5166f1ba3b48e7b
Update vscode config handling (#42169) This ensures we correctly preserve comments in the config similar to our tsconfig handling and removes the `gitignore` updating as we can't infer safely if a user wants this file ignored or not. Fixes: https://github.com/vercel/next.js/issues/41808 ## Bug - [ ] Related...
[ { "path": "packages/next/lib/typescript/writeVscodeConfigurations.ts", "patch": "@@ -1,50 +1,60 @@\n import path from 'path'\n+import isError from '../is-error'\n import { promises as fs } from 'fs'\n+import * as Log from '../../build/output/log'\n+import * as CommentJson from 'next/dist/compiled/comment-js...
2022-10-30T08:51:44
nodejs/node
9aa4ec43fce7fd9166459c98f347760cf450a350
9deca876bb94626564184ad263ff80dc8042808b
repl: add friendly tips about how to exit repl Imitate python repl, when the user enters 'exit' or 'quit', no longer prompt 'Reference Error', but prompts 'To exit, press ^D or type .exit'. If the user defines variables named 'exit' or 'quit' , only the value of the variables are output PR-URL: https://github.com/nod...
[ { "path": "lib/repl.js", "patch": "@@ -215,9 +215,15 @@ function REPLServer(prompt,\n \n function defaultEval(code, context, file, cb) {\n var err, result, script, wrappedErr;\n+ var isExitCommand = false;\n var wrappedCmd = false;\n var awaitPromise = false;\n var input = code;\n+ v...
2018-05-09T02:34:57
huggingface/transformers
1a81d774b1aeeb52f607524ed2b18aa3d1b8d8dd
9f51dc25357bcde280a02b59e80b66248b018ca4
Add dithering to the `Speech2TextFeatureExtractor` API. (#34638) * Add dithering to the `Speech2TextFeatureExtractor` API. - in kaldi : https://github.com/kaldi-asr/kaldi/blob/4a8b7f673275597fef8a15b160124bd0985b59bd/src/feat/feature-window.cc#L145 - with dithering without a seed, the features become non-deterministi...
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -390,6 +390,7 @@ def spectrogram(\n center: bool = True,\n pad_mode: str = \"reflect\",\n onesided: bool = True,\n+ dither: float = 0.0,\n preemphasis: Optional[float] = None,\n mel_filters: Optional[np.ndarray] = None,\n m...
2025-02-19T10:50:02
golang/go
042f4cbb6fbd7f9e6a6587fb3bee2d1716184f9a
a06b08e7d1837df636d24f945fe9b3b2a369b450
cmd/internal/obj/riscv: simplify huge frame prologue CL 307010 for riscv64. Some of the comments on the other prologue paths were wrong, so this CL also fixes them up. Change-Id: Icdca1ade3a47ae6e2467af832690d40689dbe1b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/307150 Trust: Austin Clements <austin@goo...
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -984,89 +984,58 @@ func stacksplit(ctxt *obj.Link, p *obj.Prog, cursym *obj.LSym, newprog obj.ProgA\n \tvar to_done, to_more *obj.Prog\n \n \tif framesize <= objabi.StackSmall {\n-\t\t// small stack: SP < stackguard\n-\t\t//\tBLTU\tSP, stackguard, ...
2021-04-02T21:20:15
electron/electron
41de0b420ab55a3ea5da1994088570cf7ad773bb
0ad1fc842df5cca1e1f6666653f6e4b049d9ab1d
Unescape the script path before passing it to cefode.js, fixed #108.
[ { "path": "common/node_bindings.cc", "patch": "@@ -7,7 +7,9 @@\n #include \"base/command_line.h\"\n #include \"base/logging.h\"\n #include \"base/message_loop.h\"\n+#include \"common/v8_conversions.h\"\n #include \"content/public/browser/browser_thread.h\"\n+#include \"net/base/escape.h\"\n #include \"third...
2013-10-14T03:57:53
rust-lang/rust
dda4d7bc44aa4909aae72cd38965a11ccf46c02e
52f4b16075bf01d2c8f8539c26fb9b135967713f
slightly correct comments and diagnostics about checking modifications I feel like they are still wrong, but maybe less so .-. The `info:` was unhelpful -- we only use upstream in CI nowdays.
[ { "path": "src/bootstrap/src/core/build_steps/format.rs", "patch": "@@ -85,11 +85,15 @@ fn update_rustfmt_version(build: &Builder<'_>) {\n t!(stamp_file.add_stamp(version).write());\n }\n \n-/// Returns the Rust files modified between the `merge-base` of HEAD and\n-/// rust-lang/master and what is now o...
2025-04-15T12:06:51
vercel/next.js
56dd821a714cd6dd362dd4e9a5166f1ba3b48e7b
a67f100ee8c3bceb343a25207c6f306e12ce3c3b
Update turbo crates (#42014) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implem...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -108,6 +108,17 @@ dependencies = [\n \"syn\",\n ]\n \n+[[package]]\n+name = \"async-recursion\"\n+version = \"1.0.0\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"2cda8f4bcc10624c4e85bc66b3f452cca98cfa5ca002dc83a1...
2022-10-30T08:28:54
nodejs/node
11892b0b6422f6e983bfbde7ba342942dd2e2297
9b24be1340b702131efcf3fd7a65b7ac4c269711
url: introduce `URL_FLAGS_IS_DEFAULT_SCHEME_PORT` flag Introduce `URL_FLAGS_IS_DEFAULT_SCHEME_PORT` flag which is retured when the parser detects that the port passed is the default port for that scheme. PR-URL: https://github.com/nodejs/node/pull/20479 Fixes: https://github.com/nodejs/node/issues/20465 Reviewed-By: ...
[ { "path": "lib/internal/url.js", "patch": "@@ -46,6 +46,7 @@ const {\n URL_FLAGS_HAS_PATH,\n URL_FLAGS_HAS_QUERY,\n URL_FLAGS_HAS_USERNAME,\n+ URL_FLAGS_IS_DEFAULT_SCHEME_PORT,\n URL_FLAGS_SPECIAL,\n kFragment,\n kHost,\n@@ -276,7 +277,7 @@ function onParsePortComplete(flags, protocol, username...
2018-05-02T18:51:20
rust-lang/rust
e2422a618d9d3a432f3c2b1873dd0b8278106d66
ec105bab2f29abe73f55bbf9e9aefcf143e88383
new lint: `redundant_test_prefix`
[ { "path": "CHANGELOG.md", "patch": "@@ -6116,6 +6116,7 @@ Released 2018-09-13\n [`redundant_pub_crate`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate\n [`redundant_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing\n [`redundant_static_lif...
2024-11-12T21:34:34
huggingface/transformers
9f51dc25357bcde280a02b59e80b66248b018ca4
9b479a245b793cac2a8b2e87c6d8e81bb24e20c4
Add support for post-processing kwargs in image-text-to-text pipeline (#35374) * fix error and improve pipeline * add processing_kwargs to apply_chat_template * change default post_process kwarg to args * Fix slow tests * fix copies
[ { "path": "src/transformers/models/fuyu/processing_fuyu.py", "patch": "@@ -682,14 +682,18 @@ def tokens_to_points(tokens, original_size):\n \n return results\n \n- def post_process_image_text_to_text(self, generated_outputs):\n+ def post_process_image_text_to_text(self, generated_outputs, skip...
2025-02-18T22:43:36
vercel/next.js
a67f100ee8c3bceb343a25207c6f306e12ce3c3b
1d58c0ab911cc3320d0c0f5c20ecfe0db230a062
Ensure app revalidate has correct default (#42168) Ensures if an invalidate revalidate value is used we correctly override with our default. x-ref: [slack thread](https://vercel.slack.com/archives/C048Q9QSNDA) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Erro...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -2208,6 +2208,15 @@ export default async function build(\n ? appConfig.revalidate\n : false\n }\n+\n+ // ensure revalidate is normalized correctly\n+ if (\n+ ...
2022-10-30T07:46:40
nodejs/node
7d81f5d1435a208f34f0d3ca15034ff8eaf060ce
913a78936d660d6918d78a373d127d56cec6696b
child_process: fix exec set stdout.setEncoding cp.exec decide to use `_stdout`(_stdout is string) or `Buffer.concat(_stdout)`(_stdout is buffer array) by options.encoding. but std(out|err) encoding can be changed. If encoding is changed to not null, `_stdout` will become string, and `Buffer.concat(_stdout)` will throw...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -324,7 +324,8 @@ Readable.prototype.setEncoding = function(enc) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n- this._readableState.encoding = enc;\n+ // ...
2018-02-24T14:00:32
huggingface/transformers
9b479a245b793cac2a8b2e87c6d8e81bb24e20c4
8ee50537fe7613b87881cd043a85971c85e99519
Uniformize LlavaNextVideoProcessor kwargs (#35613) * Uniformize processor kwargs and add tests * add videos_kwargs tests * fix copies * fix llava_next_video chat template tests * remove unnecessary default kwargs
[ { "path": "src/transformers/models/llava_next_video/processing_llava_next_video.py", "patch": "@@ -16,24 +16,33 @@\n Processor class for LLaVa-NeXT-Video.\n \"\"\"\n \n-from typing import TYPE_CHECKING, List, Optional, Union\n+from typing import List, Union\n \n import numpy as np\n \n from ...feature_extra...
2025-02-18T19:13:51