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
a8cb8397349cf8505681185d6c972b79dad6af04
5270eab5126d4410730e06950bb89376e87cfc3f
webContents.executeJavaScript should run code after page is loaded. Fixes atom/atom#1805.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -186,7 +186,7 @@ mate::ObjectTemplateBuilder WebContents::GetObjectTemplateBuilder(\n .SetMethod(\"getRoutingId\", &WebContents::GetRoutingID)\n .SetMethod(\"getProcessId\", &WebContents::GetProcessID)\n .SetMethod(\"isCra...
2014-06-16T01:10:41
golang/go
04f65d394c00cf706ba1e0949b057d94dace6b94
d2b3efcb90266c4d0abf11351f2ae947d13fbf55
[dev.typeparams] cmd/compile: fix use of method values with stenciled methods We were handling the case where an OFUNCINST node was used as a function value, but not the case when an OFUNCINST node was used as a method value. In the case of a method value, we need to create a new selector expression that references t...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -494,8 +494,13 @@ func NewNameOffsetExpr(pos src.XPos, name *Name, offset int64, typ *types.Type)\n // A SelectorExpr is a selector expression X.Sel.\n type SelectorExpr struct {\n \tminiExpr\n-\tX Node\n-\tSel *types.Sym\n+\tX Node...
2021-05-07T20:20:34
vercel/next.js
8f3b7ec7bc4edd25c306acce9f18ea25feb4998c
bcb256acf0c8aa7a042e43edebd4fb05482c0baf
feat(rust-port): Split up shim and cli (vercel/turbo#2970) * Created two separate chains for executing commands: One that uses the parsed arguments from clap that are serialized to json, the other that still uses Cobra. Now to test to ensure that both do the same thing * Adjusted json serialization. Now debugging ...
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -54,7 +54,7 @@ webbrowser = \"0.7.1\"\n chromiumoxide = { version = \"0.4.0\", features = [\n \"tokio-runtime\",\n ], default-features = false }\n-criterion = { version = \"0.3.5\", features = [\"async_tokio\"] }\n+criterion = { versio...
2022-12-13T16:07:19
rust-lang/rust
0aae3caf240b985d02de541cb3f2990eb6bbe927
1b53c12753a9ecead0e9728e01dcc2a7c07c18f9
Update mdbook to 0.4.48 This updates to the latest version of mdbook which has had a variety of fixes of new features since the last update. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0448
[ { "path": "src/doc/rustc-dev-guide/.github/workflows/ci.yml", "patch": "@@ -14,7 +14,7 @@ jobs:\n if: github.repository == 'rust-lang/rustc-dev-guide'\n runs-on: ubuntu-latest\n env:\n- MDBOOK_VERSION: 0.4.21\n+ MDBOOK_VERSION: 0.4.48\n MDBOOK_LINKCHECK2_VERSION: 0.9.1\n MD...
2025-04-28T18:41:17
huggingface/transformers
b0c6ff5e13d1b072bf33de0d5ed534ac787d1e9a
6f5014ac31ba6adf0e4ac87bb26f27db136b00e7
fix issue that some example with no trainer use accelerator.end_train… (#37435) * fix issue that some example with no trainer use accelerator.end_training in a wrong way * reformat code --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -617,9 +617,6 @@ def collate_fn(examples):\n output_dir = os.path.join(args.output_dir, output_dir)\n accelerator.save_state(output_dir)\n \n- if args.with_tracking:\n- ...
2025-04-18T15:59:42
nodejs/node
8bcb12848f018e561cd49f6c200f28c9bdd3e375
291344c74fde88d3d07253a468e26fa9d62b9ee5
test: update postmortem metadata test This commit updates the following postmortem metadata constant: - v8dbg_context_idx_closure - Renamed: v8dbg_context_idx_scope_info - V8 commit: https://github.com/v8/v8/commit/39496a95c53934ecb80d083003b4dd11056c9f20#diff-f3f182b0510ba2ee39ae87e421ff110b Fixes: https://gith...
[ { "path": "test/v8-updates/test-postmortem-metadata.js", "patch": "@@ -105,7 +105,7 @@ function getExpectedSymbols() {\n 'v8dbg_class_SlicedString__parent__String',\n 'v8dbg_class_String__length__SMI',\n 'v8dbg_class_ThinString__actual__String',\n- 'v8dbg_context_idx_closure',\n+ 'v8dbg_co...
2018-05-06T16:54:51
electron/electron
5270eab5126d4410730e06950bb89376e87cfc3f
bf5fc2db9b304f8e27d7c14dbae61799e6b2e9ff
Do not assume trailing callback in dialog API, fixes #395.
[ { "path": "atom/browser/api/lib/dialog.coffee", "patch": "@@ -26,11 +26,17 @@ module.exports =\n options.title ?= ''\n options.defaultPath ?= ''\n \n+ wrappedCallback =\n+ if typeof callback is 'function'\n+ (success, result) -> callback(if success then result)\n+ else\n+ ...
2014-06-15T04:43:28
vercel/next.js
32b3ffc0ef38ede9b7213624a67bee4842d689f4
2b4d4da647d4e2bfc7cd1b2a0e01294a5381f070
feat(rust-port): Split up shim and cli (vercel/turbo#2970) * Created two separate chains for executing commands: One that uses the parsed arguments from clap that are serialized to json, the other that still uses Cobra. Now to test to ensure that both do the same thing * Adjusted json serialization. Now debugging ...
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -54,7 +54,7 @@ webbrowser = \"0.7.1\"\n chromiumoxide = { version = \"0.4.0\", features = [\n \"tokio-runtime\",\n ], default-features = false }\n-criterion = { version = \"0.3.5\", features = [\"async_tokio\"] }\n+criterion = { version = \"0.4.0\", fea...
2022-12-13T16:07:19
golang/go
6db7480f5973ced97dfb08f949889e2ff108a492
f93b951f33add708d9e745e95a29ebe98f3e1255
cmd/go/internal/modload: in updateLazyRoots, do not require the main module explicitly Fixes #46078 Change-Id: I8044dac717459f1eeae1d8381a6503f22f9f51ff Reviewed-on: https://go-review.googlesource.com/c/go/+/319009 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com>
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -815,7 +815,8 @@ func updateLazyRoots(ctx context.Context, direct map[string]bool, rs *Requiremen\n \n \t\troots = make([]module.Version, 0, len(rs.rootModules))\n \t\trootsUpgraded = false\n-\t\tinRootPaths := make(map[string]bool, len(rs.r...
2021-05-11T14:15:57
huggingface/transformers
6f5014ac31ba6adf0e4ac87bb26f27db136b00e7
2ba6b92a6f64515c5f6818a44afdabb70c3c6ca0
fix 2 encoder_decoder issues on XPU (#37572) * fix 2 encoder_decoder issues on XPU Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fmt --------- Signed-off-by: YAO Matrix <matrix.yao@intel.com> Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/encoder_decoder/test_modeling_encoder_decoder.py", "patch": "@@ -19,6 +19,7 @@\n from transformers import is_torch_available, logging\n from transformers.testing_utils import (\n CaptureLogger,\n+ Expectations,\n require_deterministic_for_xpu,\n require_torch,\n re...
2025-04-18T15:49:24
electron/electron
2cdcb45d16737ad9f509777e659ab29ab8e095bc
b431566421e2ca3262250f91d517a749a35236bc
Support INSERT in accelerator, fixes #398.
[ { "path": "atom/browser/ui/accelerator_util.cc", "patch": "@@ -129,6 +129,8 @@ bool StringToAccelerator(const std::string& description,\n key = ui::VKEY_BACK;\n } else if (tokens[i] == \"delete\") {\n key = ui::VKEY_DELETE;\n+ } else if (tokens[i] == \"insert\") {\n+ key = ui::VKEY_I...
2014-06-14T14:25:21
nodejs/node
291344c74fde88d3d07253a468e26fa9d62b9ee5
021952646ccc7c5a91ec6e14ca507b911021382c
test: fix scriptParsed event expectations As per Node.js docs, vm.Script instance is not bound to any context. However, this test was expecting otherwise and depended on implementation details which are going to change. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1013581 PR-URL: https://github.com/node...
[ { "path": "test/sequential/test-inspector-scriptparsed-context.js", "patch": "@@ -9,27 +9,17 @@ const script = `\n 'use strict';\n const assert = require('assert');\n const vm = require('vm');\n- const { kParsingContext } = process.binding('contextify');\n global.outer = true;\n global.inner = fa...
2018-04-17T16:35:04
golang/go
f93b951f33add708d9e745e95a29ebe98f3e1255
3b321a9d122f0dbf8b333cc79bbf61218e3d05ba
cmd/compile/abi-internal.md: fix table format The table was not rendered correctly because one line missed a column. Change-Id: I1373e4e9fb8b8f2dcd9fd0db339083362cce9b71 Reviewed-on: https://go-review.googlesource.com/c/go/+/319291 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
[ { "path": "src/cmd/compile/abi-internal.md", "patch": "@@ -402,7 +402,7 @@ without corrupting arguments or results.\n Special-purpose registers are as follows:\n \n | Register | Call meaning | Return meaning | Body meaning |\n-| --- | --- | --- |\n+| --- | --- | --- | --- |\n | RSP | Stack pointer | Same | ...
2021-05-12T17:08:16
vercel/next.js
04c2509daaa6ceae7882598b933f9580ca874517
a34b20e6f220c3ced00b5b23e3fa43e1cf394771
Fast refresh should recover from event handler errors in app dir (#43882) Component state should not be lost due to a full reload after an error occurs in an event handler. Only do a full reload if an error was caught by the error overlay error boundary. Closes NEXT-182 ## Bug - [ ] Related issues linked using `fix...
[ { "path": "packages/next/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -435,6 +435,9 @@ export default function HotReload({\n frames: parseStack(reason.stack!),\n })\n }, [])\n+ const handleOnReactError = useCallback(() => {\n+ RuntimeErrorHandler.hadRuntimeError...
2022-12-13T04:48:18
huggingface/transformers
2ba6b92a6f64515c5f6818a44afdabb70c3c6ca0
4afd3f4820b0504963e460ecd725a3349eea8be3
[VLMs] use only `xxx_token_id` for multimodal tokens (#37573) * use only `xxx_token_id` for multimodal tokens * update modeling files as well * fixup * why fixup doesn't fix modular docstring first? * janus, need to update configs in the hub still * last fixup
[ { "path": "src/transformers/models/aria/configuration_aria.py", "patch": "@@ -258,6 +258,9 @@ class AriaConfig(PretrainedConfig):\n \"\"\"\n \n model_type = \"aria\"\n+ attribute_map = {\n+ \"image_token_id\": \"image_token_index\",\n+ }\n sub_configs = {\"text_config\": AriaTextCon...
2025-04-18T15:03:39
electron/electron
b431566421e2ca3262250f91d517a749a35236bc
4aa217970e7d9ab441298bccf2824ce312eba70a
mac: Make sure web view is the first responder of window, fixes #382.
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -29,6 +29,7 @@ @interface AtomNSWindowDelegate : NSObject<NSWindowDelegate> {\n @private\n atom::NativeWindowMac* shell_;\n BOOL acceptsFirstMouse_;\n+ BOOL hasSetInitialFocus_;\n }\n - (id)initWithShell:(atom::NativeWindowMac*)shell;\n - (vo...
2014-06-11T07:57:40
golang/go
3b321a9d122f0dbf8b333cc79bbf61218e3d05ba
07ff596404b03a8e01ed53f1553c59eb215dc697
cmd/compile: add arch-specific inlining for runtime.memmove This CL add runtime.memmove inlining for AMD64 and ARM64. According to ssa dump from testcases generic rules can't inline memmomve properly due to one of the arguments is Phi operation. But this Phi op will be optimized out by later optimization stages. As a ...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -2216,3 +2216,22 @@\n (MOVOstore [dstOff] {dstSym} ptr (MOVOload [srcOff] {srcSym} (SB) _) mem) && symIsRO(srcSym) =>\n (MOVQstore [dstOff+8] {dstSym} ptr (MOVQconst [int64(read64(srcSym, int64(srcOff)+8, config.ctxt.Arch.ByteOrder))])...
2021-01-19T14:30:10
vercel/next.js
a34b20e6f220c3ced00b5b23e3fa43e1cf394771
be90c0b909b300fa9d9a109d2c700fd663f6e75b
Fix browser navigation buttons not working with shallow routing and middleware (#43919) This PR fixes #41064. In some particular cases, while using a middleware and shallow routing the navigation get stucks and stop refreshing the page. After futher investigation it seems that a line of code was added that causes t...
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -1456,15 +1456,13 @@ export default class Router implements BaseRouter {\n \n // we don't attempt resolve asPath when we need to execute\n // middleware as the resolving will occur server-side\n- const isMiddlewareMatch = await m...
2022-12-13T04:02:06
nodejs/node
021952646ccc7c5a91ec6e14ca507b911021382c
284caaa852194f7418d24c44f2df58614437f3cc
deps: cherry-pick 804a693 from upstream V8 Original commit message: [postmortem] add JS_ERROR_TYPE and context embedder index * JS_ERROR_TYPE is required for postmortem tools to inspect JSError objects (see https://github.com/nodejs/llnode/pull/215 for a usage example) * The context e...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.11',\n+ 'v8_embedder_string': '-node.12',\n \n # Enable disassembler for `--print-co...
2018-07-17T16:55:20
rust-lang/rust
17403cd406057139cd12bd7d19b81bbd75a6c41b
fcf198b5391129ca7ff2b8f39bbf51a4ba2416e7
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -83,6 +83,7 @@ rm tests/ui/codegen/issue-28950.rs # depends on stack size optimizations\n rm tests/ui/codegen/init-large-type.rs # same\n rm -r tests/run-make/fmt-write-bloat/ # tests an optimization\n rm tests/ui/statics/const_generics.rs # same\n+rm te...
2025-04-28T15:15:40
huggingface/transformers
4afd3f4820b0504963e460ecd725a3349eea8be3
e5ac23081ec4021818a21d7442d396f31de8c30c
Model debugger upgrades (#37391) * debugging improvements * add debugging details * add more debugging details * debug more * clean up layers + output * add summary json file * cleanup * copies :eyes: * remove hooks + add documentation * draft a small test, why not * respect the format (respect it) * fixup ...
[ { "path": "docs/source/en/internal/model_debugging_utils.md", "patch": "@@ -28,7 +28,7 @@ Most of those are only useful if you are adding new models in the library.\n \n This context manager is a power user tool intended for model adders.\n It tracks all forward calls within a model forward and logs a slice...
2025-04-18T14:45:54
electron/electron
4aa217970e7d9ab441298bccf2824ce312eba70a
444fe8bf1fd940bb1b2a0c961bd053accf338e86
win: Implement attached devtools, fixes #373.
[ { "path": "atom/browser/native_window_win.cc", "patch": "@@ -21,7 +21,6 @@\n #include \"content/public/browser/web_contents_view.h\"\n #include \"ui/gfx/path.h\"\n #include \"ui/base/models/simple_menu_model.h\"\n-#include \"ui/views/controls/webview/webview.h\"\n #include \"ui/views/widget/widget.h\"\n #in...
2014-06-11T01:13:55
golang/go
03886707f9e8db668bd1fd7b8f99799dba0408e3
e03383a2e233fc89958cff31642dff917d649378
runtime: fix handling of SPWRITE functions in traceback It is valid to see SPWRITE functions at the top of a GC stack traceback, in the case where they self-preempted during the stack growth check and haven't actually modified SP in a traceback-unfriendly manner yet. The current check is therefore too aggressive. isA...
[ { "path": "src/runtime/preempt.go", "patch": "@@ -413,6 +413,8 @@ func isAsyncSafePoint(gp *g, pc, sp, lr uintptr) (bool, uintptr) {\n \t\t//\n \t\t// TODO: Are there cases that are safe but don't have a\n \t\t// locals pointer map, like empty frame functions?\n+\t\t// It might be possible to preempt any as...
2021-05-06T15:38:46
vercel/next.js
482d78e1c24f5d4fc6509417f25a95f1b29acca2
ee266b9d9b3ceefa6410cf0f186468e46d18d279
Fix: fix pages in Route Groups returning 500 with `output: "standalone"` (#43746) <!-- 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/index.ts", "patch": "@@ -536,6 +536,7 @@ export default async function build(\n )\n \n let mappedAppPages: { [page: string]: string } | undefined\n+ let denormalizedAppPages: string[] | undefined\n \n if (appPaths && appDir) {\n mappedAppPages ...
2022-12-13T03:06:40
nodejs/node
284caaa852194f7418d24c44f2df58614437f3cc
68aa129ac1989d9dbb62c408ea4d478d3a7fc20e
deps: V8: Backport of 0dd3390 from upstream Original commit message: Reland "[builtins] Add %IsTraceCategoryEnabled and %Trace builtins" This is a reland of 8d4572a Original change's description: > [builtins] Add %IsTraceCategoryEnabled and %Trace builtins > > Adds the builtin Trace and IsTraceCategoryE...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.10',\n+ 'v8_embedder_string': '-node.11',\n \n # Enable disassembler for `--print-co...
2018-07-19T23:37:41
huggingface/transformers
aa17cfb4d532239336d2f89e06f01d48387292a3
14b3dbcf3b74e825ce7678cdc5a51479badaecbb
[Bugfix] Fix flash-attention func param mismatch and softmax_scale default value mistake on Ascend NPU (#37575) [Bugfix] fix flash-attention func param mismatch and softmax_scale default value mistake on Ascend NPU Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/integrations/npu_flash_attention.py", "patch": "@@ -19,6 +19,8 @@\n \n \n if is_torch_npu_available():\n+ import math\n+\n import torch_npu\n from einops import rearrange, repeat\n \n@@ -162,6 +164,9 @@ def npu_flash_attn_func(\n ):\n keep_prob = 1.0 - dropout_p\n ...
2025-04-18T09:34:17
electron/electron
444fe8bf1fd940bb1b2a0c961bd053accf338e86
f063a63b695570e8babe31eb4756774052c57ed5
:memo: Fix the outdated menu example, closed #389.
[ { "path": "docs/api/menu.md", "patch": "@@ -4,12 +4,16 @@ The `Menu` class is used to create native menus that can be used as\n application menu and context menu. Each menu is consisted of multiple menu\n items, and each menu item can have a submenu.\n \n-An example of creating a menu dynamically and show i...
2014-06-10T05:29:09
golang/go
e03383a2e233fc89958cff31642dff917d649378
af0f8c149e8a4b237910fc7b41739bedc546473c
cmd/link: check mmap error We already check mmap errors on some code paths, but we missed one. Add error check there. Change-Id: Ic0e9cb0eb03c805de40802cfc5d5500e3e065d99 Reviewed-on: https://go-review.googlesource.com/c/go/+/319290 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> ...
[ { "path": "src/cmd/link/internal/ld/asmb.go", "patch": "@@ -167,7 +167,10 @@ func sizeExtRelocs(ctxt *Link, relsize uint32) {\n \t\t}\n \t}\n \tfilesz := ctxt.Out.Offset() + sz\n-\tctxt.Out.Mmap(uint64(filesz))\n+\terr := ctxt.Out.Mmap(uint64(filesz))\n+\tif err != nil {\n+\t\tExitf(\"mapping output file fa...
2021-05-12T02:40:41
vercel/next.js
ee266b9d9b3ceefa6410cf0f186468e46d18d279
297459d534e5d88b5bdaa1baa1e03f5eea142c12
Move Google Analytics script to the <Head/> (#43838) Fixes #[37957](https://github.com/vercel/next.js/issues/37957) Google cannot read the Google Analytics script if it is placed at the bottom of the `<body />`. It can only be read when it's placed here in the `<Head />` This has been documented by other NextJS use...
[ { "path": "examples/with-google-analytics/pages/_document.js", "patch": "@@ -3,11 +3,7 @@ import { Html, Head, Main, NextScript } from 'next/document'\n export default function Document() {\n return (\n <Html>\n- <Head />\n- <body>\n- <Main />\n- <NextScript />\n-\n+ <Head...
2022-12-13T02:53:42
huggingface/transformers
f9742143538cfeb65c3a25632b83276266819c41
438324c9cfb86b066d5b79795034af329c9ad65b
Fix some GPU OOM after #37553 (#37591) * fix * trigger CI --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/llama/test_modeling_llama.py", "patch": "@@ -699,6 +699,7 @@ def tearDown(self):\n cleanup(torch_device, gc_collect=True)\n \n def setUp(self):\n+ cleanup(torch_device, gc_collect=True)\n model_name = \"TinyLlama/TinyLlama-1.1B-Chat-v1.0\"\n self.mo...
2025-04-18T08:09:19
nodejs/node
68aa129ac1989d9dbb62c408ea4d478d3a7fc20e
728078074439996d9f2d0f53e5fce12152540926
deps: cherry-pick 907d7bc from upstream V8 Original commit message: [promise] Implement Swallowed Rejection Hook. This extends the current Promise Rejection Hook with two new events kPromiseRejectAfterResolved kPromiseResolveAfterResolved which are used to detect (and signal) misuse of the ...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.9',\n+ 'v8_embedder_string': '-node.10',\n \n # Enable disassembler for `--print-cod...
2018-07-16T20:03:01
electron/electron
f063a63b695570e8babe31eb4756774052c57ed5
1d6b02f304823e6bc79e9dab3d6d2ae031fbf146
:memo: Remove the dead link, fixes #390.
[ { "path": "docs/api/frameless-window.md", "patch": "@@ -1,7 +1,6 @@\n # Frameless window\n \n-A frameless window is a window that has no chrome, you can find a demo at\n-[atom/frameless-window-demo](https://github.com/atom/frameless-window-demo).\n+A frameless window is a window that has no chrome.\n \n ## ...
2014-06-10T05:17:41
golang/go
485474d204297ce9ff2b7f6c2a2b0e048c61fb8e
1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad
cmd/go/testdata/script: fix test failing on nocgo builders The regression test introduced in https://golang.org/cl/318770 broke the the nocgo builders. Update the cgo package used in the test to ensure that it can be build both with cgo enabled and disabled. Change-Id: Iab0486f0b85ac5e5a22fdf8a1998edd50cbb4d96 Revie...
[ { "path": "src/cmd/go/testdata/script/list_find_nodeps.txt", "patch": "@@ -33,6 +33,16 @@ func F() {\n println(C.INT_MAX)\n }\n \n+-- cgo/pkg_notcgo.go --\n+//go:build !cgo\n+// +build !cgo\n+\n+package cgopkg\n+\n+func F() {\n+ println(0)\n+}\n+\n -- swig/pkg.go --\n package swigpkg\n ", "additi...
2021-05-12T13:16:20
vercel/next.js
f0dac71ce1031483b4498b92de19b5c8f8a0e8bd
5e50fce03b893dad4e36b6ce8fcf53ab6ebe348f
Fix e2e deploy test setup (#43990) Fixes: https://github.com/vercel/next.js/actions/runs/3658461787/jobs/6183493104
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -812,7 +812,7 @@ jobs:\n - run: RESET_VC_PROJECT=true node scripts/reset-vercel-project.mjs\n name: Reset test project\n \n- - run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.28.1-focal /bin/bash -c \"c...
2022-12-13T00:37:38
huggingface/transformers
438324c9cfb86b066d5b79795034af329c9ad65b
bb2a44ad4b5c346877c60b4a3ff2b62f300cda71
Gaudi: Add the bf16 support for hpu (#37568) * Fix: hpu can support the bf16 Signed-off-by: yuanwu <yuan.wu@intel.com> * hpu is not integrated into torch. Signed-off-by: yuanwu <yuan.wu@intel.com> * Gaudi1 cannot support bf16 Signed-off-by: yuanwu <yuan.wu@intel.com> * Update src/transformers/utils/import_utils....
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -522,6 +522,8 @@ def is_torch_bf16_gpu_available() -> bool:\n return torch.cuda.is_bf16_supported()\n if torch.xpu.is_available():\n return torch.xpu.is_bf16_supported()\n+ if is_torch_hpu_available():\n+ return T...
2025-04-18T06:00:26
rust-lang/rust
1b3374fb820aea675770223bcd398550f42d9553
62a48c5fed4a579fecc612de55fa35f9ae4a0a43
fix: migrate `unmerge_use` to syntax editor Also ensures that attributes on the use item are applied to the new use item when unmerging. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/unmerge_use.rs", "patch": "@@ -1,7 +1,10 @@\n use syntax::{\n AstNode, SyntaxKind,\n- ast::{self, HasVisibility, edit_in_place::Removable, make},\n- ted::{self, Position},\n+ ast::{\n+ self, HasAttrs, HasVisibility, edit:...
2025-03-27T21:45:10
golang/go
1a0ea1a08b26f25d3795ca46e4a831a8ca4859ad
9995c6b50aa55c1cc1236d1d688929df512dad53
runtime: fix typo in proc.go Change-Id: I12c0befc5772a5c902a55aeb06a30ec7a34a3bd6 GitHub-Last-Rev: 7d41e1bcb9f6304e1b868701740279e845c99a66 GitHub-Pull-Request: golang/go#46112 Reviewed-on: https://go-review.googlesource.com/c/go/+/319053 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@...
[ { "path": "src/runtime/proc.go", "patch": "@@ -3136,7 +3136,7 @@ func checkIdleGCNoP() (*p, *g) {\n \t// an available P and available worker G.\n \t//\n \t// We can attempt to acquire these in either order, though both have\n-\t// synchonization concerns (see below). Workers are almost always\n+\t// synchro...
2021-05-11T21:37:56
electron/electron
1d6b02f304823e6bc79e9dab3d6d2ae031fbf146
7d38fe61d28694390ca110230a1084f9f69eaf90
mac: Restore presentation options when leaving kiosk mode, fixes #272.
[ { "path": "atom/browser/native_window_mac.h", "patch": "@@ -95,6 +95,9 @@ class NativeWindowMac : public NativeWindow {\n \n NSInteger attention_request_id_; // identifier from requestUserAttention\n \n+ // The presentation options before entering kiosk mode.\n+ NSApplicationPresentationOptions kiosk_o...
2014-06-09T05:04:59
nodejs/node
728078074439996d9f2d0f53e5fce12152540926
aa58e2e717715a64ab8850d0ff67e3efceed0e8e
deps: cherry-pick 2075910 from upstream V8 Original commit message: [turbofan] Remove optimization of default Promise capability functions. The JSCallReducer could in theory inline the default resolve and reject functions passed to the executor in the Promise constructor. But that inlining is almost ...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.8',\n+ 'v8_embedder_string': '-node.9',\n \n # Enable disassembler for `--print-code...
2018-07-16T19:57:05
vercel/next.js
cba7070c0856c770eae685dd3e5a92c8f2e6e366
f012eab00f9abd2b34f82edc42d84458cbf414a8
Added support for query params on not found pages (#43836) Previously, query parameters were not available on 404 pages because calling the router methods would change the pathname in the browser. This change adds support for the query to update for those pages without updating the path to include the basePath. ...
[ { "path": "packages/next/client/index.tsx", "patch": "@@ -116,11 +116,6 @@ class Container extends React.Component<{\n // - if rewrites in next.config.js match (may have rewrite params)\n if (\n router.isSsr &&\n- // We don't update for 404 requests as this can modify\n- // the asPat...
2022-12-13T00:10:44
huggingface/transformers
bb2a44ad4b5c346877c60b4a3ff2b62f300cda71
4acf692acebf4b9f25613d5ee410259bad761594
Fix Quark quantization config (#37578) fix
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -1821,7 +1821,10 @@ def __init__(\n from quark.torch.export.config.config import JsonExporterConfig\n from quark.torch.export.main_export.quant_config_parser import QuantConfigParser\n from quark.torc...
2025-04-18T05:23:39
golang/go
9995c6b50aa55c1cc1236d1d688929df512dad53
9b84814f6e909bfe9054eab30e423bc5e880d137
cmd/go: ignore implicit imports when the -find flag is set The documentation of the go list -find flag says that the Deps list will be empty. However the current implementation adds implicit imports when supporting Cgo or SWIG and when linking a main package. Update the documentation of PackageOpts.IgnoreImport to cl...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1797,35 +1797,37 @@ func (p *Package) load(ctx context.Context, opts PackageOpts, path string, stk *\n \t\t}\n \t}\n \n-\t// Cgo translation adds imports of \"unsafe\", \"runtime/cgo\" and \"syscall\",\n-\t// except for certain packages, to avoid ci...
2021-05-11T15:02:20
electron/electron
7d38fe61d28694390ca110230a1084f9f69eaf90
2b0ec2bcc65c38be3adf9c2806c6c024b72321ba
"did-finish-load" should only emit for main frame, fixes #385.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -38,7 +38,12 @@ void WebContents::DidFinishLoad(int64 frame_id,\n const GURL& validated_url,\n bool is_main_frame,\n content::RenderViewHost* re...
2014-06-09T04:03:19
nodejs/node
a921aff334e4d8d1df012608ec1e8fef9a4a0968
eea5aeea475afc0c97f8ce0af1675cfcea027d39
deps: cherry-pick 477df06 from upstream v8 Original commit message: [API] Expand BigInt API Provide a more complete BigInt API. Bug: v8:7712 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: Ic8562d616f3125deabdf8b52c7019b191bef0e07 Reviewed-on: chromium-review.googlesou...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n # Enable disassembler for `--print-code...
2018-07-03T22:42:16
huggingface/transformers
4acf692acebf4b9f25613d5ee410259bad761594
40cba20e8781e2ac5936fca081a88493c3ce8b43
Update Phi4 converter (#37594) * fix converter * Update phi4_multimodal.md
[ { "path": "docs/source/en/model_doc/phi4_multimodal.md", "patch": "@@ -64,7 +64,7 @@ inputs = processor.apply_chat_template(\n tokenize=True,\n return_dict=True,\n return_tensors=\"pt\",\n-).to(device, torch.float16)\n+).to(device)\n \n # Generate response\n generate_ids = model.generate(\n@@ -9...
2025-04-17T21:08:24
vercel/next.js
f012eab00f9abd2b34f82edc42d84458cbf414a8
8e0439834305cf5296742277a5a2c8e8bc62a02d
use a function expression to access arguments binding (#43987) arrow function was trying to use arguments binding but wanted arguments of the lambda not the nearest normal function. The narrowest change is to convert to function expression. We could also use varargs rest syntax since this runs in runtimes that shou...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -52,7 +52,7 @@ const isEdgeRuntime = process.env.NEXT_RUNTIME === 'edge'\n function preloadComponent(Component: any, props: any) {\n const prev = console.error\n // Hide invalid hook call warning when calling component\n- console.error = (ms...
2022-12-12T22:39:12
electron/electron
c575d40d63d2794d9f703a46d0d80d41e6817b12
950704c7e8ca1ba0c7567cd54617708bf2eb11b7
:lipstick: Fix clipboard on Linux.
[ { "path": "atom/common/api/atom_api_clipboard.cc", "patch": "@@ -23,9 +23,9 @@ struct Converter<ui::Clipboard::Buffer> {\n return false;\n \n if (type == \"selection\")\n- *out = ui::Clipboard::BUFFER_STANDARD;\n- else\n *out = ui::Clipboard::BUFFER_SELECTION;\n+ else\n+ *out...
2014-06-05T07:22:36
golang/go
6ffb027483a86d6081989a63bb2af6a69028b46a
510e711dd36999f1800678909bb7fdb448aa074f
[dev.fuzz] internal/fuzz: use coverage instrumentation while fuzzing This change updates the go command behavior when fuzzing to instrument the binary for code coverage, and uses this coverage in the fuzzing engine to determine if an input is interesting. Unfortunately, we can't store and use the coverage data for a ...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -206,6 +206,7 @@ type PackageInternal struct {\n \tBuildInfo string // add this info to package main\n \tTestmainGo *[]byte // content for _testmain.go\n \tEmbed map[string][]string // //go:embed...
2021-04-20T20:11:13
huggingface/transformers
346f1eebbdab244880967133aea7272d9b16f519
48dd89cf55e89129d3374af6a93f6481283d0f98
docs: fix typo (#37567) Co-authored-by: Anthony <anthony.song@capitalone.com>
[ { "path": "docs/source/en/perf_train_gpu_many.md", "patch": "@@ -111,7 +111,7 @@ This approach optimizes parallel data processing by reducing idle GPU utilizatio\n \n Data, pipeline and model parallelism combine to form [3D parallelism](https://www.microsoft.com/en-us/research/blog/deepspeed-extreme-scale-m...
2025-04-17T13:54:44
vercel/next.js
8e0439834305cf5296742277a5a2c8e8bc62a02d
5e3bb45f55fe1b3323e2948f983e477e86aa1a7b
Erase dynamic ssr:false imports on server (#43974) Fixes #43895 There's a `is_server_components` condition introduced in #42426 but it's always truthy so the `ssr:false` is not erased properly. Then in #42589 the flag is removed but also the optimization is removed as well. This PR reverts the unexpected change ...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -185,6 +185,7 @@ where\n next_dynamic::next_dynamic(\n opts.is_development,\n opts.is_server,\n+ opts.server_components.is_some(),\n file.name.clone(),\n opts.pages_dir.clone...
2022-12-12T22:32:54
nodejs/node
eea5aeea475afc0c97f8ce0af1675cfcea027d39
d15db8257c4b97d3f058281efdd1668cad0267ea
deps: cherry-pick 70c4340 from upstream V8 Original commit message: [log][api] Fix GCC 4.9 build failure GCC 4.9 used on some Node.js CI machines complains when the control reaches the end of a non-void function and no return is encountered. R=bmeurer@google.com, ofrobots@google.com, yangguo@google....
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-06-21T15:39:49
huggingface/transformers
58e5e976e07a3e5c7e9e2ffb7963e7af60cb85f8
c7d3cc67a166b3a4ed9990356176876e889234a0
Small fix on context manager detection (#37562) * small fixes * Update modeling_utils.py * test * Update test_modeling_common.py * Update test_modeling_timm_backbone.py * more general * simpler
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4167,15 +4167,14 @@ def from_pretrained(\n _adapter_model_path = None\n \n # Potentially detect context manager or global device, and use it (only if no device_map was provided)\n- if device_map is None:\n+ if de...
2025-04-17T13:39:44
electron/electron
950704c7e8ca1ba0c7567cd54617708bf2eb11b7
7c14c2758bec35dde09275007d0a43be9ffcdeff
Provide API to access selection clipboard, fixes #377.
[ { "path": "atom/common/api/atom_api_clipboard.cc", "patch": "@@ -11,15 +11,37 @@\n \n #include \"atom/common/node_includes.h\"\n \n+namespace mate {\n+\n+template<>\n+struct Converter<ui::Clipboard::Buffer> {\n+ static bool FromV8(v8::Isolate* isolate,\n+ v8::Handle<v8::Value> val,\n+ ...
2014-06-05T06:48:12
vercel/next.js
5e3bb45f55fe1b3323e2948f983e477e86aa1a7b
318bdf90ab1b3abbd24c6dd9e3ae2a7373fb4889
chore: add repro links in "verify canary" comment (#43979) [Slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1669918824743499) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.c...
[ { "path": ".github/actions/issue-validator/canary.md", "patch": "@@ -10,7 +10,7 @@ If the issue does not reproduce with the `canary` version, then it has already b\n \n ### **How can I quickly verify if my issue has been fixed in `canary`?**\n \n-The safest way is to install `next@canary` in your project an...
2022-12-12T22:26:40
nodejs/node
d15db8257c4b97d3f058281efdd1668cad0267ea
76f4a5e055c1b457b44a6dc1eae4cc759aa679f1
deps: cherry-pick acc336c from upstream V8 Original commit message: [log] fix boolean logic on LogCodeObject R=yangguo@google.com Change-Id: Icb4825344991e5b2d15050e037064c60eeb9617e Reviewed-on: https://chromium-review.googlesource.com/1097578 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.4',\n+ 'v8_embedder_string': '-node.5',\n \n # Enable disassembler for `--print-code...
2018-06-18T15:59:12
huggingface/transformers
c7d3cc67a166b3a4ed9990356176876e889234a0
dc06e7cecd5dc98681566e5201481b42583c4382
Fix qwen2audio wanr -> warn (#37559) Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
[ { "path": "src/transformers/models/qwen2_audio/processing_qwen2_audio.py", "patch": "@@ -105,12 +105,12 @@ def __call__(\n The audio or batch of audios to be prepared. Each audio can be a NumPy array.\n \"\"\"\n \n- # Handle BC when user passes deprecared keyword argument\n+ ...
2025-04-17T13:34:58
electron/electron
7c14c2758bec35dde09275007d0a43be9ffcdeff
ac1a03bf9ca6ae624450f3a0f9b5d1866c9a5ed5
Return unicode string in clipboard.readText(), fixes atom/atom#2145.
[ { "path": "atom/common/api/atom_api_clipboard.cc", "patch": "@@ -5,6 +5,7 @@\n #include <string>\n #include <vector>\n \n+#include \"atom/common/native_mate_converters/string16_converter.h\"\n #include \"native_mate/dictionary.h\"\n #include \"ui/base/clipboard/clipboard.h\"\n \n@@ -27,11 +28,11 @@ std::str...
2014-06-05T03:43:45
rust-lang/rust
99f00927cc1de78b812ddc422b2e425b1fdbf998
7e064c3072adff6e97581a34393ca6abedd4a335
fix: Address minor FIXME
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/item_scope.rs", "patch": "@@ -167,7 +167,7 @@ pub struct ItemScope {\n // the resolutions of the imports of this scope\n use_imports_types: FxHashMap<ImportOrExternCrate, ImportOrDef>,\n use_imports_values: FxHashMap<ImportOrGlob, ImportOrDef...
2025-04-28T09:55:26
vercel/next.js
3cb7adb915267cfc1c0d1e684a086a38cd2e0a5a
4df6804c5a6d34b520bdec35f48ac84e32e9aed7
Fix: status log when NEXT_TELEMETRY_DISABLED env is set (#43948) Fixes: https://github.com/vercel/next.js/discussions/43947 Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/telemetry/storage.ts", "patch": "@@ -152,7 +152,11 @@ export class Telemetry {\n }\n \n get isEnabled(): boolean {\n- return !!this.conf && this.conf.get(TELEMETRY_KEY_ENABLED, true) !== false\n+ return (\n+ !this.NEXT_TELEMETRY_DISABLED &&\n+ !!this.conf &&\n+ ...
2022-12-12T21:23:18
electron/electron
04cbb76776249b25828c5f793b17aec22b3d33c8
98aba2aa122129c7a762cdd319d132a017ca479e
win: Remove focus listener after window is closed, fixes #364.
[ { "path": "atom/browser/native_window_win.cc", "patch": "@@ -250,6 +250,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,\n }\n \n NativeWindowWin::~NativeWindowWin() {\n+ views::WidgetFocusManager::GetInstance()->RemoveFocusChangeListener(this);\n }\n \n void NativeWindowWin::Close...
2014-06-03T06:39:47
rust-lang/rust
36ed4aaa2ea3f410bd44df63addaea98b0a678a4
5008c6a6c058911c26947f466840467e8c37a586
Add foldhash license exception
[ { "path": "src/tools/tidy/src/deps.rs", "patch": "@@ -148,6 +148,7 @@ const EXCEPTIONS_CARGO: ExceptionList = &[\n const EXCEPTIONS_RUST_ANALYZER: ExceptionList = &[\n // tidy-alphabetical-start\n (\"dissimilar\", \"Apache-2.0\"),\n+ (\"foldhash\", \"Zlib\"),\n (\"notify\", \"CC0-1.0\"),\n ...
2025-04-28T09:08:59
nodejs/node
76f4a5e055c1b457b44a6dc1eae4cc759aa679f1
71fae5e81dc96e5501ddb3e89e4a49c427d89398
deps: cherry-pick b20faff from upstream V8 Original commit message: [log] fix ExistingCodeLogger behavior on edge case ExistingCodeLogger was behaving incorrectly when the CodeEventHandler API was used in combination with --interpreted-frames-native-stack. Instead of collecting copied trampoline...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n # Enable disassembler for `--print-code...
2018-06-11T16:05:33
vercel/next.js
4df6804c5a6d34b520bdec35f48ac84e32e9aed7
662344c3a5bc453b23d65c244576ee697f9f1820
Add Web Tooling team to codeowners (#43981) <!-- 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 making: --> ## Bug - [ ] Rel...
[ { "path": ".github/CODEOWNERS", "patch": "@@ -11,7 +11,8 @@\n \n /packages/next/build/ @timneutkens @ijjk @shuding @padmaia @huozhi\n /packages/next/telemetry/ @timneutkens @ijjk @shuding @padmaia\n-/packages/next-swc/ @timneutkens @ijjk @shuding @padmaia\n+/packages/next-swc/ @timneutkens @ijjk @shuding ...
2022-12-12T20:06:49
electron/electron
53092cfb7cde675c4723a00ab171550b63eb36fe
9ef7ecbdaf03fe382ed8d13c467d6b9a7894653e
win: Fix context menu clicking in notify icon.
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -4,8 +4,8 @@\n \n #include \"atom/browser/ui/win/notify_icon.h\"\n \n-#include \"atom/browser/ui/win/menu_2.h\"\n #include \"atom/browser/ui/win/notify_icon_host.h\"\n+#include \"atom/browser/ui/win/menu_2.h\"\n #include \"base/strings/string_numb...
2014-06-03T06:11:12
nodejs/node
71fae5e81dc96e5501ddb3e89e4a49c427d89398
9b5cba9104dd4203ed0eac1153a708803cbb677b
deps: cherry-pick aa6ce3e from upstream V8 Original commit message: [log][api] introduce public CodeEventListener API Introduce a new public API called CodeEventListener to allow embedders to better support external profilers and other diagnostic tools without relying on unsupported methods like --pe...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n # Enable disassembler for `--print-code...
2018-07-05T06:38:02
vercel/next.js
662344c3a5bc453b23d65c244576ee697f9f1820
dcad00d6e733645f055923fd0d9165827c3e4b39
next-dev: restart dev server exceeds the memory limits (#43958) ## Context There has been [some reports ](https://github.com/vercel/next.js/issues/42514)of OOMs-related crashes with Next 13. Whilst we're fixing the memory leaks that are causing this, some of which are caused by upstream issues, this PR makes Next.js'...
[ { "path": "packages/next/cli/next-dev.ts", "patch": "@@ -13,6 +13,7 @@ import path from 'path'\n import type { NextConfig } from '../types'\n import type { NextConfigComplete } from '../server/config-shared'\n import { traceGlobals } from '../trace/shared'\n+import cluster from 'cluster'\n \n let isTurboSes...
2022-12-12T18:54:55
electron/electron
4647efd22f8d1c71f274e07ac0d1da5b72de9dfd
884f30010c4f58b62bf1bebef76d4377ac16d7ae
:lipstick: Fix cpplint warning.
[ { "path": "atom/browser/ui/tray_icon_observer.h", "patch": "@@ -9,10 +9,10 @@ namespace atom {\n \n class TrayIconObserver {\n public:\n- virtual void OnClicked() {};\n+ virtual void OnClicked() {}\n \n protected:\n- virtual ~TrayIconObserver() {};\n+ virtual ~TrayIconObserver() {}\n };\n \n } // nam...
2014-06-02T03:47:37
huggingface/transformers
3bc44eaaeee01b7f0d2d55c9991900b43cafe62d
4f96081aadcdfd36d9a42580999ee3abf65b3ba3
[qwen-vl] Standardize config (#37268) * update * fix tests * fixup * update * skip this one * fixup * fix
[ { "path": "docs/source/en/model_doc/qwen2_5_vl.md", "patch": "@@ -232,10 +232,15 @@ model = Qwen2_5_VLForConditionalGeneration.from_pretrained(\n \n [[autodoc]] Qwen2_5_VLConfig\n \n+## Qwen2_5_VLTextConfig\n+\n+[[autodoc]] Qwen2_5_VLTextConfig\n+\n ## Qwen2_5_VLProcessor\n \n [[autodoc]] Qwen2_5_VLProcesso...
2025-04-17T07:38:12
vercel/next.js
45eea0a57e2ffb9372985df96c21d957b823765a
b3dfa037670c8601332edb7c749b48f588d9e72a
Open server component errors fullscreen (#43887) https://github.com/vercel/next.js/pull/43844 continued. Make sure Server Component errors always open in fullscreen mode. Currently they only open in fullscreen on initial load - not when adding an Error when updating the file. If in test env, call `self.__NEXT_HMR_CB...
[ { "path": "packages/next/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -348,6 +348,13 @@ function processMessage(\n dispatcher.onRefresh()\n })\n \n+ if (process.env.__NEXT_TEST_MODE) {\n+ if (self.__NEXT_HMR_CB) {\n+ self.__NEXT_HMR_CB()\n+ ...
2022-12-12T12:27:06
nodejs/node
1554e224b0022e6c6f350566f76f8f41f1248bf0
6f9705275bf9fe5ba848ba5254a88ca3f275f882
deps: update v8.gyp and run Torque Synchronize source files list with upstream's BUILD.gn. Teach v8.gyp to build and run torque, V8's DSL for generating builtins. On Windows, the torque binary needs to be compiled and linked with exception semantics and assume V8 is embedded. Fixes: https://github.com/nodejs/node-v...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n # Enable disassembler for `--print-code...
2018-04-19T08:15:15
electron/electron
2da5bcb0b8839efac3660876c97437ca4bb9d3d9
b073d35918ad8c898883630aa7c406cfcb33188c
Fix cpplint warning.
[ { "path": "atom/browser/atom_browser_client.h", "patch": "@@ -5,6 +5,8 @@\n #ifndef ATOM_BROWSER_ATOM_BROWSER_CLIENT_H_\n #define ATOM_BROWSER_ATOM_BROWSER_CLIENT_H_\n \n+#include <string>\n+\n #include \"brightray/browser/browser_client.h\"\n \n namespace atom {", "additions": 2, "deletions": 0, ...
2014-05-29T13:24:22
huggingface/transformers
4f96081aadcdfd36d9a42580999ee3abf65b3ba3
a2ef3cf5379d35da68e58c54e7981f7998ab8f1b
[chat template] fix security vulnerability (#37523) * fix security issues * nit
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -19,6 +19,7 @@\n from dataclasses import dataclass\n from io import BytesIO\n from typing import TYPE_CHECKING, Callable, Optional, Union\n+from urllib.parse import urlparse\n \n import numpy as np\n import requests\n@@ -833,7 +834,7 @@ def sample_in...
2025-04-17T07:21:37
golang/go
2520e72d3bbfe6651cd6324077afdb4babb36b9a
326a7925179ea669aa9f947dda82e425673cb220
runtime: hold sched.lock across atomic pidleget/pidleput As a cleanup, golang.org/cl/307914 unintentionally caused the idle GC work recheck to drop sched.lock between acquiring a P and committing to keep it (once a worker G was found). This is unsafe, as releasing a P requires extra checks once sched.lock is taken (s...
[ { "path": "src/runtime/proc.go", "patch": "@@ -3132,37 +3132,47 @@ func checkIdleGCNoP() (*p, *g) {\n \t\treturn nil, nil\n \t}\n \n-\t// Work is available; we can start an idle GC worker only if\n-\t// there is an available P and available worker G.\n+\t// Work is available; we can start an idle GC worker ...
2021-05-10T20:50:32
vercel/next.js
b3dfa037670c8601332edb7c749b48f588d9e72a
d2c23bb5e83397b996b143d2a020ae7816220251
useSearchParams - bailout to client rendering during static generation (#43603) Currently `useSearchParams` bails out of static generation altogether, forcing the page to be dynamic. This behaviour is wrong. Instead it should still be statically generated, but `useSearchParams` should only run on the client. This is ...
[ { "path": "packages/next/client/components/bailout-to-client-rendering.ts", "patch": "@@ -0,0 +1,19 @@\n+import { suspense } from '../../shared/lib/dynamic-no-ssr'\n+import { staticGenerationAsyncStorage } from './static-generation-async-storage'\n+\n+export function bailoutToClientRendering(): boolean | ne...
2022-12-12T11:53:38
nodejs/node
4d94bb2b1f72b6b612983a517a39c5545724a3ad
838001d4b3042ac8deba0686f21e86e9b7c7fc0e
test: fix unreliable test-fs-stat-bigint Remove side-effects between testcases by creating a new file everytime. Fixes: https://github.com/nodejs/node/issues/21948 PR-URL: https://github.com/nodejs/node/pull/21949 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By:...
[ { "path": "test/parallel/test-fs-stat-bigint.js", "patch": "@@ -10,13 +10,12 @@ const { isDate } = require('util').types;\n \n tmpdir.refresh();\n \n-const fn = path.join(tmpdir.path, 'test-file');\n-fs.writeFileSync(fn, 'test');\n+let testIndex = 0;\n \n-let link;\n-if (!common.isWindows) {\n- link = path...
2018-07-23T22:59:13
electron/electron
f57bcfc4294bafb72fad9d264c33b3e68d8f9422
7bd0c8aa06103b2767496219f5f712423b14b6ae
mac: Fix en-US locale.
[ { "path": "atom.gyp", "patch": "@@ -221,6 +221,14 @@\n 'atom/app/atom_library_main.cc',\n 'atom/app/atom_library_main.h',\n ],\n+ 'locales': [\n+ 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',\n+ 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he',...
2014-05-29T09:13:24
rust-lang/rust
aff1be2637cecd0ef4224570b9ddf23f62f88b2b
cb31a009e3e735ab08613cec2d8a5a754e65596f
Introduce `BoxMarker` to pretty-printing. The pretty-printers open and close "boxes" of text a lot. The open and close operations must be matched. The matching is currently all implicit and very easy to get wrong. (#140280 and #140246 are two recent pretty-printing fixes that both involved unclosed boxes.) This commi...
[ { "path": "compiler/rustc_ast_pretty/src/lib.rs", "patch": "@@ -2,6 +2,7 @@\n #![allow(internal_features)]\n #![doc(rust_logo)]\n #![feature(box_patterns)]\n+#![feature(negative_impls)]\n #![feature(rustdoc_internals)]\n // tidy-alphabetical-end\n ", "additions": 1, "deletions": 0, "language": "...
2025-04-24T22:29:49
golang/go
d9e068d2894ff2fce48a171212171bc3f394b023
deb3403ff52b8833df6c4e2f82cbdddeb13573dd
runtime/cgo,cmd/internal/obj/ppc64: fix signals with cgo Recently some tsan tests were enabled on ppc64le which had not been enabled before. This resulted in failures on systems with tsan available, and while debugging it was determined that there were other issues related to the use of signals with cgo. Signals were...
[ { "path": "src/cmd/asm/internal/asm/testdata/ppc64.s", "patch": "@@ -41,8 +41,8 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0\n \tMOVDBR (R3)(R4), R5 // 7ca41c28\n \tMOVWBR (R3)(R4), R5 // 7ca41c2c\n \tMOVHBR (R3)(R4), R5 // 7ca41e2c\n-\tMOVD $foo+4009806848(FP), R5 // 3fe1ef01...
2021-03-31T17:28:47
vercel/next.js
f6f1f50238aab9d9da766a19f800d562b28d568a
6ba53d8f1fdad3c0586c04627b3ab4016fe7624f
Increase stack trace limit on the server (#43800) Increases `Error.stackTraceLimit` on the server to match the client. Adds `if (typeof window !== 'undefined') {` in `use-error-handler`, otherwise it also affects the server - but only after that file is compiled. Closes NEXT-125 ### Before ![image](https:...
[ { "path": "packages/next/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts", "patch": "@@ -22,9 +22,12 @@ function isHydrationError(error: Error): boolean {\n )\n }\n \n-try {\n- Error.stackTraceLimit = 50\n-} catch {}\n+if (typeof window !== 'undefined') {\n+ try {\n+ // Incr...
2022-12-12T04:35:55
nodejs/node
83474ae1e31d8c614f5f58f9285075283e418f4b
e83126a8833ace98d13c2be507e40f8b1340952c
tools: flatten apidoc headers ensure optional parameters are not treated as markedown links by replacing the children of headers nodes with a single text node containing the raw markup; Fixes issue identified in https://github.com/nodejs/node/pull/21490#issuecomment-406859983 PR-URL: https://github.com/nodejs/node/p...
[ { "path": "tools/doc/html.js", "patch": "@@ -175,9 +175,9 @@ function linkJsTypeDocs(text) {\n return parts.join('`');\n }\n \n-// Preprocess stability blockquotes and YAML blocks\n+// Preprocess headers, stability blockquotes, and YAML blocks.\n function preprocessElements({ filename }) {\n- return (tre...
2018-07-22T21:13:56
huggingface/transformers
a2ef3cf5379d35da68e58c54e7981f7998ab8f1b
688f4707bfc5f6adc6f4f18c2081c5a66db590d1
Add Janus model (#36053) * Iterative generation using input embeds * Add Janus model * discard changes * Janus imports * Refactor config and processor * Added Vision tower of Janus * Import Janus Image processor * Vision tower fixes * Refactor code * Added VQ Model * Complete model integration * temp conver...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -953,6 +953,8 @@\n title: InstructBLIP\n - local: model_doc/instructblipvideo\n title: InstructBlipVideo\n+ - local: model_doc/janus\n+ title: Janus\n - local: model_doc/kosmos-2\n title: KOSMOS-2\n -...
2025-04-17T07:18:51
rust-lang/rust
7669d5011977eef757bb4cd9437b6aef50f4b3f6
8290766bbee6a9ce384d0e7527c46001392ed423
add a FIXME Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/builder/cargo.rs", "patch": "@@ -112,8 +112,7 @@ impl Cargo {\n let mut cargo = builder.cargo(compiler, mode, source_type, target, cmd_kind);\n \n match cmd_kind {\n- // No need to configure the target linker for these command types,\n- ...
2025-04-28T03:49:38
electron/electron
7297faf09a0fded7dc89735344c3cbdeeb68ef66
a7b730654cad1ac78871eb86ee4d424d987f437a
:memo: Fix some old docs.
[ { "path": "docs/api/browser-window.md", "patch": "@@ -366,14 +366,14 @@ Returns whether the window is in kiosk mode.\n \n * `filename` String\n \n-__OS X Only__ Sets the pathname of the file the window represents, and the icon\n+__OS X Only:__ Sets the pathname of the file the window represents, and the ico...
2014-05-27T06:20:22
golang/go
deb3403ff52b8833df6c4e2f82cbdddeb13573dd
82517acae866d60a9754d44d004bfa159e656c07
go/build: include files with parse errors in GoFiles and other lists go/build.ImportDir returns a *build.Package with various lists of files. If a file is invalid for some reason, for example, because it has a different package name than other files, it's added to InvalidGoFiles in addition to GoFiles, TestGoFiles, or...
[ { "path": "src/cmd/go/testdata/script/list_load_err.txt", "patch": "@@ -2,26 +2,42 @@\n # other files in the same package cause go/build.Import to return an error.\n # Verfifies golang.org/issue/38568\n \n-\n go list -e -deps ./scan\n stdout m/want\n \n-\n go list -e -deps ./multi\n stdout m/want\n \n-\n go...
2020-07-08T20:20:51
vercel/next.js
5cf7408bb26eafb561010e94e5964b48e95a383d
50caf8b191b51e22f31a61eeb2ef88390419bab6
Update @next/font data (#43883) Update @next/font data ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an e...
[ { "path": "packages/font/src/google/font-data.json", "patch": "@@ -1883,6 +1883,29 @@\n }\n ]\n },\n+ \"Chivo Mono\": {\n+ \"weights\": [\n+ \"100\",\n+ \"200\",\n+ \"300\",\n+ \"400\",\n+ \"500\",\n+ \"600\",\n+ \"700\",\n+ \"800\",\n+ \"900\",\n...
2022-12-12T02:51:07
huggingface/transformers
688f4707bfc5f6adc6f4f18c2081c5a66db590d1
0a83588c5153696879739ba040b4353df7381db4
All models can be initialized on meta device (#37563) * Update test_modeling_common.py * fix all * more fixes
[ { "path": "src/transformers/models/beit/modeling_beit.py", "patch": "@@ -663,7 +663,7 @@ def __init__(self, config: BeitConfig, window_size: Optional[tuple] = None) -> N\n self.relative_position_bias = BeitRelativePositionBias(config, window_size=window_size)\n \n # stochastic depth deca...
2025-04-16T21:26:44
electron/electron
9b8edeb60999b9432bf4b5dc78b7d93c19727afb
15d9b320dba98e14ea6b691f79bc2e61065e98b4
Fix specs.
[ { "path": "atom/browser/api/lib/menu.coffee", "patch": "@@ -68,6 +68,7 @@ Menu::insert = (pos, item) ->\n @groupsMap[item.groupId].push item\n \n # Setting a radio menu item should flip other items in the group.\n+ v8Util.setHiddenValue item, 'checked', item.checked\n Object.definePro...
2014-05-26T05:01:26
nodejs/node
b675fe360e60e4a21fd683e980066ca09adc1a03
f5a2167eb5565b84e068b385dc22c5e74f543d1b
deps: cherry-pick 804a693 from upstream V8 Original commit message: [postmortem] add JS_ERROR_TYPE and context embedder index * JS_ERROR_TYPE is required for postmortem tools to inspect JSError objects (see https://github.com/nodejs/llnode/pull/215 for a usage example) * The context e...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.18',\n+ 'v8_embedder_string': '-node.19',\n \n # Enable disassembler for `--print-co...
2018-07-17T16:55:20
golang/go
031854117f91fbc1265840a04caf2a7a168dd06b
a9edda3788b7ff6a73686874c9b3dcb1e5e18b87
cmd/go: include packages with InvalidGoFiles when filtering main packages If a package has files with conflicting package names, go/build empirically populates the first name encountered and puts the remaining files in InvalidGoFiles. That foiled our check for packages whose name is either unpopulated or "main", since...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -87,6 +87,7 @@ type PackagePublic struct {\n \tCgoFiles []string `json:\",omitempty\"` // .go source files that import \"C\"\n \tCompiledGoFiles []string `json:\",omitempty\"` // .go output from running cgo on CgoFiles\n \tIgnoredGoFiles ...
2021-05-05T21:08:39
vercel/next.js
50caf8b191b51e22f31a61eeb2ef88390419bab6
af0ac941dedd29ca59b6230416b4533ba230ff9c
Add helpful error for createContext used in Server Components (#43747) Format runtime server errors similarly to how build errors [are formatted](https://github.com/vercel/next.js/blob/canary/packages/next/client/dev/error-overlay/format-webpack-messages.js). Add helpful message when createContext is used in Server ...
[ { "path": "errors/context-in-server-component.md", "patch": "@@ -0,0 +1,30 @@\n+# createContext in a Server Component\n+\n+#### Why This Error Occurred\n+\n+You are using `createContext` in a Server Component but it only works in Client Components.\n+\n+#### Possible Ways to Fix It\n+\n+Mark the component u...
2022-12-12T02:46:29
huggingface/transformers
0a83588c5153696879739ba040b4353df7381db4
4005730044dd4de1575052eec24c1860ef97ccf9
Bridgetower fast image processor (#37373) * add support for fast tokenizer * make style * fix according to reviews * make style * relax slow_fast_equivalence mean diff --------- Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com> Co-authored-by: yonigozlan <yoni.gozlan@huggingface.co>
[ { "path": "docs/source/en/model_doc/bridgetower.md", "patch": "@@ -147,6 +147,11 @@ Tips:\n [[autodoc]] BridgeTowerImageProcessor\n - preprocess\n \n+## BridgeTowerImageProcessorFast\n+\n+[[autodoc]] BridgeTowerImageProcessorFast\n+ - preprocess\n+\n ## BridgeTowerProcessor\n \n [[autodoc]] BridgeTow...
2025-04-16T20:39:18
electron/electron
22927c947803a31ed767f54c2fdb3eb06747c675
f07d8c567773876a7b4ea189df971cb8bcdc39c2
Fix error when showing empty menu.
[ { "path": "atom/browser/api/lib/menu.coffee", "patch": "@@ -99,7 +99,7 @@ Menu.setApplicationMenu = (menu) ->\n if process.platform is 'darwin'\n # Force menuWillShow to be called\n menuWillShow = (menu) ->\n- menu.delegate.menuWillShow()\n+ menu.delegate?.menuWillShow()\n menuWill...
2014-05-25T08:37:45
nodejs/node
f93a19b428ffb80f1b5bf918744983f9a25bdced
945324050bc9532c241c8c004967133d6c4dd485
test: address flaky worker test Make test/parallel/test-worker-message-port-transfer-closed.js more reliable by counting ticks rather than using a single setTimeout(). Fixes: https://github.com/nodejs/node/issues/21892 PR-URL: https://github.com/nodejs/node/pull/21893 Reviewed-By: Anna Henningsen <anna@addaleax.net>...
[ { "path": "test/parallel/test-worker-message-port-transfer-closed.js", "patch": "@@ -50,5 +50,9 @@ testSingle(port1, port2);\n port2.close(common.mustCall(testBothClosed));\n testBothClosed();\n \n-setTimeout(common.mustNotCall('The communication channel is still open'),\n- common.platformTimeout(...
2018-07-19T19:17:11
golang/go
287025925f66f90ad9b30aea2e533928026a8376
c14ecaca8182314efd2ef7280feffc2242644887
cmd/compile,reflect: allow longer type names Encode the length of type names and tags in a varint encoding instead of a fixed 2-byte encoding. This allows lengths longer than 65535 (which can happen for large unnamed structs). Removed the alignment check for #14962, it isn't relevant any more since we're no longer re...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -5,6 +5,7 @@\n package reflectdata\n \n import (\n+\t\"encoding/binary\"\n \t\"fmt\"\n \t\"internal/buildcfg\"\n \t\"os\"\n@@ -473,36 +474,38 @@ func dnameField(lsym *obj.LSym, ot int, spkg *types.Pkg, ft *types.Field) int {\n \n // d...
2021-05-09T18:06:17
vercel/next.js
af0ac941dedd29ca59b6230416b4533ba230ff9c
bfd96ac012cec1c6990823d4489ebea79601a605
corrected /examples/github-pages readme (#43766) `branch` is the correct subheading direction; the `source` subheading represents `deploying from a branch` or from a `github action` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see...
[ { "path": "examples/github-pages/README.md", "patch": "@@ -22,7 +22,7 @@ pnpm create next-app --example github-pages nextjs-github-pages\n 1. Edit `next.config.js` to match your GitHub repository name.\n 1. Push the starter code to the `main` branch.\n 1. Run the `deploy` script (e.g. `npm run deploy`) t...
2022-12-12T02:33:38
huggingface/transformers
4005730044dd4de1575052eec24c1860ef97ccf9
a7d2bbaaa8aac64f7c1ee8c1421cfe84b38359a4
Fix Mamba2 Grouped SSD Support in the torch_forward Path (#37533) * Fix mamba2 grouped support in bamba torch path * patch zamba2 and mamba2 * Add a unit test for grouped SSD * add comment for the new unit test * add output_size arg value to repeat_interleave calls * Add comment
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -783,8 +783,8 @@ def torch_forward(\n hidden_states = hidden_states.reshape(batch_size, seq_len, -1, self.head_dim).float()\n B = B.reshape(batch_size, seq_len, -1, self.ssm_state_size).float()\n C ...
2025-04-16T20:16:01
electron/electron
f07d8c567773876a7b4ea189df971cb8bcdc39c2
cd35430d0ec4211938b9f3c8683fc65f45f15e76
Quit when get uncaughtException in specs.
[ { "path": "spec/static/main.js", "patch": "@@ -32,10 +32,13 @@ ipc.on('echo', function(event, msg) {\n event.returnValue = msg;\n });\n \n-process.on('uncaughtException', function(error) {\n- console.log(error);\n- window.openDevTools();\n-});\n+if (process.argv[1] == '--ci') {\n+ process.removeAllList...
2014-05-25T08:16:29
nodejs/node
53296e8a3e72fe2b3c2a3391fce59d2ef0f32c59
b38b8d3b9d02dba33f8f80e53f838220729811a8
n-api: guard against cond null dereference A condition variable is only created by the thread-safe function if the queue size is set to something larger than zero. This adds null-checks around the condition variable and tests for the case where the queue size is zero. Fixes: https://github.com/nodejs/help/issues/1387...
[ { "path": "src/node_api.cc", "patch": "@@ -3782,7 +3782,7 @@ class TsFn: public node::AsyncResource {\n if (thread_count == 0 || mode == napi_tsfn_abort) {\n if (!is_closing) {\n is_closing = (mode == napi_tsfn_abort);\n- if (is_closing) {\n+ if (is_closing && max_queue_size ...
2018-07-18T13:33:51
golang/go
c14ecaca8182314efd2ef7280feffc2242644887
bedf2c488630bd8253598b78088bc27fc36fbd29
runtime: skip TestCrashDumpsAllThreads on openbsd/arm This test is also now flakey on this platform. Updates #36435 Updates #42464 Change-Id: Idedb81478178ffffe7a9c125a6e8bbd83458f9ab Reviewed-on: https://go-review.googlesource.com/c/go/+/315794 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Mui <cherryyz@go...
[ { "path": "src/runtime/crash_unix_test.go", "patch": "@@ -69,7 +69,8 @@ func TestCrashDumpsAllThreads(t *testing.T) {\n \t\tt.Skipf(\"skipping; not supported on %v\", runtime.GOOS)\n \t}\n \n-\tif runtime.GOOS == \"openbsd\" && runtime.GOARCH == \"mips64\" {\n+\tif runtime.GOOS == \"openbsd\" && (runtime.GO...
2021-02-17T06:12:03
huggingface/transformers
a7d2bbaaa8aac64f7c1ee8c1421cfe84b38359a4
32eca7197a8d2618417a0d665db38d0af3695a2c
Add EfficientNet Image PreProcessor (#37055) * added efficientnet image preprocessor but tests fail * ruff checks pass * ruff formatted * properly pass rescale_offset through the functions * - corrected indentation, ordering of methods - reshape test passes when casted to float64 - equivalence test doesn't pass *...
[ { "path": "docs/source/en/model_doc/efficientnet.md", "patch": "@@ -43,6 +43,11 @@ The original code can be found [here](https://github.com/tensorflow/tpu/tree/mas\n [[autodoc]] EfficientNetImageProcessor\n - preprocess\n \n+## EfficientNetImageProcessorFast\n+\n+[[autodoc]] EfficientNetImageProcessorFa...
2025-04-16T19:59:24