repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
golang/go | 16b1893600b4f367c6503b512832dea565f9621b | 5bd734839d9967f48184431b978c2dabb39c8953 | test: add notinheap test that caused a gofrontend crash
Change-Id: Ie949f2131845f9f9292caff798f6933648779122
Reviewed-on: https://go-review.googlesource.com/c/go/+/385434
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by:... | [
{
"path": "test/fixedbugs/bug515.go",
"patch": "@@ -0,0 +1,21 @@\n+// compile\n+\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+// Caused a gofrontend crash.\n+\n+package p\n+\n+//go:no... | 2022-02-12T22:16:51 |
vercel/next.js | 5b7b91f3c5da666071b8b67da8c604d0d3e47c43 | bd466842a093487d045cfcf6c94c36f015142be2 | router: add layout and other file supports to parallel routes (#51413)
This PR fixes a bug in which the layout files were not picked up if they were direct children of a parallel route slot.
Note: there's a bunch of other files that I've used for debugging that are not used for the test but I'm leaving them for futur... | [
{
"path": "packages/next/src/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -304,19 +304,26 @@ async function createTreeCodeFromPath(\n continue\n }\n \n+ const subSegmentPath = [...segments]\n+ if (parallelKey !== 'children') {\n+ subSegmentPath.push(parallelKey)\n+ ... | 2023-06-19T12:35:41 |
huggingface/transformers | 37426b27bf51fb4cc9f7f7645a61d1b5dd28f20f | aa495f62dec75a7c6593e978e5fed475d9d1efc0 | Fix a typo in MoE models (#42835)
fix | [
{
"path": "src/transformers/models/deepseek_v3/modeling_deepseek_v3.py",
"patch": "@@ -157,7 +157,7 @@ def __init__(self, config):\n super().__init__()\n self.num_experts = config.num_local_experts\n self.hidden_dim = config.hidden_size\n- self.intermediate_dim = config.interm... | 2025-12-12T12:33:36 |
nodejs/node | 882e8fea669911a008ccdddd889b92414ca68949 | 7fad0afd2c02496185a5aa5fab750b9d5cbab3bc | crypto: move _scrypt call out of handleError funct
This commit moves the _scrypt function call out of the handleError
function, which now only takes in an error object as its parameter.
The motivation for this is to hopefully improve readability as it was
not clear to me the first time I stepped through the code wher... | [
{
"path": "lib/internal/crypto/scrypt.js",
"patch": "@@ -44,23 +44,21 @@ function scrypt(password, salt, keylen, options, callback = defaults) {\n callback.call(wrap, null, keybuf.toString(encoding));\n };\n \n- handleError(keybuf, password, salt, N, r, p, maxmem, wrap);\n+ handleError(_scrypt(keybu... | 2019-06-20T06:09:17 |
golang/go | 5bd734839d9967f48184431b978c2dabb39c8953 | f03ab0e0140544abfb10698b9171a91f9dd9c7a5 | go/types, types2: add additional tests using core types during unification
This change adds tests that use a type parameter's core type during
function argument type inference, not just during constraint type
inference.
Also, fix a typo in a comment.
For #50755.
Change-Id: I0c3196bdce5338341e0b6dfd7c63efb2e43ace25
... | [
{
"path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue50755.go2",
"patch": "@@ -4,12 +4,32 @@\n \n package p\n \n-func f1[M1 map[K1]int, K1 comparable](m1 M1) {}\n+// The core type of M2 unifies with the type of m1\n+// during function argument type inference.\n+// M2's constraint is unnamed.\n... | 2022-02-12T18:24:38 |
huggingface/transformers | aa495f62dec75a7c6593e978e5fed475d9d1efc0 | c24b51dd78b947517bd23b70ce0717f3a6d0107f | Fixes for the failures of AMD CI (#42718)
* Bump timm requirement
* Add sync to avoid params not transfered
* Multi-device BLT error
* Multi-device EfficientNet error
* Multi-device Ernie error
* Multi-device Mimi error
* Makes
* Stop using .to and use no_split_modules instead
* Restore no_split to Ernie | [
{
"path": "setup.py",
"patch": "@@ -140,7 +140,7 @@\n \"tensorboard\",\n \"timeout-decorator\",\n \"tiktoken\",\n- \"timm<=1.0.19,!=1.0.18\",\n+ \"timm>=1.0.20\",\n \"tokenizers>=0.22.0,<=0.23.0\",\n \"torch>=2.2\",\n \"torchaudio\",",
"additions": 1,
"deletions": 1,
... | 2025-12-12T11:34:10 |
vercel/next.js | bd466842a093487d045cfcf6c94c36f015142be2 | ac74b58bd10a8f4416e25e72838465c6608e6f1b | Fix pnpm lock (#51503)
Reverting unexpected pnpm-lock changes from https://github.com/vercel/next.js/commit/a3ef99acd9805dded24214c21ac9149952af73a7 | [
{
"path": "pnpm-lock.yaml",
"patch": "@@ -193,7 +193,7 @@ importers:\n '@edge-runtime/jest-environment': 2.2.1\n '@fullhuman/postcss-purgecss': 1.3.0\n '@mdx-js/loader': 2.2.1_webpack@5.86.0\n- '@mdx-js/react': 2.2.1_gi7g2e7ms2o7qu7rygm7ubc5wa\n+ '@mdx-js/react': 2.2.1_react@18.2... | 2023-06-19T11:48:41 |
electron/electron | 741f8091b45122c0257b5a47b7a13036e9d30a7c | cbc2a869e3a6568da9390fa6b04a101aecbd1a8f | :memo: Fix coding style issues
* Correct heading order
* Adjust line length to `80`
* Beautify docs
* Apply small fixes
* Normalize whitespaces
[ci skip] | [
{
"path": "docs/development/debug-instructions-windows.md",
"patch": "@@ -1,38 +1,93 @@\n # Debugging Electron in Windows\n-If you experience crashes or issues in Electron that you believe are not caused by your JavaScript application, but instead by Electron itself, debugging can be a little bit tricky, es... | 2016-04-22T14:09:59 |
nodejs/node | 7fad0afd2c02496185a5aa5fab750b9d5cbab3bc | 7696663691d5b65f032772a0f6179acc59b0a3a2 | n-api: add error message for date expected
PR-URL: https://github.com/nodejs/node/pull/28303
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> | [
{
"path": "src/js_native_api_v8.cc",
"patch": "@@ -676,6 +676,7 @@ const char* error_messages[] = {nullptr,\n \"Thread-safe function queue is full\",\n \"Thread-safe function handle is closing\",\n \"A bigint was... | 2019-06-19T20:11:39 |
golang/go | f03ab0e0140544abfb10698b9171a91f9dd9c7a5 | f14ad78e844d7dff286421754c462886336b1eb6 | go/types, types2: unify core types for unbound type parameters
NOTE: Should this change cause problems, the new functionality
can be disabled by setting the flag enableCoreTypeUnification
in unify.go to false.
In the code
func f1[M1 map[K1]int, K1 comparable](m1 M1) {}
func f2[M2 map[K2]int, K2 comparable](m2 M2) {... | [
{
"path": "src/cmd/compile/internal/types2/errors.go",
"patch": "@@ -124,6 +124,17 @@ func sprintf(qf Qualifier, debug bool, format string, args ...interface{}) strin\n \t\t\t}\n \t\t\tbuf.WriteByte(']')\n \t\t\targ = buf.String()\n+\t\tcase []*TypeParam:\n+\t\t\tvar buf bytes.Buffer\n+\t\t\tbuf.WriteByte('... | 2022-02-12T00:47:58 |
huggingface/transformers | c24b51dd78b947517bd23b70ce0717f3a6d0107f | b19844eef694bea15ba5b1a765997292a26ef6d2 | Fix xpu output check for Ministral3 tests (#42761)
* fix xpu output check for ministral3
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* fix format
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* fix xpu check
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* use Expectations
Signed-off-by: jiqing-... | [
{
"path": "tests/models/ministral3/test_modeling_ministral3.py",
"patch": "@@ -21,8 +21,10 @@\n \n from transformers import AutoTokenizer, Mistral3ForConditionalGeneration, is_torch_available\n from transformers.testing_utils import (\n+ Expectations,\n backend_empty_cache,\n cleanup,\n+ requi... | 2025-12-12T11:26:14 |
vercel/next.js | ac74b58bd10a8f4416e25e72838465c6608e6f1b | 6a189bc442cd74d5c389941ee270d9d339d69e03 | docs: Fix typo in image alt. (#51487) | [
{
"path": "docs/02-app/01-building-your-application/02-rendering/index.mdx",
"patch": "@@ -12,7 +12,7 @@ React 18 and Next.js 13 introduced new ways to render your application. This pag\n There are two environments where your application code can be rendered: the client and the server.\n \n <Image\n- alt=\... | 2023-06-19T04:40:45 |
electron/electron | cbc2a869e3a6568da9390fa6b04a101aecbd1a8f | c72bb6df33488f4069cfb42f6a5994a969f4c3e5 | :memo: Fix typos
[ci skip] | [
{
"path": "docs/api/screen.md",
"patch": "@@ -1,7 +1,7 @@\n # screen\n \n The `screen` module retrieves information about screen size, displays, cursor\n-position, etc. You cannot not use this module until the `ready` event of the\n+position, etc. You can not use this module until the `ready` event of the\n... | 2016-04-22T13:56:24 |
nodejs/node | 2c9883df3144714e651887ab9844b01d5a0479a1 | 5faa53789a01427928f03c784219395e2092c8ca | doc: remove "note that" from errors.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16
PR-URL: https://github.com/nodejs/node/pull/28329
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewat... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -636,7 +636,7 @@ An attempt was made to register something that is not a function as an\n <a id=\"ERR_ASYNC_TYPE\"></a>\n ### ERR_ASYNC_TYPE\n \n-The type of an asynchronous resource was invalid. Note that users are also able\n+The type of an asynchronous resource... | 2019-06-20T19:55:29 |
golang/go | f14ad78e844d7dff286421754c462886336b1eb6 | badba359da9f09dfd75d81c7175b78eb1dbc998f | net: send EDNS(0) packet length in DNS query
We used to only accept up to 512 bytes in a DNS packet, per RFC 1035.
Increase the size we accept to 1232 bytes, per https://dnsflagday.net/2020/,
and advertise that larger limit in a EDNS(0) OPT record.
Fixes #6464
Fixes #21160
Fixes #44135
Fixes #51127
Change-Id: I496a2... | [
{
"path": "src/net/dnsclient_unix.go",
"patch": "@@ -30,6 +30,10 @@ const (\n \t// to be used as a useTCP parameter to exchange\n \tuseTCPOnly = true\n \tuseUDPOrTCP = false\n+\n+\t// Requested DNS packet size.\n+\t// Value taken from https://dnsflagday.net/2020/.\n+\tmaxDNSPacketSize = 1232\n )\n \n var (... | 2022-02-11T04:09:07 |
huggingface/transformers | b19844eef694bea15ba5b1a765997292a26ef6d2 | 780cc65907949a48d6d4908ec851c9dabe6ee455 | Compatible with GPTQModel FORAMT.LLM_AWQ (#42833)
* Compatible with llm-awq
Signed-off-by: ZX-ModelCloud <zx@modelcloud.ai>
* Apply style fixes
---------
Signed-off-by: ZX-ModelCloud <zx@modelcloud.ai>
Co-authored-by: Qubitium-ModelCloud <qubitium@modelcloud.ai>
Co-authored-by: github-actions[bot] <github-actions[... | [
{
"path": "src/transformers/utils/quantization_config.py",
"patch": "@@ -69,6 +69,7 @@ class AwqFormat(str, Enum):\n GEMM = \"gemm\"\n GEMV = \"gemv\"\n GEMV_FAST = \"gemv_fast\"\n+ LLM_AWQ = \"llm-awq\"\n \n \n class AwqBackend(str, Enum):\n@@ -838,14 +839,13 @@ def post_init(self):\n ... | 2025-12-12T11:16:53 |
vercel/next.js | 8dfaa486684f089de81004c9ac9a76529c412498 | 67853aa8cdc649cc35a6b7efc033bf262ff4ba87 | docs: fix MDX `formaction` link ID. (#51481) | [
{
"path": "docs/02-app/01-building-your-application/03-data-fetching/04-server-actions.mdx",
"patch": "@@ -545,7 +545,7 @@ React also provides built-in solutions for [optimistic updates](#experimental-us\n \n ### Form Actions\n \n-[Actions](#actions) integrated into the web standard `<form>` API, and enable... | 2023-06-19T03:06:44 |
electron/electron | 4f4277e25e2207a879501d0fc76be28b4a9d3b1f | 0282180b9c4ec0ee16385b3b002857e9bb1e4a6a | :memo: Fix coding style issues
* Adjust line length to `80`
* Normalize whitespaces
[ci skip] | [
{
"path": "docs/api/app.md",
"patch": "@@ -523,8 +523,8 @@ This method returns `true` if the system is in Dark Mode, and `false` otherwise.\n * `result` Integer - Result of import.\n \n Imports the certificate in pkcs12 format into the platform certificate store.\n-`callback` is called with the `result` o... | 2016-04-22T13:53:26 |
huggingface/transformers | 780cc65907949a48d6d4908ec851c9dabe6ee455 | 3fbd59b6f101375efef801430053aa22f4211317 | Fix deepspeed sp loss due to missing labels (#42812)
fix-trainer | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3943,6 +3943,9 @@ def _deepspeed_sp_compute_loss(self, model, inputs, return_outputs, pc):\n # Both standard transformer models and Liger-patched models handle shift_labels correctly,\n # so we can directly use the computed loss from the... | 2025-12-12T11:08:48 |
golang/go | badba359da9f09dfd75d81c7175b78eb1dbc998f | bcee121ae4f67281450280c72399890a3c7a7d5b | go/types, types2: better error message for invalid array length
If an invalid array length is just an identifier, mention
"array length" so that it's clear this is an invalid array
declaration and not a (invalid) generic type declaration.
Fixes #51145.
Change-Id: I8878cbb6c7b1277fc0a9a014712ec8d55499c5c7
Reviewed-on... | [
{
"path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue43527.go2",
"patch": "@@ -9,7 +9,7 @@ const L = 10\n type (\n \t_ [L]struct{}\n \t_ [A /* ERROR undeclared name A for array length */ ]struct{}\n-\t_ [B /* ERROR not an expression */ ]struct{}\n+\t_ [B /* ERROR in... | 2022-02-11T21:16:52 |
rust-lang/rust | 51ef8fb35d063826a2e6c52d97778d08e9c42da2 | 42e9a9f418ea6919c659d9bb94bf17048d0f3f83 | Remove keyword prefixes (`macro@` or `macro `) from links in the docs only if the link target is inferred
That is, do it for `[macro foo]`, but not for `[macro foo](macro foo)`. | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/doc_links.rs",
"patch": "@@ -60,7 +60,7 @@ pub(crate) fn rewrite_links(\n let doc = Parser::new_with_broken_link_callback(markdown, MARKDOWN_OPTIONS, Some(&mut cb))\n .into_offset_iter();\n \n- let doc = map_links(doc, |target, title, range| {... | 2025-07-02T21:41:47 |
vercel/next.js | 67853aa8cdc649cc35a6b7efc033bf262ff4ba87 | cd683523a1d49ab459a63adfa8d27cc9a20d7bb0 | docs: Fix typo in Route Handlers docs. (#51429) | [
{
"path": "docs/02-app/01-building-your-application/01-routing/10-router-handlers.mdx",
"patch": "@@ -170,7 +170,7 @@ export async function POST() {\n }\n ```\n \n-> **Good to know**: Previously, API Routes could have been used for use cases like handling form submissions. Route Handlers are likely not the ... | 2023-06-16T22:01:33 |
electron/electron | 08dbd35cedd223b32b2cbe59b0fdb74010e2eaa7 | 552609db73ff4b616eaace2a283e9591bf1fd5cc | :memo: Apply small fixes
[ci skip] | [
{
"path": "CONTRIBUTING-ko.md",
"patch": "@@ -29,8 +29,8 @@\n ## Pull Request 하기\n \n * 가능한한 스크린샷과 GIF 애니메이션 이미지를 pull request에 추가\n-* CoffeeScript, JavaScript, C++과 Python등\n-[참조문서에 정의된 코딩스타일](/docs-translations/ko-KR/development/coding-style.md)을\n+* JavaScript, C++과 Python등\n+[참조 문서에 정의된 코딩스타일](/docs-tra... | 2016-04-22T13:14:42 |
huggingface/transformers | f80b0485feccccb8102ee788b7609e3ec98a1567 | 6d00f6b0a5679c36510f203e4226e36f517c3032 | [XPU] Fix UT errors in the sam3 and lfm series model. (#42798)
* Make sam3 tests pass on XPU
* Update flm2 tests GT for XPU
* Remove the skip tests of local mask for XPU
* Pass position_ids to varlen FA2
* Change modular also
* Skip FA2 bwd tests
* Make style
* Increase rtol
* Adapt to the main branch
* fix c... | [
{
"path": "tests/models/lfm2_moe/test_modeling_lfm2_moe.py",
"patch": "@@ -176,8 +176,8 @@ def test_model_1a8b_logits(self):\n # Expected mean on dim = -1\n EXPECTED_MEANS = Expectations(\n {\n- (\"cuda\", None): torch.tensor([[-1.3855, -0.5123, -1.3143, -1.2144, -... | 2025-12-12T08:41:23 |
golang/go | bcee121ae4f67281450280c72399890a3c7a7d5b | 0bde2cf5fe1fea62bb0975a7098c55abd8f3da34 | cmd/compile, runtime: use unwrapped PC for goroutine creation tracing
With the switch to the register ABI, we now generate wrapper
functions for go statements in many cases. A new goroutine's start
PC now points to the wrapper function. This does not affect
execution, but the runtime tracer uses the start PC and the
f... | [
{
"path": "src/cmd/compile/internal/escape/call.go",
"patch": "@@ -238,6 +238,15 @@ func (e *escape) goDeferStmt(n *ir.GoDeferStmt) {\n \tfn.SetWrapper(true)\n \tfn.Nname.SetType(types.NewSignature(types.LocalPkg, nil, nil, nil, nil))\n \tfn.Body = []ir.Node{call}\n+\tif call, ok := call.(*ir.CallExpr); ok ... | 2022-02-07T17:00:44 |
electron/electron | 552609db73ff4b616eaace2a283e9591bf1fd5cc | 57115a447c74db99a497238ebe1d992918ea1462 | :memo: Apply small fixes
[ci skip] | [
{
"path": "CONTRIBUTING-ko.md",
"patch": "@@ -1,10 +1,10 @@\n # Electron에 기여하기\n \n-:+1::tada: 먼저, 이 프로젝트에 기여해주셔서 감사합니다! :tada::+1:\n+:+1::tada: 먼저, 기여에 관심을 가져주셔서 감사합니다! :tada::+1:\n \n-이 프로젝트는 기여자 규약 [행동강령](CODE_OF_CONDUCT.md)을 준수합니다. 따라서 이\n+이 프로젝트는 기여자 규약인 [행동강령](CODE_OF_CONDUCT.md)을 준수합니다. 따라서 이\n 프로젝트의... | 2016-04-22T13:11:02 |
huggingface/transformers | 6217adc6c8f0be7b5374e6a46129ad2214e4c6ed | 8a2a83d574fd461697a29410a36737ed112f8ba7 | Default auto (#42805)
* default to `"auto"` dtype
* the actual change?
* up?
* style
* up?
* only sam models were broken with this
* fix sams
* update
* fix sam2 now
* up
* this?
* proper fix
* lol
* fix
* fixes
* nit
* fix
* fix copies
* fixes
* fix bigbird
* revert one bit | [
{
"path": "src/transformers/core_model_loading.py",
"patch": "@@ -885,7 +885,7 @@ def convert_and_load_state_dict_in_model(\n elif dtype_plan != {} and dtype_policy_alt.search(renamed_key):\n matched_dtype_pattern = dtype_policy_alt.search(renamed_key)\n if matche... | 2025-12-11T17:03:32 |
vercel/next.js | cca9dd12978b8bf227b196230925480948d3b75e | 13c205ffdf7155e98c8ecedd77afe8b9d8c749d1 | examples: Add new `cms-payload` example. (#49616)
This PR adds `cms-payload` to the examples folder. The demo provides a
NextJS frontend, built with Payload, which can be deployed together in a
single instance.
### Improving Documentation or adding/fixing Examples
- [x] The "examples guidelines" are followed f... | [
{
"path": "examples/cms-payload/.env.example",
"patch": "@@ -0,0 +1,12 @@\n+MONGODB_URI=mongodb://localhost/payload-vercel-functions\n+PAYLOAD_SECRET=YOUR_SECRET_HERE\n+PAYLOAD_CONFIG_PATH=dist/payload.config.js\n+NEXT_PUBLIC_APP_URL=http://localhost:3000\n+PAYLOAD_PUBLIC_CMS_URL=http://localhost:3000\n+S3_... | 2023-06-16T14:32:51 |
nodejs/node | 3fd54510d0e2da2b14415d2a210eb5dbed20df94 | a03f256409cec309955a96784300643f241392b9 | doc: fix typo in process.disconnect() docs
"that" should be "the" in this sentence. This commit also
restructures the sentence to avoid the word "process's"
PR-URL: https://github.com/nodejs/node/pull/28328
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: ... | [
{
"path": "doc/api/process.md",
"patch": "@@ -763,8 +763,8 @@ and [Cluster][] documentation), the `process.disconnect()` method will close the\n IPC channel to the parent process, allowing the child process to exit gracefully\n once there are no other connections keeping it alive.\n \n-The effect of calling... | 2019-06-20T17:37:17 |
huggingface/transformers | 464dfa04460cf2c2b3fad6ebca6f11b81f663d4f | 6a93635e1d6e5f94f15bdde84ac2477e86423e5e | Raise conversion errors after loading (#42807)
* raise
* comment
* fix
* add test
* fix
* add back return
* small
* raise after report
* typos
* fix
* patch
* switch name
* doc
* oupsi that was commented out | [
{
"path": "src/transformers/core_model_loading.py",
"patch": "@@ -409,7 +409,7 @@ def convert(\n config=None,\n hf_quantizer=None,\n missing_keys: Optional[MutableSet[str]] = None,\n- misc: Optional[MutableMapping[str, str]] = None,\n+ conversion_errors: Optional[Mutabl... | 2025-12-11T15:49:59 |
electron/electron | da727a3c1bdbf5cfaa55b7e718dc280d2d0a720d | 394ffa88dd7fb9dfa2e13def281d2b908c2bae72 | Fix display.rotation documentation | [
{
"path": "docs/api/screen.md",
"patch": "@@ -62,8 +62,8 @@ a remote, virtual display.\n \n * `display` object\n * `id` Integer - Unique identifier associated with the display.\n- * `rotation` Integer - Can be 0, 1, 2, 3, each represents screen rotation in\n- clock-wise degrees of 0, 90, 180, 270.\n+ ... | 2016-04-22T10:32:11 |
vercel/next.js | 46981388aad0a1b0f17f35de0c6794f4572d7549 | 3cac09790b07038ad7c48a842dfe22e3468cf257 | Fix bundling of Server Actions (#51367)
There're 3 layers in the RSC module graph: server → client → action. "Action" means that a Client Component re-enters the server layer by importing a file with `"use server"`, and it should behave the same as the server layer but you can't enter the client layer again (hence we ... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -1385,7 +1385,7 @@ export default async function getBaseWebpackConfig(\n // so that the DefinePlugin can inject process.env values.\n \n // Treat next internals as non-external for server layer\n- if (layer === WEBPACK_LAYE... | 2023-06-16T13:47:48 |
nodejs/node | 3aeb810ca6e2230ae53f7196abd013ec56b94aa8 | 05359dd0dbd00d95fceab63cd72017c58e2f0ce6 | child_process: attach child in promisification
This commit updates the custom exec() and execFile()
promisification to attach the ChildProcess instance to the
returned Promise.
PR-URL: https://github.com/nodejs/node/pull/28325
Fixes: https://github.com/nodejs/node/issues/28244
Reviewed-By: Luigi Pinca <luigipinca@gma... | [
{
"path": "doc/api/child_process.md",
"patch": "@@ -214,10 +214,11 @@ Unlike the exec(3) POSIX system call, `child_process.exec()` does not replace\n the existing process and uses a shell to execute the command.\n \n If this method is invoked as its [`util.promisify()`][]ed version, it returns\n-a `Promise`... | 2019-06-20T16:10:06 |
huggingface/transformers | dfe6e4c0efe47a4e0770b346a332f4a3423e7ca7 | de055d6db06d906cdd82030ef1e6776a2be3d6b5 | Fix integration test in Owlv2 image processing tests (#42783)
Fix integration test | [
{
"path": "tests/models/owlv2/test_image_processing_owlv2.py",
"patch": "@@ -127,7 +127,7 @@ def test_image_processor_integration_test(self):\n pixel_values = processor(image, return_tensors=\"pt\").pixel_values\n \n mean_value = round(pixel_values.mean().item(), 4)\n- sel... | 2025-12-11T14:50:31 |
golang/go | 23386b5f675782c7b5929ef13604ca4e147e4197 | 0a9d6a31b1e8799e11cb055687fbbe4536590994 | cmd/go: support workspaces in vet
Add modload.InitWorkfile to runVet so that the vet command recognizes
and uses the workspace.
Fixes #51072
Change-Id: Ia6727eff9b80eb33627f5ae23e4d72cde581e75f
Reviewed-on: https://go-review.googlesource.com/c/go/+/385176
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Micha... | [
{
"path": "src/cmd/go/internal/vet/vet.go",
"patch": "@@ -13,6 +13,7 @@ import (\n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/load\"\n+\t\"cmd/go/internal/modload\"\n \t\"cmd/go/internal/trace\"\n \t\"cmd/go/internal/work\"\n )\n@@ -54,6 +55,7 @@ See also: go fmt, go fix.\n... | 2022-02-11T17:01:34 |
electron/electron | b45f6836554f6a4e1451df0560cddb976ed79045 | c92e622ce0a6c26171612c70f1d4a0058b69e97c | Update desktop-capturer.md
Fixed native image link. | [
{
"path": "docs/api/desktop-capturer.md",
"patch": "@@ -72,7 +72,7 @@ captured screen or individual window, and has following properties:\n * `name` String - The described name of the capturing screen or window. If the\n source is a screen, the name will be `Entire Screen` or `Screen <index>`; if\n it i... | 2016-04-21T22:00:19 |
vercel/next.js | 1602c2af256ed72153c894758f391b1ad2d4e05d | d6952989a863932149afc1f6daa34f4a0d4e318c | Fix pnpm `ERR_INVALID_THIS` on Node 20 (#51406)
### What?
Fixes pnpm/pnpm#6424
### Why?
So users of Node 20 can contribute to Next.js
### How?
Upgrades pnpm with back compatibility to patch `ERR_INVALID_THIS` error.
If Node 14 support isn't necessary, I'd recommend upgrading to pnpm 8
for continued fe... | [
{
"path": ".github/actions/next-stats-action/Dockerfile",
"patch": "@@ -14,7 +14,7 @@ RUN ln $(which python3) /usr/bin/python\n RUN curl -sfLS https://install-node.vercel.app/v18 | bash -s -- -f\n \n # Install node_modules\n-RUN npm i -g pnpm@7.24.3 yarn@1.22.19\n+RUN npm i -g pnpm@7.32.2 yarn@1.22.19\n RUN... | 2023-06-16T12:37:11 |
huggingface/transformers | de055d6db06d906cdd82030ef1e6776a2be3d6b5 | eaa3d4dd35d0ef856ee976cb1d2018e816e439c4 | [kernels] Final kernel removal 🥳 (#41664)
* fix bitnet
* finallyyy
* rm the kernel folder !
* fix revision
* fix
* fix
* revert | [
{
"path": "src/transformers/integrations/hub_kernels.py",
"patch": "@@ -253,6 +253,8 @@ def register_kernel_mapping_transformers(*args, **kwargs):\n \n _HUB_KERNEL_MAPPING: dict[str, dict[str, str]] = {\n \"causal-conv1d\": {\"repo_id\": \"kernels-community/causal-conv1d\"},\n+ \"mamba-ssm\": {\"repo... | 2025-12-11T14:31:35 |
nodejs/node | 05359dd0dbd00d95fceab63cd72017c58e2f0ce6 | f00d5bc050ff8d7b24ba02b04d761a34835e1b4c | doc: make multipleResolves docs less opinionated
The 'multipleResolves' event does not necessarily indicate an
error. This commit makes the documentation less opinionated, and
includes potential caveats.
PR-URL: https://github.com/nodejs/node/pull/28314
Refs: https://github.com/nodejs/node/issues/24321
Reviewed-By: G... | [
{
"path": "doc/api/process.md",
"patch": "@@ -107,7 +107,7 @@ not be the same as what is originally sent.\n added: v10.12.0\n -->\n \n-* `type` {string} The error type. One of `'resolve'` or `'reject'`.\n+* `type` {string} The resolution type. One of `'resolve'` or `'reject'`.\n * `promise` {Promise} The pr... | 2019-06-20T02:48:45 |
electron/electron | 30d37fcba42517d574851202eaf08ed49e7131c4 | 720fbc1003a45bbcfb9bf6686e3492b767f51b32 | :memo: Small fixes
[ci skip] | [
{
"path": "docs-translations/ko-KR/api/session.md",
"patch": "@@ -294,7 +294,7 @@ myWindow.webContents.session.setCertificateVerifyProc(function(hostname, cert, c\n * `handler` Function\n * `webContents` Object - [WebContents](web-contents.md) 권한을 요청.\n * `permission` String - 'media', 'geolocation', '... | 2016-04-21T03:33:56 |
huggingface/transformers | eaa3d4dd35d0ef856ee976cb1d2018e816e439c4 | 8c84144bfc7dd0c9c5e336a6d89c9dcee2efc2a8 | Vision docs 📝 (#42096)
* add mask generation fine-tuning docs
* initial commit
* update video text to text
* fix autoprocessor
* bump model, update API
* add torch.compile
* Add results
* Update docs/source/en/tasks/image_text_to_text.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
... | [
{
"path": "docs/source/en/tasks/image_text_to_text.md",
"patch": "@@ -33,7 +33,8 @@ This guide focuses on inference with an instruction-tuned model.\n Let's begin installing the dependencies.\n \n ```bash\n-pip install -q transformers accelerate flash_attn\n+pip install -q transformers accelerate \n+pip ins... | 2025-12-11T14:27:41 |
vercel/next.js | 04cd1fd4efe905879419a91d8f3dcdf28c39ab4f | cbb69b2cfc19d95cf914250f7c20d4d9a42e8bc5 | Upgrade with-redux example to app router (#49994)
### What?
Update **with-redux** example.
### Why?
**with-redux** example have:
- outdated packages
- outdated approaches and relies on **pages** directory
Since **app router** is stable now and is recommended to use, I've updated this example.
### How?
An update ... | [
{
"path": "examples/with-redux/app/api/identity-count/route.ts",
"patch": "@@ -0,0 +1,12 @@\n+/* Core */\n+import { NextResponse } from 'next/server'\n+\n+export async function POST(req: Request, res: Response) {\n+ const body = await req.json()\n+ const { amount = 1 } = body\n+\n+ // simulate IO latency... | 2023-06-16T02:00:04 |
nodejs/node | ab3174ca08dcc4a435d61f4ce43e5bfd8cf23115 | e6edd66c10632715326a3ef830c6808d7da069f6 | build: link libatomic on mac and linux
Fixes https://github.com/nodejs/node/issues/28231
PR-URL: https://github.com/nodejs/node/pull/28232
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gm... | [
{
"path": "node.gyp",
"patch": "@@ -289,6 +289,9 @@\n '-Wl,-bnoerrmsg',\n ],\n }],\n+ ['(OS==\"linux\" or OS==\"mac\") and llvm_version!=0', {\n+ 'libraries': ['-latomic'],\n+ }],\n ],\n },\n ",
"additions": 3,
"deletions": 0,
"language": "Unknown"
... | 2019-06-14T21:03:48 |
golang/go | 0a9d6a31b1e8799e11cb055687fbbe4536590994 | 18e1a5a0859a268af83d3bbe855b8bf3b2d25298 | runtime: update TestGdbBacktrace skips for known GDB bugs
Fixes #50838
Change-Id: Ib7e7563cd63d85a508984e4162eda38232b250d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/385175
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.c... | [
{
"path": "src/runtime/runtime-gdb_test.go",
"patch": "@@ -428,8 +428,13 @@ func TestGdbBacktrace(t *testing.T) {\n \tt.Logf(\"gdb output:\\n%s\", got)\n \tif err != nil {\n \t\tif bytes.Contains(got, []byte(\"internal-error: wait returned unexpected status 0x0\")) {\n+\t\t\t// GDB bug: https://sourceware.o... | 2022-02-11T16:48:47 |
vercel/next.js | fa73dd6b242431b9777a032e87a509b963749b29 | c52e74ca9d843f85ebd3701fb75a9ad863b4516d | fix(turbopack): enable runtime flag (vercel/turbo#5253)
### Description
Minor fix to enable features. | [
{
"path": "crates/turbopack-ecmascript-plugins/Cargo.toml",
"patch": "@@ -10,9 +10,13 @@ autobenches = false\n bench = false\n \n [features]\n+default = [\"swc_ecma_transform_plugin\"]\n transform_emotion = []\n # [NOTE]: Be careful to explicitly enable this only for the supported platform / targets.\n-swc_... | 2023-06-15T17:07:03 |
nodejs/node | e6edd66c10632715326a3ef830c6808d7da069f6 | 7334aaf2eaf3ae9a0bca30329bf833bb5f9f84d2 | src: add error codes to errors thrown in node_i18n.cc
PR-URL: https://github.com/nodejs/node/pull/28221
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "src/node_i18n.cc",
"patch": "@@ -655,7 +655,7 @@ static void ToUnicode(const FunctionCallbackInfo<Value>& args) {\n int32_t len = ToUnicode(&buf, *val, val.length());\n \n if (len < 0) {\n- return env->ThrowError(\"Cannot convert name to Unicode\");\n+ return THROW_ERR_INVALID_ARG_VALUE... | 2019-06-14T10:17:40 |
huggingface/transformers | 8c84144bfc7dd0c9c5e336a6d89c9dcee2efc2a8 | 78b2992920ea0bee4a6663ac8c7ebfadb93ceca7 | [Model] Add PaddleOCR-VL Model Support (#42178)
* init
* refactor
* update
* update
* fix unresolved problems
* fix how position_ids work with flash_attn_2
* add tests and fix code
* add model_doc
* update model_doc
* fix ci
* update docstring
* add tests
* update
* add **kwargs
* update
* update
* upd... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -1119,6 +1119,8 @@\n title: OWL-ViT\n - local: model_doc/owlv2\n title: OWLv2\n+ - local: model_doc/paddleocr_vl\n+ title: PaddleOCRVL\n - local: model_doc/paligemma\n title: PaliGemma\n - local: mode... | 2025-12-11T14:27:04 |
golang/go | ea9b1f1573736dacb4a6dd3c6e356d55a186ffc9 | f2ec001845c3faaca152550f976a1ca904edce38 | spec: add a section on implementing an interface
Also, fixed several closing header tags and removed a duplicate "the".
(Thanks to @hopehook and Hossein Zolfi for pointing these out.)
Change-Id: I85a40ba44b8570a578bce8d211dcc5ea3901fb1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/385036
Trust: Robert Gries... | [
{
"path": "doc/go_spec.html",
"patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification - Go 1.18 Draft (incomplete)\",\n-\t\"Subtitle\": \"Version of Feb 10, 2022\",\n+\t\"Subtitle\": \"Version of Feb 11, 2022\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1205,7 +1205,8 @... | 2022-02-11T05:10:34 |
electron/electron | 720fbc1003a45bbcfb9bf6686e3492b767f51b32 | c8e77f47abc5239a6614350513ee2a8188e963a3 | :memo: Update Korean docs as upstream
* Update docs
* Small fixes
[ci skip] | [
{
"path": "docs-translations/ko-KR/README.md",
"patch": "@@ -93,4 +93,5 @@ Electron에 대해 자주 묻는 질문이 있습니다. 이슈를 생성하기\n * [빌드 설명서 (OS X)](development/build-instructions-osx.md)\n * [빌드 설명서 (Windows)](development/build-instructions-windows.md)\n * [빌드 설명서 (Linux)](development/build-instructions-linux.md)\n-* [디버거... | 2016-04-20T09:45:07 |
huggingface/transformers | 78b2992920ea0bee4a6663ac8c7ebfadb93ceca7 | f8e8ddb0871a46d4baf80f9a3830221e4d1125b9 | [CI] fix wav2vec test (#42810)
fix ci | [
{
"path": "src/transformers/conversion_mapping.py",
"patch": "@@ -142,11 +142,11 @@ def _build_checkpoint_conversion_mapping():\n if hasattr(torch.nn.utils.parametrizations, \"weight_norm\"):\n mapping[\"legacy\"] += [\n WeightRenaming(\n- source_patterns=r\"weight_g$\... | 2025-12-11T14:20:04 |
vercel/next.js | 5b268be6f3dc12a798208475cc8b252c02e26ef5 | b09bbad535db8a821a1cb322d9757f4a37b3f122 | examples: migrate `with-elasticsearch` to TypeScript (#44842)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
## Feature
- [ ] Implements an exis... | [
{
"path": "examples/with-elasticsearch/package.json",
"patch": "@@ -7,9 +7,15 @@\n \"lint\": \"next lint\"\n },\n \"dependencies\": {\n- \"@elastic/elasticsearch\": \"^8.1.0\",\n+ \"@elastic/elasticsearch\": \"^8.6.0\",\n \"next\": \"latest\",\n \"react\": \"^18.2.0\",\n \"react-do... | 2023-06-15T16:26:09 |
nodejs/node | 5ccce52113a0f01da474eb066ac40d2dcbea1a55 | d5cf51dad589dffed2f15cc3a49d19ae13968b8f | test: normalize location test-worker-process-cwd.js runs tests
This change sets the process' directory to __dirname in order to
normalize where the test is ran. This addresses the situation that
occurs when node is located in the root, and moving up a directory
results in the same directory. In that case, an error w... | [
{
"path": "test/parallel/test-worker-process-cwd.js",
"patch": "@@ -10,6 +10,7 @@ if (!process.env.HAS_STARTED_WORKER) {\n if (!isMainThread) {\n common.skip('This test can only run as main thread');\n }\n+ process.chdir(__dirname);\n const w = new Worker(__filename);\n process.chdir('..');\n ... | 2019-06-17T22:00:42 |
golang/go | f2ec001845c3faaca152550f976a1ca904edce38 | e50f0f372b07149e9cf16b8fec80d2d72efe2a87 | go/doc: mark comparable predeclared
Add comparable to the list of predeclared types.
Fixes golang/go#51141.
Change-Id: I4a2d4e7e5680e115de9bca03b6c8ad454551cb82
Reviewed-on: https://go-review.googlesource.com/c/go/+/385114
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Rev... | [
{
"path": "src/go/doc/reader.go",
"patch": "@@ -927,6 +927,7 @@ var predeclaredTypes = map[string]bool{\n \t\"any\": true,\n \t\"bool\": true,\n \t\"byte\": true,\n+\t\"comparable\": true,\n \t\"complex64\": true,\n \t\"complex128\": true,\n \t\"error\": true,",
"additions": 1,
... | 2022-02-11T13:54:29 |
huggingface/transformers | f8e8ddb0871a46d4baf80f9a3830221e4d1125b9 | f8e5ae6a5072cfea78c5d052ebe61b63c9cb10cc | fix awq (#42776)
* fix
* fix
* style
* style
* fix
* style
* let's try
* maybe
* fix
---------
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> | [
{
"path": "src/transformers/integrations/awq.py",
"patch": "@@ -15,12 +15,13 @@\n \n from typing import Optional, Union\n \n-from ..utils import is_gptqmodel_available, is_llm_awq_available, is_torch_available, logging\n-from ..utils.quantization_config import (\n- AwqBackend,\n-)\n+from ..quantizers.qua... | 2025-12-11T14:18:21 |
vercel/next.js | b09bbad535db8a821a1cb322d9757f4a37b3f122 | e43f134c1f81bb747955925ec0d6ebbecb6e1483 | Auth0 V2 migration update (#45302)
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Hi Next.js team,
T... | [
{
"path": "examples/auth0/package.json",
"patch": "@@ -6,7 +6,7 @@\n \"start\": \"next start\"\n },\n \"dependencies\": {\n- \"@auth0/nextjs-auth0\": \"^1.9.1\",\n+ \"@auth0/nextjs-auth0\": \"^2.2.0\",\n \"next\": \"latest\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\"",... | 2023-06-15T16:10:16 |
nodejs/node | d5cf51dad589dffed2f15cc3a49d19ae13968b8f | e57bf473517f12eb169e960aa80ffd5dcd5994d5 | worker: only unref port for stdin if we ref’ed it before
We set the `kStartedReading` flag from `_read()` for Worker stdio,
and then `ref()` the port.
However, the `.on('end')` handler is also attached when `._read()`
is not called, e.g. when `process.stdin` inside a Worker is prematurely
ended because stdin was not ... | [
{
"path": "lib/internal/worker/io.js",
"patch": "@@ -169,8 +169,10 @@ class ReadableWorkerStdio extends Readable {\n this[kIncrementsPortRef] = true;\n this[kStartedReading] = false;\n this.on('end', () => {\n- if (this[kIncrementsPortRef] && --this[kPort][kWaitingStreams] === 0)\n- ... | 2019-06-10T14:48:15 |
golang/go | 9fdcfb7c10b464ffab815892f5fc77d68ed35714 | 30501bbef9fcfc9d53e611aaec4d20bb3cdb8ada | doc: fix spelling error in link ID
Change-Id: I6de236442f213ab4b4f19ec881add4923d8bfd8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/385054
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Kevin Burke <kevin@burke.dev> | [
{
"path": "doc/go_spec.html",
"patch": "@@ -1365,7 +1365,7 @@ <h4 id=\"Embedded_interfaces\">Embedded interfaces</h4>\n }\n </pre>\n \n-<h4 id=\"Generenal_interfaces\">General interfaces</h4>\n+<h4 id=\"General_interfaces\">General interfaces</h4>\n \n <p>\n In their most general form, an interface element ... | 2022-02-11T04:44:03 |
huggingface/transformers | f8e5ae6a5072cfea78c5d052ebe61b63c9cb10cc | 86644be4790613d9bb21372fd9d10f48fd8d892c | Better continuous batching tests (#42699)
* No more size 0 cuda graph
* Better tests for CB
* compile fix for CB test
* style
* More cleanup and cuda exclusive
* Returned to slow tests
* Change decorator order
* Restore XPU change
* Rebase fixes | [
{
"path": "src/transformers/generation/continuous_batching/continuous_api.py",
"patch": "@@ -66,7 +66,7 @@ def pad_by_intervals(size: int, max_value: int, nb_intervals: int) -> int:\n interval_size = max_value // nb_intervals\n if interval_size == 0:\n return max_value\n- padded = ceil(si... | 2025-12-11T13:51:34 |
vercel/next.js | e43f134c1f81bb747955925ec0d6ebbecb6e1483 | 831f58a70ca7b3fb5648398db3a1162f2a4151f9 | docs: fix the url of router event (#51339)
Refer to [here](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/toString#examples)
The `searchParams.toString()` doesn't include the question mark.
Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com> | [
{
"path": "docs/02-app/02-api-reference/04-functions/use-router.mdx",
"patch": "@@ -80,7 +80,7 @@ export function NavigationEvents() {\n const searchParams = useSearchParams()\n \n useEffect(() => {\n- const url = pathname + searchParams.toString()\n+ const url = `${pathname}?${searchParams}`\n ... | 2023-06-15T15:56:35 |
nodejs/node | e57bf473517f12eb169e960aa80ffd5dcd5994d5 | b0f75818f39ed4e6bd80eb7c4010c1daf5823ef7 | test: use .code for error in setgid
When the 'nobody' user is missing use .code to detect this, its more
robust than than the .message string.
Refs: https://github.com/nodejs/node/issues/19594
PR-URL: https://github.com/nodejs/node/pull/28219
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <l... | [
{
"path": "test/parallel/test-process-uid-gid.js",
"patch": "@@ -74,7 +74,7 @@ const oldgid = process.getgid();\n try {\n process.setgid('nobody');\n } catch (err) {\n- if (err.message !== 'setgid group id does not exist') {\n+ if (err.code !== 'ERR_UNKNOWN_CREDENTIAL') {\n throw err;\n }\n proc... | 2019-06-14T00:14:33 |
golang/go | 30501bbef9fcfc9d53e611aaec4d20bb3cdb8ada | ca3fae1e0e2a4d7d1a6ba9eeb137d1d0f001e0a6 | spec: introduce notion of basic interface, misc. fine-tuning
A basic interface is a classical Go interface containing only
methods or embedding basic interfaces.
Use this to simplify rule about what interfaces may be used
where. The term "basic interface" will also be useful when
talking about various interfaces in g... | [
{
"path": "doc/go_spec.html",
"patch": "@@ -1226,11 +1226,15 @@ <h3 id=\"Interface_types\">Interface types</h3>\n A type term is either a single type or a single underlying type.\n </p>\n \n+<h4 id=\"Basic_interfaces\">Basic interfaces</h4>\n+\n <p>\n In its most basic form an interface specifies a (possibl... | 2022-02-11T00:02:48 |
huggingface/transformers | 86644be4790613d9bb21372fd9d10f48fd8d892c | a8f32a0e9c2fec0f196fab5d8316a03f35d0c528 | [Quantization] FBgemm FP8 for XPU (#42773)
* enable xpu in fp8_gemm
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* refine the code
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* updated
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* fix
* style
* small fix
---------
Signed-off-by: Wang, Yi <yi.a.wang@inte... | [
{
"path": "src/transformers/integrations/fbgemm_fp8.py",
"patch": "@@ -12,12 +12,19 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n+from functools import lru_cache\n from typing import Optional\n \n from ..activations import ACT2FN\n from ..... | 2025-12-11T13:51:08 |
nodejs/node | 2dec0f98310bcf996550cfbd3398eb983ab93e16 | d698983f45b7f8fd0f55fb05127b01a4c92c862a | test: fix flaky test-worker-debug
Address a race condition in the test; the Worker’s exit events
may have been not recorded because the Worker exited before
the listeners were attached.
Fix the by attaching the event listeners before telling the Worker
to exit.
PR-URL: https://github.com/nodejs/node/pull/28307
Fixes... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -21,8 +21,6 @@ test-worker-memory: PASS,FLAKY\n test-http2-client-upload: PASS,FLAKY\n # https://github.com/nodejs/node/issues/20750\n test-http2-client-upload-reject: PASS,FLAKY\n-# https://github.com/nodejs/node/issues/28106\n-test-worker-debug: PASS... | 2019-06-19T22:58:53 |
vercel/next.js | 831f58a70ca7b3fb5648398db3a1162f2a4151f9 | 7d7d5a762dc9df2fbae11d6e598695c12cc3428f | change strapi example to latest one - fixes #51332 (#51334)
fixes #51332
### What?
Changed the link to the latest official Strapi example with Next.js (+ App Router), Tailwind and TypeScript.
### Why?
The current example will be archived. See related blog post: https://strapi.io/blog/introducing-the-new-strapi... | [
{
"path": "examples/cms-strapi/README.md",
"patch": "@@ -1,3 +1,3 @@\n ## Deprecated\n \n-The Strapi CMS example is deprecated. Please check out [Strapi’s official demo application](https://github.com/strapi/foodadvisor/).\n+The Strapi CMS example is deprecated. Please check out [Strapi’s official demo appl... | 2023-06-15T15:21:48 |
golang/go | c4b87b8d08af1243a8ef0add245f10f878879a57 | 99b61be9f573ca46f4a4160e536abcb62180638a | abi-internal: Fix typo in register assignment documentation
If register assignment fails, revert back the value to stack
Change-Id: I6f65092461ad4d793206a679a5fef1b560b387f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/384455
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Ian Lance Taylor <iant@gola... | [
{
"path": "src/cmd/compile/abi-internal.md",
"patch": "@@ -155,7 +155,7 @@ as follows:\n 1. Remember I and FP.\n 1. If T has zero size, add T to the stack sequence S and return.\n 1. Try to register-assign V.\n-1. If step 2 failed, reset I and FP to the values from step 1, add T\n+1. If step 3 failed, reset... | 2022-02-10T06:26:55 |
huggingface/transformers | d1eda63fa38ff29e7d5d930eb3eeff9fa75e1a9d | f5aa90d0fbb7b6f9dd07ac534319d973cd29a123 | [`Padding-Free Attention`] Fix packed FA attention with pos ids only (#42801)
* fix position ids
* style
* fix | [
{
"path": "src/transformers/models/deepseek_v2/modeling_deepseek_v2.py",
"patch": "@@ -342,7 +342,6 @@ def forward(\n past_key_values: Optional[Cache] = None,\n cache_position: Optional[torch.LongTensor] = None,\n position_embeddings: Optional[tuple[torch.Tensor, torch.Tensor]] = Non... | 2025-12-11T10:32:02 |
huggingface/transformers | 0af2381f7bfae0569b876dd40eefda1503da927f | 45d8168e45553816cc13dcd3925b1328a5f2fdcf | feat(granitemoe*): Remove logits upcast when computing loss (#42753)
* feat: Remove logits upcast when computing loss
When the CausalLM loss is used, the upcast is done in the loss function
utils, so this is redundant.
https://github.com/huggingface/transformers/issues/42709
Branch: GraniteOptionalUpcast-42709
Sign... | [
{
"path": "src/transformers/models/granitemoe/modeling_granitemoe.py",
"patch": "@@ -714,8 +714,6 @@ def forward(\n \n loss = None\n if labels is not None:\n- # Upcast to float if we need to compute the loss to avoid potential precision issues\n- logits = logits.float()... | 2025-12-11T07:24:01 |
nodejs/node | 05b8526a594db8be5621ea40de625c46fcd5f1dc | 7146ddd8a068e08de15646bf8fe4090835682bb9 | deps: V8: extend workaround for MSVC optimizer bug
Builds are starting to fail in CI with V8 7.5 and 7.6.
Refs: https://developercommunity.visualstudio.com/content/problem/512352/compiler-doesnt-finish-142027508.html
PR-URL: https://github.com/nodejs/node/pull/28286
Reviewed-By: Bartosz Sosnowski <bartosz@janeasyste... | [
{
"path": "deps/v8/src/builtins/setup-builtins-internal.cc",
"patch": "@@ -297,7 +297,7 @@ Code GenerateBytecodeHandler(Isolate* isolate, int builtin_index,\n \n } // namespace\n \n-#if _MSC_VER == 1920\n+#ifdef _MSC_VER\n #pragma optimize( \"\", off )\n #endif\n \n@@ -384,7 +384,7 @@ void SetupIsolateDele... | 2019-06-18T06:00:00 |
vercel/next.js | 7d7d5a762dc9df2fbae11d6e598695c12cc3428f | a806f1ad843e05b4ca63e477a33d89dc8c683ea3 | Fix shared layer bundling in Edge Runtime (#51348)
Our shared layer matcher doesn't contain `next/dist/esm`, which breaks Server Actions when there're cookie/header accesses.
Closes #50099. Fix NEXT-1229 | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -97,7 +97,7 @@ const babelIncludeRegexes: RegExp[] = [\n const reactPackagesRegex = /^(react|react-dom|react-server-dom-webpack)($|\\/)/\n \n const asyncStoragesRegex =\n- /next[\\\\/]dist[\\\\/]client[\\\\/]components[\\\\/](static-genera... | 2023-06-15T13:03:51 |
golang/go | 8ba3ad92ebd38a0d41c96dda7ccb5d650236d3c6 | e4a173adf6ffbd5f46b2bcb3f9eedf661bf2e4d1 | cmd/go: mention go.work when local path outside modules in go.work
In workspace mode, if a user lists a package or patternthat's inside a
module that's not listed in go.work, mention that the package or pattern
is outside the modules listed in go.work so the user has a better idea
of how to fix the issue.
(Question: ... | [
{
"path": "src/cmd/go/internal/modload/load.go",
"patch": "@@ -479,7 +479,11 @@ func matchLocalDirs(ctx context.Context, modRoots []string, m *search.Match, rs\n \t\t}\n \t\tif !found && search.InDir(absDir, cfg.GOROOTsrc) == \"\" && pathInModuleCache(ctx, absDir, rs) == \"\" {\n \t\t\tm.Dirs = []string{}\n... | 2022-02-08T21:45:17 |
huggingface/transformers | 45d8168e45553816cc13dcd3925b1328a5f2fdcf | 8ebfd84fa7f4d6c59f5059a439fad10ada26b3ff | allow registration of custom checkpoint conversion mappings (#42634)
* allow registration of custom checkpoint conversion mappings
* add tests
* chore: lint
* move tests to test_core_model_loading.py
* fixup
---------
Co-authored-by: Arthur <arthur.zucker@gmail.com> | [
{
"path": "src/transformers/conversion_mapping.py",
"patch": "@@ -186,10 +186,22 @@ def _build_checkpoint_conversion_mapping():\n \n def get_checkpoint_conversion_mapping(model_type):\n global _checkpoint_conversion_mapping_cache\n- _checkpoint_conversion_mapping_cache = _build_checkpoint_conversion_... | 2025-12-11T07:22:20 |
nodejs/node | 7146ddd8a068e08de15646bf8fe4090835682bb9 | a33c3c6d33fa81fa59a5aa95246d7f599e6abdd3 | test: add Worker + uncaughtException + process.exit() test
PR-URL: https://github.com/nodejs/node/pull/28259
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> | [
{
"path": "test/parallel/test-worker-exit-from-uncaught-exception.js",
"patch": "@@ -0,0 +1,23 @@\n+'use strict';\n+const common = require('../common');\n+const assert = require('assert');\n+const { Worker } = require('worker_threads');\n+\n+// Check that `process.exit()` can be called inside a Worker from ... | 2019-06-17T03:11:51 |
vercel/next.js | bdcca0ccff07c1356b317259b6d9ad5110bed4e6 | 1660fdfcbb9fe9375b88a5171c6163b2a5c20fd9 | Fix CSS deploy id case (#51325)
x-ref: [slack
thread](https://vercel.slack.com/archives/C04MEB9L9RQ/p1686787663510239?thread_ts=1686770561.895939&cid=C04MEB9L9RQ) | [
{
"path": ".github/workflows/build_and_deploy.yml",
"patch": "@@ -418,9 +418,6 @@ jobs:\n NEXT_TELEMETRY_DISABLED: 1\n VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }}\n VERCEL_TEST_TEAM: vtest314-next-e2e-tests\n- # run all tests so we can see all failures even if\n- # some f... | 2023-06-15T03:28:18 |
golang/go | e4a173adf6ffbd5f46b2bcb3f9eedf661bf2e4d1 | 18c2033ba587ce63fc9f2d6f52b8bb2e395c561f | runtime: make piController much more defensive about overflow
If something goes horribly wrong with the assumptions surrounding a
piController, its internal error state might accumulate in an unbounded
manner. In practice this means unexpected Inf and NaN values.
Avoid this by identifying cases where the error overfl... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -1332,3 +1332,21 @@ func Releasem() {\n }\n \n var Timediv = timediv\n+\n+type PIController struct {\n+\tpiController\n+}\n+\n+func NewPIController(kp, ti, tt, min, max float64) *PIController {\n+\treturn &PIController{piController{\n+\t\tkp: kp,\n+\t\tt... | 2022-02-08T00:52:11 |
electron/electron | 942971b01afd6773fce41e5ca3d49270cf88b5ce | 64a84dee3bdcc81819733fb7f3e266e8e0bb5709 | Fix linting errors. | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -816,7 +816,7 @@ base::string16 WebContents::GetTitle() const {\n bool WebContents::IsLoading() const {\n return web_contents()->IsLoading();\n }\n- \n+\n bool WebContents::IsLoadingMainFrame() const {\n return is_loading_main_frame_... | 2016-04-20T02:20:59 |
huggingface/transformers | 8ebfd84fa7f4d6c59f5059a439fad10ada26b3ff | c3acdd5799b57e3b3ecf9e49575365d10649c332 | Fully deprecate AutoGPTQ and AutoAWQ for GPT-QModel (#41567)
* fully deprecate autogptq
* remove use_cuda and use_exllama toggles are fully deprecated in gptqmodel
* format
* add `act_group_aware` property
* fix QUANT_TYPE assert
Signed-off-by: ZX-ModelCloud <zx@modelcloud.ai>
* format
* mod awq import
* remov... | [
{
"path": "docker/transformers-intel-cpu/Dockerfile",
"patch": "@@ -48,7 +48,6 @@ RUN pip install --upgrade pip wheel\n RUN pip install torch torchvision torchaudio torchcodec --index-url https://download.pytorch.org/whl/cpu --no-cache-dir\n RUN pip install av pyctcdecode pytesseract decord galore-torch fir... | 2025-12-10T16:51:38 |
vercel/next.js | 1660fdfcbb9fe9375b88a5171c6163b2a5c20fd9 | f9ae5b7f3116612211f5df7c87b81bdb6bce272d | Update Next.js code owners (#51319)
This PR updates `.vercel.approvers` files to fix some validation errors
and to more closely match desired behavior for assigning and notifying
members of the team for reviews that was discussed on an internal Slack
thread.
- Owners files for `.cargo/` and `.config/` are moved ... | [
{
"path": ".cargo/.vercel.approvers",
"patch": "@@ -0,0 +1 @@\n+@vercel/web-tooling",
"additions": 1,
"deletions": 0,
"language": "Unknown"
},
{
"path": ".config/.vercel.approvers",
"patch": "@@ -0,0 +1 @@\n+nextest.toml @vercel/web-tooling",
"additions": 1,
"deletions": 0,
... | 2023-06-15T03:07:32 |
nodejs/node | a33c3c6d33fa81fa59a5aa95246d7f599e6abdd3 | 1c23b6f2bec82904aacfff279f0e2776246b6da4 | src: refactor uncaught exception handling
The C++ land `node::FatalException()` is not in fact fatal anymore.
It gives the user a chance to handle the uncaught exception
globally by listening to the `uncaughtException` event. This patch
renames it to `TriggerUncaughtException` in C++ to avoid the confusion.
In additi... | [
{
"path": "lib/internal/bootstrap/node.js",
"patch": "@@ -254,12 +254,18 @@ Object.defineProperty(process, 'features', {\n \n {\n const {\n- fatalException,\n+ onGlobalUncaughtException,\n setUncaughtExceptionCaptureCallback,\n hasUncaughtExceptionCaptureCallback\n } = require('internal/pr... | 2019-06-15T00:07:15 |
golang/go | 18c2033ba587ce63fc9f2d6f52b8bb2e395c561f | 452f24ae94f38afa3704d4361d91d51218405c0a | runtime/pprof: remove arbitrary sleeps in TestBlockProfile
The "block" helpers in TestBlockProfile previously slept for an
arbitrary duration and assumed that that duration was long enough for
the parent goroutine to have registered as blocking. However —
especially on slow or overloaded builders — the current arbitra... | [
{
"path": "src/runtime/pprof/pprof_test.go",
"patch": "@@ -794,7 +794,7 @@ func use(x [8 << 18]byte) {}\n func TestBlockProfile(t *testing.T) {\n \ttype TestCase struct {\n \t\tname string\n-\t\tf func()\n+\t\tf func(*testing.T)\n \t\tstk []string\n \t\tre string\n \t}\n@@ -903,7 +903,7 @@ func Tes... | 2022-02-09T16:04:01 |
huggingface/transformers | c3acdd5799b57e3b3ecf9e49575365d10649c332 | 15735a435c026717a89a0805975ce5c2d80128f8 | [core] fix fp-quant (#42613)
* initial
* quantization fixed
* up
* working
* fix
* style
* clean
* reset
* style
* rm duplicate
* ci: empty commit
---------
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "src/transformers/conversion_mapping.py",
"patch": "@@ -142,11 +142,11 @@ def _build_checkpoint_conversion_mapping():\n if hasattr(torch.nn.utils.parametrizations, \"weight_norm\"):\n mapping[\"legacy\"] += [\n WeightRenaming(\n- source_patterns=\"weight_g\",... | 2025-12-10T16:51:13 |
vercel/next.js | a7c31cc50997a1f1ecb9b1d382ab0fc31b7eb66b | dde67aec5aa8d9df499152d1194b826cf86e967d | test(next-dev): hard fail if next-dev runs with turbopack intenral flag (#51308)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you... | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -295,6 +295,12 @@ const nextDev: CliCommand = async (argv) => {\n } else {\n let cleanupFns: (() => Promise<void> | void)[] = []\n const runDevServer = async () => {\n+ if (process.env.__INTERNAL_NEXT_DEV_TEST_TURBO_DEV) {\n+ ... | 2023-06-15T02:29:59 |
huggingface/transformers | 15735a435c026717a89a0805975ce5c2d80128f8 | 51a667397bf029ef459b3f26f098669a86273b90 | [Quantization] Fix Static FP8 Quantization (#42775)
* fix
* fix style
* Update src/transformers/integrations/finegrained_fp8.py
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
* fix
* style
* Update src/transformers/integrations/finegrained_fp8.py
Co-authored-by: Marc Sun <57196510+SunMarc@... | [
{
"path": "src/transformers/integrations/finegrained_fp8.py",
"patch": "@@ -466,9 +466,11 @@ def forward(self, input: torch.Tensor) -> torch.Tensor:\n qinput, scale = act_quant(input, self.block_size[1])\n elif self.activation_scheme == \"static\":\n s... | 2025-12-10T16:40:57 |
golang/go | 452f24ae94f38afa3704d4361d91d51218405c0a | 656d3f4401e1fdb628e24027cf91cc803c7a0dac | regexp/syntax: reject very deeply nested regexps in Parse
The regexp code assumes it can recurse over the structure of
a regexp safely. Go's growable stacks make that reasonable
for all plausible regexps, but implausible ones can reach the
“infinite recursion?” stack limit.
This CL limits the depth of any parsed rege... | [
{
"path": "src/regexp/syntax/parse.go",
"patch": "@@ -76,13 +76,29 @@ const (\n \topVerticalBar\n )\n \n+// maxHeight is the maximum height of a regexp parse tree.\n+// It is somewhat arbitrarily chosen, but the idea is to be large enough\n+// that no one will actually hit in real use but at the same time s... | 2022-02-02T21:41:32 |
nodejs/node | 17a5eba6c271c5faa89bd8a6434cad150aeeb98e | e3d5257ec3dbb7b21ed2b972d6e6000ffe71084d | doc: tidy AssertionError text
Several minor improvements to text. Remove some repetition.
PR-URL: https://github.com/nodejs/node/pull/28255
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -21,33 +21,26 @@ thrown by the `assert` module will be instances of the `AssertionError` class.\n added: v0.1.21\n -->\n * `options` {Object}\n- * `message` {string} If provided, the error message is going to be set to this\n- value.\n- * `actual` {any} The `... | 2019-06-16T22:46:59 |
huggingface/transformers | 51a667397bf029ef459b3f26f098669a86273b90 | f54647c80ea7091d425087546725b56371bf6068 | Override Transformers defaults by GGUF defaults (#42770)
* Override Transformers defaults by GGUF defaults
In some models, GGUF uses default or fixed values different from this
library. To integrate GGUF-based models without additional configuration,
we need some kind of compatibility layer.
This commit provides ad... | [
{
"path": "src/transformers/integrations/__init__.py",
"patch": "@@ -54,6 +54,7 @@\n \"finegrained_fp8\": [\"FP8Linear\", \"replace_with_fp8_linear\"],\n \"fsdp\": [\"is_fsdp_enabled\", \"is_fsdp_managed_module\"],\n \"ggml\": [\n+ \"GGUF_CONFIG_DEFAULTS_MAPPING\",\n \"GGUF_CONFIG... | 2025-12-10T14:35:55 |
vercel/next.js | 38d1f1699d55aa369a83314e1ce594a8990eab08 | b4350466c7578849cbbbe284b5c10907094669b6 | Fix Server Actions compiler (#51318)
Make sure we are using `var` instead of `const` as we always put the new
appended statements to the end of the module body, but they can still be
referenced before in the HOC case in the runtime. This causes a runtime
error.
Tl;dr: `a = 1; var a` is fine, but `a; const a = ..... | [
{
"path": "packages/next-swc/crates/core/src/server_actions.rs",
"patch": "@@ -261,7 +261,7 @@ impl<C: Comments> ServerActions<C> {\n span: DUMMY_SP,\n decl: Decl::Var(Box::new(VarDecl {\n span: DUMMY_SP,\n- kind: VarDecl... | 2023-06-15T00:01:05 |
nodejs/node | fc50e6bcc81e4b34f4f3f3fe494b79200ae22efb | 8030ca5b9e593a5a800f40f09677a4eca31d1cd0 | crypto: fix crash when calling digest after piping
When piping data into an SHA3 hash, EVP_DigestFinal_ex is called in
hash._flush, bypassing safeguards in the JavaScript layer. Calling
hash.digest causes EVP_DigestFinal_ex to be called again, resulting
in a segmentation fault in the SHA3 implementation of OpenSSL.
A... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -4634,16 +4634,20 @@ void Hash::HashDigest(const FunctionCallbackInfo<Value>& args) {\n encoding = ParseEncoding(env->isolate(), args[0], BUFFER);\n }\n \n- unsigned char md_value[EVP_MAX_MD_SIZE];\n- unsigned int md_len;\n-\n- EVP_DigestFinal_ex(hash->m... | 2019-06-16T09:26:03 |
golang/go | 2e9dcb508647dc473a37ecfa244d2bc4a1843ab4 | 2bf5ae0c28a28244c3e20ef65b75e9e90adb5251 | runtime: simplify histogram buckets considerably
There was an off-by-one error in the time histogram buckets calculation
that caused the linear sub-buckets distances to be off by 2x.
The fix was trivial, but in writing tests I realized there was a much
simpler way to express the calculation for the histogram buckets,... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -1199,6 +1199,8 @@ func (th *TimeHistogram) Record(duration int64) {\n \t(*timeHistogram)(th).record(duration)\n }\n \n+var TimeHistogramMetricsBuckets = timeHistogramMetricsBuckets\n+\n func SetIntArgRegs(a int) int {\n \tlock(&finlock)\n \told := intArg... | 2022-01-21T06:52:43 |
electron/electron | 18f5fcde60007f6b22878f08de3022405a9e5203 | eb9e0e5534b00cbc7046c53e6d46b43150c3bf6c | Fix some coding style issues | [
{
"path": "atom/browser/native_window.cc",
"patch": "@@ -54,6 +54,7 @@ NativeWindow::NativeWindow(\n enable_larger_than_screen_(false),\n is_closed_(false),\n has_dialog_attached_(false),\n+ sheet_offset_(0.0),\n aspect_ratio_(0.0),\n inspectable_web_contents_(inspectable_... | 2016-04-20T00:18:50 |
rust-lang/rust | 8a0d8dde44b3b413488aa69caebc9cc3fb0f7edf | f51c9870bab634afb9e7a262b6ca7816bb9e940d | Make the enum check work for negative discriminants
The discriminant check was not working correctly for negative numbers.
This change fixes that by masking out the relevant bits correctly. | [
{
"path": "compiler/rustc_mir_transform/src/check_enums.rs",
"patch": "@@ -120,6 +120,7 @@ enum EnumCheckType<'tcx> {\n },\n }\n \n+#[derive(Debug, Copy, Clone)]\n struct TyAndSize<'tcx> {\n pub ty: Ty<'tcx>,\n pub size: Size,\n@@ -337,7 +338,7 @@ fn insert_direct_enum_check<'tcx>(\n let inv... | 2025-07-01T08:59:52 |
huggingface/transformers | f54647c80ea7091d425087546725b56371bf6068 | 1b8ccf1ca027d25da70457d962ab9360bc9dbe8d | fix: support tensor labels in DataCollatorWithFlattening (#42620)
* fix: support tensor labels in DataCollatorWithFlattening
- Add tensor to list conversion in DataCollatorWithFlattening
- Convert input_ids and labels to list if they are tensors
- Add tests for both tensor and list labels
- Fixes #42599
* style: fix... | [
{
"path": "src/transformers/data/data_collator.py",
"patch": "@@ -1413,9 +1413,17 @@ def __call__(self, features, return_tensors=None, separator_id=None):\n max_length = 0\n for seq_idx, sample in enumerate(features):\n input_ids = sample[\"input_ids\"]\n+ # Conver... | 2025-12-10T14:09:12 |
vercel/next.js | d492b937e216f0f193bf4d9c233424e808e049d1 | c76653f2f7c20dd9e2dd6ba561c34bf742f024c2 | fix: Incorrect build size outputs for app dir (#50768)
### What?
Fixes https://github.com/vercel/next.js/issues/50129
### Why?
The current denormalization of app dir paths doesnt account for the
normalization done in `normalizeAppPath`, causing build log outputs for
certain paths such as anything under a route ... | [
{
"path": "packages/next/src/build/utils.ts",
"patch": "@@ -64,6 +64,7 @@ import { IncrementalCache } from '../server/lib/incremental-cache'\n import { patchFetch } from '../server/lib/patch-fetch'\n import { nodeFs } from '../server/lib/node-fs-methods'\n import * as ciEnvironment from '../telemetry/ci-inf... | 2023-06-14T21:24:57 |
nodejs/node | 2a9f1ad4b0c725e0362d33e265dc22271c3466e7 | 14be3aa6e6149122b07f7b8513de290eea0aa2ec | http2: refactor ping + settings object lifetime management
Have clearer ownership relations between the `Http2Ping`,
`Http2Settings` and `Http2Session` objects.
Ping and Settings objects are now owned by the `Http2Session`
instance, and deleted along with it, so neither type of object
refers to the session after it i... | [
{
"path": "src/base_object-inl.h",
"patch": "@@ -40,9 +40,8 @@ BaseObject::BaseObject(Environment* env, v8::Local<v8::Object> object)\n env_->AddCleanupHook(DeleteMe, static_cast<void*>(this));\n }\n \n-\n BaseObject::~BaseObject() {\n- env_->RemoveCleanupHook(DeleteMe, static_cast<void*>(this));\n+ Rem... | 2019-06-10T13:02:06 |
rust-lang/rust | 8362508989c8941ccbba26aaa8c787cc492c6fef | f51c9870bab634afb9e7a262b6ca7816bb9e940d | miri: improve errors for type validity assertion failures | [
{
"path": "compiler/rustc_const_eval/src/const_eval/machine.rs",
"patch": "@@ -10,7 +10,7 @@ use rustc_hir::{self as hir, CRATE_HIR_ID, LangItem};\n use rustc_middle::mir::AssertMessage;\n use rustc_middle::mir::interpret::ReportedErrorInfo;\n use rustc_middle::query::TyCtxtAt;\n-use rustc_middle::ty::layou... | 2025-07-02T13:04:49 |
huggingface/transformers | 1b8ccf1ca027d25da70457d962ab9360bc9dbe8d | b9951b4e8f862a0b7505269537b5e2a423a065e2 | Command-a-vision fix (#42642)
* Add test case and update image processing
* Apply suggestions from code review
* improve naming | [
{
"path": "src/transformers/models/cohere2_vision/image_processing_cohere2_vision_fast.py",
"patch": "@@ -93,8 +93,9 @@ def get_optimal_tiled_canvas(\n patch_size_height, patch_size_width = target_tile_size # (height == width)\n \n candidate_resolutions = np.array(possible_resolutions) * patch_size... | 2025-12-10T13:31:27 |
electron/electron | 02c8c58c0b71b5af21fc193aba6a7c997448dcc1 | 34ee29871b7e0611b7afb83370dbf839a39e1f11 | Fixed docs sample code programming error for DownloadItem | [
{
"path": "docs/api/download-item.md",
"patch": "@@ -22,6 +22,7 @@ win.webContents.session.on('will-download', function(event, item, webContents) {\n console.log(\"Download is cancelled or interrupted that can't be resumed\");\n }\n });\n+});\n ```\n \n ## Events",
"additions": 1,
"delet... | 2016-04-19T16:47:05 |
golang/go | 2bf5ae0c28a28244c3e20ef65b75e9e90adb5251 | ea3c546e9e2b507d497f8093f8414cb31c112062 | go/types, types2: rename structuralType/String to coreType/String
This is a pure rename of the respective Go functions/methods
with corresponding adjustments to error messages and tests.
A couple of comments were manually rephrased.
With this change, the implementation and error messages match
the latest spec.
No fu... | [
{
"path": "src/cmd/compile/internal/noder/expr.go",
"patch": "@@ -332,13 +332,13 @@ func (g *irgen) exprs(exprs []syntax.Expr) []ir.Node {\n }\n \n func (g *irgen) compLit(typ types2.Type, lit *syntax.CompositeLit) ir.Node {\n-\tif ptr, ok := types2.StructuralType(typ).(*types2.Pointer); ok {\n+\tif ptr, ok... | 2022-02-09T22:16:05 |
rust-lang/rust | 21c8639d797850bfbb55546d69c09ba424361aa2 | ed1e9b7015a3b1599d1322a433771b5845beae68 | Fix to use the correct expected output for m68k CI test | [
{
"path": ".github/workflows/m68k.yml",
"patch": "@@ -113,7 +113,8 @@ jobs:\n CG_RUSTFLAGS=\"-Clinker=m68k-unknown-linux-gnu-gcc\" ../../y.sh cargo build --target m68k-unknown-linux-gnu\n sudo cp target/m68k-unknown-linux-gnu/debug/hello_world $vm_dir/home/\n sudo chroot $vm_dir qemu... | 2025-07-02T15:39:27 |
huggingface/transformers | 508a9764e5bed8ab3171115538983d4d3d3d1c39 | 2e29a9a664fc3869794fbb2b9ace4ccae6cdea57 | [kernels] Fix kernel CI (#42764)
fix kernel ci | [
{
"path": "tests/kernels/test_kernels.py",
"patch": "@@ -321,7 +321,7 @@ def test_load_and_register_flash_attn_like_kernel(self):\n \n with (\n patch(\"transformers.integrations.hub_kernels.get_kernel\", return_value=kernel_obj),\n- patch(\"transformers.integrations.hub_kernel... | 2025-12-10T10:49:12 |
vercel/next.js | d4c2335b0f4e269b0ae62e761bfd61513c3516ea | 28dca134987867f75390158bed30c665a4465952 | chore: add dark mode for dev overlay (#48601)
This PR adds a dark mode to the error overlay which respects the browsers color scheme.
I just did this because I was blinded by the dev overlay a lot today and thought this change might be appreciated.
Screenshot (dark mode):
<img width="2056" alt="image" src="https://us... | [
{
"path": "packages/react-dev-overlay/src/internal/components/Dialog/styles.ts",
"patch": "@@ -8,7 +8,7 @@ const styles = css`\n margin-right: auto;\n margin-left: auto;\n outline: none;\n- background: white;\n+ background: var(--color-background);\n border-radius: var(--size-gap);\n ... | 2023-06-14T20:33:07 |
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.