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 |
|---|---|---|---|---|---|
vercel/next.js | bfd96ac012cec1c6990823d4489ebea79601a605 | ce0bcd38f2df83b3403ba561b6ac6e711b7d3a94 | Fix `with-webassembly` example and convert to Typescript (#43677)
- Fixes `with-webassembly` example unable to build with the current
`next.config.js`.
https://github.com/vercel/next.js/issues/29362#issuecomment-932767530
- Converted example to TypeScript
```js
// Before
config.output.webassemblyModuleFilename... | [
{
"path": "examples/with-webassembly/README.md",
"patch": "@@ -32,4 +32,6 @@ To compile `src/add.rs` to `add.wasm` run:\n npm run build-rust\n # or\n yarn build-rust\n+# or\n+pnpm build-rust\n ```",
"additions": 2,
"deletions": 0,
"language": "Markdown"
},
{
"path": "examples/with-webass... | 2022-12-12T02:10:14 |
electron/electron | 76d0d3ec19c4e768f1cef0813a3fa9d2622393d2 | fd99d21c8fa6f3213ead2893a016cf831116a678 | gtk: Fix setting unresizable window. | [
{
"path": "atom/browser/native_window_gtk.cc",
"patch": "@@ -315,7 +315,7 @@ gfx::Size NativeWindowGtk::GetMaximumSize() {\n void NativeWindowGtk::SetResizable(bool resizable) {\n // Should request widget size after setting unresizable, otherwise the\n // window will shrink to a very small size.\n- if ... | 2014-05-25T03:44:25 |
golang/go | 14c3d2aa596147bd90da298a4b2a70660786c682 | ec4efa42089415b0427a4d30b317cfd7e4a0fe75 | crypto/elliptic: import fiat-crypto P-521 field implementation
Fiat Cryptography (https://github.com/mit-plv/fiat-crypto) is a project
that produces prime order field implementations (the code that does
arithmetic modulo a prime number) based on a formally verified model.
The formal verification covers some of the mo... | [
{
"path": "src/crypto/elliptic/elliptic.go",
"patch": "@@ -390,7 +390,6 @@ func UnmarshalCompressed(curve Curve, data []byte) (x, y *big.Int) {\n \n var initonce sync.Once\n var p384 *CurveParams\n-var p521 *CurveParams\n \n func initAll() {\n \tinitP224()\n@@ -410,17 +409,6 @@ func initP384() {\n \tp384.Bi... | 2021-04-30T21:05:54 |
nodejs/node | 0e4cbde13b9177075eaf86d96d8e26ac424a65df | daa15b54baf0815e555eecdd96c4205dea24a17f | doc: document http2 network error behaviour
Fixes: https://github.com/nodejs/node/issues/21836
PR-URL: https://github.com/nodejs/node/pull/21861
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -271,12 +271,17 @@ server.on('stream', (stream, headers) => {\n 'content-type': 'text/html',\n ':status': 200\n });\n+ stream.on('error', (error) => console.error(error));\n stream.end('<h1>Hello World</h1>');\n });\n \n server.listen(80);\n ```\n \n+E... | 2018-07-17T21:55:45 |
huggingface/transformers | 32eca7197a8d2618417a0d665db38d0af3695a2c | c94c59fc47b87f4a82f89826d04513c3f3cf804f | [vlm] adjust max length for special tokens (#37342)
* update
* apply suggestion
* fix tests for main branch
* remove unused logger
* add special tokens in tests
* nit
* fix more tests
* fix test
* pg also | [
{
"path": "src/transformers/models/aria/modular_aria.py",
"patch": "@@ -946,6 +946,8 @@ def __init__(\n size_conversion = {490: 128, 980: 256}\n self.size_conversion = {int(k): v for k, v in size_conversion.items()}\n \n+ self.image_token = tokenizer.image_token\n+ self.ima... | 2025-04-16T18:49:20 |
vercel/next.js | 6cfebfb02c2a52a1f99fca59a2eac2d704d053db | 1fb4cad2a8329811b5ccde47217b4a6ae739124e | Skip creating VSCode config and `.gitignore` if running in CI (#43935)
NEXT-233
## 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
- [ ] I... | [
{
"path": "packages/next/lib/verifyTypeScriptSetup.ts",
"patch": "@@ -125,7 +125,7 @@ export async function verifyTypeScriptSetup({\n // Next.js' types:\n await writeAppTypeDeclarations(dir, !disableStaticImages)\n \n- if (isAppDirEnabled) {\n+ if (isAppDirEnabled && !isCI) {\n await wri... | 2022-12-11T00:08:07 |
electron/electron | fd99d21c8fa6f3213ead2893a016cf831116a678 | 6a071e1b4d5478685df85269bd37bbdb31b60670 | Make menu's checked property flipped automatically, fixes #349. | [
{
"path": "atom/browser/api/lib/menu.coffee",
"patch": "@@ -30,6 +30,7 @@ Menu::insert = (pos, item) ->\n \n unless @delegate?\n @commandsMap = {}\n+ @groupsMap = {}\n @items = []\n @delegate =\n isCommandIdChecked: (commandId) => @commandsMap[commandId]?.checked\n@@ -38,10 +39,22 @@ ... | 2014-05-25T03:30:43 |
golang/go | ec4efa42089415b0427a4d30b317cfd7e4a0fe75 | b38b1b2f9ae710ee2c16a103bb21644f1adbc5d3 | crypto/x509: check the private key passed to CreateCertificate
Unfortunately, we can't improve the function signature to refer to
crypto.PrivateKey and crypto.PublicKey, even if they are both
interface{}, because it would break assignments to function types.
Fixes #37845
Change-Id: I627f2ac1e1ba98b128dac5382f9cc2524... | [
{
"path": "src/crypto/x509/x509.go",
"patch": "@@ -1413,8 +1413,8 @@ func signingParamsForPublicKey(pub interface{}, requestedSigAlgo SignatureAlgori\n // just an empty SEQUENCE.\n var emptyASN1Subject = []byte{0x30, 0}\n \n-// CreateCertificate creates a new X.509v3 certificate based on a template.\n-// Th... | 2020-03-19T21:59:45 |
huggingface/transformers | c94c59fc47b87f4a82f89826d04513c3f3cf804f | 5a6de703a729d89448bd8bb4e3e4d7426351e779 | Fix pixel attention mask padding in smolvlm (#37497)
* fix bad init
* also modif smolvlm
---------
Co-authored-by: Raushan Turganbay <raushan@huggingface.co> | [
{
"path": "src/transformers/models/idefics3/image_processing_idefics3.py",
"patch": "@@ -581,7 +581,7 @@ def empty_image(size, input_data_format):\n padded_images_list = [\n [empty_image(pad_size, data_format) for _ in range(max_num_images)] for _ in range(batch_size)\n ]\n- ... | 2025-04-16T18:48:46 |
vercel/next.js | 1fb4cad2a8329811b5ccde47217b4a6ae739124e | 3833aed08dd890231f78970d001416f5c1da17f2 | Add auto completion for prop names and types to the TS plugin (#43909)
For example, [named
slots](https://nextjs.org/blog/layouts-rfc#convention:~:text=After%20this%20change%2C%20the%20layout%20will%20receive%20a%20prop%20called%C2%A0customProp%C2%A0instead%20of%C2%A0children.)
should be hinted when typing:
```ts... | [
{
"path": "packages/next/server/next-typescript.ts",
"patch": "@@ -203,6 +203,10 @@ export function createTSPlugin(modules: {\n '^' + (projectDir + '(/src)?/app').replace(/[\\\\/]/g, '[\\\\/]')\n )\n \n+ const isPositionInsideNode = (position: number, node: ts.Node) => {\n+ const start = n... | 2022-12-10T19:07:56 |
nodejs/node | daa15b54baf0815e555eecdd96c4205dea24a17f | 3095eecc4748da4ce7ac70e2b352ddba6c4c4deb | test: fix http2 connection abort test
Refs: https://github.com/nodejs/node/issues/21836
Refs: https://github.com/nodejs/node/pull/21561
PR-URL: https://github.com/nodejs/node/pull/21861
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Trivikram Kamat <... | [
{
"path": "test/parallel/test-http2-respond-with-file-connection-abort.js",
"patch": "@@ -3,6 +3,7 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const assert = require('assert');\n const http2 = require('http2');\n const net = require('net');\n \n@@ ... | 2018-07-17T21:53:35 |
electron/electron | 393d61b36246f90caf4d546dd1fe357779338079 | 3d2464c30efc3c6189576b55e77aa83a0b1a8912 | Override app version and name when loading apps from default_app.
Fixes #346. | [
{
"path": "atom/browser/default_app/main.js",
"patch": "@@ -1,5 +1,6 @@\n var app = require('app');\n var dialog = require('dialog');\n+var fs = require('fs');\n var path = require('path');\n var optimist = require('optimist');\n \n@@ -15,7 +16,21 @@ var argv = optimist(process.argv.slice(1)).boolean('ci').... | 2014-05-24T03:18:06 |
huggingface/transformers | 5a6de703a729d89448bd8bb4e3e4d7426351e779 | 9a4ce6477019358abc3ebd72d435da56f4c0ab7c | Run `test_can_load_with_global_device_set` using a subprocess (#37553)
* fix
* fix
* fix
* Update tests/test_modeling_common.py
Co-authored-by: Cyril Vallez <cyril.vallez@huggingface.co>
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: Cyril Vallez <cyril.vallez@hugging... | [
{
"path": "tests/test_modeling_common.py",
"patch": "@@ -89,6 +89,7 @@\n require_torch_multi_accelerator,\n require_torch_multi_gpu,\n require_torch_sdpa,\n+ run_test_using_subprocess,\n set_config_for_less_flaky_test,\n set_model_for_less_flaky_test,\n set_model_tester_for_less_f... | 2025-04-16T17:48:30 |
rust-lang/rust | d62fe1e043dae471e6f29648eaddcac876b4e962 | 61d1c13b3e90cd8a021a9dc9be3fc4311be7088c | Implement the internal feature `cfg_target_has_reliable_f16_f128`
Support for `f16` and `f128` is varied across targets, backends, and
backend versions. Eventually we would like to reach a point where all
backends support these approximately equally, but until then we have to
work around some of these nuances of suppo... | [
{
"path": "src/gcc_util.rs",
"patch": "@@ -55,7 +55,7 @@ pub(crate) fn global_gcc_features(sess: &Session, diagnostics: bool) -> Vec<Stri\n )\n } else if let Some(feature) = feature.strip_prefix('-') {\n // FIXME: Why do we not remove implied features on \"-\" here?\n- ... | 2025-04-24T22:11:23 |
golang/go | 68327e1aa11457cd570bc7eaf03a0260950f27d9 | 4c8f48ed4f3db0e3ba376e6b7a261d26b41d8dd0 | cmd/vendor: upgrade pprof to latest
This change upgrades the vendored pprof to pick up the fix for a
serious issue that made the source view in browser mode blank
(tracked upstream as google/pprof#621).
I also had to patch pprof.go, since one of the upstream commit we
included introduced a breaking change in the file... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -3,7 +3,7 @@ module cmd\n go 1.17\n \n require (\n-\tgithub.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5\n+\tgithub.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect\n \tgo... | 2021-05-07T17:10:28 |
vercel/next.js | 3833aed08dd890231f78970d001416f5c1da17f2 | 6c1dd229d74e266d3db7807b326541cd3b94e91d | Fix next/dynamic types for resolving named export module (#43923)
## Bug
Fixes: #43915
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) | [
{
"path": ".gitignore",
"patch": "@@ -24,6 +24,7 @@ coverage\n # test output\n test/**/out*\n test/**/next-env.d.ts\n+test/**/tsconfig.json\n .DS_Store\n /e2e-tests\n test/tmp/**\n@@ -46,4 +47,4 @@ test-timings.json\n \n # Cache\n *.tsbuildinfo\n-.swc/\n\\ No newline at end of file\n+.swc/",
"additions"... | 2022-12-10T17:35:13 |
nodejs/node | 87f767160d103114eff154e98bde69caa178c59f | 78039b5f87938125d9761367dc08a16812bb9f54 | doc: document MODULE_NOT_FOUND error
Document `MODULE_NOT_FOUND` as a possible `code` for errors.
Also, some missorting of bottom references was fixed in passing.
PR-URL: https://github.com/nodejs/node/pull/21894
Fixes: https://github.com/nodejs/node/issues/21890
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1831,8 +1831,14 @@ unknown file extension.\n \n Creation of a [`zlib`][] object failed due to incorrect configuration.\n \n-[`'uncaughtException'`]: process.html#process_event_uncaughtexception\n+<a id=\"MODULE_NOT_FOUND\"></a>\n+### MODULE_NOT_FOUND\n+\n+A modul... | 2018-07-19T19:41:51 |
electron/electron | 3d2464c30efc3c6189576b55e77aa83a0b1a8912 | 890448d5facad801ed180b844c6fe69d1f838ac9 | :memo: Fix typos regarding to #349. | [
{
"path": "docs/api/menu-item.md",
"patch": "@@ -17,7 +17,7 @@\n * `enabled` Boolean\n * `visible` Boolean\n * `checked` Boolean\n- * `groupId` Boolean - Should be specified for `radio` type menu item\n+ * `groupId` Integer - Should be specified for `radio` type menu item\n * `submenu` Menu - Shou... | 2014-05-24T02:41:54 |
rust-lang/rust | daaae11f4dd49285ee5cebf8f02586606401c22a | 00417de6b8b07af4d4355f69fef5fb7c5e11d893 | Implement the internal feature `cfg_target_has_reliable_f16_f128`
Support for `f16` and `f128` is varied across targets, backends, and
backend versions. Eventually we would like to reach a point where all
backends support these approximately equally, but until then we have to
work around some of these nuances of suppo... | [
{
"path": "src/lib.rs",
"patch": "@@ -41,8 +41,8 @@ use std::sync::Arc;\n \n use cranelift_codegen::isa::TargetIsa;\n use cranelift_codegen::settings::{self, Configurable};\n-use rustc_codegen_ssa::CodegenResults;\n use rustc_codegen_ssa::traits::CodegenBackend;\n+use rustc_codegen_ssa::{CodegenResults, Tar... | 2025-04-24T22:11:23 |
huggingface/transformers | 9a4ce6477019358abc3ebd72d435da56f4c0ab7c | dc8227827d3e94a2db544415cfcf0f037812b582 | :red_circle: Update CLIP vision attention to new attention interface (#37498)
* update attention interface
* fix test
* propagate attention changes
* revert weird changes
* fix modular
* what?
* ruff is mocking me
* ruff being ruff
* simplify test suite + fix FA2
* fixup tests + propagate FA2 fixes
* add Co... | [
{
"path": "src/transformers/models/altclip/modeling_altclip.py",
"patch": "@@ -16,7 +16,7 @@\n \n import math\n from dataclasses import dataclass\n-from typing import Any, List, Optional, Tuple, Union\n+from typing import Any, Callable, List, Optional, Tuple, Union\n \n import torch\n import torch.nn as nn\... | 2025-04-16T16:15:22 |
golang/go | 4c8f48ed4f3db0e3ba376e6b7a261d26b41d8dd0 | 9d0819b27ca248f9949e7cf6bf7cb9fe7cf574e8 | syscall: do not change stdio handle inheritance
Before the CL 288297 all Go process handles had to be made
non-inheritable - otherwise they would escape into the child process.
But now this is not necessary.
This CL stops changing inheritance flag of stdint, stdout and stderr
handles.
Fixes #44876
Change-Id: Ib8fcf... | [
{
"path": "src/syscall/syscall_windows.go",
"patch": "@@ -472,7 +472,6 @@ var (\n \n func getStdHandle(h int) (fd Handle) {\n \tr, _ := GetStdHandle(h)\n-\tCloseOnExec(r)\n \treturn r\n }\n ",
"additions": 0,
"deletions": 1,
"language": "Go"
},
{
"path": "src/syscall/syscall_windows_test... | 2021-04-29T05:38:56 |
vercel/next.js | 6c1dd229d74e266d3db7807b326541cd3b94e91d | 8ded79728e228b39e30cab12cb1f46be8fbaf9bb | Update compiler.md (#43872)
The sentence is very confusing. Excessive/invalid usage of English grammar
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [x] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing... | [
{
"path": "docs/advanced-features/compiler.md",
"patch": "@@ -77,7 +77,7 @@ module.exports = {\n \n ### Jest\n \n-Jest support not only includes the transformation previously provided by Babel, but also simplifies configuring Jest together with Next.js including:\n+The Next.js Compiler transpiles your tests... | 2022-12-10T15:38:43 |
nodejs/node | 2ba3b57c76a25dbc6fabcdfb2c7143c204328fac | f7454a53f1318837ea2ca8f2ad495a9869b80e81 | doc: fix sorting in the `vm.Module` section
PR-URL: https://github.com/nodejs/node/pull/21931
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> | [
{
"path": "doc/api/vm.md",
"patch": "@@ -234,71 +234,6 @@ exception due to possible ambiguity with `throw undefined;`.\n Corresponds to the `[[EvaluationError]]` field of [Source Text Module Record][]s\n in the ECMAScript specification.\n \n-### module.linkingStatus\n-\n-* {string}\n-\n-The current linking ... | 2018-07-22T10:09:30 |
rust-lang/rust | 6ceeb0849e181999fc6ecc2cb9dcfdc65b5effd3 | 555e1d0386f024a8359645c3217f4b3eae9be042 | Implement the internal feature `cfg_target_has_reliable_f16_f128`
Support for `f16` and `f128` is varied across targets, backends, and
backend versions. Eventually we would like to reach a point where all
backends support these approximately equally, but until then we have to
work around some of these nuances of suppo... | [
{
"path": "compiler/rustc_codegen_cranelift/src/lib.rs",
"patch": "@@ -41,8 +41,8 @@ use std::sync::Arc;\n \n use cranelift_codegen::isa::TargetIsa;\n use cranelift_codegen::settings::{self, Configurable};\n-use rustc_codegen_ssa::CodegenResults;\n use rustc_codegen_ssa::traits::CodegenBackend;\n+use rustc_... | 2025-04-24T22:11:23 |
huggingface/transformers | dc8227827d3e94a2db544415cfcf0f037812b582 | 2f517200c1e5211f1aa5872e9cdcc82698c8e774 | Fix TimesFm doc issue (#37552)
* fix doc
* code block | [
{
"path": "src/transformers/models/timesfm/modeling_timesfm.py",
"patch": "@@ -33,7 +33,6 @@\n from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel\n from ...processing_utils import Unpack\n from ...utils import (\n- add_code_sample_docstrings,\n add_start_docstrings,\n add_star... | 2025-04-16T14:28:42 |
vercel/next.js | 8ded79728e228b39e30cab12cb1f46be8fbaf9bb | 833a9aff199d590ec305a834946053a4905af42c | Support for named slots in type checking (#43906)
Follow up to #43903, this PR adds named slots to the generated typings,
and provides better error messages for `next build`.
For example, a layout can have `test` as a prop because it has `@test`
co-located. But `invalid` is not a possible prop here:
![CleanSho... | [
{
"path": "packages/next/build/webpack/plugins/flight-types-plugin.ts",
"patch": "@@ -1,4 +1,5 @@\n import path from 'path'\n+import { promises as fs } from 'fs'\n \n import { webpack, sources } from 'next/dist/compiled/webpack/webpack'\n import { WEBPACK_LAYERS } from '../../../lib/constants'\n@@ -17,6 +18... | 2022-12-09T22:29:57 |
nodejs/node | a706456f71e28d4317beb0bf9da7a31adbf11ca5 | de8a8d056c5f6e302f98bb88def1969e92338f1e | deps: V8: Backport of 0dd3390 from upstream
Original commit message:
Reland "[builtins] Add %IsTraceCategoryEnabled and %Trace builtins"
This is a reland of 8d4572a
Original change's description:
> [builtins] Add %IsTraceCategoryEnabled and %Trace builtins
>
> Adds the builtin Trace and IsTraceCategoryE... | [
{
"path": "common.gypi",
"patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.17',\n+ 'v8_embedder_string': '-node.18',\n \n # Enable disassembler for `--print-co... | 2018-07-19T23:37:41 |
huggingface/transformers | 2f517200c1e5211f1aa5872e9cdcc82698c8e774 | 0577cae8085c72d9c66f7b0900529867acf55881 | Make Ignored Columns ValueError More Informative (#33299)
Make Ignored Columns Value Error More Informative
Included forward method signature columns in the ValueError so end users will know what columns are expected to be passed to the model in addition to those which are ignored. | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -939,7 +939,7 @@ def _remove_unused_columns(self, dataset: \"datasets.Dataset\", description: Optio\n columns = [k for k in signature_columns if k in dataset.column_names]\n if len(columns) == 0:\n raise ValueError(\n- ... | 2025-04-16T14:14:55 |
rust-lang/rust | 8858b35c66dc7c07cf7abf0e74ea4370ff0210ef | 0b27121212078b55296e5daf9332300266043d18 | Fix a few more `clippy::version`s | [
{
"path": "clippy_lints/src/attrs/mod.rs",
"patch": "@@ -468,7 +468,7 @@ declare_clippy_lint! {\n /// #[ignore = \"Some good reason\"]\n /// fn test() {}\n /// ```\n- #[clippy::version = \"1.85.0\"]\n+ #[clippy::version = \"1.88.0\"]\n pub IGNORE_WITHOUT_REASON,\n pedantic,\n \... | 2025-04-27T17:11:35 |
golang/go | 9d0819b27ca248f9949e7cf6bf7cb9fe7cf574e8 | 02ce4118219dc51a14680a0c5fa24cf6e73deeed | crypto/tls: make cipher suite preference ordering automatic
We now have a (well, two, depending on AES hardware support) universal
cipher suite preference order, based on their security and performance.
Peer and application lists are now treated as filters (and AES hardware
support hints) that are applied to this univ... | [
{
"path": "src/crypto/tls/cipher_suites.go",
"patch": "@@ -13,9 +13,10 @@ import (\n \t\"crypto/rc4\"\n \t\"crypto/sha1\"\n \t\"crypto/sha256\"\n-\t\"crypto/x509\"\n \t\"fmt\"\n \t\"hash\"\n+\t\"internal/cpu\"\n+\t\"runtime\"\n \n \t\"golang.org/x/crypto/chacha20poly1305\"\n )\n@@ -46,10 +47,10 @@ var (\n /... | 2021-04-28T05:37:09 |
huggingface/transformers | 0577cae8085c72d9c66f7b0900529867acf55881 | b33edf1b9bc75c493c233755c458f84fd52f4a4c | Fix device issue for tapas (with `as_tensor`) (#37551)
* fix 1
* fix 2
* fix 3
* fix 4
* fix 5
* fix 6
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/tapas/modeling_tapas.py",
"patch": "@@ -1563,7 +1563,7 @@ def __init__(self, indices, num_segments, batch_dims=0):\n batch dimensions. Segments in different batch elements are always distinct even if they have the same\n index.\n \"\... | 2025-04-16T14:02:53 |
electron/electron | fc9fd463088d386b29e82f76c82c7aa5c1c55d78 | fc1bc78fb935bf4b10126dce9de5d5aa5a1abed3 | gtk: Fix the focus event. | [
{
"path": "atom/browser/native_window_gtk.cc",
"patch": "@@ -145,6 +145,8 @@ NativeWindowGtk::NativeWindowGtk(content::WebContents* web_contents,\n G_CALLBACK(OnWindowDeleteEventThunk), this);\n g_signal_connect(window_, \"focus-out-event\",\n G_CALLBACK(OnFocusOutThu... | 2014-05-23T15:00:04 |
nodejs/node | 8ac916309ba4382110427a94511b33fb13831bcf | b2ac3af2b436af019adac5aca9dcf828d8488b07 | src: fix formatting of PIDs
PR-URL: https://github.com/nodejs/node/pull/21852
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me> | [
{
"path": "src/env.cc",
"patch": "@@ -315,7 +315,7 @@ void Environment::PrintSyncTrace() const {\n Local<v8::StackTrace> stack =\n StackTrace::CurrentStackTrace(isolate(), 10, StackTrace::kDetailed);\n \n- fprintf(stderr, \"(node:%u) WARNING: Detected use of sync API\\n\",\n+ fprintf(stderr, \"(no... | 2018-07-17T14:49:59 |
vercel/next.js | 582070eb7b611215bf7912cfb7195650ae2cbe3e | d8545e62733c1d07192fedf938f6a8672c33cd29 | Improve type checking error message for invalid props (#43903)
Previously when you have wrong props for a page or layout:
<img width="639" alt="CleanShot 2022-12-09 at 20 27 25@2x"
src="https://user-images.githubusercontent.com/3676859/206782176-a91ec178-a7b7-4e17-b990-a0fe90402ebf.png">
With this PR:
<img w... | [
{
"path": "packages/next/lib/typescript/diagnosticFormatter.ts",
"patch": "@@ -62,10 +62,11 @@ function getFormattedLayoutAndPageDiagnosticMessageText(\n if (types) {\n main += '\\n' + ' '.repeat(indent * 2)\n \n- if (types[2] === 'PageComponent') {\n... | 2022-12-09T20:15:57 |
huggingface/transformers | b33edf1b9bc75c493c233755c458f84fd52f4a4c | 503541d7efeb3750944cc716ddc0e068b0cf0a48 | docs(typo): Update ISSUES.md, fix a small typo (#37542)
Update ISSUES.md | [
{
"path": "ISSUES.md",
"patch": "@@ -26,7 +26,7 @@ There are two main venues to receive support: [the forums](https://discuss.huggi\n \n [The user forums](https://discuss.huggingface.co/) are supported by the wide community of the library users and backed up by developers when needed.\n \n-If you have a dif... | 2025-04-16T14:01:04 |
golang/go | 02ce4118219dc51a14680a0c5fa24cf6e73deeed | b211fe005860db3ceff5fd56af9951d6d1f44325 | crypto/x509: remove GODEBUG=x509ignoreCN=0 flag
Common Name and NameConstraintsWithoutSANs are no more.
Fixes #24151 ᕕ(ᐛ)ᕗ
Change-Id: I15058f2a64f981c69e9ee620d3fab00f68967e49
Reviewed-on: https://go-review.googlesource.com/c/go/+/315209
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Katie Hockman <katie@golang... | [
{
"path": "src/crypto/x509/name_constraints_test.go",
"patch": "@@ -614,7 +614,8 @@ var nameConstraintsTests = []nameConstraintsTest{\n \t\t},\n \t},\n \n-\t// #30: without SANs, a certificate with a CN is rejected in a constrained chain.\n+\t// #30: without SANs, a certificate with a CN is still accepted i... | 2021-04-29T17:36:08 |
nodejs/node | 46de34b8c27d8dca1f88388d608bbf56af06ceec | 2d48f97ddda4fce9a03397c89ab5dc329280e9ed | tools: build API TOC using raw headers
Markdown interprets the syntax for optional arguments as a form
of a link, so instead of trying to build up the contents using
the node value, use grab the raw original markup instead.
Fixes regression noted in
https://github.com/nodejs/node/pull/21490#issuecomment-406785023
PR... | [
{
"path": "tools/doc/html.js",
"patch": "@@ -340,8 +340,10 @@ function buildToc({ filename }) {\n \n depth = node.depth;\n const realFilename = path.basename(realFilenames[0], '.md');\n- const headingText = node.children.map((child) => child.value)\n- .join().trim();\n+ const he... | 2018-07-21T12:20:11 |
vercel/next.js | d8545e62733c1d07192fedf938f6a8672c33cd29 | 5415a0d9543ce9b311a074112b133a060318dd61 | fix: forwarding props to no ssr dynamic (#43901)
## Bug
Fixes: #43764
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) | [
{
"path": "packages/next/shared/lib/dynamic.tsx",
"patch": "@@ -64,10 +64,10 @@ export function noSSR<P = {}>(\n <Loading error={null} isLoading pastDelay={false} timedOut={false} />\n )\n \n- return () => (\n+ return (props: any) => (\n <Suspense fallback={fallback}>\n <NoSSR>\n- <... | 2022-12-09T19:00:28 |
rust-lang/rust | bce7fe1818111ed9124412369ff1b36ffe5fdbe1 | 5f294f099a4461fc965d9109a79b8da3f96380b9 | Make error for tuple struct pat/expr w/ FQS clearer
1. Fix "expected" and the note for the pattern case
2. Add suggestions | [
{
"path": "compiler/rustc_resolve/src/late.rs",
"patch": "@@ -402,7 +402,7 @@ pub(crate) enum AliasPossibility {\n }\n \n #[derive(Copy, Clone, Debug)]\n-pub(crate) enum PathSource<'a> {\n+pub(crate) enum PathSource<'a, 'c> {\n /// Type paths `Path`.\n Type,\n /// Trait paths in bounds or impls.... | 2025-04-27T14:05:44 |
huggingface/transformers | 503541d7efeb3750944cc716ddc0e068b0cf0a48 | 9ddcf5fce56c0d661005f05671a1769de140ea44 | add FlashAttentionKwargs and seq_idx to flat collator (#36456)
* add flash attn kwargs to flattening collator
* add return_seq_idx option
* doc string edits
* cleaner max len updates
* various fixes
* temp testing code
* return int32 seq_idx and FlashAttnKwargs
* DataCollatorIntegrationTest impl
* fix batch di... | [
{
"path": "src/transformers/data/data_collator.py",
"patch": "@@ -1974,9 +1974,11 @@ class DataCollatorWithFlattening(DefaultDataCollator):\n \"\"\"\n Data collator used for padding free approach. Does the following:\n \n- - concatate the entire mini batch into single long sequence [1, total_toke... | 2025-04-16T13:45:03 |
golang/go | b211fe005860db3ceff5fd56af9951d6d1f44325 | f24eac47710b0170fd45611ab1867e87701e0a95 | cmd/compile: remove bit operations that modify memory directly
These operations (BT{S,R,C}{Q,L}modify) are quite a bit slower than
other ways of doing the same thing.
Without the BTxmodify operations, there are two fallback ways the compiler
performs these operations: AND/OR/XOR operations directly on memory, or
load... | [
{
"path": "src/cmd/compile/internal/amd64/ssa.go",
"patch": "@@ -756,7 +756,6 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tp.To.Type = obj.TYPE_REG\n \t\tp.To.Reg = v.Reg()\n \tcase ssa.OpAMD64MOVQstore, ssa.OpAMD64MOVSSstore, ssa.OpAMD64MOVSDstore, ssa.OpAMD64MOVLstore, ssa.OpAMD64MOVWstore, ... | 2021-05-07T21:14:39 |
nodejs/node | 2d48f97ddda4fce9a03397c89ab5dc329280e9ed | 2058a1c35a1431540561584185c0f0b2410291b6 | doc: fix descriptions of sync methods in fs.md
PR-URL: https://github.com/nodejs/node/pull/21747
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemoz... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -2336,7 +2336,7 @@ Synchronous readdir(3).\n \n The optional `options` argument can be a string specifying an encoding, or an\n object with an `encoding` property specifying the character encoding to use for\n-the filenames passed to the callback. If the `encoding` is... | 2018-07-11T09:10:42 |
vercel/next.js | 5415a0d9543ce9b311a074112b133a060318dd61 | 9d97a1e34a8a6e09eb127292c730d1a8df63ebb6 | Fix error message for invalid `runtime` option in app dir (#43900)
Currently it shows `Provided runtime "undefined" is not supported`.
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/ne... | [
{
"path": "packages/next/build/analysis/get-page-static-info.ts",
"patch": "@@ -316,7 +316,7 @@ export async function getPageStaticInfo(params: {\n )\n } else {\n Log.error(\n- `Provided runtime \"${config.runtime}\" is not supported. Please leave it empty or choose one of: ${... | 2022-12-09T18:35:27 |
huggingface/transformers | a91020aed0b15794d0842e5799ec9d360e939f4e | 8669c016d26fdabd56271930a840f322dafece9a | Add TimesFM Time Series Forecasting Model (#34082)
* initial documentation
* rename mask to attention_mask
* smaller tests
* fixup
* fix copies
* move to time series section
* sort docs
* isort fix
* batch_size is not a configuration
* rename to TimesFMModelForPrediction
* initial script
* add check_outputs... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -1059,6 +1059,8 @@\n title: PatchTST\n - local: model_doc/time_series_transformer\n title: Time Series Transformer\n+ - local: model_doc/timesfm\n+ title: TimesFM\n title: Time series models\n - sections:\n ... | 2025-04-16T13:00:53 |
electron/electron | 8fd31106ca80377e18bc933fb5fc116f37e68eda | 34fa0f1ff883972c4a980c777c5bde7653e04fa3 | Add information about the crash-reporter payload | [
{
"path": "docs/api/crash-reporter.md",
"patch": "@@ -15,8 +15,30 @@ crashReporter.start({\n ## crashReporter.start(options)\n \n * `options` Object\n- * `productName` String\n- * `companyName` String\n- * `submitUrl` String - URL that crash reports would be sent to\n- * `autoSubmit` Boolean - Send the ... | 2014-05-22T12:20:17 |
golang/go | 3980c4db192783c6aefa0a5978e553046c9c7dea | d80d1427a8119eed6e668caba4314140edbcb4b8 | doc/go1.17: fill in TODO for compress/lzw package
Fixes #46005
Change-Id: I80ca21eb64d245749af62506ba960dbc1726c6c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/318012
Trust: Joe Tsai <joetsai@digital-static.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> | [
{
"path": "doc/go1.17.html",
"patch": "@@ -275,7 +275,11 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"compress/lzw\"><dt><a href=\"/pkg/compress/lzw/\">compress/lzw</a></dt>\n <dd>\n <p><!-- CL 273667 -->\n- TODO: <a href=\"https://golang.org/cl/273667\">https:... | 2021-05-07T17:47:47 |
vercel/next.js | 047da200acf774b62165496bafbd7917948afa27 | 0c3a80a53346a352ca4e33523223f04341894fd2 | fix css indent in `ImportAttributes::print_block` (vercel/turbo#2966)
fix this: https://github.com/vercel/turbo/pull/2839#discussion_r1044202479 | [
{
"path": "crates/turbopack-css/src/references/import.rs",
"patch": "@@ -3,7 +3,10 @@ use swc_core::{\n common::DUMMY_SP,\n css::{\n ast::*,\n- codegen::{writer::basic::BasicCssWriter, CodeGenerator, Emit},\n+ codegen::{\n+ writer::basic::{BasicCssWriter, BasicCssWri... | 2022-12-09T16:55:54 |
huggingface/transformers | 7752e7487c3ae675ea79f54cbb056f8e90446d59 | 7dafcd0077706e6ea8b849db4a76b4040edf4ae7 | Fixes hqq by following a new path for bias parameter in pre_quantized models (#37530)
* fix
* add test | [
{
"path": "src/transformers/quantizers/quantizer_hqq.py",
"patch": "@@ -170,16 +170,13 @@ def check_quantized_param(\n module, tensor_name = get_module_from_name(model, param_name)\n \n if self.pre_quantized:\n- return (\n- (isinstance(module, torch.nn.Linear) or is... | 2025-04-16T11:58:14 |
electron/electron | d49060d659cdbacf7f5908e4a3025e494ee4158d | 764deab5c18f32488cb7ea994f25c03396d0e308 | Add "id" property for BrowserWindow, fixes #218. | [
{
"path": "atom/browser/api/lib/browser-window.coffee",
"patch": "@@ -18,13 +18,15 @@ BrowserWindow::_init = ->\n @webContents = @getWebContents()\n @webContents.once 'destroyed', => @webContents = null\n \n- # Remember the window.\n- id = BrowserWindow.windows.add this\n+ # Remember the window ID.\n... | 2014-05-22T01:51:32 |
golang/go | af6123a865546c8735acc64c344a4e02bd561c0d | b44c78b8c318f6b871f26d14d877245bc860ae62 | doc/go1.17: document encoding/binary.Uvarint max read of 10 bytes
Updates #41185
For #44513.
Fixes #46009
Change-Id: I60f4d891b897809765acc0aace037c78e95bb4f7
Reviewed-on: https://go-review.googlesource.com/c/go/+/317929
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Keith Randall <khr@golang.org> | [
{
"path": "doc/go1.17.html",
"patch": "@@ -303,7 +303,10 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"encoding/binary\"><dt><a href=\"/pkg/encoding/binary/\">encoding/binary</a></dt>\n <dd>\n <p><!-- CL 299531 -->\n- TODO: <a href=\"https://golang.org/cl/299531... | 2021-05-07T05:15:11 |
huggingface/transformers | ed53809ac55087f88da873c9a3d061e279555842 | d91858c2325f0f9df5564c46add9c5b63f3b620b | enable 6 rt_detr_v2 cases on xpu (#37548)
* enable 6 rt_detr_v2 cases on xpu
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
---------
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/rt_detr_v2/test_modeling_rt_detr_v2.py",
"patch": "@@ -27,7 +27,13 @@\n is_torch_available,\n is_vision_available,\n )\n-from transformers.testing_utils import require_torch, require_torch_gpu, require_vision, slow, torch_device\n+from transformers.testing_utils import (\n+ ... | 2025-04-16T09:23:56 |
vercel/next.js | dbbbbd13c77f35b35639770f151d792b2a7a9ca4 | a7f29108f4d62977b22116d58b900eafd0f54d97 | Update freebsd build (#43866)
Fixes:
https://github.com/vercel/next.js/actions/runs/3652055251/jobs/6170973932
Passed:
https://github.com/vercel/next.js/actions/runs/3655313786/jobs/6176560747
Co-authored-by: LongYinan <lynweklm@gmail.com> | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -1276,11 +1276,11 @@ jobs:\n # Disable LTO, or the lld may crash with OOM\n CARGO_PROFILE_RELEASE_LTO: false\n with:\n- envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS CARGO_PROFILE_RELEASE_LTO NAPI_C... | 2022-12-09T14:55:37 |
electron/electron | 28e266ac11c4bfc6727cc2da09e80cda85376a0c | 9721c4e76197fda7f7441d59e1965f0701197d41 | mac: Include more information in Info.plist, fixes #340. | [
{
"path": "atom/browser/resources/mac/Info.plist",
"patch": "@@ -2,20 +2,28 @@\n <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n <plist version=\"1.0\">\n <dict>\n-\t<key>CFBundleIdentifier</key>\n-\t<string>com.github.atom</string>\n-\t<key>CFBun... | 2014-05-22T01:03:02 |
golang/go | bdb804466568c79e488a7b16f6ffd045f2dc6dfa | f5423ea615b94455e4f6b9cbee491b492bf2e1fe | cmd/link: don't include arginfo symbols in symbol table
We recently add arginfo symbols for traceback argument metadata.
Like other metadata symbols (GC bitmaps, opendefer info, etc.),
skip arginfo symbols for symbol table as well.
Fixes #45971.
Change-Id: I7a126b75f70ec88e2170e9a274d968762c7bce56
Reviewed-on: https... | [
{
"path": "src/cmd/link/internal/ld/symtab.go",
"patch": "@@ -585,7 +585,9 @@ func (ctxt *Link) symtab(pcln *pclntab) []sym.SymKind {\n \t\t\tstrings.HasPrefix(name, \"gclocals.\"),\n \t\t\tstrings.HasPrefix(name, \"gclocals·\"),\n \t\t\tldr.SymType(s) == sym.SGOFUNC && s != symgofunc,\n-\t\t\tstrings.HasSu... | 2021-05-06T20:16:19 |
huggingface/transformers | d91858c2325f0f9df5564c46add9c5b63f3b620b | 4541c2cdefe5e7aedbcdbf8b62936e95fcb2cff9 | enable 3 mpt test cases on XPU (#37546)
* enable 3 mpt test cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
---------
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/mpt/test_modeling_mpt.py",
"patch": "@@ -17,7 +17,14 @@\n import unittest\n \n from transformers import MptConfig, is_torch_available\n-from transformers.testing_utils import require_bitsandbytes, require_torch, require_torch_gpu, slow, torch_device\n+from transformers.testing_utils ... | 2025-04-16T09:23:06 |
electron/electron | 55640a3ff732d57e38c00a2e827702e96ec42e86 | dc907f501c166cc0268254e6002f4c33beff958e | win: Make sure shell.showItemInFolder in called on browser side.
Fixes #341. | [
{
"path": "atom/common/api/lib/clipboard.coffee",
"patch": "@@ -1,5 +1,5 @@\n module.exports =\n- if process.platform is 'linux'\n+ if process.platform is 'linux' and process.__atom_type is 'renderer'\n # On Linux we could not access clipboard in renderer process.\n require('remote').process.atomB... | 2014-05-21T14:31:44 |
rust-lang/rust | 05f2b2265dd96655e9984c1b2b8ef207f09a88f9 | e8a6c175c51fbc347ea0b4479cc1b2de0932ddab | Fix SGX library code implicit auto-ref | [
{
"path": "library/std/src/sys/pal/sgx/abi/usercalls/alloc.rs",
"patch": "@@ -675,7 +675,7 @@ where\n \n /// Obtain the number of elements in this user slice.\n pub fn len(&self) -> usize {\n- unsafe { (*self.0.get()).len() }\n+ unsafe { self.0.get().len() }\n }\n \n /// Copies... | 2025-04-27T10:00:47 |
golang/go | d2b03111c44db5808ef5248470bf95fe7ea35ebc | 9524e93adf9807ab3c23d09a6b8c0aa8dd98f9ab | go/types,cmd/compile/internal/types2: unskip std and cmd in TestStdlib
CL 276272 accidentally skipped everything in TestStdlib while trying to
skip nested submodules of std and cmd.
For now, narrow the skip to just the problematic submodule rather than
trying to generalize. We can re-evaluate if it becomes a pattern ... | [
{
"path": "src/cmd/compile/internal/types2/stdlib_test.go",
"patch": "@@ -204,6 +204,9 @@ func TestStdKen(t *testing.T) {\n // Package paths of excluded packages.\n var excluded = map[string]bool{\n \t\"builtin\": true,\n+\n+\t// See #46027: some imports are missing for this submodule.\n+\t\"crypto/ed25519/... | 2021-05-07T00:36:10 |
huggingface/transformers | 4541c2cdefe5e7aedbcdbf8b62936e95fcb2cff9 | a335dc4d6d3cd88c12ca9dd869d8c6621e969ccb | Fix BitsAndBytesConfig JSON serialization in TrainingArguments (#37520)
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> | [
{
"path": "src/transformers/training_args.py",
"patch": "@@ -2498,6 +2498,11 @@ def to_dict(self):\n # Handle the accelerator_config if passed\n if is_accelerate_available() and isinstance(v, AcceleratorConfig):\n d[k] = v.to_dict()\n+ # Handle the quantiza... | 2025-04-16T09:18:17 |
nodejs/node | 79e63c5fc727254e3d1299c7d062b6caca6e9a86 | c3f8dd6f98328a9a47814f1856bc0914859c6e19 | doc: fix incorrect method name
PR-URL: https://github.com/nodejs/node/pull/21908
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Lance Ball <lball@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/vm.md",
"patch": "@@ -198,7 +198,7 @@ const contextifiedSandbox = vm.createContext({ secret: 42 });\n });\n // Since module has no dependencies, the linker function will never be called.\n await module.link(() => {});\n- module.initialize();\n+ module.instantiate();\n await mo... | 2018-07-20T14:00:40 |
electron/electron | dc907f501c166cc0268254e6002f4c33beff958e | 972bb2e9fba5ff6ce8b271701b5b787edfe515e0 | win: Fix the resizable flag, closed #316. | [
{
"path": "atom/browser/native_window_win.cc",
"patch": "@@ -205,6 +205,8 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,\n web_view_(new views::WebView(NULL)),\n use_content_size_(false),\n resizable_(true) {\n+ options->GetBoolean(switches::kResizable, &resizable... | 2014-05-20T15:37:14 |
golang/go | 9524e93adf9807ab3c23d09a6b8c0aa8dd98f9ab | a11a1711b085e5035d42cde49f88bbbab8b36550 | go/types: add a test case for issue 45985
The fix for #45985 is a little subtle. Start by committing the (bad)
test case.
For #45985
Change-Id: Ia6625818e9b1c5e869b2c2f724f817c13c9944d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/317471
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findle... | [
{
"path": "src/go/types/infer.go",
"patch": "@@ -398,7 +398,7 @@ func (check *Checker) inferB(tparams []*TypeName, targs []Type, report bool) (ty\n \t\tif sbound != nil {\n \t\t\tif !u.unify(typ, sbound) {\n \t\t\t\tif report {\n-\t\t\t\t\tcheck.errorf(tpar, 0, \"%s does not match %s\", tpar, sbound)\n+\t\t... | 2021-05-06T13:01:07 |
huggingface/transformers | 33f6c5a5c8802bbf4519c0fc7430f6ab8c1541c0 | 5ab7a7c640c7305e435d14443a4c16b0d673b74c | enable several cases on XPU (#37516)
* enable several cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* Update tests/test_modeling_common.py
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
---------
Signed-off-by: YAO ... | [
{
"path": "tests/models/falcon_mamba/test_modeling_falcon_mamba.py",
"patch": "@@ -22,6 +22,7 @@\n require_bitsandbytes,\n require_torch,\n require_torch_accelerator,\n+ require_torch_multi_accelerator,\n require_torch_multi_gpu,\n slow,\n torch_device,\n@@ -517,7 +518,7 @@ def te... | 2025-04-16T09:01:04 |
nodejs/node | 4f47f62d8ea8e7d88cff6ae4b3523550c496a2a2 | 287521d298fe4374a947ca66cb95ae695913bda1 | http2: remove unused nghttp2 error list
Remove a list of HTTP2 errors as well as `nghttp2_errname()`
that converted an integer nghttp2 error code to a string
representation.
We already use `nghttp2_strerror()` for this, which
is provided by nghttp2 returns a better error string anyway.
PR-URL: https://github.com/nod... | [
{
"path": "src/node_http2.h",
"patch": "@@ -326,58 +326,6 @@ enum padding_strategy_type {\n PADDING_STRATEGY_CALLBACK\n };\n \n-// These are the error codes provided by the underlying nghttp2 implementation.\n-#define NGHTTP2_ERROR_CODES(V) \\\n- V(NGHTTP2_... | 2018-07-15T21:58:13 |
electron/electron | 972bb2e9fba5ff6ce8b271701b5b787edfe515e0 | 754abbd39cf0aa0b4c6a50522d4eaf1072292818 | Make sure webContents is created when opening devtools.
Fixes atom/atom#2270. | [
{
"path": "atom/browser/api/atom_api_window.cc",
"patch": "@@ -362,7 +362,7 @@ void Window::BuildPrototype(v8::Isolate* isolate,\n .SetMethod(\"flashFrame\", &Window::FlashFrame)\n .SetMethod(\"setKiosk\", &Window::SetKiosk)\n .SetMethod(\"isKiosk\", &Window::IsKiosk)\n- .SetMethod(\"... | 2014-05-20T12:58:11 |
vercel/next.js | 367a5df546e12629492f737bb63b7b0129cdc6b6 | ea58d94e9dd22ce7850d490d0254e716eb8207f5 | Clarify e2e dependency on yarn in contributin docs (#43287)
`yarn` installed with `corepack` won't run in our repo because it is configured as a `pnpm` project. `yarn` binaries installed from other sources don't care.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Erro... | [
{
"path": ".github/actions/next-stats-action/src/prepare/repo-setup.js",
"patch": "@@ -131,7 +131,13 @@ module.exports = (actionInfo) => {\n // to the correct versions\n for (const pkgName of pkgDatas.keys()) {\n const { pkg, pkgPath } = pkgDatas.get(pkgName)\n- await exec(`cd ${p... | 2022-12-09T12:34:32 |
huggingface/transformers | 5ab7a7c640c7305e435d14443a4c16b0d673b74c | 3165eb7c2808832d0de86c8f508d9da6b2124044 | enable 5 cases on XPU (#37507)
* make speecht5 test_batch_generation pass on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* enable 4 GlmIntegrationTest cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* Update src/transformers/test... | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -1026,6 +1026,19 @@ def require_torch_large_gpu(test_case, memory: float = 20):\n )(test_case)\n \n \n+def require_torch_large_accelerator(test_case, memory: float = 20):\n+ \"\"\"Decorator marking a test that requires an accelerator with mo... | 2025-04-16T07:28:02 |
golang/go | 4dbad795100bc0f5f9419bbb44b1ff0beb60a88c | f39997b2bebd54416bfb437fa1484fd8a5f43abb | runtime: call unlockOSThread directly in Windows syscall functions
Windows syscall functions (e.g. syscall.Syscall9) are defined as
cgo_unsafe_args (because it takes the address of one argument and
use that to access all arguments) which makes them ABI0. In some
case we may need ABI wrappers for them. Because those fu... | [
{
"path": "src/runtime/syscall_windows.go",
"patch": "@@ -482,12 +482,12 @@ func syscall_Syscall6(fn, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err ui\n //go:cgo_unsafe_args\n func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {\n \tlockOSThread()\n-\tde... | 2021-05-06T16:24:20 |
nodejs/node | d0a545ca3807928e80bb48eb6a7037dd13bebcb3 | 4ce35fa3399604fb691456ffc85645375eee3e67 | deps: cherry-pick 907d7bc from upstream V8
Original commit message:
[promise] Implement Swallowed Rejection Hook.
This extends the current Promise Rejection Hook with two new events
kPromiseRejectAfterResolved
kPromiseResolveAfterResolved
which are used to detect (and signal) misuse of the ... | [
{
"path": "common.gypi",
"patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.16',\n+ 'v8_embedder_string': '-node.17',\n \n # Enable disassembler for `--print-co... | 2018-07-16T20:03:01 |
vercel/next.js | ea58d94e9dd22ce7850d490d0254e716eb8207f5 | f144c39ca4c5cf91a42dbeef9e699cac6f36c795 | Move prefetch bailout to start of the prefetch function for `pages` (#43731)
Found that prefetching bails later than it has to in development for `pages`. This moves it to be the first thing that is checked in prefetch()
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Er... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -2267,6 +2267,11 @@ export default class Router implements BaseRouter {\n asPath: string = url,\n options: PrefetchOptions = {}\n ): Promise<void> {\n+ // Prefetch is not supported in development mode because it would trigger o... | 2022-12-08T21:35:51 |
huggingface/transformers | 4cc6b6065426bdc66cac47bab1ffb26d3807fc53 | 51f544a4d44b373ec7b639d4f9e7c259f3fcaee9 | Fix broken add-fast-image-processor CLI (#37499) | [
{
"path": "src/transformers/commands/add_fast_image_processor.py",
"patch": "@@ -30,108 +30,6 @@\n REPO_PATH = TRANSFORMERS_PATH.parent.parent\n \n \n-def add_import_structure_entry_init(content: str, fast_image_processor_name: str, model_name: str):\n- \"\"\"\n- Add an entry to the `_import_structure... | 2025-04-15T16:50:21 |
golang/go | 402f177efc5d03c11ac6fd25ebd1f42b0b7ec30c | 51ff3a6965b3fc40aceebe90eaf15a8a1a00a452 | cmd/compile: fix intrinsic setting for mul64, add64 on ppc64le
I found a performance regression between the runtime.Hash
benchmarks when comparing Go 1.16 to latest on ppc64le. This
was due to the addition of Mul64 to runtime/internal/math
with the comments that this should be treated as an intrinsic
on platforms wher... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -4536,14 +4536,14 @@ func InitTables() {\n \t\t\treturn s.newValue2(ssa.OpMul64uhilo, types.NewTuple(types.Types[types.TUINT64], types.Types[types.TUINT64]), args[0], args[1])\n \t\t},\n \t\tsys.AMD64, sys.ARM64, sys.PPC64, sys.S390X, sys.MIPS... | 2021-05-05T19:33:18 |
electron/electron | 59293bc938097b1df95dee50d098dd56e36a0561 | c1e2348695e4cd3c9760bff49e48c433f4512afb | Only build Debug target in cibuild. | [
{
"path": "script/cibuild",
"patch": "@@ -26,7 +26,7 @@ def main():\n if sys.platform != 'win32':\n run_script('pylint.py')\n run_script('coffeelint.py')\n- run_script('build.py')\n+ run_script('build.py', ['-c', 'Debug'])\n run_script('test.py', ['--ci'])\n \n ",
"additions": 1,
"deleti... | 2014-05-18T15:52:14 |
nodejs/node | 4ce35fa3399604fb691456ffc85645375eee3e67 | 756f63e1e4d19164c56075b0d52ecc7fbfd4fe69 | deps: cherry-pick 2075910 from upstream V8
Original commit message:
[turbofan] Remove optimization of default Promise capability functions.
The JSCallReducer could in theory inline the default resolve and reject
functions passed to the executor in the Promise constructor. But that
inlining is almost ... | [
{
"path": "common.gypi",
"patch": "@@ -28,7 +28,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.15',\n+ 'v8_embedder_string': '-node.16',\n \n # Enable disassembler for `--print-co... | 2018-07-16T19:57:05 |
huggingface/transformers | 51f544a4d44b373ec7b639d4f9e7c259f3fcaee9 | 4f1dbe815292e685f90708b6bca5bd85b2978fdf | Add Fast Conditional-DETR Processor (#37071)
* Add Fast Conditional-DETR Processor
* Update image_processing_conditional_detr_fast.py
* Add modular_conditional_detr.py
* Update image_processing_conditional_detr_fast.py
* Update tests
* make fix
---------
Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.no... | [
{
"path": "docs/source/en/model_doc/conditional_detr.md",
"patch": "@@ -48,6 +48,11 @@ This model was contributed by [DepuMeng](https://huggingface.co/DepuMeng). The o\n \n [[autodoc]] ConditionalDetrImageProcessor\n - preprocess\n+\n+## ConditionalDetrImageProcessorFast\n+\n+[[autodoc]] ConditionalDetr... | 2025-04-15T16:33:34 |
golang/go | 51ff3a6965b3fc40aceebe90eaf15a8a1a00a452 | 5f9fe47deaceaa3688fcd549c888e8cfdaa1dc1a | crypto/x509: rewrite certificate parser
Replaces the encoding/asn1 certificate parser with a
x/crypto/cryptobyte based parser. This provides a significant increase
in performance, mostly due to a reduction of lots of small allocs,
as well as almost entirely removing reflection.
Since this is a rather large rewrite on... | [
{
"path": "src/crypto/x509/parser.go",
"patch": "@@ -0,0 +1,1005 @@\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+package x509\n+\n+import (\n+\t\"bytes\"\n+\t\"crypto/dsa\"\n+\t\"crypto/... | 2020-11-30T23:56:01 |
vercel/next.js | f144c39ca4c5cf91a42dbeef9e699cac6f36c795 | aa4b4bf8ae20c41006c882f63174a4d797fe4dd8 | build(cargo): bump up swc_core, turbopack (#43652)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
## Bug
Fi... | [
{
"path": "packages/next-swc/Cargo.lock",
"patch": "@@ -36,7 +36,7 @@ dependencies = [\n \"getrandom\",\n \"once_cell\",\n \"serde\",\n- \"version_check 0.9.4\",\n+ \"version_check\",\n ]\n \n [[package]]\n@@ -66,16 +66,6 @@ dependencies = [\n \"winapi 0.3.9\",\n ]\n \n-[[package]]\n-name = \"any_key\"\... | 2022-12-08T20:58:48 |
electron/electron | e1988d3b8e9987000646d2cc3fa59ea6c8dd2012 | 967efaad58ca5525cc3d1714fd12782f8e680f26 | Update to latest gyp.
This fixes warnings like 'xxx.o has no symbols'. | [
{
"path": "brightray/vendor/gyp",
"patch": "@@ -1 +1 @@\n-Subproject commit 6633baab29b60f27e3dca607ffbef689ccdd82b8\n+Subproject commit 81cdff9bb79bff2fcfe51ba4637fe8ebdd4ffb7f",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2014-05-18T11:48:31 |
huggingface/transformers | 4f1dbe815292e685f90708b6bca5bd85b2978fdf | c08997c52e5903a8e0a6a22c1b831545f08ef680 | Add Fast Chinese-CLIP Processor (#37012)
* Add Fast Chinese-CLIP Processor
* Update dummy_torchvision_objects.py
* Fix tests | [
{
"path": "docs/source/en/model_doc/chinese_clip.md",
"patch": "@@ -90,6 +90,11 @@ Currently, following scales of pretrained Chinese-CLIP models are available on \n [[autodoc]] ChineseCLIPImageProcessor\n - preprocess\n \n+## ChineseCLIPImageProcessorFast\n+\n+[[autodoc]] ChineseCLIPImageProcessorFast\n... | 2025-04-15T16:31:20 |
nodejs/node | 756f63e1e4d19164c56075b0d52ecc7fbfd4fe69 | df08779e0dfa82ceb69e129ae0548e97352aaddf | src: prepare for V8 Swallowed Rejection Hook
This is done in preparation for landing
https://chromium-review.googlesource.com/c/v8/v8/+/1126099
on the V8 side, which extends the existing PromiseRejectEvent mechanism
with new hooks for reject/resolve after a Promise was previously
resolved already.
Refs: https://g... | [
{
"path": "src/bootstrapper.cc",
"patch": "@@ -69,7 +69,7 @@ void PromiseRejectCallback(PromiseRejectMessage message) {\n callback = env->promise_reject_handled_function();\n value = Undefined(isolate);\n } else {\n- UNREACHABLE();\n+ return;\n }\n \n Local<Value> args[] = { promise, val... | 2018-07-05T07:42:52 |
golang/go | 6c591f79b0b5327549bd4e94970f7a279efb4ab0 | 54e20b505d370210f05ab567c0d19e9bb51db8a3 | math/big: check for excessive exponents in Rat.SetString
Found by oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33284
Fixes #45910.
Change-Id: I61e7b04dbd80343420b57eede439e361c0f7b79c
Reviewed-on: https://go-review.googlesource.com/c/go/+/316149
Trust: Robert Griesemer <gri@golang.org>
Trust: Katie... | [
{
"path": "src/math/big/ratconv.go",
"patch": "@@ -51,7 +51,8 @@ func (z *Rat) Scan(s fmt.ScanState, ch rune) error {\n // An optional base-10 ``e'' or base-2 ``p'' (or their upper-case variants)\n // exponent may be provided as well, except for hexadecimal floats which\n // only accept an (optional) ``p'' ... | 2021-05-02T18:27:03 |
rust-lang/rust | 5123ad590461b236a90426556ddb2f6fd95311af | 39a408664b383865a56a0a76bbef6e36654edf7d | Fix `zombie_processes` FP inside closures | [
{
"path": "clippy_lints/src/zombie_processes.rs",
"patch": "@@ -4,6 +4,7 @@ use clippy_utils::{fn_def_id, get_enclosing_block, path_to_local_id};\n use rustc_ast::Mutability;\n use rustc_ast::visit::visit_opt;\n use rustc_errors::Applicability;\n+use rustc_hir::def_id::LocalDefId;\n use rustc_hir::intravisi... | 2025-04-27T08:28:06 |
vercel/next.js | df8dde7731643617fff9bd83100742c84e0b9f1a | 589f090d0bdd6c6b0c1e1bcd8de7507037d4322e | Refactoring in @next/font (#43848)
Some refactoring, renaming and fixed comments in @next/font
## 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... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -5,7 +5,6 @@ import { calculateSizeAdjustValues } from 'next/dist/server/font-utils'\n import * as Log from 'next/dist/build/output/log'\n // @ts-ignore\n import chalk from 'next/dist/compiled/chalk'\n-// @ts-ignore\n import {\n fetchCSSFromGoog... | 2022-12-08T20:43:11 |
huggingface/transformers | 57da364d8e638bbc93801753a7e1b7e3b840da54 | 356b3cd71d7bfb51c88fea3e8a0c054f3a457ab9 | fix and enhance pipeline_webserver.md (#36992)
* fix and enhance pipeline_webserver.md
Signed-off-by: Yao, Matrix <matrix.yao@intel.com>
* Update docs/source/en/pipeline_webserver.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* Update docs/source/en/pipeline_webserver.md
Co-authored-b... | [
{
"path": "docs/source/en/pipeline_webserver.md",
"patch": "@@ -52,10 +52,10 @@ async def homepage(request):\n return JSONResponse(output)\n \n async def server_loop(q):\n- pipeline = pipeline(task=\"fill-mask\",model=\"google-bert/bert-base-uncased\")\n+ pipe = pipeline(task=\"fill-mask\",model=\... | 2025-04-15T15:35:05 |
electron/electron | 0dc3e6ac7cc343b16977c96a35301961d2f4cd4a | bef22e80c855f164866fd65d27f23d1c1c6eba4d | :lipstick: Fix cpplint warning. | [
{
"path": "atom/browser/native_window_gtk.cc",
"patch": "@@ -266,10 +266,10 @@ void NativeWindowGtk::SetContentSize(const gfx::Size& size) {\n if (!has_frame_ || !has_ever_been_shown_) {\n gtk_window_util::SetWindowSize(window_, size);\n } else {\n- gfx::Size window_size = GetSize();\n- gfx::S... | 2014-05-15T08:44:56 |
golang/go | 54e20b505d370210f05ab567c0d19e9bb51db8a3 | d2fd503f687ca686cb8fbee0b29e64ba529038fe | doc/go1.17: document fixes for negative rune handling
CL 317273 accidentally grouped a fix for bufio, bytes, strings
packages into a single entry, but they should be separate ones.
Fix that, and document these negative rune handling fixes.
The list of fixed functions in package unicode was computed by
taking the fun... | [
{
"path": "doc/go1.17.html",
"patch": "@@ -241,13 +241,25 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- archive/zip -->\n \n-<dl id=\"bufio, bytes, strings\"><dt><a href=\"/pkg/bufio, bytes, strings/\">bufio, bytes, strings</a></dt>\n+<dl id=\"bufio\"><dt><a hre... | 2021-05-05T23:27:51 |
nodejs/node | df08779e0dfa82ceb69e129ae0548e97352aaddf | 373aae1f86c1d061123e3aec28980aa2e7d1ebd4 | test: make crashOnUnhandleRejection opt-out
This commit removes `common.crashOnUnhandledRejection()` and adds
`common.disableCrashOnUnhandledRejection()`.
To reduce the risk of mistakes and make writing tests that involve
promises simpler, always install the unhandledRejection hook in tests
and provide a way to disab... | [
{
"path": "doc/guides/writing-tests.md",
"patch": "@@ -225,34 +225,24 @@ countdown.dec(); // The countdown callback will be invoked now.\n \n #### Testing promises\n \n-When writing tests involving promises, either make sure that the\n-`onFulfilled` or the `onRejected` handler is wrapped in\n-`common.mustCa... | 2018-07-17T06:23:49 |
vercel/next.js | 589f090d0bdd6c6b0c1e1bcd8de7507037d4322e | 8a171986adf170639e62ab0851191187d187a0fb | memory: fix 2 memory leaks in `next-dev` (#43859)
This PR fixes two memory leaks I found debugging with @sokra.
## 1) Leak in `next-server.ts`
The first leak was caused by the fact that the `require.cache` associated to the `next-server` module was not being cleared up properly, so we leaked context from modules req... | [
{
"path": "packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts",
"patch": "@@ -10,6 +10,8 @@ type WebpackPluginInstance = webpack.WebpackPluginInstance\n const originModules = [\n require.resolve('../../../server/require'),\n require.resolve('../../../server/load-components'),\n+ r... | 2022-12-08T19:50:46 |
huggingface/transformers | 356b3cd71d7bfb51c88fea3e8a0c054f3a457ab9 | 0ad3710d4767d4ac7ee95f33f8554373e59efade | Fix missing return type for MLCD docs (#37527)
* Fix missing return type for docs
* trigger | [
{
"path": "src/transformers/models/mlcd/modeling_mlcd.py",
"patch": "@@ -33,6 +33,7 @@\n add_start_docstrings_to_model_forward,\n can_return_tuple,\n logging,\n+ replace_return_docstrings,\n torch_int,\n )\n from .configuration_mlcd import MLCDVisionConfig\n@@ -631,6 +632,7 @@ def get_inp... | 2025-04-15T13:04:16 |
electron/electron | 64da04777ee41af9d6dfb46ed81765f40938044e | 5150fd69460f9a9333aa4afba0a8e6660a1558af | gtk: Fix setting content size. | [
{
"path": "atom/browser/native_window_gtk.cc",
"patch": "@@ -263,8 +263,15 @@ gfx::Size NativeWindowGtk::GetSize() {\n }\n \n void NativeWindowGtk::SetContentSize(const gfx::Size& size) {\n- GtkAllocation size = { 0, 0, size.width(), size.height() };\n- gtk_widget_size_allocate(GetWebContents()->GetView()... | 2014-05-15T08:27:18 |
rust-lang/rust | 5d8fb778729a86a8ad2a772f77158e906e14172a | 91ed6060bb25d6bbab4ecf97152af265d44bf968 | fix: `unused_unit` suggests wrongly when unit never type fallback | [
{
"path": "clippy_lints/src/lib.rs",
"patch": "@@ -729,6 +729,7 @@ pub fn register_lints(store: &mut rustc_lint::LintStore, conf: &'static Conf) {\n store.register_early_pass(|| Box::new(misc_early::MiscEarlyLints));\n store.register_late_pass(|_| Box::new(redundant_closure_call::RedundantClosureCal... | 2025-04-17T12:53:59 |
golang/go | d2fd503f687ca686cb8fbee0b29e64ba529038fe | 0e7a7a68cd2a29895eae345ce56145b780d4a06c | text/template: fix type bug in eq
{{eq .x 0}} where .x is a nil interface{} should be false, not a type error.
Similarly, {{eq .x .x}} should succeed, not panic in reflect.
Fixes #45982.
Change-Id: I90aba82bb2f1a9e162bde1290c94f5028f56f412
Reviewed-on: https://go-review.googlesource.com/c/go/+/317470
Trust: Russ Co... | [
{
"path": "src/text/template/exec_test.go",
"patch": "@@ -1201,8 +1201,11 @@ var cmpTests = []cmpTest{\n \t{\"eq .Ptr .NilPtr\", \"false\", true},\n \t{\"eq .NilPtr .NilPtr\", \"true\", true},\n \t{\"eq .Iface1 .Iface1\", \"true\", true},\n-\t{\"eq .Iface1 .Iface2\", \"false\", true},\n-\t{\"eq .Iface2 .Ifa... | 2021-05-06T01:13:24 |
huggingface/transformers | 0ad3710d4767d4ac7ee95f33f8554373e59efade | f6c79f767c3cd4ac61abea727e8456c0e7d78043 | fix: Restore explicit error surfacing for unexpected hub exceptions (#37525)
* fix: Restore explicit error surfacing for unexpected hub exceptions
Prior to PR #36033, unexpected exceptions (e.g., ModuleNotFoundError) during hub model loading were not swallowed silently. They either matched specific except blocks or w... | [
{
"path": "src/transformers/utils/hub.py",
"patch": "@@ -551,6 +551,10 @@ def cached_files(\n if not _raise_exceptions_for_connection_errors:\n return None\n raise OSError(f\"There was a specific connection error when trying to load {path_or_repo_id}:\\n{e}\")\n+ ... | 2025-04-15T12:54:11 |
vercel/next.js | 013a58d58eb02d01acbd2d3cab81bdcfadbc9ade | d4a8edf771f9da88fc1a3570f50c39a9f1223f48 | Use proxy to ensure Flight is referencing to the latest module during development (#43823)
As @timneutkens pointed out [here](https://github.com/vercel/next.js/pull/43819#discussion_r1042408158), changing the key will make Flight's module cache grow indefinitely. While I've thought about updating Flight's logic to cle... | [
{
"path": "packages/next/client/app-index.tsx",
"patch": "@@ -30,10 +30,23 @@ __webpack_require__.u = (chunkId: any) => {\n // Ignore the module ID transform in client.\n // eslint-disable-next-line no-undef\n // @ts-expect-error TODO: fix type\n-self.__next_require__ = (id: string) => {\n- const modId = i... | 2022-12-08T19:00:52 |
nodejs/node | 373aae1f86c1d061123e3aec28980aa2e7d1ebd4 | 6dbaea779fe8529454c761ce40d5ff0cc4aa163a | test: refactor test-module-loading assertions
When there are three arguments in strictEqual() call and
AssertionError exists, the previous two values are not printed.
This improves debugging messages visibility
when there is a fail.
The messages were removed where the instruction
is self-explanatory.
PR-URL: https://... | [
{
"path": "test/sequential/test-module-loading.js",
"patch": "@@ -31,11 +31,10 @@ const backslash = /\\\\/g;\n \n console.error('load test-module-loading.js');\n \n-// assert that this is the main module.\n-assert.strictEqual(require.main.id, '.', 'main module should have id of \\'.\\'');\n-assert.strictEqu... | 2018-07-16T13:53:02 |
electron/electron | f2281957ce2bfaebe9d462c9909b41b44dd97ae4 | d38bc95f048a51b8889c23e4e41cc4e0a1e89ee1 | :memo: VS2010 SP1 is required, fixes #306. | [
{
"path": "docs/development/build-instructions-windows.md",
"patch": "@@ -3,7 +3,7 @@\n ## Prerequisites\n \n * Windows 7 or later\n-* Visual Studio 2010 Express or Professional\n+* Visual Studio 2010 Express or Professional, with SP1 update\n * Make sure \"X64 Compilers and Tools\" are installed if you u... | 2014-05-15T06:32:34 |
rust-lang/rust | bfdd947bbd5a2d242d0cbd728b3cbf2a30206b74 | 00f245915b0c7839d42c26f9628220c4f1b93bf6 | fix missing doc in CString::from_raw and str::from_boxed_utf8_unchecked | [
{
"path": "library/alloc/src/ffi/c_str.rs",
"patch": "@@ -352,9 +352,14 @@ impl CString {\n /// # Safety\n ///\n /// This should only ever be called with a pointer that was earlier\n- /// obtained by calling [`CString::into_raw`]. Other usage (e.g., trying to take\n- /// ownership of a str... | 2025-02-27T07:18:10 |
huggingface/transformers | f6c79f767c3cd4ac61abea727e8456c0e7d78043 | ecaeee66bc663a66c8b5de0a050477a4c3263c1f | Add Fast Yolos Processor (#37292)
* Add Fast Yolos Processor
* Update modular file
* Fix copies
---------
Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com> | [
{
"path": "docs/source/en/model_doc/yolos.md",
"patch": "@@ -92,6 +92,11 @@ Use [`YolosImageProcessor`] for preparing images (and optional targets) for the\n \n [[autodoc]] YolosImageProcessor\n - preprocess\n+\n+## YolosImageProcessorFast\n+\n+[[autodoc]] YolosImageProcessorFast\n+ - preprocess\n ... | 2025-04-15T12:23:08 |
golang/go | b4ca1cec69f8248b77d8d8ce019943ced5235ed0 | 1108cbe60b87196ce739ff8bce08c9862d6b61f0 | cmd/compile: set unsayable "names" for regabi testing triggers
This disables the "testing names" for method names and
trailing input types passed to closure/interface/other calls.
The logic using the names remains, so that editing the change
to enable local testing is not too hard.
Also fixes broken build tag in refl... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -223,9 +223,10 @@ func AbiForBodylessFuncStackMap(fn *ir.Func) *abi.ABIConfig {\n \treturn ssaConfig.ABI0.Copy() // No idea what races will result, be safe\n }\n \n-// TODO (NLT 2021-04-15) This must be changed to a name that cannot match; it ... | 2021-03-10T01:43:49 |
vercel/next.js | d4a8edf771f9da88fc1a3570f50c39a9f1223f48 | f5ec62db21580dffbb58f9855cdd05b18c451a4b | docs(migrating): fix broken react-router link (#43843)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
Fix brok... | [
{
"path": "docs/migrating/from-react-router.md",
"patch": "@@ -134,7 +134,7 @@ Next.js has built-in support for [Server-side Rendering](/docs/basic-features/pa\n \n ## Code Splitting\n \n-Next.js has built-in support for [Code Splitting](https://reactrouter.com/web/guides/code-splitting). This means you can... | 2022-12-08T18:28:36 |
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.