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 | acae07ab94aa3c247e3c0185de91508893ad7c67 | 2f7747c39092fd931c85fe5f9f2da06456455aa4 | Fix reference to yelp dataset (#42349) | [
{
"path": "docs/source/ar/training.md",
"patch": "@@ -12,7 +12,7 @@\n \n قبل أن تتمكن من ضبط نموذج مُدرب مسبقًا، قم بتنزيل مجموعة بيانات وإعدادها للتدريب. أظهر البرنامج التعليمي السابق كيفية معالجة البيانات للتدريب، والآن لديك الفرصة لاختبار تلك المهارات!\n \n-ابدأ بتحميل مجموعة بيانات [Yelp Reviews](https:... | 2025-11-24T14:26:29 |
nodejs/node | d2cabee64c60a7d6e2023dfb60c26cb66dc2eaa4 | 78f2bb1c82f13102a0e9b46d9008a5c66dd1215f | tls: set tlsSocket.servername as early as possible
This commit makes `TLSSocket` set the `servername` property on
`SSL_CTX_set_tlsext_servername_callback` so that we could get it
later even if errors happen.
Fixes: https://github.com/nodejs/node/issues/27699
PR-URL: https://github.com/nodejs/node/pull/27759
Reviewed... | [
{
"path": "lib/_tls_wrap.js",
"patch": "@@ -774,7 +774,10 @@ TLSSocket.prototype._finishInit = function() {\n return;\n \n this.alpnProtocol = this._handle.getALPNNegotiatedProtocol();\n- this.servername = this._handle.getServername();\n+ // The servername could be set by TLSWrap::SelectSNIContextCa... | 2019-05-17T13:19:40 |
rust-lang/rust | 3ed1c87ec159c0b993b45c8f3cfc8c1fe7552e84 | f7321becd23a07f83fee52b8b244367270290530 | rustdoc: fix attrs of locally reexported foreign items | [
{
"path": "src/librustdoc/clean/mod.rs",
"patch": "@@ -66,8 +66,8 @@ use crate::visit_ast::Module as DocModule;\n pub(crate) fn clean_doc_module<'tcx>(doc: &DocModule<'tcx>, cx: &mut DocContext<'tcx>) -> Item {\n let mut items: Vec<Item> = vec![];\n let mut inserted = FxHashSet::default();\n- ite... | 2025-05-31T19:45:57 |
vercel/next.js | 592f592b0742527a9e9ca4c994f91fe26604226b | 3870abf0497b478e14cf4a5412f628b81f1e702c | Fix SWC loader options for files outside of RSC layers (#50341)
The React Server Component transform of SWC shouldn't be enabled for
files that are not part of "app layers", for example middleware. | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -847,8 +847,8 @@ export default async function getBaseWebpackConfig(\n rootDir: dir,\n pagesDir,\n appDir,\n- hasServerComponents,\n hasReactRefresh: dev && isClient,\n+ hasServerComponents: tru... | 2023-05-25T17:49:26 |
huggingface/transformers | 2f7747c39092fd931c85fe5f9f2da06456455aa4 | 1ae3e5bb3a401036d2a36c30e7437279d7e24f7c | Fix tied weight for Bart (for BC) (#42355)
* fix
* fix
* break copied from
* fix copied from | [
{
"path": "src/transformers/models/bart/modeling_bart.py",
"patch": "@@ -897,6 +897,21 @@ def __init__(self, config: BartConfig):\n # Initialize weights and apply final processing\n self.post_init()\n \n+ def tie_weights(self, missing_keys: Optional[set[str]] = None, recompute_mapping: bo... | 2025-11-24T14:14:11 |
golang/go | 6891d07ee6a34f1c8d0326f3f7dd941bddf524f1 | 3ff12a019f00bc81996c453e5cb4729a9278f65a | database/sql: consolidate test polling loops
Also eliminate some arbitrary deadlines and sleeps.
Fixes #49958
Change-Id: I999b39a896e430e3bb93aa8b8c9444f28bbaa9d0
Reviewed-on: https://go-review.googlesource.com/c/go/+/378395
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-... | [
{
"path": "src/database/sql/sql_test.go",
"patch": "@@ -55,6 +55,10 @@ func init() {\n \t}\n }\n \n+// pollDuration is an arbitrary interval to wait between checks when polling for\n+// a condition to occur.\n+const pollDuration = 5 * time.Millisecond\n+\n const fakeDBName = \"foo\"\n \n var chrisBirthday =... | 2022-01-13T18:57:47 |
nodejs/node | 8a282dc93a7edf998007702dd44bf1059eef1678 | f2fe1e5a78d6decf04536764c8c4cf3f6c5f8dd7 | 2019-05-22, Version v12.3.1 (Current)
Notable changes
* deps:
* Fix handling of +0/-0 when constant field tracking is enabled
(Michaël Zasso) https://github.com/nodejs/node/pull/27792
* Fix `os.freemem()` and `os.totalmem` correctness (cjihrig)
https://github.com/nodejs/node/pull/27718
* src:
* Fix v12.... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -29,7 +29,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.3.0\">12.3.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.3.1\">12.3.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.3.0\"... | 2019-05-22T08:48:30 |
huggingface/transformers | 1ae3e5bb3a401036d2a36c30e7437279d7e24f7c | af6a36a34af2f463ad2be13987d3ddd9c0753887 | Fix typo - indentation in JSON dump example (#42332)
Fix indentation in JSON dump example | [
{
"path": "docs/source/en/tasks/semantic_segmentation.md",
"patch": "@@ -308,7 +308,7 @@ You could also create and use your own dataset if you prefer to train with the [\n # simple example\n id2label = {0: 'cat', 1: 'dog'}\n with open('id2label.json', 'w') as fp:\n- json.dump(id2label, fp... | 2025-11-24T14:07:48 |
electron/electron | 0c92d440772ea36a521bfb8fb11d436b8f396c73 | 3f4455a79dabe622100e974ef38e8dfab6db4ef2 | Fix typos in comments. | [
{
"path": "atom/browser/api/lib/menu.js",
"patch": "@@ -7,7 +7,7 @@ const bindings = process.atomBinding('menu');\n // Automatically generated radio menu item's group id.\n var nextGroupId = 0;\n \n-// Search between seperators to find a radio menu item and return its group id,\n+// Search between separator... | 2016-03-08T04:22:03 |
vercel/next.js | 25ce787d76efea6b2de0f827e5b201330f706418 | 8725b6c376703e70b7b7deb0773d4a3bfa1446fe | Fix missing error when using Actions on the client layer without enabling the feature flag (#50257)
If using Server Actions on the client layer without enabling the
`serverActions` feature, the build should error. Add a test case to
ensure #50199 works. | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -390,14 +390,15 @@ export function getDefineEnv({\n }\n }\n \n-function createReactAliases(\n+function createRSCAliases(\n bundledReactChannel: string,\n opts: {\n reactSharedSubset: boolean\n reactDomServerRenderingStub: bool... | 2023-05-25T12:22:27 |
golang/go | 3ff12a019f00bc81996c453e5cb4729a9278f65a | ce01afe907f7f37b465bda529a339a7a8b98c59e | cmd/go: run go install in workspace mode
It's too confusing to users to run go install in module mode, so run
it in workspace mode instead.
Fixes #50036
Change-Id: Ia99927bd98f54be4c42224a247543892045e3464
Reviewed-on: https://go-review.googlesource.com/c/go/+/377334
Reviewed-by: Bryan Mills <bcmills@google.com>
Tru... | [
{
"path": "src/cmd/go/internal/work/build.go",
"patch": "@@ -617,6 +617,7 @@ func runInstall(ctx context.Context, cmd *base.Command, args []string) {\n \t\t}\n \t}\n \n+\tmodload.InitWorkfile()\n \tBuildInit()\n \tpkgs := load.PackagesAndErrors(ctx, load.PackageOpts{}, args)\n \tif cfg.ModulesEnabled && !mo... | 2022-01-10T17:58:20 |
huggingface/transformers | af6a36a34af2f463ad2be13987d3ddd9c0753887 | 6940b44d8d10345d32fb4593df6748f1c47e700d | [loading] Re-add and improve disk offloading support (#42242)
* unskip tests
* first shot
* offload in safetensors format
* remove hard-coded value
* update error
* typo
* fix
* update test
* fix
* return it
* post rebase
* improve var names
* improve names
* fix finally
* comment
* fix tests
* fix
* ... | [
{
"path": "src/transformers/core_model_loading.py",
"patch": "@@ -28,6 +28,7 @@\n \n import torch\n \n+from .integrations.accelerate import offload_weight\n from .integrations.tensor_parallel import ALL_PARALLEL_STYLES, DTensor, Replicate, TensorParallelLayer\n from .utils import is_torch_greater_or_equal, ... | 2025-11-24T13:53:53 |
nodejs/node | f2fe1e5a78d6decf04536764c8c4cf3f6c5f8dd7 | c3f72510c8f629ed2178b50bb2860efc3feb9249 | deps: V8: cherry-pick 94c87fe
Original commit message:
[ic] Fix handling of +0/-0 when constant field tracking is enabled
... and ensure that runtime behaviour is in sync with the IC code.
Bug: chromium:950747, v8:9113
Change-Id: Ied66c9514cbe3a4d75fc71d4fc3b19ea1538f9b2
Reviewed-on: https://chr... | [
{
"path": "common.gypi",
"patch": "@@ -38,7 +38,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.17',\n+ 'v8_embedder_string': '-node.18',\n \n ##### V8 defaults for Node.js #####\n... | 2019-05-21T06:21:34 |
vercel/next.js | 8725b6c376703e70b7b7deb0773d4a3bfa1446fe | 46369f574665bc2616f2220f7146c9644c4f61dc | Add missing react-dom/client alias (#50324)
Fixes #50312
fix NEXT-1235 | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -402,6 +402,7 @@ function createReactAliases(\n 'react-dom$': `next/dist/compiled/react-dom${bundledReactChannel}`,\n 'react/jsx-runtime$': `next/dist/compiled/react${bundledReactChannel}/jsx-runtime`,\n 'react/jsx-dev-runtime$'... | 2023-05-25T12:10:02 |
golang/go | ce01afe907f7f37b465bda529a339a7a8b98c59e | 4fa6e33f30365a8bca374ab8bd47acd82b9faa96 | cmd/go: reset modfetch state between modules in go work sync
go work sync resets the state in the modload package before each
iteration where it updates the workspace modules' go.mod files. But
before this change it wasn't resetting the global state in the modfetch
package. This is necessary because the modfetch packa... | [
{
"path": "src/cmd/go/internal/modfetch/fetch.go",
"patch": "@@ -405,6 +405,28 @@ type modSumStatus struct {\n \tused, dirty bool\n }\n \n+// Reset resets globals in the modfetch package, so previous loads don't affect\n+// contents of go.sum files\n+func Reset() {\n+\tGoSumFile = \"\"\n+\tWorkspaceGoSumFil... | 2022-01-07T21:52:53 |
huggingface/transformers | 6940b44d8d10345d32fb4593df6748f1c47e700d | 00ab75e65c051effc8f75d03654d6f9ce9658fa4 | Auto convert tekken.json (#42299)
* auto convert tekken.json
* fix conversion
* simplify
* nit
* model info based on the fly fix
* up
* last nit
* fixup
* call it fix mistral regex
* fix behaviour for local or only tok is saved
* style
* rm comment at wrong palce
* fix escaping
* style
* fix backend toke... | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -19,11 +19,13 @@\n \"\"\"\n \n import warnings\n+from functools import lru_cache\n from typing import Optional\n \n from packaging import version\n from tokenizers import AddedToken, Regex, Tokenizer, decoders, normalizers, pre_tokenizers,... | 2025-11-24T12:16:52 |
nodejs/node | 47c5c3da862e7107cdf2ca4a31a4ae70be2d85a7 | b046bd193573faf89ac088076b223d5535fb4876 | src: remove util-inl.h include in node.h
`node.h` may only include public APIs, which `util-inl.h` is not.
There does not seem to be any reason for including it, so remove it,
because otherwise native addon compilation is broken due to us not
shipping the `util-inl.h` header.
Refs: https://github.com/nodejs/node/pull... | [
{
"path": "src/node.h",
"patch": "@@ -103,14 +103,6 @@\n # endif\n #endif\n \n-#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS\n-// Internally, do not include util-inl.h into files unless they need it's\n-// inline definitions.\n-#else\n-// Externally, it must be included for backwards API compatibi... | 2019-05-21T19:46:19 |
huggingface/transformers | 00ab75e65c051effc8f75d03654d6f9ce9658fa4 | 3410ba9bab09ca6dadc130ab29fabfaba8baa131 | fix(benchmarks): correct sdpa_backend inconsistency and attn_implementation for continuous batching (#42339)
This commit fixes two bugs in BenchmarkConfig reported in issue #42211:
1. **sdpa_backend inconsistency (line 105)**: The warning message states
"sdpa_backend must be None" but the code was setting it to "m... | [
{
"path": "benchmark_v2/framework/benchmark_config.py",
"patch": "@@ -102,7 +102,7 @@ def check_validity(self, skip_validity_check: bool = False) -> None:\n logger.warning(\n \"when continuous batching is enabled, sdpa_backend must be None because of the attention mask, s... | 2025-11-24T11:12:33 |
vercel/next.js | 3c675834051c63f06c75bb8cc2ccd8b85b271a29 | 831a1a99c3da8259871635dfcdf1fe538cee7d55 | Fix middleware e2e deploy test (#50317)
`default` isn't a valid `region` at this point so this removes that.
Fixes:
https://github.com/vercel/next.js/actions/runs/5076047750/jobs/9118043860#step:6:469 | [
{
"path": "test/e2e/middleware-general/app/pages/api/edge-search-params.js",
"patch": "@@ -1,6 +1,6 @@\n import { NextResponse } from 'next/server'\n \n-export const config = { runtime: 'edge', regions: 'default' }\n+export const config = { runtime: 'edge', regions: 'auto' }\n \n /**\n * @param {import('ne... | 2023-05-25T06:50:06 |
golang/go | 4fa6e33f30365a8bca374ab8bd47acd82b9faa96 | 24239120bfbff9ebee8e8c344d9d3a8ce460b686 | all: add a handful of fuzz targets
Adds simple fuzz targets to archive/tar, archive/zip, compress/gzip,
encoding/json, image/jpeg, image/gif, and image/png.
Second attempt, this time we don't use the archives in testdata when
fuzzing archive/tar, since those are rather memory intensive, and
were crashing a number of ... | [
{
"path": "src/archive/tar/fuzz_test.go",
"patch": "@@ -0,0 +1,80 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package tar\n+\n+import (\n+\t\"bytes\"\n+\t\"io\"\n+\t\"testing\"\n+... | 2021-08-25T20:50:24 |
huggingface/transformers | 3410ba9bab09ca6dadc130ab29fabfaba8baa131 | f7e964e5686a091e801195eb99b835b7a0f17b9e | Gemma3 hybrid fix (#42287)
* Fix gemma3 on H100
* Partial fixes for Mi325
* First half of A10 fix
* Final A10 fix | [
{
"path": "tests/models/gemma3/test_modeling_gemma3.py",
"patch": "@@ -134,7 +134,6 @@ def test_generation_beyond_sliding_window_tiny_model(self):\n max_new_tokens=1,\n do_sample=False,\n use_cache=True,\n- cache_implementation=\"hybrid\",\n ... | 2025-11-24T10:23:48 |
nodejs/node | b046bd193573faf89ac088076b223d5535fb4876 | 9fec70a703c71c0b5d22fe5f3fbf22daf1e43565 | src, lib: take control of prepareStackTrace
Refs https://crbug.com/v8/7848
PR-URL: https://github.com/nodejs/node/pull/23926
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "lib/internal/bootstrap/node.js",
"patch": "@@ -35,6 +35,8 @@\n // passed by node::RunBootstrapping()\n /* global process, require, internalBinding, isMainThread, ownsProcessState */\n \n+setupPrepareStackTrace();\n+\n const { JSON, Object, Symbol } = primordials;\n const config = internalBinding(... | 2019-03-19T23:00:16 |
vercel/next.js | e09efd5e5c93bb26899738f8348446f5de0c1c3e | 027aa72f4716ed852c7d9b36f7afd2a793cad4f7 | land: Include charset=utf-8 with x-component Content-Type header (#50314)
Lands https://github.com/vercel/next.js/pull/50060 with lint fixes and
updated tests.
Closes: https://github.com/vercel/next.js/pull/50060
---------
Co-authored-by: Leah Lundqvist <leah@pigeon.sh> | [
{
"path": "packages/next/src/client/components/app-router-headers.ts",
"patch": "@@ -5,7 +5,8 @@ export const NEXT_ROUTER_STATE_TREE = 'Next-Router-State-Tree' as const\n export const NEXT_ROUTER_PREFETCH = 'Next-Router-Prefetch' as const\n export const NEXT_URL = 'Next-Url' as const\n export const FETCH_CA... | 2023-05-25T04:05:12 |
golang/go | 24239120bfbff9ebee8e8c344d9d3a8ce460b686 | f005df8b582658d54e63d59953201299d6fee880 | doc: mention that GOAMD64 is a compile-time setting
Fixes #50589
Change-Id: Ic260a6edd9af5c9c6dd8b40f0830f88644c907f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/378179
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Re... | [
{
"path": "doc/go1.18.html",
"patch": "@@ -149,7 +149,7 @@ <h2 id=\"ports\">Ports</h2>\n <h3 id=\"amd64\">AMD64</h3>\n \n <p><!-- CL 349595 -->\n- Go 1.18 introduces the new <code>GOAMD64</code> environment variable, which selects\n+ Go 1.18 introduces the new <code>GOAMD64</code> environment variable, wh... | 2022-01-13T00:27:14 |
rust-lang/rust | 7e406e276a1778390c06ce40a9a4929e3d371776 | c5dbd1de07e0407b9687619a868384d6de06253f | fix: `disallowed_script_idents` FP on identifiers with `_` | [
{
"path": "clippy_lints/src/disallowed_script_idents.rs",
"patch": "@@ -89,6 +89,10 @@ impl EarlyLintPass for DisallowedScriptIdents {\n // Fast path for ascii-only idents.\n if !symbol_str.is_ascii()\n && let Some(script) = symbol_str.chars().find_map(|c| {\n+ ... | 2025-06-24T13:18:22 |
huggingface/transformers | f7e964e5686a091e801195eb99b835b7a0f17b9e | 122a6a3a01ac1bbb71c20231b19d0bfaf54abdbe | Fix ChineseCLIPModel.get_text_features (#42351) | [
{
"path": "src/transformers/models/chinese_clip/modeling_chinese_clip.py",
"patch": "@@ -1024,14 +1024,14 @@ def get_text_features(\n ... text_features = model.get_text_features(**inputs)\n >>> text_features = text_features / text_features.norm(p=2, dim=-1, keepdim=True)\n ```\"\... | 2025-11-24T09:36:40 |
nodejs/node | 9fec70a703c71c0b5d22fe5f3fbf22daf1e43565 | 46d8af5e618554fcac89e4b15bf06f81de36ef54 | 2019-05-21, Version 12.3.0 (Current)
Notable changes:
* esm:
* Added the `--experimental-wasm-modules` flag to support
WebAssembly modules (Myles Borins & Guy Bedford)
https://github.com/nodejs/node/pull/27659
* process:
* Log errors using `util.inspect` in case of fatal exceptions
(Ruben Bridgewater)... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -29,7 +29,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.2.0\">12.2.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.3.0\">12.3.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.2.0\"... | 2019-05-21T11:49:35 |
vercel/next.js | 027aa72f4716ed852c7d9b36f7afd2a793cad4f7 | 12e22edd747dc1e98f75492009ca784fa0d9fc01 | Fix catch-all edge app route (#50313)
This ensures we properly normalize app pages in the `web-server` so that
it doesn't fail to match/interpolate properly.
Fixes: https://github.com/vercel/next.js/issues/43384 | [
{
"path": "packages/next/src/build/webpack/loaders/next-edge-ssr-loader/index.ts",
"patch": "@@ -100,7 +100,7 @@ const edgeSSRLoader: webpack.LoaderDefinitionFunction<EdgeSSRLoaderQuery> =\n \n enhanceGlobals()\n \n- const pageType = ${JSON.stringify(pagesType)}\n+ const pagesType = ${JSON.stringi... | 2023-05-25T03:30:54 |
huggingface/transformers | 122a6a3a01ac1bbb71c20231b19d0bfaf54abdbe | bdee0889714e9cb3e53d3b1b2a626919479d356c | fix bug when gemma3n model run on multiple device (#42303)
* fix bug when gemma3n model run on multiple device
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
* update modular file
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
---------
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> | [
{
"path": "src/transformers/models/gemma3n/modeling_gemma3n.py",
"patch": "@@ -2244,6 +2244,7 @@ def forward(\n dummy_vision_token_id = self.embed_vision.vocab_offset + self.embed_vision.vocab_size - 1\n vision_input_ids = torch.where(vision_mask, input_ids, dummy_vision_token_id).to... | 2025-11-24T09:28:15 |
golang/go | f005df8b582658d54e63d59953201299d6fee880 | a4b6fc7b1ddcec937b605b76068f8e800c1487e2 | cmd/go: enable fuzz testing for FreeBSD
Add "freebsd" to GOOS for which sys.FuzzSupported() returns true
and add freebsd to the build tags to fuzz test source.
Fixes #46554
Change-Id: I5f695ecc8f09c0ab4279ced23b4715b788fcade0
Reviewed-on: https://go-review.googlesource.com/c/go/+/377855
Trust: Bryan Mills <bcmills@go... | [
{
"path": "src/cmd/internal/sys/supported.go",
"patch": "@@ -50,7 +50,7 @@ func ASanSupported(goos, goarch string) bool {\n // ('go test -fuzz=.').\n func FuzzSupported(goos, goarch string) bool {\n \tswitch goos {\n-\tcase \"darwin\", \"linux\", \"windows\":\n+\tcase \"darwin\", \"freebsd\", \"linux\", \"w... | 2022-01-11T21:37:46 |
huggingface/transformers | bdee0889714e9cb3e53d3b1b2a626919479d356c | 07bfd2f8ecd0776591b3c051a061fbfd81848052 | [`Attn Masks`] Lift bidirectional mask restriction on eager (#42325)
* remove restriction
* fix
* add test and refactor tests
* style
* add docstring | [
{
"path": "src/transformers/masking_utils.py",
"patch": "@@ -340,9 +340,6 @@ def sdpa_mask(\n allow_is_causal_skip (`bool`, optional):\n Whether to allow to return `None` for the mask under conditions where we can use the `is_causal` argument in\n `torch.sdpa` instead. Defaul... | 2025-11-21T17:51:08 |
nodejs/node | 46d8af5e618554fcac89e4b15bf06f81de36ef54 | 0ca9297c3945f52325fcd08afe3fb9dfe3adf123 | deps: upgrade to libuv 1.29.1
Notable changes:
- uv_get_constrained_memory() has been added.
- A race condition in uv_async_send() has been fixed.
- uv_get_free_memory() and uv_get_total_memory() now read from
/proc/meminfo, which should improve correctness when called
from inside an lxc container.
- A failed ass... | [
{
"path": "deps/uv/.mailmap",
"patch": "@@ -46,3 +46,4 @@ Yuki Okumura <mjt@cltn.org>\n jBarz <jBarz@users.noreply.github.com> <jbarboza@ca.ibm.com>\n jBarz <jBarz@users.noreply.github.com> <jbarz@users.noreply.github.com>\n ptlomholt <pt@lomholt.com>\n+zlargon <zlargon1988@gmail.com>",
"additions": 1,
... | 2019-05-15T17:24:08 |
vercel/next.js | 12e22edd747dc1e98f75492009ca784fa0d9fc01 | 1079c100646ac71586703015ec98e3168f83eaaa | [turbopack]: Serve `_devMiddlewareManifest.json` from router (#50241)
This change allows the Turbopack's node router to serve
`_next/static/development/_devMiddlewareManifest.json` file, which is
just the matchers for middleware routes. This is usually handled by the
node dev server anyways, but we were filtering o... | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/router.ts",
"patch": "@@ -15,6 +15,10 @@ import 'next/dist/server/node-polyfill-fetch.js'\n import middlewareChunkGroup from 'MIDDLEWARE_CHUNK_GROUP'\n import middlewareConfig from 'MIDDLEWARE_CONFIG'\n \n+type Resolver = Awaited<\n+ ReturnType<typ... | 2023-05-25T00:55:29 |
electron/electron | f9f20957a4d71be4d2f44ab4626638850735e422 | e152b8850caa999bb9f5092e566c78f15681ef75 | Fix link name. | [
{
"path": "docs/api/synopsis.md",
"patch": "@@ -49,7 +49,7 @@ To run your app, read [Run your app](../tutorial/quick-start.md#run-your-app).\n ## Destructuring assignment\n \n If you are using CoffeeScript or Babel, you can also use\n-[destructuring assignment][desctructuring-assignment] to make it easier t... | 2016-03-06T07:28:39 |
golang/go | a4b6fc7b1ddcec937b605b76068f8e800c1487e2 | deb45802a4384ea3c7c3434113fb64a57a494cb2 | go/types, types2: fix tracing output for type and expr lists
- support printing of expression and type lists in sprintf
- simplified some code in go/types/exprstring.go
- fixed a typo in syntax package
Change-Id: Ic4bc154200aad95958d5bc2904a9ea17cf518388
Reviewed-on: https://go-review.googlesource.com/c/go/+/377974
T... | [
{
"path": "src/cmd/compile/internal/syntax/printer.go",
"patch": "@@ -44,7 +44,7 @@ func Fprint(w io.Writer, x Node, form Form) (n int, err error) {\n \treturn\n }\n \n-// String is a convenience functions that prints n in ShortForm\n+// String is a convenience function that prints n in ShortForm\n // and r... | 2022-01-12T06:19:56 |
huggingface/transformers | 07bfd2f8ecd0776591b3c051a061fbfd81848052 | 9162e190da31c2ee9aec81f052dbeb5fced72b24 | [XPU] Add flash_attn2 support for XPU (#41956)
* Add flash_attention_2 and kernels-community/flash-attn support for XPU
* Add flash-attn-2 support for XPU
* Delete deterministic algorithm for xpu
* Fix code style
* Modify repo_id to match the latest kernels-community/flash-attn2
* Fix code style
* Update
* Make... | [
{
"path": "src/transformers/modeling_flash_attention_utils.py",
"patch": "@@ -24,6 +24,7 @@\n is_flash_attn_3_available,\n is_flash_attn_greater_or_equal_2_10,\n is_torch_npu_available,\n+ is_torch_xpu_available,\n logging,\n )\n \n@@ -45,7 +46,12 @@ def flash_attn_supports_top_left_mask(... | 2025-11-21T16:43:48 |
nodejs/node | 0ca9297c3945f52325fcd08afe3fb9dfe3adf123 | 2e5bc8047ea2b1fb143c24055c0aebcbf18894fb | doc: corrected tlsSocket.getPeerCertificate response type
Within tls.md, the documentation for the response of
tlsSocket.getPeerCertificate() included subjectaltname
documented as an array of values. However these values are
actually returned as a single string of concatenated values.
The documentation has been update... | [
{
"path": "doc/api/tls.md",
"patch": "@@ -917,8 +917,8 @@ certificate.\n It is returned as a `:` separated hexadecimal string. Example:\n `'2A:7A:C2:DD:...'`.\n * `ext_key_usage` {Array} (Optional) The extended key usage, a set of OIDs.\n-* `subjectaltname` {Array} (Optional) An array of names for the... | 2019-05-17T22:17:19 |
huggingface/transformers | ce7a5e0066e8b789e7ad7a8b6fdc12993cbe0f72 | f15b95e67c89a9f62df40ed0caff8f08f0ddd496 | Correctly create tied key mapping in post_init, and dynamic tie weight (#42270)
* add dynamic
* improve
* doc
* true dynamic
* everywhere
* improve
* fix
* more
* small fix
* small fix
* fix duplicates
* fix
* doc
* fix
* improve doc
* comment
* more doc
* style | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1297,11 +1297,8 @@ def post_init(self):\n # Attach the different parallel plans and tied weight keys to the top-most model, so that everything is\n # easily available\n self._tp_plan, self._ep_plan, self._pp_plan = {}, {},... | 2025-11-21T16:02:50 |
golang/go | deb45802a4384ea3c7c3434113fb64a57a494cb2 | 68b3d36ff4e71d68f25d36caff8b4ba2b3b9c980 | go/types, types2: prevent unification from recursing endlessly
This is a stop gap solution to avoid panics due to stack overflow
during type unification. While this doesn't address the underlying
issues (for which we are still investigating the correct approach),
it prevents a panic during compilation and reports a (p... | [
{
"path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue48619.go2",
"patch": "@@ -2,23 +2,26 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-// This issue has been re-opened.\n+// This issue is still open:\n+// - the error messag... | 2022-01-12T04:55:56 |
vercel/next.js | 0644bd499697c57439e84fff32298631975950d6 | ba4f32473fe67727baed5818fe20f151bd838dfe | use more accurate function return values for static analysis (vercel/turbo#4902)
### Description
<!--
✍️ Write a short summary of your work.
If necessary, include relevant screenshots.
-->
During current static analysis process, turbopack will give all function
a default `JsValue::Constant(ConstantValue::U... | [
{
"path": "crates/turbopack-ecmascript/src/analyzer/graph.rs",
"patch": "@@ -1225,7 +1225,7 @@ impl VisitAstPath for Analyzer<'_> {\n ) {\n let old = replace(\n &mut self.cur_fn_return_values,\n- Some(vec![JsValue::Constant(ConstantValue::Undefined)]),\n+ Some(g... | 2023-05-24T22:18:22 |
nodejs/node | 873c372e6772d7378531d6afc8cad8bd513bdc58 | 1b381d630a3a595405c00892c58335369a368915 | esm: use correct error arguments
ERR_UNKNOWN_FILE_EXTENSION expects a single argument. This
commit fixes the argument count.
PR-URL: https://github.com/nodejs/node/pull/27763
Fixes: https://github.com/nodejs/node/issues/27761
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgew... | [
{
"path": "lib/internal/modules/esm/default_resolve.js",
"patch": "@@ -91,8 +91,7 @@ function resolve(specifier, parentURL) {\n if (isMain)\n format = type === TYPE_MODULE ? 'module' : 'commonjs';\n else\n- throw new ERR_UNKNOWN_FILE_EXTENSION(fileURLToPath(url),\n- ... | 2019-05-18T14:09:48 |
huggingface/transformers | 923cebd2845f339ffb04b614275e807dd6b0b0a8 | 7e0ea6997411f2633712cec5c475b791efe69785 | Fix gpt2 modeling tests (#42321)
* fix gpt2 modeling tests
* use Expectations
* ruff format | [
{
"path": "tests/models/gpt2/test_modeling_gpt2.py",
"patch": "@@ -171,6 +171,7 @@ class GPT2ModelTest(CausalLMModelTest, unittest.TestCase):\n )\n test_missing_keys = False\n model_tester_class = GPT2ModelTester\n+ model_split_percents = [0.5, 0.6, 0.7]\n \n def _prepare_for_class(self, ... | 2025-11-21T13:51:32 |
electron/electron | 23b92ef9ecc9bf89bd7776068d03fa0458c264c2 | 33978455b807647ab75c411639c717f245fe04e8 | Fix passing certificate to select-client-certificate's callback | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -132,19 +132,20 @@ void OnClientCertificateSelected(\n std::shared_ptr<content::ClientCertificateDelegate> delegate,\n mate::Arguments* args) {\n mate::Dictionary cert_data;\n- if (!(args->Length() == 1 && args->GetNext(&cert_data))) {\n+... | 2016-03-05T09:57:46 |
golang/go | 3d3f5d912b776424e50be276bc3a4ae02bf8d143 | 3df44722013b54790e97a32aff945708bd1b62f7 | go/types, types2: do not run CTI before FTI
Until now, CTI (constraint type inference) was run before
FTI (function type inference). This lead to situations
where CTI infered a type that is missing necessary methods
even though a function argument of correct type was given.
This can happen when constraint type inferen... | [
{
"path": "src/cmd/compile/internal/types2/infer.go",
"patch": "@@ -19,15 +19,17 @@ const useConstraintTypeInference = true\n // function arguments args, if any. There must be at least one type parameter, no more type arguments\n // than type parameters, and params and args must match in number (incl. zero)... | 2022-01-11T01:29:21 |
vercel/next.js | e15eb2a443384d383337479dd4f5704a9d933301 | e257068b5f9a78a957617eca7ff0147a86f55fff | fix sass handling after refactoring (#50259)
### What?
Push sass into the css pipeline | [
{
"path": "packages/next-swc/crates/next-core/src/sass.rs",
"patch": "@@ -19,7 +19,12 @@ pub async fn maybe_add_sass_loader(\n } else {\n Default::default()\n };\n- for pattern in [\"*.scss\", \"*.sass\"] {\n+ for (pattern, rename) in [\n+ (\"*.module.scss\", \".module.css\"),\n... | 2023-05-24T22:10:51 |
nodejs/node | 1b381d630a3a595405c00892c58335369a368915 | 58a59a8d6ba2de899dd6093e644ee3cf0d4b9a0a | doc: replace createRequireFromPath() references
This commit replaces createRequireFromPath() references with
createRequire() references.
PR-URL: https://github.com/nodejs/node/pull/27762
Fixes: https://github.com/nodejs/node/issues/27758
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.... | [
{
"path": "doc/api/esm.md",
"patch": "@@ -277,8 +277,7 @@ if this behavior is desired.\n \n These CommonJS variables are not available in ES modules.\n \n-`require` can be imported into an ES module using\n-[`module.createRequireFromPath()`][].\n+`require` can be imported into an ES module using [`module.cr... | 2019-05-18T13:17:53 |
huggingface/transformers | 7e0ea6997411f2633712cec5c475b791efe69785 | afdc40dbb5a1a8bfb687c3ae49565c53c74c0c8f | HF Trainer: ALST/Ulysses sequence parallelism integration via HF Accelerate (#41832)
* HF Trainer: ALST/Ulysses sequence parallelism integration via HF Accelerate
Signed-off-by: Stas Bekman <stas.bekman@snowflake.com>
* make it work + tests
Signed-off-by: Stas Bekman <stas.bekman@snowflake.com>
* cleanup
Signed-o... | [
{
"path": "docs/source/en/deepspeed.md",
"patch": "@@ -368,6 +368,108 @@ The example ZeRO-3 and ZeRO-Infinity config below sets most of the parameter val\n }\n ```\n \n+### Sequence Parallelism\n+\n+DeepSpeed's ALST/Ulysses sequence parallelism enables training with very long sequences by splitting the sequ... | 2025-11-21T13:19:42 |
electron/electron | d5f5cdb45ab122a1d6b8e9290ef4b3b26764f5b3 | 2bd167663da50f5c7061cbb03b7717f5d797d832 | :apple:Fix 'isMaximized()' for non resizable windows | [
{
"path": "atom/browser/native_window_mac.mm",
"patch": "@@ -583,7 +583,16 @@ - (void)drawRect:(NSRect)dirtyRect {\n }\n \n bool NativeWindowMac::IsMaximized() {\n- return [window_ isZoomed];\n+ if (([window_ styleMask] & NSResizableWindowMask) != 0) {\n+ return [window_ isZoomed];\n+ } else {\n+ N... | 2016-03-05T06:39:13 |
golang/go | 8070e70d64c5f82f1cf4c2079d97766e5da9775e | 1ee70da3125cb6339c1bcb0c127cd97a9e1dbe90 | cmd/compile/types2, go/types: add position for "have" in failed interface satisfaction
With this change, we shall now see:
*myS does not implement S (wrong type for DoSomething method)
have DoSomething() (string, error) at ./main.go:9:14
want DoSomething() (int, error)
instead of previously:
*myS d... | [
{
"path": "src/cmd/compile/internal/types2/lookup.go",
"patch": "@@ -428,18 +428,18 @@ func (check *Checker) missingMethodReason(V, T Type, m, wrongType *Func) string\n \tif wrongType != nil {\n \t\tif Identical(m.typ, wrongType.typ) {\n \t\t\tif m.Name() == wrongType.Name() {\n-\t\t\t\tr = check.sprintf(\"... | 2022-01-11T07:04:22 |
huggingface/transformers | afdc40dbb5a1a8bfb687c3ae49565c53c74c0c8f | 4799952dca3383e577a686ca5feb25b90399d7a3 | Fix typo from side_dict to size_dict (#42319) | [
{
"path": "src/transformers/models/siglip2/image_processing_siglip2_fast.py",
"patch": "@@ -116,8 +116,8 @@ def _preprocess(\n patch_size=patch_size,\n max_num_patches=max_num_patches,\n )\n- side_dict = SizeDict(height=height, width=wid... | 2025-11-21T12:21:15 |
rust-lang/rust | ed4f01ed2e033098f6c5e10a4a0cc740dc04f958 | e61dd437f33b5a640e67dc3628397689c664c17f | const-eval: error when initializing a static writes to that static | [
{
"path": "compiler/rustc_const_eval/messages.ftl",
"patch": "@@ -352,7 +352,7 @@ const_eval_realloc_or_alloc_with_offset =\n *[other] {\"\"}\n } {$ptr} which does not point to the beginning of an object\n \n-const_eval_recursive_static = encountered static that tried to initialize itself with i... | 2025-06-27T10:47:47 |
nodejs/node | 58a59a8d6ba2de899dd6093e644ee3cf0d4b9a0a | 64182e95e2e156a9b1ad7295b9657f2f69002cd1 | doc: improve createRequire() example
Update the example to use import and import.meta.url instead
of require() and require.resolve().
PR-URL: https://github.com/nodejs/node/pull/27762
Fixes: https://github.com/nodejs/node/issues/27758
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.ara... | [
{
"path": ".eslintrc.js",
"patch": "@@ -39,6 +39,7 @@ module.exports = {\n {\n files: [\n 'doc/api/esm.md',\n+ 'doc/api/modules.md',\n 'test/es-module/test-esm-type-flag.js',\n 'test/es-module/test-esm-type-flag-alias.js',\n '*.mjs',",
"additions": 1,
... | 2019-05-18T13:10:20 |
huggingface/transformers | 4799952dca3383e577a686ca5feb25b90399d7a3 | f2738ee3756483538c20e10e4f104324675fb406 | [loading] Fix device detection (#42323)
fix | [
{
"path": "src/transformers/core_model_loading.py",
"patch": "@@ -610,7 +610,7 @@ def convert_and_load_state_dict_in_model(\n tp_plan = tp_plan or {}\n device_map = device_map or {\"\": \"cpu\"}\n device_map_regex = re.compile(\n- \"|\".join(rf\"({k})\" for k in sorted(device_map.keys(), ... | 2025-11-21T12:20:49 |
golang/go | 1ee70da3125cb6339c1bcb0c127cd97a9e1dbe90 | 13c912d19252b9225fa96b9a5557575bbaffb570 | cmd/compile: fix the names of methods created during type substitution
The names given to methods of types created during type substitution
were possible incorrect when the type parameters themselves were nested
types.
Fixes #50485
Change-Id: I7e0043ed22c26406a5f9d8d51d9e928770a678f6
Reviewed-on: https://go-review.g... | [
{
"path": "src/cmd/compile/internal/typecheck/subr.go",
"patch": "@@ -976,7 +976,9 @@ func makeInstName1(name string, targs []*types.Type, hasBrackets bool) string {\n // function that helps implement a method of an instantiated type). For method nodes\n // on shape types, we prepend \"nofunc.\", because me... | 2022-01-08T18:33:35 |
rust-lang/rust | 7014ca42859c8f7d1356c6404390337304f132b8 | f8db66bc5c8f1469ee864152a9eb1c382e3356b0 | rustc_codegen_gcc: Fix clippy::manual_is_multiple_of | [
{
"path": "src/intrinsic/simd.rs",
"patch": "@@ -61,7 +61,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(\n let (len, _) = args[1].layout.ty.simd_size_and_type(bx.tcx());\n \n let expected_int_bits = (len.max(8) - 1).next_power_of_two();\n- let expected_bytes = len / 8 + ((len % 8... | 2025-06-27T11:40:33 |
huggingface/transformers | f2738ee3756483538c20e10e4f104324675fb406 | decde58eda17aec894f17b15e7a5cdf4bf82d46a | fix tests/models/xcodec/test_modeling_xcodec.py::XcodecIntegrationTest (#42272)
fix tests/models/xcodec/test_modeling_xcodec.py::XcodecIntegrationTest failure
Signed-off-by: Wang, Yi <yi.a.wang@intel.com> | [
{
"path": "src/transformers/models/xcodec/modeling_xcodec.py",
"patch": "@@ -403,8 +403,9 @@ def __init__(self, config):\n super().__init__(config)\n self.config = config\n self.pad = config.hop_length // 2\n- self.acoustic_model = AutoModel.from_config(config.acoustic_model_c... | 2025-11-21T07:36:43 |
rust-lang/rust | d9a4fd5d51d7c93d8c8b759c656395a0ccade198 | 4b3f31df4fd6bcca2c212a75494bb77e81d6f49f | rustc_codegen_gcc: Fix clippy::manual_is_multiple_of | [
{
"path": "compiler/rustc_codegen_gcc/src/intrinsic/simd.rs",
"patch": "@@ -61,7 +61,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(\n let (len, _) = args[1].layout.ty.simd_size_and_type(bx.tcx());\n \n let expected_int_bits = (len.max(8) - 1).next_power_of_two();\n- let expected_... | 2025-06-27T11:40:33 |
golang/go | 13c912d19252b9225fa96b9a5557575bbaffb570 | ad7eae21d5e75a0b1fe89db5f299490d6273c4cf | cmd/compile: in typ0(), load base type before checking s.Def
The loading of the base type in typ0() may cause s.Def to be defined for
the instantiated type, so load the base type before checking s.Def.
Fixes #50486
Change-Id: Ic039bc8f774dda534f4ccd1f920220b7a10dede6
Reviewed-on: https://go-review.googlesource.com/c... | [
{
"path": "src/cmd/compile/internal/noder/types.go",
"patch": "@@ -113,17 +113,22 @@ func (g *irgen) typ0(typ types2.Type) *types.Type {\n \t\t\t// based on the names of the type arguments.\n \t\t\tinstName := g.instTypeName2(typ.Obj().Name(), typ.TypeArgs())\n \t\t\ts := g.pkg(typ.Obj().Pkg()).Lookup(instN... | 2022-01-07T20:22:24 |
electron/electron | b46fc8bc4c16f9defdc06e8f9b724f2f91ee605b | 5839d7dcd51422eda1f670574a888d95004f656b | Add Pepper Flash doc and match doc style
- Add Pepper Flash plugin documentation
- Use and match the same documentaion style for other CN docs.
- Fix some typos and grammar. | [
{
"path": "docs-translations/zh-CN/tutorial/application-distribution.md",
"patch": "@@ -1,6 +1,7 @@\n # 应用部署\n \n-为了使用Electron部署你的应用程序,你存放应用程序的文件夹需要叫做 `app` 并且需要放在 Electron 的资源文件夹下(在 OS X 中是指 `Electron.app/Contents/Resources/`,在 Linux 和 Windows 中是指 `resources/`)\n+为了使用 Electron 部署你的应用程序,你存放应用程序的文件夹需要叫做 `app... | 2016-03-03T20:42:14 |
nodejs/node | 64182e95e2e156a9b1ad7295b9657f2f69002cd1 | 9f71dbc33466f26f3fa9a797ace8aa1f285cb890 | child_process: setup stdio on error when possible
As more spawn() errors are classified as runtime errors, it's
no longer appropriate to only check UV_ENOENT when determining
if stdio can be setup. This commit reverses the check to look
for EMFILE and ENFILE specifically.
PR-URL: https://github.com/nodejs/node/pull/2... | [
{
"path": "lib/internal/child_process.js",
"patch": "@@ -375,12 +375,11 @@ ChildProcess.prototype.spawn = function(options) {\n err === UV_ENFILE ||\n err === UV_ENOENT) {\n process.nextTick(onErrorNT, this, err);\n+\n // There is no point in continuing when we've hit EMFILE or ENFILE\n ... | 2019-05-14T16:38:14 |
huggingface/transformers | decde58eda17aec894f17b15e7a5cdf4bf82d46a | e04c7a6074322c3a78516fbae4c77608c3924bae | Fix post processing methods in keypoints matching models (#42018)
Fix out of bound issue and incorrect post processing function in fast processors | [
{
"path": "src/transformers/models/efficientloftr/modular_efficientloftr.py",
"patch": "@@ -1,8 +1,71 @@\n+from typing import Union\n+\n+import torch\n+\n+from ...utils import TensorType\n from ..superglue.image_processing_superglue_fast import SuperGlueImageProcessorFast\n+from .modeling_efficientloftr imp... | 2025-11-20T22:27:45 |
rust-lang/rust | 06fb36c92ea0d92d93361badde0cae5aab763d43 | d51b6f97122671c5de27cfc08cded235357e0d97 | Update poison.rs to fix the typo (sys->sync) | [
{
"path": "library/std/src/sync/poison.rs",
"patch": "@@ -13,7 +13,7 @@\n //! depend on the primitive. See [#Overview] bellow.\n //!\n //! For the alternative implementations that do not employ poisoning,\n-//! see `std::sys::nonpoisoning`.\n+//! see `std::sync::nonpoisoning`.\n //!\n //! # Overview\n //!",... | 2025-06-27T10:56:53 |
vercel/next.js | 47546ddccc1f49ce0f6aa3e70edd295579a954fd | aa91de56ce5110a9f6911b3d6cd694acad653e74 | Update next start listening to behave consistently (#50293)
Fixes next start listening as it currently behaves in-consistently
between dev and start, this shouldn't break any existing behavior as the
default is to listen on all interfaces and if it needs to be locked down
it still can be.
x-ref:
https://github.... | [
{
"path": "packages/next/src/cli/next-start.ts",
"patch": "@@ -54,7 +54,7 @@ const nextStart: CliCommand = async (argv) => {\n }\n \n const dir = getProjectDir(args._[0])\n- const host = args['--hostname'] || '0.0.0.0'\n+ const host = args['--hostname']\n const port = getPort(args)\n \n const keep... | 2023-05-24T18:06:41 |
golang/go | ad7eae21d5e75a0b1fe89db5f299490d6273c4cf | a20724d63425ccb871c57d45e2401af2401518bc | cmd/compile: resolve dictionaries/shape methods in markInlBody, if needed
Issue #50552 is due to a problem with my recent improvement in the
interaction between generics and inlining. In markInlBody(), we now mark
dictionaries and shape methods for export, so they will be available for
any package that inlines the cur... | [
{
"path": "src/cmd/compile/internal/typecheck/crawler.go",
"patch": "@@ -8,6 +8,7 @@ import (\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/types\"\n+\t\"cmd/internal/src\"\n )\n \n // crawlExports crawls the type/object graph rooted at the given list of export... | 2022-01-11T17:14:38 |
nodejs/node | 32fb7d93348c9d2d70bb4450913e22c68a7e76ca | 370ddefc14a0bae1027749e0b75b65d0b6b786e9 | util: remove outdated comment
It is probably not necessary to visualize the `code` property as part
of the name of an error since all extra properties will be visible
anyway due to https://github.com/nodejs/node/pull/272431.
PR-URL: https://github.com/nodejs/node/pull/27733
Reviewed-By: James M Snell <jasnell@gmail.c... | [
{
"path": "lib/internal/util/inspect.js",
"patch": "@@ -868,7 +868,6 @@ function getFunctionBase(value, constructor, tag) {\n }\n \n function formatError(err, constructor, tag, ctx) {\n- // TODO(BridgeAR): Always show the error code if present.\n let stack = err.stack || ErrorPrototype.toString(err);\n \... | 2019-05-16T11:27:52 |
huggingface/transformers | c3fb1b1a6ca1102f62b139c83a088a97e5a55477 | a1afecaeb0fb0fc4d80142044b5d1815155ffdcf | [SAM3 Video] Add support for multi prompts (#42293)
* add support for multi prompts + fix checkpoints in tests
* Make sure to apply heuristics per prompt group
* simplify NMS to probs | [
{
"path": "docs/source/en/model_doc/sam3_video.md",
"patch": "@@ -97,6 +97,39 @@ Processed 51 frames\n >>> print(f\"Masks shape: {frame_0_outputs['masks'].shape}\")\n ```\n \n+You can also track multiple object categories simultaneously by providing multiple prompts. The model efficiently reuses vision feat... | 2025-11-20T22:25:10 |
rust-lang/rust | 4a8eec34ee888852f3f2b909c575df0bedf9f61a | 074ccaf3c0818c1c7162babe8e7874f1fa551e18 | broken_links: Fix rustdoc API usage | [
{
"path": "clippy_lints/src/doc/broken_link.rs",
"patch": "@@ -19,7 +19,7 @@ pub fn check(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragm\n }\n \n fn warn_if_broken_link(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragments: &[DocFragment]) {\n- if let Some(span) = s... | 2025-06-27T10:21:41 |
vercel/next.js | 18ba2085b4a0568919374e8d74e06ea2568ae57c | fcfd63065bcd3749dd93c3331a06b078244b9c53 | Fix edge case in the CJS optimizer (#50258)
Previously we are ignoring idents in all var declarators in the check,
so it's still possible to fail in some edge cases. CC @kdy1 | [
{
"path": "packages/next-swc/crates/core/src/cjs_optimizer.rs",
"patch": "@@ -255,9 +255,28 @@ impl Visit for Analyzer<'_> {\n noop_visit_type!();\n \n fn visit_var_declarator(&mut self, n: &VarDeclarator) {\n- self.in_member_or_var = true;\n- n.visit_children_with(self);\n- sel... | 2023-05-24T11:02:22 |
electron/electron | f02affbc18bf1e02af030b2a0f6cf891fb0d0844 | 46c6233b62524a522ea8e546668b95604e4d085d | :bug: Add platform predicate for menu item action | [
{
"path": "atom/browser/api/lib/menu-item.js",
"patch": "@@ -67,7 +67,7 @@ MenuItem = (function() {\n }\n } else if (typeof click === 'function') {\n return click(_this, focusedWindow);\n- } else if (typeof _this.selector === 'string') {\n+ } else if (typeof _this.s... | 2016-03-03T03:07:16 |
golang/go | 1abe9c1c73739786bb927342c4072e229affea8f | 1cc3c735802f93eaf74b21795b8027163318ace1 | cmd/compile: print "internal compiler error" message for all compiler panics
Change hidePanic (now renamed handlePanic) to print out the "internal
compiler error" message for all panics and runtime exceptions, similar
to what we already do for the SSA backend in ssa.Compile().
Previously, hidePanic would not catch pa... | [
{
"path": "src/cmd/compile/internal/gc/main.go",
"patch": "@@ -35,18 +35,18 @@ import (\n \t\"sort\"\n )\n \n-func hidePanic() {\n-\tif base.Debug.Panic == 0 && base.Errors() > 0 {\n-\t\t// If we've already complained about things\n-\t\t// in the program, don't bother complaining\n-\t\t// about a panic too;... | 2022-01-05T23:20:50 |
huggingface/transformers | a1afecaeb0fb0fc4d80142044b5d1815155ffdcf | b63e6e07fd845149b999405056dd1cf268edcb1a | fix(granitemoe*): Only create block_sparse_moe if num_local_experts > 0 (#42036)
* fix(granitemoehybid): Only set self.block_sparse_moe if num_local_experts > 0
Branch: GraniteMoeAsDenseFix
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* fix(granitemoehybrid): Regenerate modeling_granitemoehybrid.py
Branch: Gran... | [
{
"path": "src/transformers/models/granitemoehybrid/modeling_granitemoehybrid.py",
"patch": "@@ -927,52 +927,6 @@ def forward(self, x, position_ids):\n return cos.to(dtype=x.dtype), sin.to(dtype=x.dtype)\n \n \n-class GraniteFlashAttentionKwargs(TypedDict, total=False):\n- \"\"\"\n- Keyword ar... | 2025-11-20T18:55:31 |
rust-lang/rust | f13d785a264cbe3cbba759ed8e9d581db362603e | 1b5420a8bed8b3644eca8352df17f2c7538e657a | broken_links: Fix rustdoc API usage | [
{
"path": "src/tools/clippy/clippy_lints/src/doc/broken_link.rs",
"patch": "@@ -19,7 +19,7 @@ pub fn check(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragm\n }\n \n fn warn_if_broken_link(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &str, fragments: &[DocFragment]) {\n- if l... | 2025-06-27T10:21:41 |
nodejs/node | f1a3968a01f2d76fff3d1b677aaefc752661c448 | cc7e15f850d2b3773b555ae05157ec73ea627154 | tls: expose built-in root certificates
Fixes: https://github.com/nodejs/node/issues/25824
PR-URL: https://github.com/nodejs/node/pull/26415
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.col... | [
{
"path": "doc/api/tls.md",
"patch": "@@ -1384,6 +1384,7 @@ changes:\n provided.\n For PEM encoded certificates, supported types are \"TRUSTED CERTIFICATE\",\n \"X509 CERTIFICATE\", and \"CERTIFICATE\".\n+ See also [`tls.rootCertificates`].\n * `cert` {string|string[]|Buffer|Buffer[]} Cert ... | 2019-05-20T09:09:02 |
huggingface/transformers | b63e6e07fd845149b999405056dd1cf268edcb1a | 7b84f726c518658e7c65ceb20a38ca82bab75289 | Update conversion mapping to separate renaming from converting (#42254)
* inital commit
* up
* update unexpected later on
* fix
* update
* simplify our lives
* isolate a bit more
* fixup
* small nits
* style
* nit
* fix common cases
* fix post merge
* bnb needs missing keys
* small fix
* bettrer documen... | [
{
"path": "src/transformers/conversion_mapping.py",
"patch": "@@ -15,7 +15,7 @@\n \n from copy import deepcopy\n \n-from .core_model_loading import Concatenate, MergeModulelist, WeightConverter\n+from .core_model_loading import Concatenate, MergeModulelist, WeightConverter, WeightRenaming\n from .utils impo... | 2025-11-20T17:43:26 |
vercel/next.js | fcfd63065bcd3749dd93c3331a06b078244b9c53 | 0e339a8542a65d57d0153aa56c5e870fcd21fc38 | feat(next-swc): Add CJS optimizer again (#50249)
### What?
This reverts commit 6ebc725fe6231ce45cab03aac9dc9b9e2f057a2f / #50247.
### Why?
#49972 is reverted due to bugs, and I'm retrying it.
### How?
Closes WEB-1072
Closes WEB-1097
Closes NEXT-1156 (as it's reopened by the revert PR)
fix #48469
... | [
{
"path": "Cargo.lock",
"patch": "@@ -3335,6 +3335,7 @@ name = \"next-swc\"\n version = \"0.0.0\"\n dependencies = [\n \"chrono\",\n+ \"convert_case 0.5.0\",\n \"easy-error\",\n \"either\",\n \"fxhash\",\n@@ -3343,6 +3344,7 @@ dependencies = [\n \"once_cell\",\n \"pathdiff\",\n \"regex\",\n+ \"rustc-... | 2023-05-24T07:38:31 |
golang/go | c7fa66179b51bc90612f564f2cb3afbc1b21d511 | 28f2869a0d8ae103e0a2aac7c68005d79099f1e1 | test: workaround SIGILL on issue11656 on aix
For some reason, aix sometimes executes the bogus function body. This
should never happen as it lives in a no-execute section. It might be
a transient permission blip as the heap grows.
Add a small function to cleanup and synchronize the icache before
jumping to the bogus ... | [
{
"path": "test/fixedbugs/issue11656.dir/asm.go",
"patch": "@@ -0,0 +1,10 @@\n+// Copyright 2022 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+//go:build ppc64 || ppc64le\n+// +build ppc64 ppc64le\n+\n+pa... | 2022-01-10T16:57:16 |
rust-lang/rust | e8ff13cd3306c1b234e322e6d4e40fa002d6abff | 005dd432ed4e6f19a3508908e440f18cb19c4047 | Fix typo
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | [
{
"path": "src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md",
"patch": "@@ -336,30 +336,30 @@ diagnostic struct.\n \n ### Argument sharing and isolation\n \n-Subdiagnostics will add their own arguments,\n-i.e. some fields in their struct, into the subdiagnostic when rendering the message,\n-so ... | 2025-06-27T09:44:15 |
huggingface/transformers | 26785ae93ab1b312d9460a23d5b1b0d945d152f2 | 6bc8121b83cc694b60c52031850b99b2f32a3479 | Fix the init_weights for the MoE models (#42306)
* fix the modulars
* apply modulars
* forgot jamba
* fix doc | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -2140,12 +2140,6 @@ def _init_weights(self, module):\n init.ones_(module.weight)\n if hasattr(module, \"bias\") and module.bias is not None:\n init.zeros_(module.bias)\n- if isinstance(getattr(mod... | 2025-11-20T16:52:28 |
nodejs/node | 0df581c30728fae75405e7aa66102d98571cec87 | 4fc0238a66c3cdc55ddea92d98a7003f34a611ac | http: always call response.write() callback
Ensure that the callback of `OutgoingMessage.prototype.write()` is
called even when writing empty chunks.
Fixes: https://github.com/nodejs/node/issues/22066
PR-URL: https://github.com/nodejs/node/pull/27709
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich... | [
{
"path": "lib/_http_outgoing.js",
"patch": "@@ -260,18 +260,6 @@ function _writeRaw(data, encoding, callback) {\n // There might be pending data in the this.output buffer.\n if (this.outputData.length) {\n this._flushOutput(conn);\n- } else if (!data.length) {\n- if (typeof callback =... | 2019-05-15T05:34:12 |
electron/electron | 9295aa6103635f45ecda4d6be9362ee12453c05a | 79f552e69e4d798ed374d4e3f07b4cc11645f192 | Fix strict-ssl detection.
When `strict-ssl` is set to a truthy value, npm always turns the
environment variable into the string `true`, when the value is falsy, npm
always sets it to a blank string. This fixes strict-ssl detection by
always comparing the value of npm_config_strict_ssl to the string `"true"` | [
{
"path": "npm/install.js",
"patch": "@@ -36,7 +36,7 @@ if (installedVersion === version && fs.existsSync(path.join(__dirname, paths[pla\n }\n \n // downloads if not cached\n-download({version: version, platform: process.env.npm_config_platform, arch: process.env.npm_config_arch, strictSSL: process.env.npm_... | 2016-03-02T21:45:48 |
vercel/next.js | 20b19b5ef491ae5b549ccafb6c262b37ce18435d | b5e8d6531be90030d344741eab05660e2b012c30 | Fix metadata e2e deploy test (#50252)
x-ref:
https://github.com/vercel/next.js/actions/runs/5061340215/jobs/9085634641#step:6:368 | [
{
"path": "test/e2e/app-dir/metadata/metadata.test.ts",
"patch": "@@ -528,15 +528,27 @@ createNextDescribe(\n ? expect.stringMatching(\n /http:\\/\\/localhost:\\d+\\/opengraph\\/static\\/opengraph-image.png\\?b76e8f0282c93c8e/\n )\n- : 'https://example.co... | 2023-05-24T06:04:31 |
golang/go | 28f2869a0d8ae103e0a2aac7c68005d79099f1e1 | 90a8482a176b8cf47e8b24a3459f0a24e038f675 | cmd/go: skip TestScript/test_fuzz_test_race on !race
Skip the test on targets which don't support the race detector. This
fixes the linux-386-longtest builder after CL 376554.
Updates #50488
Change-Id: I08bf6f72cc0731761d49121eb7cfaa8b53906d37
Reviewed-on: https://go-review.googlesource.com/c/go/+/377634
Trust: Tobi... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_test_race.txt",
"patch": "@@ -4,8 +4,9 @@\n \n [short] skip\n [!fuzz] skip\n+[!race] skip\n \n-# Test with coverage instrumentation enbaled (-fuzz) and race instrumentation\n+# Test with coverage instrumentation enabled (-fuzz) and race instrumentation\n # but... | 2022-01-11T09:22:40 |
rust-lang/rust | ac8ce3e3be305fae748fa7e2c98b4bfaa3f1dd88 | d5e9833af388c9f3122877fe355ff7b244c50516 | Insert checks for enum discriminants when debug assertions are enabled
Similar to the existing nullpointer and alignment checks, this checks
for valid enum discriminants on creation of enums through unsafe
transmutes. Essentially this sanitizes patterns like the following:
```rust
let val: MyEnum = unsafe { std::mem::... | [
{
"path": "src/base.rs",
"patch": "@@ -407,6 +407,18 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {\n source_info.span,\n )\n }\n+ AssertKind::InvalidEnumConstruction(source) => {\n+ ... | 2025-05-15T19:09:13 |
huggingface/transformers | 6bc8121b83cc694b60c52031850b99b2f32a3479 | 3eba206b0ca4de67aa2291667eadfa7498cb4609 | Fix Mac mps dataloader_num_workers > 1 causes RuntimeError: _share_filename_: only available on CPU (#38819)
* Update trainer.py: add multiprocessing_context for mps devices
* Fix multiprocessing context for MPS with workers
* Apply style fixes
---------
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.git... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -1023,12 +1023,16 @@ def _get_dataloader(\n else:\n data_collator = self._get_collator_with_removed_columns(self.data_collator, description=description)\n \n+ # MPS requrires forking if multiple workers are specified\n+ ... | 2025-11-20T16:28:00 |
electron/electron | 9c7bb0b3700475d7f378d6a91ae0d22ce8bd5f6d | 5839d7dcd51422eda1f670574a888d95004f656b | Fix JP docs tranlation | [
{
"path": "docs-translations/jp/api/app.md",
"patch": "@@ -378,6 +378,7 @@ if (browserOptions.transparent) {\n // No transparency, so we load a fallback that uses basic styles.\n win.loadURL('file://' + __dirname + '/fallback.html');\n }\n+```\n \n ### `app.commandLine.appendSwitch(switch[, value])`\n "... | 2016-02-29T16:41:46 |
vercel/next.js | b5e8d6531be90030d344741eab05660e2b012c30 | 6ebc725fe6231ce45cab03aac9dc9b9e2f057a2f | Fix free port handling (#50248)
Follow-up to https://github.com/vercel/next.js/pull/48019 ensures we
don't use arbitrary ports by incrementing favoring always getting a
fresh free port instead. Also favors exact address for internal IPC
requests instead of `localhost`. | [
{
"path": "packages/next/src/server/lib/render-server.ts",
"patch": "@@ -136,6 +136,6 @@ export async function initialize(opts: {\n return reject(err)\n }\n })\n- server.listen((await getFreePort()) + 1, opts.hostname)\n+ server.listen(await getFreePort(), opts.hostname)\n })\n }",... | 2023-05-24T05:13:10 |
rust-lang/rust | 1087042e22ae3d14ff856f621a84eaa3e15cc537 | 40daf23eeb711dadf140b2536e67e3ff4c999196 | Insert checks for enum discriminants when debug assertions are enabled
Similar to the existing nullpointer and alignment checks, this checks
for valid enum discriminants on creation of enums through unsafe
transmutes. Essentially this sanitizes patterns like the following:
```rust
let val: MyEnum = unsafe { std::mem::... | [
{
"path": "compiler/rustc_codegen_cranelift/src/base.rs",
"patch": "@@ -407,6 +407,18 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {\n source_info.span,\n )\n }\n+ AssertKind::InvalidEnum... | 2025-05-15T19:09:13 |
golang/go | 90a8482a176b8cf47e8b24a3459f0a24e038f675 | 4ceb5a94d83b823fe7c3e4d25541854759651933 | test: re-enable most go/tests that were disabled because of types2 differences
I made the default be that, where there are differences between types2
and -G=0 error messages, we want errorcheck tests to pass types2.
Typically, we can get errorcheck to pass on types2 and -G=0 if they give
the same number of error messa... | [
{
"path": "test/fixedbugs/bug176.go",
"patch": "@@ -8,7 +8,6 @@ package main\n \n var x int\n \n-var a = []int{ x: 1}\t// ERROR \"constant\"\n-var b = [...]int{x: 1}\t// GCCGO_ERROR \"constant\"\n-var c = map[int]int{ x: 1}\n-\n+var a = []int{x: 1} // ERROR \"constant\"\n+var b = [...]int{x: 1} // ERROR ... | 2021-12-04T00:10:10 |
vercel/next.js | 130fe65bdea4ad7608a70925d2c8573a393643aa | ec8bf53907b7b8e60e1100979a2ed267298696d9 | Fix alias for react-dom/server (#50238)
A bad alias was introduced in #50128
Fixes #50225 | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -401,7 +401,7 @@ function createReactAliases(\n 'react-dom$': `next/dist/compiled/react-dom${bundledReactChannel}`,\n 'react/jsx-runtime$': `next/dist/compiled/react${bundledReactChannel}/jsx-runtime`,\n 'react/jsx-dev-runtime$'... | 2023-05-23T23:00:59 |
rust-lang/rust | c51f05be3094651711072e43bacac47cf7426be9 | df32e15c56f582eb2bdde07711af6271f2ae660b | Report infer ty errors during hir ty lowering
This centralizes the placeholder type error reporting in one location, but it also exposes the granularity at which we convert things from hir to ty more. E.g. previously infer types in where bounds were errored together with the function signature, but now they are indepe... | [
{
"path": "compiler/rustc_hir/src/hir.rs",
"patch": "@@ -3141,6 +3141,15 @@ pub enum TraitItemKind<'hir> {\n /// type.\n Type(GenericBounds<'hir>, Option<&'hir Ty<'hir>>),\n }\n+impl TraitItemKind<'_> {\n+ pub fn descr(&self) -> &'static str {\n+ match self {\n+ TraitItemKind::C... | 2025-06-06T09:28:25 |
golang/go | 4ceb5a94d83b823fe7c3e4d25541854759651933 | 91edf2b7f2fe219f1af1df4031a210d8160da47c | go/types, types2: refer to type parameter if so for interface pointer errors
Follow-up on comment in CL 376914.
Also:
- add missing check != nil test in assignableTo
- use check.sprintf rather than fmt.Sprintf in missingMethodReason
For #48312.
Change-Id: Ie209b4101a7f2c279e42a59987d0068079c8b69f
Reviewed-on: https... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -544,7 +544,7 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr) {\n \n \t\tvar why string\n \t\tif isInterfacePtr(x.typ) {\n-\t\t\twhy = check.sprintf(\"type %s is pointer to interface, not interface\", x.typ)\n+\t\t\twhy ... | 2022-01-10T18:33:16 |
vercel/next.js | ec8bf53907b7b8e60e1100979a2ed267298696d9 | ba9aa63417f0811a513f55f1d6d382f1ba256f92 | feat(next-swc): Implement CJS optimizer (#49972)
### What?
Implement a CJS optimizer for next-swc
### Why?
x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1684341093462309
Assuming most CJS files are transpiled from ESM, we can mimic
tree-shaking using an AST transform.
### How?
Closes WEB... | [
{
"path": "Cargo.lock",
"patch": "@@ -3335,6 +3335,7 @@ name = \"next-swc\"\n version = \"0.0.0\"\n dependencies = [\n \"chrono\",\n+ \"convert_case 0.5.0\",\n \"easy-error\",\n \"either\",\n \"fxhash\",\n@@ -3343,6 +3344,7 @@ dependencies = [\n \"once_cell\",\n \"pathdiff\",\n \"regex\",\n+ \"rustc-... | 2023-05-23T19:38:07 |
nodejs/node | 4fc0238a66c3cdc55ddea92d98a7003f34a611ac | 6f7e8b4521a52e16ab73f79225924179b4580ecd | http: do not default to chunked encoding for TRACE
Fixes: https://github.com/nodejs/node/issues/25783
PR-URL: https://github.com/nodejs/node/pull/27673
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich... | [
{
"path": "lib/_http_client.js",
"patch": "@@ -180,6 +180,7 @@ function ClientRequest(input, options, cb) {\n method === 'HEAD' ||\n method === 'DELETE' ||\n method === 'OPTIONS' ||\n+ method === 'TRACE' ||\n method === 'CONNECT') {\n this.useChunkedEncodingByDefault = false... | 2019-05-13T11:00:17 |
huggingface/transformers | 3eba206b0ca4de67aa2291667eadfa7498cb4609 | 7dd11c115fdd38322fec128a34596d37349aad9e | Remove outdated methods in modeling_utils.py (#42302)
* cleanup
* more
* fix
* fix
* fix
* fix
* CI | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -32,7 +32,7 @@\n from functools import partial, wraps\n from itertools import cycle\n from threading import Thread\n-from typing import Any, Optional, TypeVar, Union, get_type_hints\n+from typing import Optional, TypeVar, Union, get_type_hints\n f... | 2025-11-20T16:26:52 |
golang/go | 91edf2b7f2fe219f1af1df4031a210d8160da47c | 6019a52d4dab7c243ee9088c3522c821c0c95cfa | go/types, types2: better error message for type parameter field access
Fixes #50516.
Also call DefPredeclaredTestFuncs in TestFixedbugs so it can be
run independently again.
Change-Id: I78d4cc11790b1543a2545a7ab297a223b3d5e3c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/376954
Trust: Robert Griesemer <gri... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -542,39 +542,26 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr) {\n \t\t\tgoto Error\n \t\t}\n \n-\t\tif isInterfacePtr(x.typ) {\n-\t\t\tcheck.errorf(e.Sel, \"%s.%s undefined (type %s is pointer to interface, not interfa... | 2022-01-08T22:39:43 |
huggingface/transformers | 7dd11c115fdd38322fec128a34596d37349aad9e | f7650253c477dd48c3cf3ff3d7b4f44f93ee62b9 | Properly protect the is_compiling checks (#42304)
fix | [
{
"path": "src/transformers/image_processing_utils_fast.py",
"patch": "@@ -50,7 +50,7 @@\n is_vision_available,\n logging,\n )\n-from .utils.import_utils import is_rocm_platform\n+from .utils.import_utils import is_rocm_platform, is_torchdynamo_compiling\n \n \n if is_vision_available():\n@@ -343,7 ... | 2025-11-20T15:45:04 |
nodejs/node | 6f7e8b4521a52e16ab73f79225924179b4580ecd | 4e32ce07038b1b56f6bef45b003e5b3a4e76e62e | deps: V8: cherry-pick cca9ae3c9a
Original commit message:
Remove recursion from NeedsCheckHeapObject.
We use the predicate NeedsCheckHeapObject in the compiler frontend to
determine whether we can skip introducing CheckHeapObject nodes. But
this predicate would also walk up the graph in case of Phis,... | [
{
"path": "deps/v8/src/compiler/property-access-builder.cc",
"patch": "@@ -115,14 +115,6 @@ bool NeedsCheckHeapObject(Node* receiver) {\n case IrOpcode::kJSToString:\n case IrOpcode::kTypeOf:\n return false;\n- case IrOpcode::kPhi: {\n- Node* control = NodeProperties::GetControlInput(r... | 2019-05-15T06:37:20 |
vercel/next.js | 90331f38ccf49e0632e84688aae05beac9ac64a6 | ff070e530b239e89ed05ff8bfc0990a351e4c0a1 | fix: NODE_OPTIONS='--inspect' in next dev for debugging (#48019)
## Bug
This fix closes #47083 issue
This fix closes #47561 issue
This fix closes #48376 issue
**Invalid repetition PRs:** #47671 (this PR changing expired code)
(This issue still exist on
[v13.4.3-canary.1](https://github.com/vercel/next.js/rele... | [
{
"path": "packages/next/src/server/lib/render-server-standalone.ts",
"patch": "@@ -66,6 +66,7 @@ export const createServerHandler = async ({\n hostname,\n minimalMode,\n workerType: 'router',\n+ isNodeDebugging: false,\n })\n didInitialize = true\n ",
"additions": 1,
"deletions":... | 2023-05-23T18:03:08 |
golang/go | 6019a52d4dab7c243ee9088c3522c821c0c95cfa | 1f411e9b6d8849014653c89a9df77b8aadd082e6 | go/types, types2: better error message when using *interface instead of interface
- detect *interface case and report specific error
- replaced switch with sequence of if's for more clarity
- fixed isInterfacePtr: it applies to all interfaces, incl.
type parameters
- reviewed/fixed all uses of isInterfacePtr
- adjus... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -531,41 +531,51 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr) {\n \n \tobj, index, indirect = LookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel)\n \tif obj == nil {\n-\t\tswitch {\n-\t\tcase index != nil:\n... | 2022-01-08T21:01:37 |
huggingface/transformers | f7650253c477dd48c3cf3ff3d7b4f44f93ee62b9 | 75e39856f877e75b3a15849d19151a73ed3a1159 | Remove error string test that was failing (#42301) | [
{
"path": "tests/utils/test_modeling_utils.py",
"patch": "@@ -1319,12 +1319,6 @@ def test_use_safetensors(self):\n with self.assertRaises(OSError) as missing_model_file_error:\n BertModel.from_pretrained(\"hf-internal-testing/config-no-model\")\n \n- self.assertTrue(\n- ... | 2025-11-20T14:42:02 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.