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
huggingface/transformers
1be63d94f63c98e9a94de40b2a2fa4d12d9767f0
a63032b614dc38f67947a4e588bc385bc7d71e26
43054: Add Siglip2Tokenizer to enforce training-time text preprocessing defaults (#43101) * Add Siglip2Tokenizer with lowercase normalizer and tests * updated correct gemmatokenizer reference * Updated lowercase logic to keep it simple * added inegration test and removed _unk_id from tokenization * ruff fixes * u...
[ { "path": "docs/source/en/model_doc/siglip2.md", "patch": "@@ -145,7 +145,69 @@ logits_per_image = outputs.logits_per_image\n probs = torch.sigmoid(logits_per_image)\n print(f\"{probs[0][0]:.1%} that image 0 is '{candidate_labels[0]}'\")\n ```\n+## Text embeddings and retrieval\n \n+SigLIP2 can be used to g...
2026-01-28T14:13:42
vercel/next.js
82efdfe8774a2e8fd94dab5e804535f1c21ede46
503677c0998e3d0711359644d5d7caf3cc067491
docs : fix typo in React cache example (#52787) ### Description This PR fix typo in the description of Caching Data ### Changes - Added types to React `cache()` exercise File: `docs/02-app/01-building-your-application/03-data-fetching/02-caching.mdx`
[ { "path": "docs/02-app/01-building-your-application/03-data-fetching/02-caching.mdx", "patch": "@@ -97,7 +97,11 @@ export const getUser = cache(async (id) => {\n ```tsx filename=\"app/user/[id]/layout.tsx\" switcher\n import { getUser } from '@utils/getUser'\n \n-export default async function UserLayout({ p...
2023-07-17T15:46:30
electron/electron
ea9d2dadf8a9a223e26839855eda536e3da237b5
d4925e6226771f727f48da1c5bf46a75e08128e3
Add fixme for sync ipc
[ { "path": "lib/renderer/extensions/i18n.js", "patch": "@@ -9,6 +9,7 @@ const fs = require('fs')\n const path = require('path')\n \n const getExtensionMetadata = () => {\n+ // FIXME(kevinsawicki) Either cache this or don't use sync IPC to obtain it\n return ipcRenderer.sendSync('CHROME_I18N_MANIFEST', chr...
2016-06-07T23:04:17
golang/go
2bbf383774952c8ddc309a45c024af76b47ea1fe
f25631b490c7ccb8e555b4031dc12046b2534c11
net/mail: improve detection of charset errors The detection of the "unknown charset" case was too tailored to one specific address parser. Make it generalize, so that custom address parsers behave the same way as the default one for character sets they do not handle. Fixes #41625. Change-Id: I347d4bb6844d0a1f23e908b...
[ { "path": "src/net/mail/message.go", "patch": "@@ -745,17 +745,41 @@ func (p *addrParser) consumeComment() (string, bool) {\n }\n \n func (p *addrParser) decodeRFC2047Word(s string) (word string, isEncoded bool, err error) {\n-\tif p.dec != nil {\n-\t\tword, err = p.dec.Decode(s)\n-\t} else {\n-\t\tword, er...
2021-01-13T15:53:48
rust-lang/rust
7b394d2650472866162adb1e3e775d7c43ed8854
120a3611973d937ac623cacc088353a14a9567cb
tweak some git clone commands - --depth=1 is more useful for once-off uses, like on ci - .git postfix on github repo url is not needed
[ { "path": "src/doc/rustc-dev-guide/src/autodiff/installation.md", "patch": "@@ -6,7 +6,7 @@ In the near future, `std::autodiff` should become available in nightly builds fo\n \n First you need to clone and configure the Rust repository:\n ```bash\n-git clone --depth=1 git@github.com:rust-lang/rust.git\n+git...
2025-07-09T05:28:16
huggingface/transformers
2864600922f5d7103e2778c1767b834d88bdde81
cfe89b27a9fe14ff7aebbc485052e7194391e9cc
Fix failing tests due to no attribute `pad_token_id` (#43453) * phi * Qwen * glm4v * make fix-repo * fix docstring * make fix-repo? * glm_image * glm_image * glm_ocr * glm_image * fix repo --------- Co-authored-by: raushan <raushan@huggingface.co>
[ { "path": "src/transformers/models/glm4v/configuration_glm4v.py", "patch": "@@ -160,6 +160,9 @@ class Glm4vTextConfig(PreTrainedConfig, RotaryEmbeddingConfigMixin):\n Dictionary containing the configuration parameters for the RoPE embeddings. The dictionary should contain\n a value f...
2026-01-28T13:20:56
nodejs/node
167960f3ca57c7c3ef73e8b32f233189381244a0
403dacf9ce205d591b27c937141feb8321774c0b
test: fix test-benchmark-net Fix test-benchmark-net to accommodate recent benchmark additions. PR-URL: https://github.com/nodejs/node/pull/29359 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/benchmark/test-benchmark-net.js", "patch": "@@ -12,6 +12,9 @@ runBenchmark('net',\n [\n 'dur=0',\n 'len=1024',\n+ 'recvbufgenfn=false',\n+ 'recvbuflen=0',\n+ 'sendchunklen=256',\n 'type=buf'\n...
2019-08-28T14:17:53
vercel/next.js
503677c0998e3d0711359644d5d7caf3cc067491
f5f79e7a8c4315d4a131286df189a3d94accbae9
(Docs) add missing `js` version for `generateMetadata`. (#52763) There was no JS version for `generateMetadata` function. fixes #52759 Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
[ { "path": "docs/02-app/02-api-reference/04-functions/generate-metadata.mdx", "patch": "@@ -109,6 +109,29 @@ export async function generateMetadata(\n export default function Page({ params, searchParams }: Props) {}\n ```\n \n+```\n+jsx filename=\"app/products/[id]/page.js\" switcher\n+export async function ...
2023-07-17T15:23:54
electron/electron
f46edd5186b32987492b920d8e93001515712df9
d1ac5dd29b96cadf6f7cc2f87621cf5292375881
Throw errors reading/parsing manifest.json
[ { "path": "lib/browser/chrome-extension.js", "patch": "@@ -22,12 +22,22 @@ const generateExtensionIdFromName = function (name) {\n // Create or get manifest object from |srcDirectory|.\n const getManifestFromPath = function (srcDirectory) {\n let manifest\n+ let manifestContent\n \n try {\n- manifes...
2016-06-09T16:45:02
huggingface/transformers
cfe89b27a9fe14ff7aebbc485052e7194391e9cc
9238fc3d8559b8f9a6bff43f7d8de13c678093a0
fix: GPT OSS Conversion Script Enhancements (#42901) * fix: Remove instruct as it should always be true and correct num_experts * docs: improve docstring * fix: remove unused argument * fix: Only add extra special tokens if they exist * fix: prefer .jinja extension for chat template * fix: write raw, not json Si...
[ { "path": "src/transformers/convert_slow_tokenizer.py", "patch": "@@ -1892,9 +1892,10 @@ def converted(self) -> Tokenizer:\n )\n tokenizer.decoder = decoders.ByteLevel()\n \n- tokenizer.add_special_tokens(\n- [AddedToken(token, normalized=False, special=True) for token in s...
2026-01-28T10:55:09
rust-lang/rust
663733584561320e07623205f2c2dfcf43c375c1
34097a38afc9efdedf776d3f1c84a190ff334886
Fix VxWorks build errors
[ { "path": "library/std/src/sys/fs/unix.rs", "patch": "@@ -1491,7 +1491,6 @@ impl File {\n target_os = \"redox\",\n target_os = \"espidf\",\n target_os = \"horizon\",\n- target_os = \"vxworks\",\n target_os = \"nuttx\",\n )))]\n let t...
2025-07-09T04:24:08
golang/go
1d19cea740a5a044848aaab3dc119f60c947be1d
3fd8b8627f39d34e1a66bf4d610784bcd3f4319d
net/http/httptest: fix race in Server.Close When run with race detector the test fails without the fix. Fixes #51799 Change-Id: I273adb6d3a2b1e0d606b9c27ab4c6a9aa4aa8064 GitHub-Last-Rev: a5ddd146a2a65f2e817eed5133449c79b3af2562 GitHub-Pull-Request: golang/go#51805 Reviewed-on: https://go-review.googlesource.com/c/go...
[ { "path": "src/net/http/httptest/server.go", "patch": "@@ -317,21 +317,17 @@ func (s *Server) wrap() {\n \t\ts.mu.Lock()\n \t\tdefer s.mu.Unlock()\n \n-\t\t// Keep Close from returning until the user's ConnState hook\n-\t\t// (if any) finishes. Without this, the call to forgetConn\n-\t\t// below might send ...
2022-03-21T17:43:45
nodejs/node
3ae6f5e1169f423e71036d1bbd62f2c26b136914
34961c7b5fe8b2cf1722668666a7adcce3ab419c
test: fix flaky test-http-server-keepalive-req-gc Use `server` to keep the event loop open until the `ongc` listener runs. PR-URL: https://github.com/nodejs/node/pull/29347 Fixes: https://github.com/nodejs/node/issues/29344 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius...
[ { "path": "test/parallel/test-http-server-keepalive-req-gc.js", "patch": "@@ -16,7 +16,7 @@ if (common.isWindows) {\n \n let client;\n const server = createServer(common.mustCall((req, res) => {\n- onGC(req, { ongc: common.mustCall() });\n+ onGC(req, { ongc: common.mustCall(() => { server.close(); }) });\...
2019-08-27T21:55:40
huggingface/transformers
9238fc3d8559b8f9a6bff43f7d8de13c678093a0
2b7bc5968a80e4110dde5f9d9babdca3f0559c86
[Quantization] Fix triton_kernels name after being renamed to gpt-oss-triton-kernels (#43528) fix
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -619,7 +619,7 @@ def replace_with_mxfp4_linear(model, quantization_config=None, modules_to_not_co\n from .hub_kernels import get_kernel\n \n global triton_kernels_hub\n- triton_kernels_hub = get_kernel(\"kernels-community/triton_ker...
2026-01-28T10:45:33
electron/electron
d1ac5dd29b96cadf6f7cc2f87621cf5292375881
a3899f17f9ceec04fc80c258021002b615782aa7
Add specs for manifest.json read/parse error
[ { "path": "spec/api-browser-window-spec.js", "patch": "@@ -858,6 +858,18 @@ describe('browser-window module', function () {\n w.loadURL('about:blank')\n })\n \n+ it('throws errors for missing manifest.json files', function () {\n+ assert.throws(function () {\n+ BrowserWind...
2016-06-09T16:44:49
vercel/next.js
09b6188f8f97335ac98c3d4479ab9b0f631129ea
10a53e539458c2ad0d5c4918ca6d3c13b2ee77e5
AdjacencyMap::reverse_topological (+ fixes) (vercel/turbo#5527) ### Description This adds `AdjacencyMap::reverse_topological`, which is similar to `AdjacencyMap::into_reverse_topological` but doesn't consume the graph. This also: * Makes `AdjacencyMap` storable in `turbo_tasks::value`s; * Fixes ValueDebugForm...
[ { "path": "crates/turbo-tasks-macros/src/derive/trace_raw_vcs_macro.rs", "patch": "@@ -11,14 +11,19 @@ fn filter_field(field: &Field) -> bool {\n }\n \n pub fn derive_trace_raw_vcs(input: TokenStream) -> TokenStream {\n- let derive_input = parse_macro_input!(input as DeriveInput);\n+ let mut derive_in...
2023-07-17T11:41:18
golang/go
3fd8b8627f39d34e1a66bf4d610784bcd3f4319d
8ab42a945aef7c09189a60263c4450a65bc00a47
cmd/compile: handle sole component for 1-byte type interface conversion For 1-byte type, we have a special case for converting to interface type. But we missed an optimization for sole component-ed types, this CL add that one. goos: linux goarch: amd64 cpu: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Benchmark_Boo...
[ { "path": "src/cmd/compile/internal/types/type.go", "patch": "@@ -1628,6 +1628,7 @@ func (t *Type) NumComponents(countBlank componentsIncludeBlankFields) int64 {\n // SoleComponent returns the only primitive component in t,\n // if there is exactly one. Otherwise, it returns nil.\n // Components are counted...
2021-11-30T17:28:25
nodejs/node
c246f813f8b1bbc8f0e13ab77452da4dff437635
5ba3a2c4b6dfb928a097b36523d59cd5fa70706b
errors: provide defaults for unmapped uv errors libuv does not map 100% of errors. When an unmapped error is encountered, the Map returns undefined, which is then unsuccessfully destructured, causing an exception. This commit adds a default value in the event of an unmapped error. PR-URL: https://github.com/nodejs/no...
[ { "path": "lib/internal/errors.js", "patch": "@@ -327,6 +327,8 @@ function lazyUv() {\n return uvBinding;\n }\n \n+const uvUnmappedError = ['UNKNOWN', 'unknown error'];\n+\n function uvErrmapGet(name) {\n uvBinding = lazyUv();\n if (!uvBinding.errmap) {\n@@ -346,7 +348,7 @@ function uvErrmapGet(name) ...
2019-08-23T20:43:17
huggingface/transformers
b207f38e0d754d6addda307c187d4478a44b276a
be87564082c7d0fc1c6508652b4490ecc89ad9ff
[CB] Minor perf improvements and ty compatibility (#43521) * Better output * Better name * Better seqlen_k * Add a TMP token when scheduling request * Index selection of logits is in CG * ty 1/n * ty part 2/n * ty part 3/n * ty part 4/n * ty part 5/n * ty part 6/6 * style * ty final touches * No more _ *...
[ { "path": "benchmark_v2/benchmark_scripts/continuous_batching_overall.py", "patch": "@@ -7,21 +7,18 @@\n \n SCRIPT_LOCATION = (Path(__file__).parent.parent.parent / \"examples/pytorch/continuous_batching.py\").as_posix()\n COMMON_ARGS = \"--log-level WARNING --seed 0\".split()\n+ERROR_OUTPUT = {\"time_secon...
2026-01-28T10:39:46
vercel/next.js
539ae6c1fc39293633d0835afb73e483d2c2f7ed
6b2aed12d70d0e745b8ab0a2ae7a23ac338b7f56
fix(output): do not slice pathname unless ends with `.txt` (#52640) ### What? When using `output: "export"`, all URL pathnames are sliced. ### Why? A regression was introduced at https://github.com/vercel/next.js/pull/50974/files#diff-7b6239af735eba0c401e1a0db1a04dd4575c19a031934f02d128cf3ac813757bR76-R80 ...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -76,16 +76,14 @@ export function urlToUrlWithoutFlightMarker(url: string): URL {\n const urlWithoutFlightParameters = new URL(url, location.origin)\n urlWithoutFlightParameters.searchParams.delete(NEXT_RSC_UNION_QUERY)\n if (...
2023-07-17T09:29:24
golang/go
b95d332c7e876eb8de8e0df84894c934a3f5cbde
b2643c673970676065e4683bbbaa087db694bbc9
test: compile source files as if from "test" module This CL updates test/run.go to compile xxx.dir/x.go with a package path of "test/x" instead of just "x". This prevents collisions with standard library packages. It also requires updating a handful of tests to account for the updated package paths. Fixes #25693. C...
[ { "path": "test/fixedbugs/bug345.go", "patch": "@@ -1,10 +1,7 @@\n-// +build !windows\n-// errorcheckdir -n\n+// errorcheckdir\n \n // Copyright 2011 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 ...
2022-03-23T21:24:26
huggingface/transformers
be87564082c7d0fc1c6508652b4490ecc89ad9ff
2a5ba8b53d298ed8421e09831bf96bb6d056a24d
Add Youtu-LLM model (#43166) * add Youtu-LLM model * add testing indicators in model test * [Bug] qwen2_5_omni: cap generation length to be less than the max_position_embedding in DiT (#43068) * qwen2_5_omni: make max_mel_frames an inference-time knob * not fail with raising ValueError, instead make it continue to...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -769,6 +769,8 @@\n title: xLSTM\n - local: model_doc/yoso\n title: YOSO\n+ - local: model_doc/youtu\n+ title: Youtu-LLM\n - local: model_doc/zamba\n title: Zamba\n - local: model_doc/zamba2", "add...
2026-01-28T10:16:03
nodejs/node
f96f9fbe31f30d2effe3cd3a74c19a05360757a5
bfa2683eb63b0934e307b072072478ee0c7dbc8f
build: make --without-snapshot imply --without-node-snapshot PR-URL: https://github.com/nodejs/node/pull/29294 Fixes: https://github.com/nodejs/node/issues/29243 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By:...
[ { "path": "configure.py", "patch": "@@ -969,7 +969,8 @@ def configure_node(o):\n cross_compiling and want_snapshots)\n \n if not options.without_node_snapshot:\n- o['variables']['node_use_node_snapshot'] = b(not cross_compiling)\n+ o['variables']['node_use_node_snapshot'] = b(\n+ not cr...
2019-08-24T14:52:15
electron/electron
6f8893b42b3e8ef1c3a382336d8a15aad1b26a69
054446a8bfbfcbcbed793e4dd5a450052495b14d
fix typo
[ { "path": "docs-translations/zh-CN/api/app.md", "patch": "@@ -32,7 +32,7 @@ app.on('window-all-closed', function() {\n \n 当所有的窗口都被关闭时触发。\n \n-这个时间仅在应用还没有退出时才能触发。 如果用户按下了 `Cmd + Q`,\n+这个事件仅在应用还没有退出时才能触发。 如果用户按下了 `Cmd + Q`,\n 或者开发者调用了 `app.quit()` ,Electron 将会先尝试关闭所有的窗口再触发 `will-quit` 事件,\n 在这种情况下 `window-all...
2016-06-09T15:16:46
vercel/next.js
6b2aed12d70d0e745b8ab0a2ae7a23ac338b7f56
dc6c22c99117bb48beedc4eed402a57b21f03963
fix: forward NavigateOptions in adaptForAppRouterInstance (#52498) ### Fixing a bug ### What? App-router now supports the [`scroll`-option](https://github.com/vercel/next.js/pull/51869/files). Thank you for that! We're in the midst of migrating towards the app-router meaning that some pages use the `adaptFor...
[ { "path": "packages/next/src/shared/lib/router/adapters.test.tsx", "patch": "@@ -0,0 +1,65 @@\n+import { adaptForAppRouterInstance } from './adapters'\n+import { NextRouter } from './router'\n+\n+describe('adaptForAppRouterInstance', () => {\n+ beforeEach(() => jest.resetAllMocks())\n+\n+ const router = {...
2023-07-17T08:04:57
huggingface/transformers
2a5ba8b53d298ed8421e09831bf96bb6d056a24d
be0115e42fbf5d7ffe915e01b0cf9a68b29958c6
Fix tiles mixing for batched input, add tie_word_embeddings to LFM2VL config (#43379) * add tie_word_embeddings to lfm2vl config, fix tiles mixing when batched, add tests * revert modeling test, add new integration test, parametrize image processing test * update docstring
[ { "path": "src/transformers/models/lfm2_vl/configuration_lfm2_vl.py", "patch": "@@ -49,6 +49,8 @@ class Lfm2VlConfig(PreTrainedConfig):\n Whether to use layernorm in the multimodal projector.\n downsample_factor (`int`, *optional*, defaults to 2):\n The downsample_factor fact...
2026-01-28T09:32:04
golang/go
cccfb8ffdb97224aed5cc718d4bac3f3df9e55ed
0ed31eb73b13bd57aff727f4ab759c6701d45a01
cmd/link: do not add label symbols for DWARF on Windows/ARM64 Label symbols are only useful for relocations from text. No need to do it for DWARF. And the PE symbol table doesn't like them. May fix #51903. Change-Id: Ibe6ea880d8533ba1dcc017030072c7dffee0e9e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/395...
[ { "path": "src/cmd/link/internal/arm64/asm.go", "patch": "@@ -1146,7 +1146,8 @@ func gensymlate(ctxt *ld.Link, ldr *loader.Loader) {\n \t\tif !ldr.AttrReachable(s) {\n \t\t\tcontinue\n \t\t}\n-\t\tif ldr.SymType(s) == sym.STEXT {\n+\t\tt := ldr.SymType(s)\n+\t\tif t == sym.STEXT {\n \t\t\tif ctxt.IsDarwin()...
2022-03-23T22:57:16
nodejs/node
4662f67e3849d1e3d5127cc5ebc469d1febca57f
b2cce432f3ee91547e9a7c10560877d1d00229df
tools: fix Python 3 issues in inspector_protocol PR-URL: https://github.com/nodejs/node/pull/29296 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "tools/compress_json.py", "patch": "@@ -7,14 +7,16 @@\n \n try:\n xrange # Python 2\n+ PY2 = True\n except NameError:\n+ PY2 = False\n xrange = range # Python 3\n \n \n if __name__ == '__main__':\n- fp = open(sys.argv[1])\n- obj = json.load(fp)\n- text = json.dumps(obj, ...
2019-08-24T08:58:58
vercel/next.js
dc6c22c99117bb48beedc4eed402a57b21f03963
5964b289e1c500ad8a2e41776c3e2b777ea53aa8
Fix runtime edge not-found handling (#52754) This ensures we properly detect `not-found` as `runtime = 'edge'` and treat it as such instead of attempting to render it like normal. x-ref: https://github.com/vercel/next.js/issues/52648
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -2457,7 +2457,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n })\n }\n \n- private async renderErrorToResponseImpl(\n+ protected async renderErrorToResponseImpl(\n ctx: RequestContext,\n ...
2023-07-16T22:21:29
huggingface/transformers
be0115e42fbf5d7ffe915e01b0cf9a68b29958c6
3e27b84739c038639bb51ccb712fe362ad7d7250
fix: return labels instead of label in reduce_label method in BeitImageProcessorFast (#43527) * fix: return labels instead of label in reduce_label * test: add test for reduce_labels to check the correct number of masks after reduction
[ { "path": "src/transformers/models/beit/image_processing_beit_fast.py", "patch": "@@ -67,7 +67,7 @@ def reduce_label(self, labels: list[\"torch.Tensor\"]):\n label = torch.where(label == 254, torch.tensor(255, dtype=label.dtype), label)\n labels[idx] = label\n \n- return label...
2026-01-27T21:26:15
golang/go
0ed31eb73b13bd57aff727f4ab759c6701d45a01
9058080319e5e3b8edbde8c5e2406b11bac163ee
cmd/gofmt: return a proper error for empty Go files I was testing edge cases in gofumpt, a fork of gofmt, and noticed that gofmt will return a bare io error on empty files, as demonstrated by the added test case without a fix: > ! exec $GOROOT/bin/gofmt empty.go nopackage.go [stderr] EOF ...
[ { "path": "src/cmd/go/testdata/script/fmt_load_errors.txt", "patch": "@@ -16,6 +16,10 @@ stdout 'package x'\n exec $GOROOT/bin/gofmt gofmt-dir\n ! stdout 'package x'\n \n+! exec $GOROOT/bin/gofmt empty.go nopackage.go\n+stderr -count=1 'empty\\.go:1:1: expected .package., found .EOF.'\n+stderr -count=1 'nop...
2022-03-18T10:57:02
nodejs/node
5c9209bc4d9f5e7da78eb03824ad27add5324bc8
33ae95c58da835086e6f9581715208c2d6ecfd70
doc,errors: add extends to derived classes PR-URL: https://github.com/nodejs/node/pull/29303 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -10,8 +10,10 @@ lenient legacy mode.\n \n ## Class: assert.AssertionError\n \n-A subclass of `Error` that indicates the failure of an assertion. All errors\n-thrown by the `assert` module will be instances of the `AssertionError` class.\n+* Extends: {errors.Error}...
2019-08-25T01:35:50
electron/electron
c9e8c7f1b666b72d4cbdefc1121e6c758818df70
2ec5406ca69e596be30a9ce5523165b2880a09a0
fixed errors in text
[ { "path": "docs-translations/ru-RU/tutorial/quick-start.md", "patch": "@@ -1,11 +1,11 @@\n # Быстрый старт\n \n-Electron позволяет вам делать приложения для рабочего стола на чистом JavaScript,\n-предоставляя среду с богатым API. Можете представлять его как Node.js, который\n-ориентирован на рабочий стол, а...
2016-06-09T08:38:28
vercel/next.js
7ce663ed52a881ffb3fa38e50ff5d6e135293fbf
81dd7f8077ed6b066771440f7cbc15703a9f2732
feat(next-swc): try to fallback native bindings with MODULE_NOT_FOUND (#52667) ### What? closes WEB-1287. This PR is a stopgap workaround for https://github.com/npm/cli/issues/4828. There is ongoing discussion & RFC, but it is unclear when we can have those. Until then, PR tries to attempt to load native bindings ...
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -7,7 +7,7 @@ import * as Log from '../output/log'\n import { getParserOptions } from './options'\n import { eventSwcLoadFailure } from '../../telemetry/events/swc-load-failure'\n import { patchIncorrectLockfile } from '../../lib/patch-incorrect-...
2023-07-15T00:46:34
huggingface/transformers
3e27b84739c038639bb51ccb712fe362ad7d7250
df58b65b759bcaa11e3448cb5166f63fc6f57e1f
[`RoPE`] Make explicit inheritance (#43410) * initial attempt * style * last fixes * fixup wrong ones * round 2 * round 3 * fixup after merge
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -27,7 +27,6 @@\n from .dynamic_module_utils import custom_object_save\n from .generation.configuration_utils import GenerationConfig\n from .modeling_gguf_pytorch_utils import load_gguf_checkpoint\n-from .modeling_rope_utils import RotaryEmbe...
2026-01-27T18:22:14
golang/go
9058080319e5e3b8edbde8c5e2406b11bac163ee
209521c3e34820887c9d221f8f09d8f586c72419
cmd/compile: clarify help message for -L flag The file names reported in error messages by the compiler are printed unchanged from the file names provided to the compiler; the -L flag has no impact on the file names themselves, contrary to what the old flag description suggested. If an error is reported on a line tha...
[ { "path": "src/cmd/compile/internal/base/flag.go", "patch": "@@ -58,7 +58,7 @@ type CmdFlags struct {\n \tE CountFlag \"help:\\\"debug symbol export\\\"\"\n \tI func(string) \"help:\\\"add `directory` to import search path\\\"\"\n \tK CountFlag \"help:\\\"debug missing line numbers\\\"\"\n-\tL CountFl...
2022-03-23T20:29:43
nodejs/node
d770b8a931bd5a407e75d094829a42833d96f004
a9512bd000fcd23719cf3e66a2c74812585da28c
2019-08-26, Version 12.9.1 (Current) Notable changes: This release fixes two regressions in the http module: * Fixes an event listener leak in the HTTP client. This resulted in lots of warnings during npm/yarn installs. https://github.com/nodejs/node/pull/29245 * Fixes a regression preventing the `'end'` event f...
[ { "path": "CHANGELOG.md", "patch": "@@ -28,7 +28,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.9.0\">12.9.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.9.1\">12.9.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.9.0\"...
2019-08-26T10:00:40
huggingface/transformers
df58b65b759bcaa11e3448cb5166f63fc6f57e1f
c3d81076a06005fb3d56be96bd50c7c7c2e45d00
Fix for #43530 (#43535) * Mistake at the last moment, sorry! * Revert fix that shouldn't be here
[ { "path": "utils/fetch_hub_objects_for_ci.py", "patch": "@@ -71,10 +71,10 @@ def parse_hf_url(url):\n \n \n def validate_downloaded_content(filepath):\n- with open(filepath, \"r\") as f:\n+ with open(filepath, \"rb\") as f:\n header = f.read(32)\n \n- for bad_sig in [\"<!doctype\", \"<html\...
2026-01-27T17:20:43
vercel/next.js
81dd7f8077ed6b066771440f7cbc15703a9f2732
a28ae633e42fd19b8c902c02d2b7964dd968f292
chore: add "please simplify reproduction" comment (#52631) ### What? Adding a new label comment for "please simplify reproduction". ### Why? During triaging, a lot of time is gone into trying to isolate the actual bug being reported. Reproductions sometimes contain unrelated code - that sometimes can be the actual ...
[ { "path": ".eslintignore", "patch": "@@ -23,6 +23,7 @@ packages/react-dev-overlay/lib/**\n .github/actions/issue-validator/index.mjs\n .github/actions/issue-labeler/lib/index.js\n .github/actions/validate-docs-links/lib/index.js\n+.github/actions/issue-on-comment/index.js\n packages/next-codemod/transforms/...
2023-07-14T23:30:42
golang/go
d14c02a20ca6937d46e4bf67e328627b773786b1
999589e14829e8c69517efa58d903bb9a7588da3
test: remove obsolete test case that misuses -p bug302 compiles p.go with -p=p, and then manually creates a pp.a archive, and imports it as both "p" and "pp". This is a misuse of cmd/compile's -p flag, and it isn't representative of how any actual Go build systems work anyway. This test made sense back when cmd/compi...
[ { "path": "test/fixedbugs/bug302.dir/main.go", "patch": "@@ -1,11 +0,0 @@\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-// Check that the export information is correc...
2022-03-18T19:37:56
nodejs/node
6ab28486c3042bb1fec7f7714910def37c3a81ac
698a29420f92844478101ec1fccdc81b46954e2e
http: reset parser.incoming when server request is finished This resolves a memory leak for keep-alive connections and does not regress in the way that 779a05d5d1bfe2eeb05386f did by waiting for the incoming request to be finished before releasing the `parser.incoming` object. Refs: https://github.com/nodejs/node/pul...
[ { "path": "lib/_http_server.js", "patch": "@@ -611,13 +611,27 @@ function onParserExecuteCommon(server, socket, parser, state, ret, d) {\n }\n }\n \n+function clearIncoming(req) {\n+ req = req || this;\n+ const parser = req.socket && req.socket.parser;\n+ // Reset the .incoming property so that the req...
2019-08-24T18:42:11
electron/electron
a6f0fcf89f7b2b09df1884ab68495c0efe5f56bb
d5bb7d75256401393526c9a7b839ff1e4634567e
Fix typo in `atom::TaskbarHost::InitializeTaskbar()` `InitailizeTaskbar` -> `InitializeTaskbar`
[ { "path": "atom/browser/ui/win/taskbar_host.cc", "patch": "@@ -54,7 +54,7 @@ TaskbarHost::~TaskbarHost() {\n \n bool TaskbarHost::SetThumbarButtons(\n HWND window, const std::vector<ThumbarButton>& buttons) {\n- if (buttons.size() > kMaxButtonsCount || !InitailizeTaskbar())\n+ if (buttons.size() > kMa...
2016-06-09T05:21:21
huggingface/transformers
c3d81076a06005fb3d56be96bd50c7c7c2e45d00
00f886a9f435fa552bd2ab93f75c10685d1a9e67
Operation Green CI (#43530) * Fix dataset name * Mark plbart tokenizer tests as flaky * Claudemon, go!! * Update utils/fetch_hub_objects_for_ci.py Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co> * Less catch/reraise * Replace symlink with direct download --------- Co-authored-by: Cyril Vallez <cyril...
[ { "path": "tests/models/plbart/test_tokenization_plbart.py", "patch": "@@ -18,6 +18,7 @@\n from transformers import SPIECE_UNDERLINE, BatchEncoding, PLBartTokenizer, is_torch_available\n from transformers.testing_utils import (\n get_tests_dir,\n+ is_flaky,\n nested_simplify,\n require_senten...
2026-01-27T16:50:34
vercel/next.js
a28ae633e42fd19b8c902c02d2b7964dd968f292
c3ca17cf02cdd13555965db8196c2ce4c7bf192b
Support metadata exports for server components not-found (#52678) ### What? Support metadata exports for `not-found.js` conventions ### Why? We want to define metadata such as title or description basic properties for error pages, including 404 and 500 which referrs to `error.js` and `not-found.js` convention. See ...
[ { "path": "packages/next/src/client/on-recoverable-error.ts", "patch": "@@ -14,5 +14,6 @@ export default function onRecoverableError(err: any) {\n \n // Skip certain custom errors which are not expected to be reported on client\n if (err.digest === NEXT_DYNAMIC_NO_SSR_CODE) return\n+\n defaultOnRecove...
2023-07-14T22:33:47
golang/go
999589e14829e8c69517efa58d903bb9a7588da3
849e42f028d20821aa68d7d37aa2e1fc3abbebe3
test: use dot-relative imports where appropriate Currently, run.go's *dir tests allow "x.go" to be imported interchangeably as either "x" or "./x". This is generally fine, but can cause problems when "x" is the name of a standard library package (e.g., "fixedbugs/bug345.dir/io.go"). This CL is an automated rewrite to...
[ { "path": "test/closure5.dir/main.go", "patch": "@@ -6,7 +6,7 @@\n // that are expected to be inlined\n package main\n \n-import \"a\"\n+import \"./a\"\n \n func main() {\n \tif !a.G()()() {", "additions": 1, "deletions": 1, "language": "Go" }, { "path": "test/fixedbugs/bug222.dir/chanbu...
2022-03-23T22:09:31
huggingface/transformers
0dbb56e3e440a9c7a6743bfb556b51e187704eaa
a99a913e9520d5d263b50cf52f0ffa858def5bc8
Fix some MoE routers (#43445) * fix routers that returned the entire distribution of experts * add comment * fix broken phimoe rope * fix phimoe * hunyuan_v1_moe integration tests passing * revert logits and use eager
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -142,16 +142,17 @@ def _build_checkpoint_conversion_mapping():\n ),\n ],\n \"phimoe\": [\n+ WeightRenaming(\".block_sparse_moe.gate\", \".mlp.router\"),\n WeightConverter(\n so...
2026-01-27T13:33:11
electron/electron
4749e18fc0432e22062bec38f38c0d37fa150ee0
b91217f29e9a802ec7ff59c7ce8ca87706c2f672
fix spec and docs
[ { "path": "docs/api/session.md", "patch": "@@ -553,18 +553,16 @@ The `listener` will be called with `listener(details)` when an error occurs.\n Returns an instance of [protocol](protocol.md) module for this session.\n \n ```javascript\n-const electron = require('electron');\n-const app = electron.app;\n-con...
2016-06-09T05:08:45
nodejs/node
698a29420f92844478101ec1fccdc81b46954e2e
627bf59e8ddd9826720c45f430c2a2e489df6e66
stream: fix readable state `awaitDrain` increase in recursion PR-URL: https://github.com/nodejs/node/pull/27572 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/_stream_readable.js", "patch": "@@ -134,8 +134,10 @@ function ReadableState(options, stream, isDuplex) {\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n \n- // The number of writers that are awaiting a drain event in...
2019-08-26T09:00:06
vercel/next.js
c3ca17cf02cdd13555965db8196c2ce4c7bf192b
d10f105b74d4af6408ee7917498f38b257ba1f04
fix: add missing `<preload>` for `next/image` in App Router (#52425) - Depends on https://github.com/facebook/react/pull/27096 - Fixes #43134 - Closes NEXT-811 - Closes NEXT-846
[ { "path": "packages/next/src/client/image-component.tsx", "patch": "@@ -10,6 +10,7 @@ import React, {\n forwardRef,\n version,\n } from 'react'\n+import { preload } from 'react-dom'\n import Head from '../shared/lib/head'\n import { getImgProps } from '../shared/lib/get-img-props'\n import type {\n@@ -2...
2023-07-14T15:36:35
golang/go
810868c9f646ace10aa37ba5ded4b5d07bd28a19
489e4882ef0df15f208e41915cedc1ceb2cc75fd
cmd/compile: remove AllowsGoVersion checks in old typechecker types2 handles those checks instead. The only exception is noder.checkEmbed, since when types2 have not known about "//go:embed" pragma yet. Updates #51691 Change-Id: I74ded03536023fe838f23fa7421e04513f904f66 Reviewed-on: https://go-review.googlesource.c...
[ { "path": "src/cmd/compile/internal/typecheck/expr.go", "patch": "@@ -58,10 +58,6 @@ func tcShift(n, l, r ir.Node) (ir.Node, ir.Node, *types.Type) {\n \t\tbase.Errorf(\"invalid operation: %v (shift count type %v, must be integer)\", n, r.Type())\n \t\treturn l, r, nil\n \t}\n-\tif t.IsSigned() && !types.All...
2022-03-22T18:20:11
nodejs/node
9d21b0395cc248a0e5537a11cc84f61919eccca6
53816cce699d02fb28a49b258e1fbc474568bbf8
doc: fix nits in esm.md * ```mjs -> ```js as our linting of doc code fragments does not recognize this tag, IIRC. * Add semicolons to a code fragment. * Fix ASCII sorting in bottom references. PR-URL: https://github.com/nodejs/node/pull/29242 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Daniel Bev...
[ { "path": "doc/api/esm.md", "patch": "@@ -339,9 +339,9 @@ from `data:text/javascript,import \"./foo\";` will fail to resolve since there\n is no concept of relative resolution for `data:` URLs. An example of a `data:`\n URLs being used is:\n \n-```mjs\n-import 'data:text/javascript,console.log(\"hello!\");'...
2019-08-21T09:03:00
electron/electron
414183e0fd0e365e5f8e891cd6048f4dd1c86262
d5bb7d75256401393526c9a7b839ff1e4634567e
fix dereferencing null pointer
[ { "path": "atom/browser/atom_resource_dispatcher_host_delegate.cc", "patch": "@@ -31,10 +31,13 @@ void HandleExternalProtocolInUI(\n if (!web_contents)\n return;\n \n- GURL escaped_url(net::EscapeExternalHandlerValue(url.spec()));\n- auto callback = base::Bind(&OnOpenExternal, escaped_url);\n auto...
2016-06-08T12:34:03
huggingface/transformers
a99a913e9520d5d263b50cf52f0ffa858def5bc8
0780b0b8ce71f090b866324b2e16a3804f9cdca4
batched_mm is slow on cpu (#43438) * batched_mm is slow on cpu * comments and docs * Apply suggestion from @stevhliu Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Apply suggestion from @stevhliu Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/sour...
[ { "path": "docs/source/en/experts_interface.md", "patch": "@@ -19,13 +19,14 @@ All Mixture-of-Experts (MoE) implementations perform the same high-level computa\n \n The [`ExpertsInterface`] provides optimized experts backends. It decouples the experts implementation from the model code to simplify experimen...
2026-01-27T13:32:22
vercel/next.js
d10f105b74d4af6408ee7917498f38b257ba1f04
3763f4fbe1ae9750917a04ea8302ca8c150055f1
Fix icons metadata missing from layout (#52673) ### What This was an issue introduced in #52416 when we check the images and icons property while merging with static file conventions. Where we should check if the properties are present but we only checked if they value is falsy. So when you're using `icons` with arra...
[ { "path": "packages/next/src/lib/metadata/resolve-metadata.test.ts", "patch": "@@ -59,6 +59,130 @@ describe('accumulateMetadata', () => {\n })\n })\n \n+ describe('icon', () => {\n+ it('should resolve icons.icon correctly', async () => {\n+ // array icons\n+ expect(\n+ await accum...
2023-07-14T12:04:31
golang/go
7e0a1d340ffd71f239bddbd4686392a5a2c5906b
f9747b7f7315fa702a39b420b63977ca90e06e94
cmd/compile: remove reportTypeLoop reportTypeLoop used to be used to report invalid recursive types in old typechecker. However, types2 now reports this error, so this can be removed. Updates #51691 Change-Id: I5e73369dadafb0cc56e682668b32cbd1e1210f2f Reviewed-on: https://go-review.googlesource.com/c/go/+/394554 Tr...
[ { "path": "src/cmd/compile/internal/types/size.go", "patch": "@@ -5,8 +5,6 @@\n package types\n \n import (\n-\t\"bytes\"\n-\t\"fmt\"\n \t\"sort\"\n \n \t\"cmd/compile/internal/base\"\n@@ -239,94 +237,6 @@ func calcStructOffset(errtype *Type, t *Type, o int64, flag int) int64 {\n \treturn o\n }\n \n-// find...
2022-03-22T13:25:37
nodejs/node
f39ad8a91fe43a4bfc427915a5bf2b749f00c048
4e188b3c63f0488be03a1f723b9b50720c76fed4
http: fix event listener leak Fixes: https://github.com/nodejs/node/issues/29239 PR-URL: https://github.com/nodejs/node/pull/29245 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Matteo Collina <matteo.collin...
[ { "path": "lib/_http_client.js", "patch": "@@ -506,6 +506,7 @@ function socketOnData(d) {\n !statusIsInformational(parser.incoming.statusCode)) {\n socket.removeListener('data', socketOnData);\n socket.removeListener('end', socketOnEnd);\n+ socket.removeListener('drain', ondrain);\n ...
2019-08-21T13:12:48
rust-lang/rust
ba4235bc855fedcf33b3b10496efaae55170ed4e
ab68b0fb26485ab1fa6977b2d8b59cc8a171c4aa
fix: correct typo in attr_parsing_previously_accepted message key
[ { "path": "compiler/rustc_attr_parsing/messages.ftl", "patch": "@@ -146,12 +146,12 @@ attr_parsing_unused_duplicate =\n unused attribute\n .suggestion = remove this attribute\n .note = attribute also specified here\n- .warn = {-passes_previously_accepted}\n+ .warn = {-attr_parsing_previous...
2025-07-08T23:45:36
huggingface/transformers
0780b0b8ce71f090b866324b2e16a3804f9cdca4
4854dbf9da4086731256496cf4a8e4ea45d4d54e
fix: initialize BatchNorm2d buffers only when needed (#43520) Commit 8dd9c999a6262d6ceb48f4a2da7acaccfa80e3bc introduced a regression by unconditionally reinitializing BatchNorm2d buffers (running_mean, running_var, num_batches_tracked) in the _init_weights() method. The problem: When loading pretrained timm models, ...
[ { "path": "src/transformers/models/timm_backbone/modeling_timm_backbone.py", "patch": "@@ -117,10 +117,17 @@ def _init_weights(self, module):\n assume weights and persistent buffers will be part of checkpoint as we have no way to control timm inits)\"\"\"\n if hasattr(module, \"init_non_pers...
2026-01-27T13:28:23
vercel/next.js
b957f52be3987abe958254bc5fa27bf04ffbeb6d
79227ee74a09e17fb71658afe99e41d7ddb60adb
Fix per-entry client reference manifest for grouped and named segments (#52664) References for Client Components need to be aggregated to the page entry level, and emitted as files in the correct directory for the SSR server to read from. For normal routes (e.g. `app/foo/bar/page`), we can go through and collect all e...
[ { "path": "packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -155,6 +155,7 @@ export class ClientReferenceManifestPlugin {\n context: string\n ) {\n const manifestsPerGroup = new Map<string, ClientReferenceManifest[]>()\n+ const manifestEntryFiles: string[] = []\n...
2023-07-14T01:18:37
golang/go
f9747b7f7315fa702a39b420b63977ca90e06e94
dd211cf039d5a3b57d2188751eca49ad816ed395
go/types, types2: report struct type for literals with too few/many elements This change essentially matches the 1.17 compiler error message for this error. Fixes #51877. Change-Id: I24ec2f9cc93d8cd2283d097332a39bc1a0eed3a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/394914 Trust: Robert Griesemer <gri@go...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1429,7 +1429,7 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \t\t\t\t\t}\n \t\t\t\t\tcheck.expr(x, e)\n \t\t\t\t\tif i >= len(fields) {\n-\t\t\t\t\t\tcheck.error(x, \"too many values in struct literal\...
2022-03-23T04:28:32
nodejs/node
47ff44e08e3a7e7a734fcd87c0043e47589aa545
cb9212695507c552ae08cbfdbefd0055c708c307
doc: add emitClose option for fs streams PR-URL: https://github.com/nodejs/node/pull/29212 Fixes: https://github.com/nodejs/node/issues/29177 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivik...
[ { "path": "doc/api/fs.md", "patch": "@@ -1504,6 +1504,9 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);\n <!-- YAML\n added: v0.1.31\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/29212\n+ description: Enable `emitClose` option.\n - version: v1...
2019-08-22T05:13:56
vercel/next.js
79227ee74a09e17fb71658afe99e41d7ddb60adb
3cde104d642b1448d32d7fc18598300992affe39
Catch layout error in global-error (#52654) When there's a runtime error showing in root layout (server components), it should be able to catch by `global-error`. For server components, we caught it and gonna render the error fallback components (either not-found or error page), and the response status is `200`, and ...
[ { "path": "packages/next/src/lib/metadata/metadata.tsx", "patch": "@@ -25,11 +25,13 @@ export async function MetadataTree({\n pathname,\n searchParams,\n getDynamicParamFromSegment,\n+ appUsingSizeAdjust,\n }: {\n tree: LoaderTree\n pathname: string\n searchParams: { [key: string]: any }\n ge...
2023-07-14T00:43:40
huggingface/transformers
4854dbf9da4086731256496cf4a8e4ea45d4d54e
a1f63d55b9e3fc38e70a5d10df01b7a94f3cbd91
[GLM-OCR] GLM-OCR Support (#43391) * init * update missing MTP * update * update * update for headdim changed * rename * update for test * rename for test * format * Update configuration_glm_ocr.py * update init * formate * update config * update for doc * Update modular_glm_ocr.py * update for map * f...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1097,6 +1097,8 @@\n title: glm4v\n - local: model_doc/glm4v_moe\n title: glm4v_moe\n+ - local: model_doc/glm_ocr\n+ title: GlmOcr\n - local: model_doc/got_ocr2\n title: GOT-OCR2\n - local: model_doc/...
2026-01-27T12:22:33
golang/go
dd211cf039d5a3b57d2188751eca49ad816ed395
909a7a32138367abec92434872695fb65aa9b7d1
debug/gosym: skip non-real functions in LineToPC lookup The code iterates through the func table to find a function with a given file and line number. The code panics if it sees a non- real function (e.g. go.buildid), because its CU offset is -1, which causes an index-out-of-bounds error. The debug/gosym package recov...
[ { "path": "src/debug/gosym/pclntab.go", "patch": "@@ -627,6 +627,10 @@ func (t *LineTable) go12LineToPC(file string, line int) (pc uint64) {\n \t\tfiletab := f.pcfile()\n \t\tlinetab := f.pcln()\n \t\tif t.version == ver116 || t.version == ver118 {\n+\t\t\tif f.cuOffset() == ^uint32(0) {\n+\t\t\t\t// skip f...
2022-03-23T16:02:36
nodejs/node
cb9212695507c552ae08cbfdbefd0055c708c307
eeea3fb91b8dd177cf284a9cf7de0aec008c4e84
test: add `emitClose: true` tests for fs streams PR-URL: https://github.com/nodejs/node/pull/29212 Fixes: https://github.com/nodejs/node/issues/29177 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat...
[ { "path": "test/parallel/test-fs-stream-destroy-emit-error.js", "patch": "@@ -6,8 +6,31 @@ const fs = require('fs');\n const tmpdir = require('../common/tmpdir');\n tmpdir.refresh();\n \n-test(fs.createReadStream(__filename));\n-test(fs.createWriteStream(`${tmpdir.path}/dummy`));\n+{\n+ const stream = fs.c...
2019-08-22T05:01:38
rust-lang/rust
64456e07b8e8550376d5136600fb0c59178df6a0
4a6f6977f98026a9359a3b168b6d50045b1c07a8
tidy: add `auto:` prefix to --extra-checks syntax currently this just uses a very simple extension-based heirustic.
[ { "path": "src/bootstrap/src/core/config/flags.rs", "patch": "@@ -383,7 +383,10 @@ pub enum Subcommand {\n bless: bool,\n #[arg(long)]\n /// comma-separated list of other files types to check (accepts py, py:lint,\n- /// py:fmt, shell, shell:lint, cpp, cpp:fmt, spellcheck, spe...
2025-07-03T19:27:47
huggingface/transformers
a1f63d55b9e3fc38e70a5d10df01b7a94f3cbd91
2d5a6d03c8d1b9d796b6f5898c792e4cae7ba050
Fix loading of Qwen3 FP8 (#43494) * Fix loading of Qwen3 FP8 The Qwen3 MoE config was missing the mapping attribute for the num_expert_local config variable which made it impossible to load FP8 quantized models, due to the following exception: ``` Traceback (most recent call last): File ".../exps/train-qwen3-lora....
[ { "path": "src/transformers/models/qwen3_moe/configuration_qwen3_moe.py", "patch": "@@ -118,6 +118,10 @@ class Qwen3MoeConfig(PreTrainedConfig):\n model_type = \"qwen3_moe\"\n keys_to_ignore_at_inference = [\"past_key_values\"]\n \n+ attribute_map = {\n+ \"num_experts\": \"num_local_expert...
2026-01-27T09:56:23
vercel/next.js
88084e6b7a5e1cbf5445d1374bf6ca27e9058a0a
9313c51bc424aa29b683138ba09e519c2c16b550
Fix bundle path normalization for /index routes (#52650) We have some special bundle path handling logic for `/index` routes in `normalizePagePath`, which is missing in the new `AppBundlePathNormalizer`. This already broke `/index/page.js` in dev in the past, and now become noticeable in prod as well because of the...
[ { "path": "packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -16,6 +16,7 @@ import { getProxiedPluginState } from '../../build-context'\n \n import { nonNullable } from '../../../lib/non-nullable'\n import { WEBPACK_LAYERS } from '../../../lib/constants'\n+import { normalizePa...
2023-07-13T15:36:43
rust-lang/rust
910c78b75a3d2070c97ed48435f991bf564fd23b
eed37be4195be6903ff4d7381fb38eda38febcee
Revert "Re-enable fixpoint iteration for variance computation"
[ { "path": "src/tools/rust-analyzer/crates/hir-expand/src/name.rs", "patch": "@@ -179,10 +179,9 @@ impl Name {\n self.symbol.as_str()\n }\n \n- #[inline]\n pub fn display<'a>(\n &'a self,\n- db: &dyn salsa::Database,\n+ db: &dyn crate::db::ExpandDatabase,\n ed...
2025-07-08T20:41:22
nodejs/node
eeea3fb91b8dd177cf284a9cf7de0aec008c4e84
ceace1f96eb0862a2944bc38c2e897974169f622
fs: allow passing true to emitClose option Allow passing true for emitClose option for fs streams. Fixes: https://github.com/nodejs/node/issues/29177 PR-URL: https://github.com/nodejs/node/pull/29212 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ih...
[ { "path": "lib/internal/fs/streams.js", "patch": "@@ -61,7 +61,9 @@ function ReadStream(path, options) {\n options.highWaterMark = 64 * 1024;\n \n // For backwards compat do not emit close on destroy.\n- options.emitClose = false;\n+ if (options.emitClose === undefined) {\n+ options.emitClose = f...
2019-08-19T19:03:21
electron/electron
8e2ae9b9e73953ded7ae9233fe2adb6a194f9053
b2bea57eff03efe7b7fd267fd814058aa48abbf8
Fix location of code snippet in nativeImage docs The code snippet for `nativeImage.createFromPath` somehow ended up in the wrong section of the document, this PR moves it back where it belongs.
[ { "path": "docs/api/native-image.md", "patch": "@@ -103,6 +103,12 @@ Creates an empty `nativeImage` instance.\n \n Creates a new `nativeImage` instance from a file located at `path`.\n \n+```javascript\n+const nativeImage = require('electron').nativeImage;\n+\n+let image = nativeImage.createFromPath('/Users...
2016-06-08T16:34:45
huggingface/transformers
2d5a6d03c8d1b9d796b6f5898c792e4cae7ba050
461cfb14b847def4b8cbf0b039a544b820145699
fix `ShieldGemma2IntegrationTest::test_model` (#43343) fix pytest -rA tests/models/shieldgemma2/test_modeling_shieldgemma2.py::ShieldGemma2IntegrationTest::test_model crash Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
[ { "path": "src/transformers/models/shieldgemma2/modeling_shieldgemma2.py", "patch": "@@ -58,16 +58,16 @@ def __init__(self, config: ShieldGemma2Config):\n self.post_init()\n \n def get_input_embeddings(self):\n- return self.model.language_model.get_input_embeddings()\n+ return self...
2026-01-27T09:40:23
golang/go
1e34c00b4c84a32423042e3d03397277e6c3573c
fd1b5904ae7cc76eefd94d315f92265da5b81b14
go/types, types2: remove uses of "type list" and "operational type" (cleanup) Fixes #49193. Change-Id: Ief31ea6b3dddf9452efb94763c89b8639aa3ce9e Reviewed-on: https://go-review.googlesource.com/c/go/+/394656 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Find...
[ { "path": "src/cmd/compile/internal/types2/testdata/check/funcinference.go", "patch": "@@ -85,7 +85,7 @@ type Setter[B any] interface {\n func FromStrings[T interface{}, PT Setter[T]](s []string) []T {\n \tresult := make([]T, len(s))\n \tfor i, v := range s {\n-\t\t// The type of &result[i] is *T which is i...
2022-03-22T19:49:09
vercel/next.js
9313c51bc424aa29b683138ba09e519c2c16b550
76cb8cf361a90ba2d74c56c29937a17519376f1d
Ensure root layout only render once per request (#52589) Introduce a new way to search for `not-found` component that based on the request pathname and current loader tree of that route. And we search the proper not-found in the finall catch closure of app rendering, so that we don't have to pass down the root layo...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -108,7 +108,6 @@ type AppRouterProps = Omit<\n assetPrefix: string\n // Top level boundaries props\n notFound: React.ReactNode | undefined\n- notFoundStyles?: React.ReactNode | undefined\n asNotFound?: boolean\n }\n \n@@ -...
2023-07-13T15:34:31
rust-lang/rust
25eb3829e5661ab85067188ca9e6586c29aed6e9
49421d1fa382fba84792e5d5dd7721c1c3e0e46e
Error on moving unsized values rather than ICE'ing
[ { "path": "compiler/rustc_codegen_ssa/src/mir/mod.rs", "patch": "@@ -141,7 +141,12 @@ enum LocalRef<'tcx, V> {\n /// `UnsizedPlace(p)`: `p` itself is a thin pointer (indirect place).\n /// `*p` is the wide pointer that references the actual unsized place.\n ///\n- /// Rust has no alloca and t...
2025-07-08T20:37:12
huggingface/transformers
3cbf847153bb95e8949101d7eab32d70a99492a1
0189e042b8bd73573b95d7be7910f0ceab9c23f1
Prepare inputs for generation is called from `super()` (#43280) * tests if it works * more models * attn mask in mamba models is `None` * fix repo * nit: kwargs duplicated * fix repo and tests again * oops, skip the other ModelTest * Update tests/models/git/test_modeling_git.py Co-authored-by: Anton Vlasjuk <7...
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -1488,55 +1488,24 @@ def prepare_inputs_for_generation(\n ):\n # Overwritten -- has a unique cache type, `HybridMambaAttentionDynamicCache`\n \n- empty_past_kv = past_key_values is None\n-\n- # If we have cac...
2026-01-26T17:51:12
nodejs/node
ceace1f96eb0862a2944bc38c2e897974169f622
6726f567d7110c0e3f402babb6e0bbdfd2a97156
crypto: handle i2d_SSL_SESSION() error return i2d_SSL_SESSION() can return a value <= 0 when the session is malformed or otherwise invalid. Handle that case. This change comes without a regression test because I couldn't figure out a good way to generate an existing but invalid session in a timely fashion. Fixes: ht...
[ { "path": "src/node_crypto.cc", "patch": "@@ -2317,11 +2317,12 @@ void SSLWrap<Base>::GetSession(const FunctionCallbackInfo<Value>& args) {\n return;\n \n int slen = i2d_SSL_SESSION(sess, nullptr);\n- CHECK_GT(slen, 0);\n+ if (slen <= 0)\n+ return; // Invalid or malformed session.\n \n Allocat...
2019-08-20T12:10:42
golang/go
fd1b5904ae7cc76eefd94d315f92265da5b81b14
212bda066996d1ed06e738c8b408bb2b65896064
cmd/compile/internal/importer: key tparams by Package instead of pkgname The importer type param index used package name type parameter key, causing type parameters to be reused/overwritten if two packages in the import graph had the same combination of (name, declaration name, type parameter name). Fix this by inste...
[ { "path": "src/cmd/compile/internal/importer/iimport.go", "patch": "@@ -53,7 +53,7 @@ const (\n )\n \n type ident struct {\n-\tpkg string\n+\tpkg *types2.Package\n \tname string\n }\n \n@@ -402,7 +402,7 @@ func (r *importReader) obj(name string) {\n \t\tt := types2.NewTypeParam(tn, nil)\n \t\t// To handle...
2022-03-21T20:08:38
vercel/next.js
b89424e46171bfc3686f2d8085ec1070eb351bf3
82cf9a670e8346687872f613a73db3ad2cc47a7c
docs: Add missing closing tag for react hydration error message. (#52607)
[ { "path": "errors/react-hydration-error.mdx", "patch": "@@ -14,7 +14,7 @@ Hydration errors can occur from:\n \n 1. Incorrect nesting of HTML tags\n 1. `<p>` nested in another `<p>` tag\n- 2. `<div` nested in a `<p>` tag\n+ 2. `<div>` nested in a `<p>` tag\n 2. Using checks like `typeof window !== 'un...
2023-07-12T22:22:10
huggingface/transformers
9495ae2880d53dcb8e91cad5f618787c0cfc1c96
c4b4196ee206e560f77d07b628e5982240e83158
Add `pytest-random-order` for reproducible test randomization (#43483) * Add pytest-random-order for reproducible test randomization Uses bucket=module to randomize tests within files, compatible with --dist=loadfile. CI uses CIRCLE_BUILD_NUM as seed for reproducibility across parallel containers. Local runs use rand...
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -32,7 +32,7 @@\n \"DISABLE_SAFETENSORS_CONVERSION\": True,\n }\n # Disable the use of {\"s\": None} as the output is way too long, causing the navigation on CircleCI impractical\n-COMMON_PYTEST_OPTIONS = {\"max-worker-restart\": 0, \"vvv\": N...
2026-01-26T15:58:24
rust-lang/rust
96cdbb9ba77b9a840a1637e4dab05bb2cc64fef0
040e2f8b9ff2d76fbe2146d6003e297ed4532088
Win: Use exceptions with empty data for SEH panic exception copies instead of a new panic For unwinding with SEH, we currently construct a C++ exception with the panic data. Being a regular C++ exception, it interacts with the C++ exception handling machinery and can be retrieved via `std::current_exception`, which ne...
[ { "path": "library/panic_unwind/src/seh.rs", "patch": "@@ -61,6 +61,7 @@ struct Exception {\n // and its destructor is executed by the C++ runtime. When we take the Box\n // out of the exception, we need to leave the exception in a valid state\n // for its destructor to run without double-droppi...
2025-07-08T19:19:38
nodejs/node
6c5ca74c9313e52cd5bba351d558f75240eb3fd6
db3fdfbcb68bb83fab9c0f3c9cb282e41297fa70
test: fix 'timeout' typos I don't think so, Tim. PR-URL: https://github.com/nodejs/node/pull/29234 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasne...
[ { "path": "test/common/index.js", "patch": "@@ -401,7 +401,7 @@ function canCreateSymLink() {\n 'System32', 'whoami.exe');\n \n try {\n- const output = execSync(`${whoamiPath} /priv`, { timout: 1000 });\n+ const output = execSync(`${whoamiPath} /priv`, { timeou...
2019-08-20T21:24:39
huggingface/transformers
c4b4196ee206e560f77d07b628e5982240e83158
6301b5034d4e14043a543b3228860331eea773a6
Add missing GPURawMetrics.from_dict() method in benchmark_v2 (#43499) * GPURawMetrics.from_dict() missing * fix type hint
[ { "path": "benchmark_v2/framework/data_classes.py", "patch": "@@ -136,7 +136,7 @@ def to_dict(self, summarized: bool = False) -> dict[str, Any]:\n }\n \n @classmethod\n- def from_dict(cls, data: dict[str, None | int | float]) -> \"BenchmarkResult\":\n+ def from_dict(cls, data: dict[str, An...
2026-01-26T15:52:58
golang/go
946167906ed8646c433c257b074a10e01f0a7dab
817d6ea2b3dd08d3594341ca5ab7932c102694ad
runtime: make static/dynamic startup detection work with musl on ppc64le The glibc loader explicitly sets the first doubleword on the stack (R1) to $0 to indicate it was dynamically loaded. An ELFv2 ABI compliant loader will set R3/R4 to argc/argv when starting the process, and R13 to TLS. musl is not compliant. Inst...
[ { "path": "src/runtime/rt0_linux_ppc64le.s", "patch": "@@ -147,25 +147,35 @@ TEXT _main<>(SB),NOSPLIT,$-8\n \t// In a statically linked binary, the stack contains argc,\n \t// argv as argc string pointers followed by a NULL, envv as a\n \t// sequence of string pointers followed by a NULL, and auxv.\n-\t// T...
2022-03-22T16:52:02
vercel/next.js
82cf9a670e8346687872f613a73db3ad2cc47a7c
e1baffcec2cab3afd6efed69dfa3939275f6276f
docs: move MUI to supported list (#52584) fixes #52575 --------- Co-authored-by: Lee Robinson <me@leerob.io> Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com> Co-authored-by: Steven <steven@ceriously.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.g...
[ { "path": "docs/02-app/01-building-your-application/04-styling/03-css-in-js.mdx", "patch": "@@ -14,6 +14,7 @@ description: Use CSS-in-JS libraries with Next.js\n The following libraries are supported in Client Components in the `app` directory (alphabetical):\n \n - [`kuma-ui`](https://kuma-ui.com)\n+- [`@m...
2023-07-12T19:50:20
nodejs/node
775048d54c6f190cbc8c0b55c0b53d2ba9d4d028
6afd1a3dc183eb0edfde878df7a655cc58caece4
buffer: correct concat() error message PR-URL: https://github.com/nodejs/node/pull/29198 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/buffer.js", "patch": "@@ -525,7 +525,7 @@ Buffer.concat = function concat(list, length) {\n // TODO(BridgeAR): This should not be of type ERR_INVALID_ARG_TYPE.\n // Instead, find the proper error code for this.\n throw new ERR_INVALID_ARG_TYPE(\n- `list[${i}]`, ['Arra...
2019-08-19T03:24:49
electron/electron
ece468681f8e8b2f5cd715f3ae2ac17a1af60537
7e5f9fef52469e832c39311f8226f106b24648a6
fix outside link
[ { "path": "docs-translations/zh-CN/tutorial/quick-start.md", "patch": "@@ -19,7 +19,7 @@ Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造\n \n 由于在页面里管理原生 GUI 资源是非常危险而且容易造成资源泄露,所以在页面调用 GUI 相关的 APIs 是不被允许的。如果你想在网页里使用 GUI 操作,其对应的渲染进程必须与主进程进行通讯,请求主进程进行相关的 GUI 操作。\n \n-在 Electron,我们提供几种方法用于主进程和渲染进程之间的通讯。像 `[ipcRende...
2016-06-07T09:57:45
golang/go
e8534640557939755917edc3e6afc16d93b2e70b
63ea27e9e02e9ddf5845a32082013e7344134fd7
cmd/compile, cmd/link: produce unlinkable object when compile without -p CL 391014 requires the compiler to be invoked with the -p flag, to specify the package path. People are used to run "go tool compile" from the command line with the -p flag. This is mostly for simple testing, or debugging the compiler. The produc...
[ { "path": "src/cmd/compile/internal/base/flag.go", "patch": "@@ -16,6 +16,7 @@ import (\n \t\"runtime\"\n \t\"strings\"\n \n+\t\"cmd/internal/obj\"\n \t\"cmd/internal/objabi\"\n \t\"cmd/internal/sys\"\n )\n@@ -202,7 +203,7 @@ func ParseFlags() {\n \t}\n \n \tif *Flag.LowerP == \"\" {\n-\t\tlog.Fatalf(\"-p i...
2022-03-21T17:45:50
vercel/next.js
bb0fecc68f998f8df59a759dc86db563d49583d1
f321864c5e42a8dac74540ccf05997d6a53d8a57
Move App Pages rendering into bundle (#52290) Transitions the App Pages renderer into the entrypoint bundle. - Adjusts the static path detection to handle route module's with App Pages - Fixes bug in font manifest loading on Edge
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -14,13 +14,13 @@ import type {\n EdgeFunctionDefinition,\n MiddlewareManifest,\n } from './webpack/plugins/middleware-plugin'\n-import type { AppRouteUserlandModule } from '../server/future/route-modules/app-route/module'\n import type { StaticG...
2023-07-12T18:28:06
nodejs/node
6afd1a3dc183eb0edfde878df7a655cc58caece4
f0c8898fb5e8b133001bbea42f1288805d4d4802
tools: fix mixup with bytes.decode() and str.encode() We want to read a bytes file and decode the contents as utf-8 so we can compare against a utf-8 pattern. PR-URL: https://github.com/nodejs/node/pull/29208 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Mi...
[ { "path": "tools/v8_gypfiles/GN-scraper.py", "patch": "@@ -7,8 +7,8 @@\n def DoMain(args):\n gn_filename, pattern = args\n src_root = os.path.dirname(gn_filename)\n- with open(gn_filename, 'r') as gn_file:\n- gn_content = gn_file.read().encode('utf-8')\n+ with open(gn_filename, 'rb') as gn_file:\n+...
2019-08-19T17:24:22
electron/electron
b444211d6f96cf9738f5097bd6deb86790de2544
d3d2ca9a31f03c6e0d60f7284fc885f9529c3e10
Fix title of frameless window showing as empty under fullscreen
[ { "path": "atom/browser/native_window_mac.h", "patch": "@@ -139,6 +139,9 @@ class NativeWindowMac : public NativeWindow {\n // The presentation options before entering kiosk mode.\n NSApplicationPresentationOptions kiosk_options_;\n \n+ // The window title, for frameless windows we only set title when ...
2016-06-07T08:26:26
golang/go
eca0d44cec58951fb716e540dcc21c0f527686d5
96567fb3ccdc8d8c052606112db7b39abd725b59
net/http: fix nil body causing ParseMultipartForm to panic ParseMultipartForm relies on a valid multipartReader, if the request body is nil, the multipartReader should return an error. This way ParseMultipartForm can return an error instead of causing mr.ReadForm(maxMemory) to panic Fixes #48206 Change-Id: Ief906f23...
[ { "path": "src/net/http/request.go", "patch": "@@ -480,6 +480,9 @@ func (r *Request) multipartReader(allowMixed bool) (*multipart.Reader, error) {\n \tif v == \"\" {\n \t\treturn nil, ErrNotMultipart\n \t}\n+\tif r.Body == nil {\n+\t\treturn nil, errors.New(\"missing form body\")\n+\t}\n \td, params, err :=...
2022-02-09T12:20:06
vercel/next.js
f321864c5e42a8dac74540ccf05997d6a53d8a57
967c501c7b3a9f6d505593cd9310d7782fd07ef6
docs: Fix typo in generate-static-params.mdx (#52595)
[ { "path": "docs/02-app/02-api-reference/04-functions/generate-static-params.mdx", "patch": "@@ -99,9 +99,9 @@ export function generateStaticParams() {\n \n // Three versions of this page will be statically generated\n // using the `params` returned by `generateStaticParams`\n-// - /product/a/1\n-// - /produ...
2023-07-12T17:11:16
nodejs/node
d937b029a99064514965def31ef226dc959e1597
99f80604ad1dc9bfeb2b0b7bb77f51c06cd919db
tools: fix Python 3 issues in tools/icu/icutrim.py PR-URL: https://github.com/nodejs/node/pull/29213 Reviewed-By: Steven R Loomis <srloomis@us.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
[ { "path": "tools/icu/icutrim.py", "patch": "@@ -163,17 +163,15 @@ def runcmd(tool, cmd, doContinue=False):\n config=json.load(fi)\n fi.close()\n \n-if (options.locales):\n- if not config.has_key(\"variables\"):\n- config[\"variables\"] = {}\n- if not config[\"variables\"].has_key(\"locales\"):\n- co...
2019-08-19T20:03:06
huggingface/transformers
60b9abc8a7c7f92230390c88fafb2c119f931d36
3abe00a942ef74eb74f7a4cb44f3911cd78cf254
Fix failing `markuplm` & `perception_lm` integration tests (#43464) * Fix failing markuplm, perception_lm integration tests * Remove breakpoint * revert_perception_lm fix
[ { "path": "tests/models/markuplm/test_modeling_markuplm.py", "patch": "@@ -368,7 +368,7 @@ def default_processor(self):\n \n @slow\n def test_forward_pass_no_head(self):\n- model = MarkupLMModel.from_pretrained(\"microsoft/markuplm-base\").to(torch_device)\n+ model = MarkupLMModel.from...
2026-01-26T15:00:33
golang/go
a8f019e956db40e9846e635a622489e356cb3c63
86c8075675ed74c1f404894242c26b99800f1639
cmd/link: add DT_NEEDED for all 64-bit ELF dynimplib Also change the relevant test to be tested on the linux-arm64 platform as well. Fixes #49789 Change-Id: Id2eac7a45279f037957442862f8ed63838b8e929 Reviewed-on: https://go-review.googlesource.com/c/go/+/366855 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: C...
[ { "path": "AUTHORS", "patch": "@@ -570,6 +570,7 @@ Hootsuite Inc.\n Hsin-Ho Yeh <yhh92u@gmail.com>\n Hu Keping <hukeping@huawei.com>\n Hugues Bruant <hugues.bruant@gmail.com>\n+HyperConnect Inc.\n Ian Gudger <ian@loosescre.ws>\n Ian Kent <iankent85@gmail.com>\n IBM", "additions": 1, "deletions": 0, ...
2021-11-25T11:40:21
vercel/next.js
967c501c7b3a9f6d505593cd9310d7782fd07ef6
22cb1bf0279ddfc1c584bb38335d699a5e959c1f
docs: fix typo in CSS Modules Description (#52599) ## Description Remove unnecessary type in the JSX file. Additionally, this change helps maintain consistency with the examples below ## References [CSS Modules Description page link](https://nextjs.org/docs/app/building-your-application/styling/css-modules)
[ { "path": "docs/02-app/01-building-your-application/04-styling/01-css-modules.mdx", "patch": "@@ -40,11 +40,7 @@ export default function DashboardLayout({\n ```jsx filename=\"app/dashboard/layout.js\" switcher\n import styles from './styles.module.css'\n \n-export default function DashboardLayout({\n- chil...
2023-07-12T16:59:49
huggingface/transformers
3abe00a942ef74eb74f7a4cb44f3911cd78cf254
760946c7fa417f9c2eda74416b67ff5999b34bc1
fix(Phi4Multimodal): Fix incorrect default vision/audio config initialization in Phi4MultimodalConfig (#43480) * fix(config): Ensure default instantiation of vision and audio configurations in Phi4MultimodalConfig * fix(config): Ensure default instantiation of audio configuration in Phi4MultimodalConfig
[ { "path": "src/transformers/models/phi4_multimodal/configuration_phi4_multimodal.py", "patch": "@@ -376,12 +376,12 @@ def __init__(\n if isinstance(vision_config, dict):\n vision_config = Phi4MultimodalVisionConfig(**vision_config)\n elif vision_config is None:\n- Phi4...
2026-01-26T13:47:32
nodejs/node
99f80604ad1dc9bfeb2b0b7bb77f51c06cd919db
f70261fb3089b8acf5f68584ef0285a1c11f54fd
tools: fix Python 3 issues in gyp/generator/make.py PR-URL: https://github.com/nodejs/node/pull/29214 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tr...
[ { "path": "tools/gyp/pylib/gyp/generator/make.py", "patch": "@@ -929,7 +929,7 @@ def WriteActions(self, actions, extra_sources, extra_outputs,\n '%s%s'\n % (name, cd_action, command))\n self.WriteLn()\n- outputs = map(self.Absolutify, outputs)\n+ outputs...
2019-08-19T21:47:55
electron/electron
32b692b60c36dbfe145d649417ca6939af79187a
438cab1f562a80c3a658007421e7a0903b3b42b4
Fix NativeWindow::Focus not moving focus to window Chromium's implementation is somehow not working as expected, the new implementation follows the behavior of wmctrl.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -89,6 +89,21 @@ bool IsAltModifier(const content::NativeWebKeyboardEvent& event) {\n (modifiers == (Modifiers::AltKey | Modifiers::IsRight));\n }\n \n+#if defined(USE_X11)\n+int SendClientEvent(XDisplay* display, ::Window window, const c...
2016-06-06T07:53:32