repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
electron/electron | 2282c53485c44331653c515b560133de1a97507e | 7047e5167fe878f564d7eb1c5da672db124f2efb | [Win] Print log to stderr instead of debug.log. | [
{
"path": "app/atom_main_delegate.cc",
"patch": "@@ -5,6 +5,7 @@\n #include \"app/atom_main_delegate.h\"\n \n #include \"base/command_line.h\"\n+#include \"base/logging.h\"\n #include \"browser/atom_browser_client.h\"\n #include \"content/public/common/content_switches.h\"\n #include \"renderer/atom_rendere... | 2013-07-08T03:09:53 |
huggingface/transformers | 5d75a25b03b25445fcf644e15b3eb515bf454ca4 | e284c7e954abe12c34b50461c17f8115a0afe115 | Qwen2-VL: fix rope delta calculation (#36013)
* fix rope delats calculation
* add test
* style | [
{
"path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py",
"patch": "@@ -1776,7 +1776,11 @@ def forward(\n # if we get 4D attention mask we cannot calculate rope deltas anymore. TODO @raushan fixme\n if position_ids is None and (attention_mask is None or attention_mask.ndim == 2)... | 2025-02-04T08:48:29 |
vercel/next.js | 16c7480fcf7c6d0a49fea05c56e349f53224a001 | 10e7d45231c76e76e83924ec00cdbdb505753171 | Updating avg width metrics for google fonts (#41755)
Updating the average with using the string
"aaabcdeeeefghiijklmnnoopqrrssttuvwxyz "
<!--
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 ... | [
{
"path": "test/integration/font-optimization/test/index.test.js",
"patch": "@@ -332,14 +332,14 @@ describe('Font Optimization', () => {\n )\n expect(inlineStyle.length).toBe(1)\n expect(inlineStyle.html()).toContain(\n- '@font-face{font-family:\"Roboto Fallback\";ascent-override:91... | 2022-10-25T04:17:32 |
golang/go | 3b0d28808df261747d7561badf91498bbb5d3e3e | 1c590661e7d3b477662f76ead56f39567ea8345a | cmd/go: assume Go 1.16 instead of Go 1.11 for dependencies that lack explicit 'go' directives
Fixes #45109
Updates #44976
Updates #36876
Change-Id: Icb00f8b6e0d4e076d82da1697e7058b9e7603916
Reviewed-on: https://go-review.googlesource.com/c/go/+/303229
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mi... | [
{
"path": "doc/go1.17.html",
"patch": "@@ -67,6 +67,18 @@ <h4 id=\"missing-go-directive\"><code>go.mod</code> files missing <code>go</code>\n Go 1.12</a>.)\n </p>\n \n+<p><!-- golang.org/issue/44976 -->\n+ If a module dependency lacks an explicit <code>go.mod</code> file, or\n+ its <code>go.mod</code> f... | 2021-03-19T01:01:37 |
nodejs/node | 20eaee5e189230e18223164b932a054d56efa214 | ca8055164028a84a84399f4aab59587dcfd24cd6 | doc: refine napi_get_property_names() doc
Document that only enumerable, string-keyed properties are returned.
Fixes: https://github.com/nodejs/abi-stable-node/issues/307
PR-URL: https://github.com/nodejs/node/pull/20427
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Michael Dawson <michael_... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -2520,7 +2520,9 @@ and [`napi_get_element`][].\n \n Returns `napi_ok` if the API succeeded.\n \n-This API returns the array of properties for the `Object` passed in.\n+This API returns the names of the enumerable properties of `object` as an array\n+of strings. The... | 2018-04-29T01:54:21 |
electron/electron | 72f74d7c0dce78d6cd90727ed5aad36416893606 | 7c44d1fa3e9978e25d1f990bcf02437e74b5bc6f | Update brightray: fix linking errors of libchromiumcontent. | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit 41a889ba36370c968fe220b157ecae8ca9a18100\n+Subproject commit a0cd47fe130303710ac5323c520589962311fabd",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-07-06T00:38:03 |
huggingface/transformers | 9d2056f12b66e64978f78a2dcb023f65b2be2108 | 7eecdf2a8650306ed5fbb6150c64f99f587e004d | Add mean_resizing for every VLMs' resizing_token_embeddings() (#35717)
* refine all resize_token_embedding()
* ruff format
* hotfix | [
{
"path": "examples/modular-transformers/modeling_new_task_model.py",
"patch": "@@ -455,8 +455,9 @@ def resize_token_embeddings(\n self,\n new_num_tokens: Optional[int] = None,\n pad_to_multiple_of=None,\n+ mean_resizing=True\n ) -> nn.Embedding:\n- model_embeds = s... | 2025-02-03T14:03:49 |
rust-lang/rust | f472cc8cd4c57687aac38fe3589818f1cc7956ba | 81d8c747fbdb17775dc4e107ad7e430e61a4e751 | error on unsafe attributes in pre-2024 editions
the `no_mangle`, `link_section` and `export_name` attributes are exceptions, and can still be used without an unsafe in earlier editions | [
{
"path": "compiler/rustc_error_codes/src/error_codes/E0755.md",
"patch": "@@ -5,7 +5,7 @@ Erroneous code example:\n ```compile_fail,E0755\n #![feature(ffi_pure)]\n \n-#[ffi_pure] // error!\n+#[unsafe(ffi_pure)] // error!\n pub fn foo() {}\n # fn main() {}\n ```\n@@ -17,7 +17,7 @@ side effects or infinite l... | 2025-04-12T17:58:19 |
vercel/next.js | 10e7d45231c76e76e83924ec00cdbdb505753171 | 78bf0a792bdfb92aca11a22ef4c34cf3200a4f26 | Font description and error messages (#41764)
Improve font error messages and readme
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the f... | [
{
"path": "packages/font/README.md",
"patch": "@@ -1,3 +1,7 @@\n # `@next/font`\n \n-Experimental `@next/font` package\n+`@next/font` includes built-in automatic self-hosting for any font file. This means you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust prope... | 2022-10-25T03:15:06 |
golang/go | 1c590661e7d3b477662f76ead56f39567ea8345a | 482903150dff1a4e9791330aed24ae607005fc18 | testing: allow parallel-subtest goroutines to exit when the subtest is complete
Fixes #45127
Updates #38768
Change-Id: I7f41901d5bcc07741ac9f5f2a24d2b07ef633cb1
Reviewed-on: https://go-review.googlesource.com/c/go/+/303330
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryB... | [
{
"path": "src/cmd/go/testdata/script/test_finished_subtest_goroutines.txt",
"patch": "@@ -0,0 +1,52 @@\n+# Regression test for https://golang.org/issue/45127:\n+# Goroutines for completed parallel subtests should exit immediately,\n+# not block until earlier subtests have finished.\n+\n+[short] skip\n+\n+!... | 2021-03-19T15:48:22 |
nodejs/node | 109cfa1511cb504866c44314d92552285a236b1c | 0deb27bd291a907816a337b08198c1c08f5a09e1 | errors: minor (SystemError) refactoring
This removes the former default values and the spread arguments
usage. That was unnecessary and now it does only what is necessary.
The `message` function got renamed to `getMessage` to outline that
it is actually a function and a helper function was inlined into
the SystemError... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -78,16 +78,6 @@ function inspectValue(val) {\n ).split('\\n');\n }\n \n-function sysErrorMessage(prefix, ctx) {\n- let message = `${prefix}: ${ctx.syscall} returned ` +\n- `${ctx.code} (${ctx.message})`;\n- if (ctx.path !== undefined)\n- ... | 2018-04-26T17:12:47 |
electron/electron | 8e0f5624dd4fee612603fced80f324eaa2c26a67 | b17e63d13c29f15326edc91f55be10356e9441a2 | Some headers are including SkMtrix.h, fix compilation errors for them. | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -19,6 +19,8 @@\n '..',\n '<(libchromiumcontent_include_dir)',\n '<(libchromiumcontent_include_dir)/third_party/skia/include/config',\n+ # For SkMatrix.h.\n+ '<(libchromiumcontent_include_dir)/third_party/skia/i... | 2013-07-05T03:58:49 |
huggingface/transformers | 2b4694319539a006fdd89a85b0d91b4960b2e1ef | 5bbee12ac9c57ac1f085847c0dd7f19d0339be22 | Add GOT-OCR 2.0 to Transformers (#34721)
* init modular got_ocr2
* Get correct got_ocr architecture
* add processing
* run modular with processing
* add working inference
* apply modular
* Refactor and fix style
* Refactor, cleanup, fix style
* fix init order
* Fix docs
* add base modelin... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -872,6 +872,8 @@\n title: FLAVA\n - local: model_doc/git\n title: GIT\n+ - local: model_doc/got_ocr2\n+ title: GOT-OCR2\n - local: model_doc/grounding-dino\n title: Grounding DINO\n - local: model_doc... | 2025-01-31T16:28:13 |
vercel/next.js | 880205ef374ca01fc03facfe2201404b13bae41a | 150155b7419493b44a9d1a73734c1e5a669e841e | Fix bad merge (vercel/turbo#281) | [
{
"path": "packages/next-swc/crates/next-core/src/nodejs/node_rendered_source.rs",
"patch": "@@ -105,6 +105,7 @@ impl GetContentSource for NodeRenderContentSource {\n .resolve_reference()\n .primary_assets()\n .await?\n+ .iter()\... | 2022-10-25T02:42:55 |
golang/go | 482903150dff1a4e9791330aed24ae607005fc18 | 836dbdb15b766696eadd141ea2430f3549c58ec5 | syscall: fix typo in exec_windows_test.go
nothign -> nothing
Change-Id: I3f5cf20cc094d280f6cafa179eaefd745874dec1
GitHub-Last-Rev: a4cf42f27574ab8567d0f45bcd4dfbe018587214
GitHub-Pull-Request: golang/go#45118
Reviewed-on: https://go-review.googlesource.com/c/go/+/303269
Reviewed-by: Tobias Klauser <tobias.klauser@gma... | [
{
"path": "src/syscall/exec_windows_test.go",
"patch": "@@ -52,7 +52,7 @@ func TestChangingProcessParent(t *testing.T) {\n \tif os.Getenv(\"GO_WANT_HELPER_PROCESS\") == \"parent\" {\n \t\t// in parent process\n \n-\t\t// Parent does nothign. It is just used as a parent of a child process.\n+\t\t// Parent do... | 2021-03-19T15:29:09 |
nodejs/node | 0deb27bd291a907816a337b08198c1c08f5a09e1 | a158d412b323001590099594002ed2426bcbaf8b | test: add dns memory error test
Add test that confirms that when libuv reports a memory error on a DNS
query, that the memory error is passed through and not replaced with
ENOTFOUND.
PR-URL: https://github.com/nodejs/node/pull/20317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gma... | [
{
"path": "test/parallel/test-dns-memory-error.js",
"patch": "@@ -0,0 +1,15 @@\n+// Flags: --expose-internals\n+'use strict';\n+\n+// Check that if libuv reports a memory error on a DNS query, that the memory\n+// error is passed through and not replaced with ENOTFOUND.\n+\n+require('../common');\n+\n+const... | 2018-04-26T03:39:19 |
electron/electron | f146c1fe3baaf3a02612ce0a49ae40305b686fac | 5f3b71e589937dfed5ba0d5ce0134dcbeefbe408 | Seperate implementation of crash reporter to standalone class. | [
{
"path": "atom.gyp",
"patch": "@@ -42,7 +42,7 @@\n 'browser/api/atom_api_browser_ipc.cc',\n 'browser/api/atom_api_browser_ipc.h',\n 'browser/api/atom_api_crash_reporter.h',\n- 'browser/api/atom_api_crash_reporter_mac.mm',\n+ 'browser/api/atom_api_crash_reporter.cc',\n 'bro... | 2013-07-04T07:54:34 |
vercel/next.js | c82ac2b7f8d311c387b11fb3e3e776372d063953 | d6edab95098b7c9da7e0e0b6bd1e9ed045338dd9 | Fix bad merge (#281) | [
{
"path": "crates/next-core/src/nodejs/node_rendered_source.rs",
"patch": "@@ -105,6 +105,7 @@ impl GetContentSource for NodeRenderContentSource {\n .resolve_reference()\n .primary_assets()\n .await?\n+ .iter()\n ... | 2022-10-25T02:42:55 |
huggingface/transformers | d7188ba600e36d3fd191b12e19f1b3bb81a8404f | e4227eb4d4cc1ac279865a12b52f957b818616f7 | Add support for nested images to LLava and VipLLava (#35558)
* move make_flat_list_of_images and make_batched_videos to image_utils
* remove unnecessary is_vision_available
* move make_nested_list_of_images to image_utils
* fix fast pixtral image processor
* fix import mllama
* fix make_nested_list_of_i... | [
{
"path": "src/transformers/image_utils.py",
"patch": "@@ -158,6 +158,10 @@ def is_valid_image(img):\n return is_pil_image(img) or is_numpy_array(img) or is_torch_tensor(img) or is_tf_tensor(img) or is_jax_tensor(img)\n \n \n+def is_valid_list_of_images(images: List):\n+ return images and all(is_vali... | 2025-01-30T21:49:20 |
golang/go | e58fb90c753ce8ac1ccd6e26035e7ec0f4f108bc | a937729c2c2f6950a32bc5cd0f5b88700882f078 | net/http: make ExampleGet show StatusCode checks for non-1XX,2XX responses
Updates ExampleGet to show how to handle bad responses with non-1XX,2XX
status codes. Given that the canonical examples are copied, we need
to have them properly check against failures. This is a bug I've seen
often in the wild, that's exacerba... | [
{
"path": "src/net/http/example_test.go",
"patch": "@@ -45,12 +45,15 @@ func ExampleGet() {\n \tif err != nil {\n \t\tlog.Fatal(err)\n \t}\n-\trobots, err := io.ReadAll(res.Body)\n+\tbody, err := io.ReadAll(res.Body)\n \tres.Body.Close()\n+\tif res.StatusCode > 299 {\n+\t\tlog.Fatalf(\"Response failed with ... | 2021-03-07T22:56:52 |
nodejs/node | a158d412b323001590099594002ed2426bcbaf8b | 283a967e356311a467113eea450a81827d43c969 | dns: report out of memory properly
This addresses a part of a TODO by properly reporting an out of
memory error to the user instead of reporting `ENOTFOUND`.
PR-URL: https://github.com/nodejs/node/pull/20317
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Triv... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -29,7 +29,6 @@ const READABLE_OPERATOR = {\n \n const {\n errmap,\n- UV_EAI_MEMORY,\n UV_EAI_NODATA,\n UV_EAI_NONAME\n } = process.binding('uv');\n@@ -640,9 +639,7 @@ function dnsException(code, syscall, hostname) {\n if (typeof code === 'number') {\... | 2018-04-26T03:02:46 |
vercel/next.js | c2bb12d0bf9846e84d627af5dcdc5d7958b76029 | 43d86a1bfa70e597605c93ad7846abafafa905f9 | Fix tracing of node_modules files not emitted by pages (vercel/turbo#249)
Because the static SSR renderer doesn't emit files that exist in
`node_modules` (because we take advantage of node's native `require`
resolution), any paths that traced into `node_modules` would output the
full file system path. It's just ver... | [
{
"path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs",
"patch": "@@ -2,7 +2,6 @@ use std::{\n collections::{BTreeMap, HashMap, HashSet},\n fmt::Write as _,\n io::Write,\n- path::{PathBuf, MAIN_SEPARATOR},\n };\n \n use anyhow::{anyhow, bail, Result};\n@@ -71,6 +70,7 @@ async fn emi... | 2022-10-25T02:16:35 |
electron/electron | 003c5a12273f303e89960d5a21b55414625ab507 | e9e924618409aadae9f4b8b0a80651759c35cfdb | Fix uploading the version file to wrong place. | [
{
"path": "script/upload.py",
"patch": "@@ -53,7 +53,8 @@ def upload():\n bucket, access_key, secret_key = s3_config()\n commit = subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip()\n \n- s3put(bucket, access_key, secret_key, 'atom-shell/{0}'.format(commit), glob.glob('atom-shell*.zip'))\n+ ... | 2013-07-03T09:46:14 |
huggingface/transformers | e4227eb4d4cc1ac279865a12b52f957b818616f7 | 47bd4296d6b38ab28a86e170d50e46fa5f99b543 | Handle empty change indices in SAM's mask to rle conversion (#35665)
* Handle empty change indices in RLE conversion for masks
* [test] Add unit tests for RLE encoding of masks in SamProcessor
* [test] Update RLE conversion tests to use TensorFlow implementation
* [test] Fix formatting in SamProcessorTest acc... | [
{
"path": "src/transformers/models/sam/image_processing_sam.py",
"patch": "@@ -1373,6 +1373,14 @@ def _mask_to_rle_pytorch(input_mask: \"torch.Tensor\"):\n out = []\n for i in range(batch_size):\n cur_idxs = change_indices[change_indices[:, 0] == i, 1] + 1\n+ if len(cur_idxs) == 0:\n+... | 2025-01-30T19:08:38 |
golang/go | a937729c2c2f6950a32bc5cd0f5b88700882f078 | 196b104bc172c8ba7e0565293722de319071ade3 | net/http: mention NewRequestWithContext+Client.Do for custom contexts
Adds mentions of NewRequestWithContext and *Client.Do as prescriptions
for how to use a specified context.Context, to the docs of:
* (*Client).Get
* (*Client).Head
* (*Client).Post
* (*Client).PostForm
* Get
* Head
* Post
* PostForm
given that we c... | [
{
"path": "src/net/http/client.go",
"patch": "@@ -442,6 +442,9 @@ func basicAuth(username, password string) string {\n //\n // To make a request with custom headers, use NewRequest and\n // DefaultClient.Do.\n+//\n+// To make a request with a specified context.Context, use NewRequestWithContext\n+// and Def... | 2021-03-07T23:30:47 |
nodejs/node | 9c48926dba20a507968d4152fafa9d51d69cf970 | a9051bb2c32f30dc6f715bed593765b257ba1a48 | stream: fix error handling with async iteration
Fix an issue when an error was emitted by the stream before
`iterator.next()` is called.
PR-URL: https://github.com/nodejs/node/pull/20329
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Jam... | [
{
"path": "lib/internal/streams/async_iterator.js",
"patch": "@@ -58,7 +58,7 @@ function onError(iter, err) {\n iter[kLastReject] = null;\n reject(err);\n }\n- iter.error = err;\n+ iter[kError] = err;\n }\n \n function wrapForNext(lastPromise, iter) {",
"additions": 1,
"deletions": 1,
... | 2018-04-26T09:53:23 |
electron/electron | 9c9d62c3a978398b441593102c7bffbe2f787e45 | 40e06db3a8377a94c8d4d74d08ff5f72b098f815 | Should write a meaningful config.gypi for node.
Node is parsing it for 'process.config', empty file would cause
exception. | [
{
"path": "script/bootstrap.py",
"patch": "@@ -73,6 +73,7 @@ def touch_config_gypi():\n if not os.path.exists(config_gypi):\n with open(config_gypi, 'w+') as f:\n f.truncate(0)\n+ f.write('{}')\n \n \n def update_atom_shell():",
"additions": 1,
"deletions": 0,
"language": "Pytho... | 2013-07-02T14:23:13 |
huggingface/transformers | 47bd4296d6b38ab28a86e170d50e46fa5f99b543 | 693328f2bc66b0ef20950c43a46d440cbad50265 | not to use A100 for `benchmark.yml` (#35974)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/benchmark.yml",
"patch": "@@ -18,7 +18,8 @@ jobs:\n name: Benchmark\r\n strategy:\r\n matrix:\r\n- group: [aws-g5-4xlarge-cache, aws-p4d-24xlarge-plus]\r\n+ # group: [aws-g5-4xlarge-cache, aws-p4d-24xlarge-plus] (A100 runner is not enabled)\r\n+ ... | 2025-01-30T17:55:36 |
vercel/next.js | 5cdd8e4da7dff716d567bbfcfbf663edf6cfae48 | bd660b37624ce6d956f8da0c22fb52e899ef4d10 | Fix tracing of node_modules files not emitted by pages (#249)
Because the static SSR renderer doesn't emit files that exist in
`node_modules` (because we take advantage of node's native `require`
resolution), any paths that traced into `node_modules` would output the
full file system path. It's just verbose and ann... | [
{
"path": "crates/next-core/src/nodejs/mod.rs",
"patch": "@@ -2,7 +2,6 @@ use std::{\n collections::{BTreeMap, HashMap, HashSet},\n fmt::Write as _,\n io::Write,\n- path::{PathBuf, MAIN_SEPARATOR},\n };\n \n use anyhow::{anyhow, bail, Result};\n@@ -71,6 +70,7 @@ async fn emit(\n \n /// List o... | 2022-10-25T02:16:35 |
golang/go | 9d4d5ee66dc53f6640dd8f5333df69db4df3b044 | 32f45d13b2fa9ef8ae17e885c2d82d80a6d22caa | [dev.fuzz] testing: print logs and error messages when fuzzing
Also improve the error messages for the use of
testing.F functions inside the Fuzz function.
Change-Id: I5fa48f8c7e0460a1da89a49a73e5af83c544e549
Reviewed-on: https://go-review.googlesource.com/c/go/+/298849
Trust: Katie Hockman <katie@golang.org>
Run-Try... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt",
"patch": "@@ -37,16 +37,19 @@ go run check_testdata.go FuzzWithNilPanic\n stdout 'testdata[/\\\\]corpus[/\\\\]FuzzWithFail[/\\\\]'\n go run check_testdata.go FuzzWithFail\n \n+! go test -run=FuzzWithLogFail -fuzz=FuzzWithLogFail -fuzztime=5s... | 2021-03-04T19:53:18 |
nodejs/node | a9051bb2c32f30dc6f715bed593765b257ba1a48 | 541d2192cf0325f6b085a33828b40a0e5b23b76a | build: remove --xcode configure switch
`./configure --xcode` ostensibly let you built with the Xcode IDE but
it has never been tested regularly since its introduction in 2012 and
probably has been broken for years. Remove it.
PR-URL: https://github.com/nodejs/node/pull/20328
Fixes: https://github.com/nodejs/node/iss... | [
{
"path": "configure",
"patch": "@@ -501,11 +501,6 @@ parser.add_option('--without-node-options',\n dest='without_node_options',\n help='build without NODE_OPTIONS support')\n \n-parser.add_option('--xcode',\n- action='store_true',\n- dest='use_xcode',\n- help='generate build files for use ... | 2018-04-26T07:03:26 |
huggingface/transformers | 693328f2bc66b0ef20950c43a46d440cbad50265 | 575768183759c5d3dc052a0af26818a81521e82a | Support batching for UsefulSensors Moonshine (#35922)
* Add support for attention masking in moonshine.
Tested against Open ASR Leaderboard with batch size 256.
* Update comments and ensure attention masks are passed everywhere.
Perform attention mask downsampling inside of moonshine forward call.
* Hide p... | [
{
"path": "src/transformers/models/moonshine/configuration_moonshine.py",
"patch": "@@ -64,6 +64,9 @@ class MoonshineConfig(PretrainedConfig):\n by meanpooling all the original heads within that group. For more details checkout [this\n paper](https://arxiv.org/pdf/2305.13245.pdf). If... | 2025-01-30T16:08:07 |
vercel/next.js | 1d596ca90cfaa13e77957e34439b57fe9165b768 | 2277eb92fd911096249e4d310244ce0526433161 | Pathname and search params SSG (#41247)
Bailout to client rendering when using useSearchParams and usePathName
during SSG.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements a... | [
{
"path": "packages/next/client/components/headers.ts",
"patch": "@@ -1,21 +1,5 @@\n-import { DynamicServerError } from './hooks-server-context'\n import { requestAsyncStorage } from './request-async-storage'\n-import { staticGenerationAsyncStorage } from './static-generation-async-storage'\n-\n-function st... | 2022-10-25T01:58:10 |
golang/go | ed3ae9a340e506d873e57444a8eb28cd06e933a2 | 9136d958ab258bc4f128c8582ab713c482ec33ed | cmd/doc: properly display interface methods
Previously, we used to call doc.ToText to print each comment
in a comment group attached to an interface method. This broke any
preformatted code block attached to the comment, and displayed everything
aligned to a single column. Additionally, the name of the interface
also ... | [
{
"path": "src/cmd/doc/doc_test.go",
"patch": "@@ -579,7 +579,7 @@ var tests = []test{\n \t\t[]string{\n \t\t\t`Comment about exported interface`, // Include comment.\n \t\t\t`type ExportedInterface interface`, // Interface definition.\n-\t\t\t`Comment before exported method.*\\n.*ExportedMethod\\(\\)` +\n+... | 2020-12-17T07:13:19 |
nodejs/node | 541d2192cf0325f6b085a33828b40a0e5b23b76a | 29cddb40b238daf1dfad0cc42e0d3bd5068dff03 | test: fix a TODO and remove obsolete TODOs
This removes outdated TODOs and adds a test for invalid input in
`fs.copyFile` and solves a TODO by doing so.
PR-URL: https://github.com/nodejs/node/pull/20319
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: ... | [
{
"path": "lib/url.js",
"patch": "@@ -281,9 +281,6 @@ Url.prototype.parse = function parse(url, parseQueryString, slashesDenoteHost) {\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:b path:/?@c\n \n- // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n- /... | 2018-04-26T03:44:14 |
huggingface/transformers | 575768183759c5d3dc052a0af26818a81521e82a | e320d5542e7c301914722ff39eb01a6a0b4001d0 | Less flaky for `TimmBackboneModelTest::test_batching_equivalence` (#35971)
* fix
* remove is_flaky
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/timm_backbone/test_modeling_timm_backbone.py",
"patch": "@@ -18,7 +18,7 @@\n import unittest\n \n from transformers import AutoBackbone\n-from transformers.testing_utils import is_flaky, require_timm, require_torch, torch_device\n+from transformers.testing_utils import require_timm, ... | 2025-01-30T15:56:26 |
electron/electron | 304f9cc01a88f1218304592936ef6c63b0f10ca2 | 236b29ee8c3d717ec94bf1818ab315d0ada245b8 | Update node: fix link error in uv. | [
{
"path": "vendor/node",
"patch": "@@ -1 +1 @@\n-Subproject commit f17d70ef081448154bc1d069cc2673c53fc7b897\n+Subproject commit 49cb96d841e3499fb5b1355eca679a0c238fb8e3",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-07-02T10:30:39 |
vercel/next.js | f5a89eb00aaa8e54116ea6e735beee79db04dff0 | c124cabdc7af4f55155543b70b18f73a4d0fa941 | Dont apply existing externals path changing to rsc layers (#41744)
We have existing rule for pages ssr that `next/dist/server` and
`next/dist/shared` will not be bundled, but we shouldn't apply it to rsc
layers since the they should bundle the dependencies in their own way.
Adding a test that using `next/head` in... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -2,7 +2,7 @@ import ReactRefreshWebpackPlugin from 'next/dist/compiled/@next/react-refresh-ut\n import chalk from 'next/dist/compiled/chalk'\n import crypto from 'crypto'\n import { webpack } from 'next/dist/compiled/webpack/webpack'\n-import p... | 2022-10-25T01:00:44 |
golang/go | 9136d958ab258bc4f128c8582ab713c482ec33ed | 67048432026062a98a3937a865aeb05a398148c5 | cmd/asm: complete the support for VDUP on arm64
"VMOV Vn.<T>[index], Vn" is equivalent to "VDUP Vn.<T>[index], Vn", and
the latter has a higher priority in the disassembler than the former.
But the assembler doesn't support to encode this combination of VDUP,
this leads to an inconsistency between assembler and disass... | [
{
"path": "src/cmd/asm/internal/asm/testdata/arm64.s",
"patch": "@@ -596,9 +596,12 @@ TEXT\tfoo(SB), DUPOK|NOSPLIT, $-8\n \tVMOV\tR20, V1.S[0] // 811e044e\n \tVMOV\tR20, V1.S[1] // 811e0c4e\n \tVMOV\tR1, V9.H4 // 290c020e\n+\tVDUP\tR1, V9.H4 // 290c020e\n \tVMOV\tR2... | 2020-12-04T06:02:55 |
nodejs/node | 29cddb40b238daf1dfad0cc42e0d3bd5068dff03 | bb546ac001356da4dffd762c3f847660210f3064 | test: verify arguments length in common.expectsError
If `common.expectsError` is used as a callback, it will now also
verify that there is only one argument (the expected error).
PR-URL: https://github.com/nodejs/node/pull/20311
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collin... | [
{
"path": "test/common/index.js",
"patch": "@@ -708,6 +708,11 @@ exports.expectsError = function expectsError(fn, settings, exact) {\n }\n \n function innerFn(error) {\n+ if (arguments.length !== 1) {\n+ // Do not use `assert.strictEqual()` to prevent `util.inspect` from\n+ // always being ... | 2018-04-26T00:14:25 |
huggingface/transformers | 365fecb4d0b6c87f20b93561e11c3d4c77938012 | 9725e5be2fb17780ce1f645e5ba768aa78533526 | Whisper: fix static cache CI (#35852)
* fix
* remove overriden method
* small change | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -406,23 +406,28 @@ def prepare_inputs_for_generation(\n model_inputs[input_ids_key] = input_ids.clone(memory_format=torch.contiguous_format)\n \n # 4. Create missing `position_ids` on the fly\n+ attention_mask = (\n+ ... | 2025-01-30T11:43:00 |
vercel/next.js | c124cabdc7af4f55155543b70b18f73a4d0fa941 | 8678865907c15c0c8ca012725da71495006249f7 | Fix edge entry layer resolution bug (#41757)
By default the edge page entry is in the client layer because it bundles Next.js. It's a virtual loader (edge-ssr-loader) but that makes the SWC loader think the page's source is a client component.
We use the resource query `__edge_ssr_entry__` to convert it to the server... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -729,6 +729,16 @@ export default async function getBaseWebpackConfig(\n babel: getBabelOrSwcLoader(),\n }\n \n+ const swcLoaderForRSC = hasServerComponents\n+ ? useSWCLoader\n+ ? getSwcLoader({ isServerLayer: true })\n+ : //... | 2022-10-25T00:33:19 |
electron/electron | 236b29ee8c3d717ec94bf1818ab315d0ada245b8 | 7a27537c89996745694c7765da81cc0421614ba6 | Fix main function on Windows. | [
{
"path": "atom.gyp",
"patch": "@@ -4,6 +4,7 @@\n 'product_name': 'Atom',\n 'app_sources': [\n 'app/atom_main.cc',\n+ '<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',\n ],\n 'bundle_sources': [\n 'browser/mac/atom.icns',",
"additions": 1,
"deletions... | 2013-07-02T10:02:55 |
golang/go | 67048432026062a98a3937a865aeb05a398148c5 | dcc96e4b9403a3a1e135b81d5f556a72a04a2add | testing: update helperNames just before checking it
parent's helperNames has not been set when frameSkip called, moving
helperNames initilazing to frameSkip.
Fixes #44887
Change-Id: I5107c5951033e5e47d1ac441eac3ba5344a7bdc0
GitHub-Last-Rev: 44b90b2e2eeca8e2bb4a2084ec6fdd279c88f76d
GitHub-Pull-Request: golang/go#4507... | [
{
"path": "src/testing/helper_test.go",
"patch": "@@ -71,6 +71,38 @@ func TestTBHelperParallel(t *T) {\n \t}\n }\n \n+func TestTBHelperLineNumer(t *T) {\n+\tvar buf bytes.Buffer\n+\tctx := newTestContext(1, newMatcher(regexp.MatchString, \"\", \"\"))\n+\tt1 := &T{\n+\t\tcommon: common{\n+\t\t\tsignal: make(... | 2021-03-18T00:10:38 |
rust-lang/rust | 1baa62e88494e84c30d293c31b1d214cbe4bc643 | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 | Fix typo in documentation
Correct the misspelling of "indentifier" to "identifier" in `library/alloc/src/fmt.rs`. | [
{
"path": "library/alloc/src/fmt.rs",
"patch": "@@ -109,7 +109,7 @@\n //! parameters (corresponding to `format_spec` in [the syntax](#syntax)). These\n //! parameters affect the string representation of what's being formatted.\n //!\n-//! The colon `:` in format syntax divides indentifier of the input data ... | 2025-04-12T14:26:38 |
nodejs/node | bb546ac001356da4dffd762c3f847660210f3064 | b92c6563024044c34b48165270e8464499e3c0bb | http2: fix ping callback
In case there was no ack, the callback would have returned
more than the error as return value. This makes sure that is not
the case anymore.
PR-URL: https://github.com/nodejs/node/pull/20311
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>... | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -704,8 +704,11 @@ const proxySocketHandler = {\n // data received on the PING acknowlegement.\n function pingCallback(cb) {\n return function pingCallback(ack, duration, payload) {\n- const err = ack ? null : new ERR_HTTP2_PING_CANCEL();\n- cb(err... | 2018-04-26T00:13:39 |
huggingface/transformers | 9725e5be2fb17780ce1f645e5ba768aa78533526 | 8bc4c89ee904598d402851f06d681bc1e9cc5846 | Pixtral: vectorize patch embeddings and enable tests (#35122)
* initial POC
* - batch mix feature
* fix tests
* fix tests
* make style
* do not skip and instead fix tests
* update
* return back the test
* correct text with the correct ckpt | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -280,6 +280,7 @@ def get_image_features(\n pixel_values: torch.FloatTensor,\n vision_feature_layer: Union[int, List[int]],\n vision_feature_select_strategy: str,\n+ **kwargs,\n ):\n \"\"\"\n ... | 2025-01-30T11:40:18 |
vercel/next.js | c8067af03f46eaf8814da2ea4eda8dbe8a765d7d | dca015b121cb144cc6790f11268cdd874063bd28 | Fix fallback page error overlay (vercel/turbo#268) | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/fallback.tsx",
"patch": "@@ -6,15 +6,23 @@ import {\n initializeHMR,\n ReactDevOverlay,\n } from \"@vercel/turbopack-next/dev/client\";\n-import { onChunkUpdate } from \"@vercel/turbopack-next/dev/hmr-client\";\n+import { onUpdate } from \"@verc... | 2022-10-25T00:05:21 |
electron/electron | 7a27537c89996745694c7765da81cc0421614ba6 | 892f1aa7ce085c8ddf991f3cc90bd1c1da7cbc80 | Update brightray: fix building with ninja. | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit a380345fe838af293df87fb3b7059ec592b3af8c\n+Subproject commit 682f4cd0a10433126f7ead8359268c9a709a8211",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-07-02T09:33:43 |
nodejs/node | 655430179f381412d9e2fe7657135f9bba4b8e45 | 8a0fb137d887db56337a7206804affcbc8e18304 | doc: improve assert docs
This improves the error example output by reflecting the current
state. It also makes sure the examples are up to date in general.
`assert.throws` clarified the `ERR_AMBIGUOUS_ARGUMENT` error.
PR-URL: https://github.com/nodejs/node/pull/20313
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.co... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -102,31 +102,25 @@ It can be accessed using:\n const assert = require('assert').strict;\n ```\n \n-Example error diff (the `expected`, `actual`, and `Lines skipped` will be on a\n-single row):\n+Example error diff:\n \n ```js\n const assert = require('assert').str... | 2018-04-26T01:06:10 |
huggingface/transformers | 8bc4c89ee904598d402851f06d681bc1e9cc5846 | 19f2ec80cfd5738d6ae5f25aa054ed7bdb854b8c | [bart] minor test fixes (#35965)
fix tests | [
{
"path": "tests/models/bart/test_modeling_bart.py",
"patch": "@@ -885,7 +885,7 @@ def test_inference_no_head(self):\n expected_shape = torch.Size((1, 11, 1024))\n self.assertEqual(output.shape, expected_shape)\n expected_slice = torch.tensor(\n- [[0.7144, 0.8143, -1.2813]... | 2025-01-30T10:00:11 |
vercel/next.js | 9c759196e5413a3a99728e5980f95084b38b2c08 | ddc90138e458bbc132acb6aab661fedbcdbc9e29 | Fix fallback page error overlay (#268) | [
{
"path": "crates/next-core/js/src/entry/fallback.tsx",
"patch": "@@ -6,15 +6,23 @@ import {\n initializeHMR,\n ReactDevOverlay,\n } from \"@vercel/turbopack-next/dev/client\";\n-import { onChunkUpdate } from \"@vercel/turbopack-next/dev/hmr-client\";\n+import { onUpdate } from \"@vercel/turbopack-next/... | 2022-10-25T00:05:21 |
electron/electron | 5e807cffc87f0f90ddee67cf11ecdbea1f2075bb | 3d00cded271d1e09022122fe5c07437035b7f845 | Use abusolute path when linking to external libraries. Fixes #22.
The ninja generator of gyp behaves strangely on the 'libraries' field of link
settings, for example, specifying path to an external library works well on
both xcodebuild and msvc generators, but the ninja generator would link to
the wrong path (it can n... | [
{
"path": "brightray/brightray.gyp",
"patch": "@@ -2,6 +2,9 @@\n 'includes': [\n 'brightray.gypi',\n ],\n+ 'variables': {\n+ 'brightray_source_root': '<!(python tools/brightray_source_root.py)',\n+ },\n 'targets': [\n {\n 'target_name': 'brightray',\n@@ -70,17 +73,17 @@\n ['... | 2013-07-02T07:12:34 |
rust-lang/rust | 32dd3831f56973881ad2a47d4b4002d18de26c5f | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 | bootstrap: fix typo in doc string | [
{
"path": "src/bootstrap/src/core/download.rs",
"patch": "@@ -417,7 +417,7 @@ enum DownloadSource {\n Dist,\n }\n \n-/// Functions that are only ever called once, but named for clarify and to avoid thousand-line functions.\n+/// Functions that are only ever called once, but named for clarity and to avoi... | 2025-04-12T09:38:55 |
nodejs/node | f0a6cb0593eae7743edac8e7b3304a09dde2cba6 | 564048dc2984c45884e5eb58c903f9a0ebe29ab4 | assert: minor error message improvements
Adjust indentations and fix a typo.
PR-URL: https://github.com/nodejs/node/pull/20315
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -360,13 +360,10 @@ function createErrDiff(actual, expected, operator) {\n \n // Strict equal with identical objects that are not identical by reference.\n if (identical === maxLines) {\n- let base = 'Input object identical but not reference equal:';\n-... | 2018-04-26T01:14:47 |
huggingface/transformers | 19f2ec80cfd5738d6ae5f25aa054ed7bdb854b8c | 7547f55e5d93245c0a013b50df976924f2d9e8b0 | Fix is_causal being a tensor (#35791)
* fix is_causal being a tensor
* convert in sdpa attention only when jit tracing | [
{
"path": "src/transformers/integrations/sdpa_attention.py",
"patch": "@@ -45,6 +45,11 @@ def sdpa_attention_forward(\n if is_causal is None:\n is_causal = causal_mask is None and query.shape[2] > 1\n \n+ # Shapes (e.g. query.shape[2]) are tensors during jit tracing, resulting in `is_causal` ... | 2025-01-30T08:22:33 |
vercel/next.js | 8678865907c15c0c8ca012725da71495006249f7 | 17a4f6a69f641bb31f248d382223413dddd4b05c | feat: set a better type for the default image loader (#41639)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has b... | [
{
"path": "packages/next/client/image.tsx",
"patch": "@@ -13,6 +13,8 @@ import { getImageBlurSvg } from '../shared/lib/image-blur-svg'\n import {\n ImageConfigComplete,\n imageConfigDefault,\n+ ImageLoaderProps,\n+ ImageLoaderPropsWithConfig,\n } from '../shared/lib/image-config'\n import { ImageConfi... | 2022-10-24T23:59:07 |
electron/electron | e87a7c286cbcca6b5fed5f78ee02d45a5d761eda | dc1655979e86f00f6efa51f30940a56efac4d5e0 | Don't throw exception when gyp fails.
This makes output cleaner when we got a gyp error. | [
{
"path": "script/update.py",
"patch": "@@ -31,10 +31,10 @@ def update_gyp():\n python = sys.executable\n if sys.platform == 'cygwin':\n python = os.path.join('vendor', 'python_26', 'python.exe')\n- subprocess.check_call([python, gyp,\n- '-f', 'ninja', '--depth', '.', 'atom.... | 2013-07-02T01:33:11 |
rust-lang/rust | 83dd8a2c2a7d948e669adc7170dfc4bf0b76a873 | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 | Fix name of field in doc comment | [
{
"path": "compiler/rustc_hir/src/hir.rs",
"patch": "@@ -1756,7 +1756,7 @@ pub enum PatKind<'hir> {\n Never,\n \n /// A tuple pattern (e.g., `(a, b)`).\n- /// If the `..` pattern fragment is present, then `Option<usize>` denotes its position.\n+ /// If the `..` pattern fragment is present, the... | 2025-04-12T09:33:33 |
golang/go | 0c93b16d015663a60ac77900ca0dcfab92310790 | d3ab6b50496a58ff3deb2502b6c8b9b38947eeca | cmd: move experiment flags into objabi.Experiment
This moves all remaining GOEXPERIMENT flags into the objabi.Experiment
struct, drops the "_enabled" from their name, and makes them all bool
typed.
We also drop DebugFlags.Fieldtrack because the previous CL shifted the
one test that used it to use GOEXPERIMENT instead... | [
{
"path": "src/cmd/compile/internal/base/debug.go",
"patch": "@@ -13,14 +13,10 @@ import (\n \t\"reflect\"\n \t\"strconv\"\n \t\"strings\"\n-\n-\t\"cmd/internal/objabi\"\n )\n \n // Debug holds the parsed debugging configuration values.\n-var Debug = DebugFlags{\n-\tFieldtrack: &objabi.Fieldtrack_enabled,\n... | 2021-03-16T21:06:25 |
huggingface/transformers | 7547f55e5d93245c0a013b50df976924f2d9e8b0 | 4d3b1076a17b72f68c7332008b667c22e81d8f94 | fix iterator overflow when gradient accumulation is 1 (#35960) | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2434,6 +2434,8 @@ def _inner_training_loop(\n remainder = args.gradient_accumulation_steps\n update_step = -1\n total_updates = steps_in_epoch // args.gradient_accumulation_steps + 1\n+ if args.gradient... | 2025-01-29T19:45:09 |
nodejs/node | 564048dc2984c45884e5eb58c903f9a0ebe29ab4 | 511230fdae1f61594808a8f547c7f3e5e46727ef | http,https,tls: switch to WHATWG URL parser
This switches the url parser from `url.parse()` to the WHATWG URL
parser while keeping `url.parse()` as fallback.
Also add tests for invalid url deprecations and correct hostname
checks.
PR-URL: https://github.com/nodejs/node/pull/20270
Fixes: https://github.com/nodejs/nod... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -994,6 +994,18 @@ because it also made sense to interpret the value as the number of bytes\n read by the engine, but is inconsistent with other streams in Node.js that\n expose values under these names.\n \n+<a id=\"DEP0109\"></a>\n+### DEP0109: http, https,... | 2018-04-25T00:37:43 |
vercel/next.js | ddc90138e458bbc132acb6aab661fedbcdbc9e29 | c0672f06ee06a089517266d34fb396edefa0d2fd | fix: Update discord links to turbo.build/discord (#241) | [
{
"path": "crates/turbopack/README.md",
"patch": "@@ -35,7 +35,7 @@ Visit https://turbo.build/pack to view the full documentation.\n \n The Turborepo community can be found on [GitHub Discussions](https://github.com/vercel/turbo/discussions), where you can ask questions, voice ideas, and share your projects... | 2022-10-24T23:48:31 |
electron/electron | 90ab2dcc7e00ffcb84c6970564ea64eac152e2f9 | 59ba3f1025c47caf778f76b80a987ff3d238f120 | Fix update-frameworks. | [
{
"path": "script/update-frameworks.py",
"patch": "@@ -6,7 +6,7 @@\n from lib.util import *\n \n \n-SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))\n+SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n FRAMEWORKS_URL='https://gh-contractor-zcbenz.s3.amazonaws.com/frameworks'... | 2013-07-01T14:27:14 |
golang/go | d3ab6b50496a58ff3deb2502b6c8b9b38947eeca | bdbba224040a0f079a80368d9956f85a10577045 | test: switch fieldtrack test to use GOEXPERIMENT
Now that we can set GOEXPERIMENT at build time, we no longer need
-d=fieldtrack in the compiler to enabled field tracking at build time.
Switch the one test that uses -d=fieldtrack to use GOEXPERIMENT
instead so we can eliminate this debug flag and centralize on
GOEXPER... | [
{
"path": "test/fixedbugs/issue42686.go",
"patch": "@@ -1,4 +1,4 @@\n-// compile -d=fieldtrack\n+// compile -goexperiment fieldtrack\n \n // Copyright 2020 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style",
"additions": 1,
"deletions": 1,
"language": "... | 2021-03-18T15:35:45 |
huggingface/transformers | f0ae65c198a818df52e7abdf9d02fe6011faf55c | ec7790f0d3034b7a2a03b9d7f00154db1e17e84c | [tests] further fix `Tester object has no attribute '_testMethodName'` (#35781)
* bug fix
* update with more cases
* more entries
* Fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/albert/test_modeling_flax_albert.py",
"patch": "@@ -36,7 +36,7 @@\n )\n \n \n-class FlaxAlbertModelTester(unittest.TestCase):\n+class FlaxAlbertModelTester:\n def __init__(\n self,\n parent,\n@@ -80,7 +80,6 @@ def __init__(\n self.type_sequence_label_s... | 2025-01-29T15:05:33 |
nodejs/node | 511230fdae1f61594808a8f547c7f3e5e46727ef | 60b5b38b4854005f11f008b510a57eab24025599 | child_process: fix leak when passing http sockets
After passing an HTTP socket, release its associated resources.
PR-URL: https://github.com/nodejs/node/pull/20305
Fixes: https://github.com/nodejs/node/issues/15651
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/internal/child_process.js",
"patch": "@@ -31,6 +31,8 @@ const SocketList = require('internal/socket_list');\n const { convertToValidSignal } = require('internal/util');\n const { isUint8Array } = require('internal/util/types');\n const spawn_sync = process.binding('spawn_sync');\n+const { HTT... | 2018-04-19T22:24:49 |
vercel/next.js | e9684b0225358d7df94597d38c7495bbc58c746d | 8fd5f0b5915d082ec2b2014e61c04914ab995045 | Remove unneeded types (#41752)
We are moving the Head export.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the
feature requ... | [
{
"path": "packages/next/build/webpack/plugins/flight-types-plugin.ts",
"patch": "@@ -45,7 +45,6 @@ interface IEntry {\n : `default: PageComponent`\n }\n config?: {}\n- Head?: any\n generateStaticParams?: (params?: PageParams) => Promise<any[]>\n revalidate?: RevalidateRange<TEntry> | false\n... | 2022-10-24T23:02:19 |
electron/electron | 1b93ec10329297f40592c4b35b38e8fc7dde9194 | 6bdf7c51b4a349f3cac7cbbc3a21e22c9d2cedaf | Fix compilation errors and warnings on native_window.cc. | [
{
"path": "browser/native_window.cc",
"patch": "@@ -65,7 +65,8 @@ NativeWindow* NativeWindow::Create(base::DictionaryValue* options) {\n NativeWindow* NativeWindow::FromRenderView(int process_id, int routing_id) {\n // Stupid iterating.\n WindowList& window_list = *WindowList::GetInstance();\n- for (au... | 2013-07-01T14:01:17 |
golang/go | c71acbfe8372099877cdc989b546389b05222600 | af4388aee195c4328a779ba8f8171ad1632feb7e | test: make nosplit test invariant to ABI wrappers
Currently, the nosplit test disables ABI wrapper generation because it
generates a main.main in assembly, and so the ABI wrapper for calling
from runtime.main to main.main counts against the nosplit limit, which
cases some of the tests to fail.
Fix this by first enter... | [
{
"path": "test/nosplit.go",
"patch": "@@ -21,6 +21,8 @@ import (\n \t\"strings\"\n )\n \n+const debug = false\n+\n var tests = `\n # These are test cases for the linker analysis that detects chains of\n # nosplit functions that would cause a stack overflow.\n@@ -33,8 +35,8 @@ var tests = `\n # The body is ... | 2021-03-17T22:28:38 |
huggingface/transformers | 5d257111c19dcd97a0dafee9aca27fa257ffa297 | 23d782ead2fceec3e197c57de70489ccfc3bd0ee | Trainer Refactor: Part 1 (#35567)
* start
* So far: 30%
* Small fix
* Continuing update
* Continuing
* Forgot to check if not None
* Continuing refactor
* Fix if else
* Fix ref
* Should make tests pass
* Keep grad norm same
* Document
* Apply suggestions from code review
Co-autho... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -41,7 +41,6 @@\n # isort: off\n from .integrations import (\n get_reporting_integration_callbacks,\n- hp_params,\n )\n \n # isort: on\n@@ -108,6 +107,7 @@\n nested_xla_mesh_reduce,\n reissue_pt_warnings,\n remove_dummy_checkpoint,\n+ ... | 2025-01-29T14:50:54 |
nodejs/node | 60b5b38b4854005f11f008b510a57eab24025599 | 198eb9c5d6ac6a90dadb8c58396f9b35eaf6f5ce | buffer: do not always use defaults
The Buffer#(read|write)U?Int(B|L)E functions should not use a default
value. This is very likely a bug and it was never documented that
way.
Besides that this also improves the tests by adding more tests and by
refactoring them to less code lines.
PR-URL: https://github.com/nodejs/... | [
{
"path": "lib/internal/buffer.js",
"patch": "@@ -59,6 +59,8 @@ function boundsError(value, length, type) {\n \n // Read integers.\n function readUIntLE(offset, byteLength) {\n+ if (offset === undefined)\n+ throw new ERR_INVALID_ARG_TYPE('offset', 'number', offset);\n if (byteLength === 6)\n retur... | 2018-04-15T17:51:06 |
electron/electron | ca389edc38ddf90d9e145b37882be84df2e93e25 | fecaa7b75a776967ac5315733c73769d2095719c | Implement process.crash() on Windows. | [
{
"path": "common/api/atom_bindings.cc",
"patch": "@@ -4,6 +4,7 @@\n \n #include \"common/api/atom_bindings.h\"\n \n+#include \"base/debug/debugger.h\"\n #include \"base/logging.h\"\n #include \"vendor/node/src/node.h\"\n \n@@ -74,7 +75,7 @@ v8::Handle<v8::Value> AtomBindings::Binding(const v8::Arguments& a... | 2013-07-01T13:35:00 |
vercel/next.js | 8fd5f0b5915d082ec2b2014e61c04914ab995045 | c5111f772f9be58a442e3797c124e9dc92a07303 | Add default not found template (#41750)
It should correctly render the global not found fallback page even if
the not-found file is missing.
## Bug
- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
... | [
{
"path": "packages/next/client/components/error.tsx",
"patch": "@@ -0,0 +1,76 @@\n+import React from 'react'\n+\n+const styles: { [k: string]: React.CSSProperties } = {\n+ error: {\n+ fontFamily:\n+ '-apple-system, BlinkMacSystemFont, Roboto, \"Segoe UI\", \"Fira Sans\", Avenir, \"Helvetica Neue\"... | 2022-10-24T22:46:59 |
huggingface/transformers | 23d782ead2fceec3e197c57de70489ccfc3bd0ee | cf90404807658b140909b2a2be4865906e7abd09 | Output dicts support in text generation pipeline (#35092)
* Support for generate_argument: return_dict_in_generate=True, instead of returning a error
* fix: call test with return_dict_in_generate=True
* fix: Only import torch if it is present
* update: Encapsulate output_dict changes
* fix: added back orig... | [
{
"path": "src/transformers/pipelines/text_generation.py",
"patch": "@@ -3,11 +3,13 @@\n import types\n from typing import Dict\n \n-from ..utils import add_end_docstrings, is_tf_available, is_torch_available\n+from ..utils import ModelOutput, add_end_docstrings, is_tf_available, is_torch_available\n from .... | 2025-01-29T14:44:46 |
golang/go | 06ca809410649e24c1a3a079a0a859bae2d4613a | b7cb92ad12e6e988ad73313773e1ca229a333005 | cmd/internal/objabi: centralize GOEXPERIMENT parsing
objabi parses GOEXPERIMENT, but most of the consumers look at the raw
GOEXPERIMENT string that objabi gets from the environment. Centralize
this logic by only exposing the parsed GOEXPERIMENT value from objabi.
This sets us up for the next few changes. It also has t... | [
{
"path": "src/cmd/go/internal/cfg/cfg.go",
"patch": "@@ -252,13 +252,12 @@ var (\n \tGOMODCACHE = envOr(\"GOMODCACHE\", gopathDir(\"pkg/mod\"))\n \n \t// Used in envcmd.MkEnv and build ID computations.\n-\tGOARM = envOr(\"GOARM\", fmt.Sprint(objabi.GOARM))\n-\tGO386 = envOr(\"GO386\", objab... | 2021-03-15T19:43:45 |
nodejs/node | 8809f8b40b3b9f16702c91c7ba6d7324ce431970 | b55a11d1b17b3e4b9650ef8e7b4e57ef83dc441d | doc: add missing backticks in n-api.md
Codify types, variable names, and code fragments
checking patterns I've managed to think of.
Some nits were also fixed in passing
(add missing periods, remove extra line breaks etc).
PR-URL: https://github.com/nodejs/node/pull/20390
Reviewed-By: Tobias Nießen <tniessen@tnie.de>... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -185,7 +185,6 @@ typedef void (*napi_finalize)(napi_env env,\n void* finalize_hint);\n ```\n \n-\n #### napi_async_execute_callback\n Function pointer used with functions that support asynchronous\n operations. Callback functions must ... | 2018-04-28T22:26:30 |
electron/electron | fecaa7b75a776967ac5315733c73769d2095719c | 14f7a64a914870badc5f4c665b0359767e6b7de8 | Should enable C++ exceptions for all targets on Windows.
It's a requirement for using standard library of VS. | [
{
"path": "atom.gyp",
"patch": "@@ -252,14 +252,6 @@\n '.',\n 'vendor',\n ],\n- 'msvs_settings': {\n- 'VCCLCompilerTool': {\n- # Programs that use the Standard C++ library must be compiled with C++\n- # exception handling enabled.\n- # http://supp... | 2013-07-01T12:52:48 |
vercel/next.js | 233b69d2036ef61a16d9729fb9c668187911446c | 36f7545c3397213074bdb24e62bcf164d21efada | App CSS and fixes (vercel/turbo#246)
fix app layout transition
add global css support | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx",
"patch": "@@ -7,7 +7,10 @@ declare global {\n }\n \n import type { IncomingMessage, ServerResponse } from \"node:http\";\n-import type { FlightManifest } from \"next/dist/build/webpack/plugins/flight-manifest-plugin\";\n+import ty... | 2022-10-24T22:27:17 |
huggingface/transformers | cf90404807658b140909b2a2be4865906e7abd09 | 692afa102d202716f0073cd54c07c78a25eebb07 | Fix flaky `test_assisted_decoding_matches_greedy_search` (#35951)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -1185,7 +1185,9 @@ def test_assisted_decoding_matches_greedy_search(self, assistant_type):\n \"return_dict_in_generate\": True,\n \"use_cache\": True,\n }\n- output_greedy = model.generate(**gener... | 2025-01-29T13:50:07 |
golang/go | 32f45d13b2fa9ef8ae17e885c2d82d80a6d22caa | 6ee1506769b24d99e27f9a6a9c99e9b7143112bf | [dev.fuzz] internal/fuzz: add minimization of []byte
This works by minimizing for a maximum of one minute. We may consider
making this customizable in the future.
This only minimizes []byte inputs which caused a recoverable error. In
the future, it should support minimizing other appopriate types, and
minimizing type... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutator.txt",
"patch": "@@ -14,11 +14,21 @@ go test -fuzz=FuzzA -fuzztime=5s -parallel=1 -log=fuzz\n go run check_logs.go fuzz fuzz.worker\n \n # Test that the mutator is good enough to find several unique mutations.\n-! go test -fuzz=Fuzz -parallel=1 -fuzztim... | 2021-03-03T19:16:07 |
rust-lang/rust | 667aa2e952a8367863021782cad5fbad7b89dbff | f79a89da92d72f119d81e8cb55ad75df2f60f4f8 | fix path | [
{
"path": "src/doc/rustc-dev-guide/src/contributing.md",
"patch": "@@ -387,7 +387,7 @@ Just a few things to keep in mind:\n - jan 2021\n - january 2021\n \n- There is a CI action (in `~/.github/workflows/date-check.yml`)\n+ There is a CI action (in `.github/workflows/date-check.yml`)\n tha... | 2025-04-12T08:41:48 |
huggingface/transformers | 692afa102d202716f0073cd54c07c78a25eebb07 | c600e89f5c989959dea7701489d93a6dddeca3bb | Update `squad_convert_example_to_features` to work with numpy v2 (#35955)
* Fix
* Fix
* Fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/data/processors/squad.py",
"patch": "@@ -249,7 +249,7 @@ def squad_convert_example_to_features(\n else:\n p_mask[-len(span[\"tokens\"]) : -(len(truncated_query) + sequence_added_tokens)] = 0\n \n- pad_token_indices = np.where(span[\"input_ids\"] == toke... | 2025-01-29T13:33:06 |
electron/electron | 14f7a64a914870badc5f4c665b0359767e6b7de8 | 8145d5ba265724d35bba994932084657ddf1e934 | Fix warnings in http_parser. | [
{
"path": "common.gypi",
"patch": "@@ -12,7 +12,7 @@\n # Settings to compile node under Windows.\n 'target_defaults': {\n 'target_conditions': [\n- ['_target_name in [\"libuv\", \"cares\", \"openssl\", \"node\", \"zlib\"]', {\n+ ['_target_name in [\"libuv\", \"http_parser\", \"cares\", \"o... | 2013-07-01T10:45:46 |
vercel/next.js | e5e6452ffefc83cf087404acc23dd4e3b53249f8 | cc49de4fe8c65087b4646ca2389a662218248f31 | App CSS and fixes (#246)
fix app layout transition
add global css support | [
{
"path": "crates/next-core/js/src/entry/app-renderer.tsx",
"patch": "@@ -7,7 +7,10 @@ declare global {\n }\n \n import type { IncomingMessage, ServerResponse } from \"node:http\";\n-import type { FlightManifest } from \"next/dist/build/webpack/plugins/flight-manifest-plugin\";\n+import type {\n+ FlightCSS... | 2022-10-24T22:27:17 |
nodejs/node | b55a11d1b17b3e4b9650ef8e7b4e57ef83dc441d | c51b7b296e0fd59a00b1c1337d744f4fc8d2fb35 | http2: fix responses to long payload reqs
When a request with a long payload is received, http2 does
not allow a response that does not process all the incoming
payload. Add a conditional Http2Stream.close call that runs
only if the user hasn't attempted to read the stream.
PR-URL: https://github.com/nodejs/node/pull... | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -206,6 +206,7 @@ const STREAM_FLAGS_CLOSED = 0x2;\n const STREAM_FLAGS_HEADERS_SENT = 0x4;\n const STREAM_FLAGS_HEAD_REQUEST = 0x8;\n const STREAM_FLAGS_ABORTED = 0x10;\n+const STREAM_FLAGS_HAS_TRAILERS = 0x20;\n \n const SESSION_FLAGS_PENDING = 0x0;\n co... | 2018-04-16T20:03:10 |
golang/go | e726e2a6087683eb21afe79ef8b5a1dbef80b0f1 | 6b6ea3271fd4f0ed99d5390461db9fa45ce4c164 | cmd/go: suppress errors for 'go get' of module paths that are also constrained-out packages
Fixes #33526
Change-Id: Iedd2d6dbe440499bf074ac632513319a22f2d648
Reviewed-on: https://go-review.googlesource.com/c/go/+/297009
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-... | [
{
"path": "src/cmd/go/internal/modget/get.go",
"patch": "@@ -369,7 +369,23 @@ func runGet(ctx context.Context, cmd *base.Command, args []string) {\n \t// directory.\n \tif !*getD && len(pkgPatterns) > 0 {\n \t\twork.BuildInit()\n-\t\tpkgs := load.PackagesAndErrors(ctx, pkgPatterns)\n+\n+\t\tvar pkgs []*load... | 2021-02-26T18:28:23 |
rust-lang/rust | ddf8237bcb05272a677cba46cffa0296b7477809 | 1bc56185ee257ed829a0aea7abdc3b03c5fed887 | Fix comment in bootstrap | [
{
"path": "src/bootstrap/src/core/build_steps/tool.rs",
"patch": "@@ -150,10 +150,7 @@ impl Step for ToolBuild {\n \n // Rustc tools (miri, clippy, cargo, rustfmt, rust-analyzer)\n // could use the additional optimizations.\n- if self.mode == Mode::ToolRustc &&\n- // rustdo... | 2025-04-12T08:05:50 |
huggingface/transformers | c600e89f5c989959dea7701489d93a6dddeca3bb | 42c8ccfd4c466eedabc5e30ac34f242e2c9f9455 | Update `unwrap_and_save_reload_schedule` to use `weights_only=False` (#35952)
* fix
* Fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/optimization/test_optimization.py",
"patch": "@@ -59,7 +59,7 @@ def unwrap_and_save_reload_schedule(scheduler, num_steps=10):\n file_name = os.path.join(tmpdirname, \"schedule.bin\")\n torch.save(scheduler.state_dict(), file_name)\n \n- state_d... | 2025-01-29T13:30:57 |
vercel/next.js | c5111f772f9be58a442e3797c124e9dc92a07303 | b17701372c8aef0029752550613f0faed4711c35 | Update font avg (#41734)
Update the avg calculations.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the
feature request has ... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -1,17 +1,19 @@\n import type { AdjustFontFallback, FontLoader } from 'next/font'\n // @ts-ignore\n-import { calculateSizeAdjustValues } from 'next/dist/server/font-utils'\n-// @ts-ignore\n import * as Log from 'next/dist/build/output/log'\n // @ts... | 2022-10-24T20:47:19 |
nodejs/node | c51b7b296e0fd59a00b1c1337d744f4fc8d2fb35 | bdf0d9b364094805183be3197b6099dd0c88a246 | tls: fix getEphemeralKeyInfo to support X25519
`EVP_PKEY_EC` only covers ANSI X9.62 curves not IETF ones(curve25519
and curve448). This fixes to add support of X25519 in
`tlsSocket.getEphemeralKeyInfo()`.
X448 should be added in the future upgrade to OpenSSL-1.1.1.
PR-URL: https://github.com/nodejs/node/pull/20273
Fi... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -2098,27 +2098,38 @@ void SSLWrap<Base>::GetEphemeralKeyInfo(\n EVP_PKEY* key;\n \n if (SSL_get_server_tmp_key(w->ssl_, &key)) {\n- switch (EVP_PKEY_id(key)) {\n+ int kid = EVP_PKEY_id(key);\n+ switch (kid) {\n case EVP_PKEY_DH:\n info-... | 2018-04-25T03:10:26 |
electron/electron | 8145d5ba265724d35bba994932084657ddf1e934 | 49a5f6e38c348fc16dc280bc282c5aac1447dc9e | Fix two warnings in openssl. | [
{
"path": "common.gypi",
"patch": "@@ -23,6 +23,8 @@\n 4152, # function/data pointer conversion in expression\n 4206, # translation unit is empty\n 4204, # non-constant aggregate initializer\n+ 4232, # address of dllimport 'free' is not static, identity not guarant... | 2013-07-01T10:36:58 |
golang/go | 9de49ae01ad332d8cbb79a3094c3fc3d6b6931e6 | 732ea4c2dcc1bcbcff65c31047ebb54364e7865d | crypto/rsa: correct EncryptOAEP doc comment
Fixes #44777
Corrected the documentation comment on the EncryptOAEP function from
'if a given public key is used to decrypt two types of messages' to
'if a given public key is used to encrypt two types of messages'.
Change-Id: I02aff90d0414960eae72352c0e4d8ba2e8f8eca6
GitH... | [
{
"path": "src/crypto/rsa/rsa.go",
"patch": "@@ -401,7 +401,7 @@ func encrypt(c *big.Int, pub *PublicKey, m *big.Int) *big.Int {\n //\n // The label parameter may contain arbitrary data that will not be encrypted,\n // but which gives important context to the message. For example, if a given\n-// public key... | 2021-03-15T18:16:05 |
rust-lang/rust | 0b0c0e47f82935225a26f705a9fed74bdb0a01db | 217fdb9d89762656d4271f3e9393c3c1e84dcc9d | RISC-V: tidying: Fix separation of I-related extensions
The author intended to split:
1. Former "I" extensions
2. Other "I"-related extensions
but incorrectly separated between "Zihpm" (a supplement of "Zicntr" which is
a former "I" extension) and "Zifencei" (a former "I" extension) while the
author intended makin... | [
{
"path": "library/stdarch/crates/std_detect/src/detect/arch/riscv.rs",
"patch": "@@ -109,10 +109,10 @@ features! {\n @FEATURE: #[unstable(feature = \"stdarch_riscv_feature_detection\", issue = \"111192\")] zihpm: \"zihpm\";\n without cfg check: true;\n /// \"Zihpm\" Extension for Hardware Perfo... | 2025-04-11T01:01:30 |
huggingface/transformers | 42c8ccfd4c466eedabc5e30ac34f242e2c9f9455 | ec7afad60909dd97d998c1f14681812d69a15728 | fix `test_generated_length_assisted_generation` (#34935)
fix test_generated_length_assisted_generation | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -3405,7 +3405,14 @@ def test_generated_length_assisted_generation(self):\n assistant_model=assistant,\n min_new_tokens=10,\n )\n- self.assertTrue((input_length + 10) <= out.shape[-1] <= 20)\n+ self.assertT... | 2025-01-29T12:03:45 |
vercel/next.js | b17701372c8aef0029752550613f0faed4711c35 | 383ec5a6a67d9ffef81f0404842bbf603a09a005 | Add error if `app` detected but config is missing (#41696)
Previously, creating the `app` dir without enabling the config would
print an error about `pages` missing:
> Couldn't find a `pages` directory. Please create one under the project
root
This PR prints a better error message:
> The `app` dir is experi... | [
{
"path": "packages/next/lib/find-pages-dir.ts",
"patch": "@@ -1,5 +1,6 @@\n import fs from 'fs'\n import path from 'path'\n+import * as Log from '../build/output/log'\n \n export const existsSync = (f: string): boolean => {\n try {\n@@ -29,21 +30,25 @@ export function findPagesDir(\n appDir: string | u... | 2022-10-24T20:42:11 |
nodejs/node | 16aee380a53bb839617bc2daf6c9b61564208906 | 99d56a4749e7b167b4f312a4fbcc754b7a3a8894 | util: fix isInsideNodeModules inside error
When isInsideNodeModules gets called while already processing
another stack trace, V8 will not call prepareStackTrace again.
This used to cause Node.js to just crash — fix it by checking
for expected return type of the stack (Array).
PR-URL: https://github.com/nodejs/node/pu... | [
{
"path": "lib/internal/util.js",
"patch": "@@ -356,16 +356,17 @@ function isInsideNodeModules() {\n \n // Iterate over all stack frames and look for the first one not coming\n // from inside Node.js itself:\n- for (const frame of stack) {\n- const filename = frame.getFileName();\n- // If a filen... | 2018-04-24T22:56:35 |
electron/electron | 49a5f6e38c348fc16dc280bc282c5aac1447dc9e | ec5fc10bd9d79612e6649855dc4d3afa44d6a2c8 | Compile atom_lib with C++ exception enabled. | [
{
"path": "atom.gyp",
"patch": "@@ -252,6 +252,14 @@\n '.',\n 'vendor',\n ],\n+ 'msvs_settings': {\n+ 'VCCLCompilerTool': {\n+ # Programs that use the Standard C++ library must be compiled with C++\n+ # exception handling enabled.\n+ # http://supp... | 2013-07-01T10:31:23 |
huggingface/transformers | 478c4f2d0d54938af8e2642b034d0199e9803a47 | ece8c42488a20ada0dcac87bd5e09f25f503ccf3 | fix(FA): QKV not being casted to target_dtype for FA with dpo lora (#35834)
fix(FA): QKV not being casted to target_dtype due to dtype check | [
{
"path": "src/transformers/modeling_flash_attention_utils.py",
"patch": "@@ -209,7 +209,7 @@ def fa_peft_integration_check(\n if target_dtype is None:\n return query, key, value\n \n- input_dtype = value.dtype\n+ input_dtype = query.dtype\n if input_dtype == torch.float32:\n l... | 2025-01-28T16:06:56 |
golang/go | 51e4bb236cb8feb8118ed6dd768ddac834dad2ef | 2583c1b4df979eae16fab6527275030a630da42b | cmd/compile/internal/types2: delay recording types of untyped operands when checking against type parameters
Don't eagerly record the target type for an untyped operand if the
target type is just one of possibly many types in the type list of
a type parameter. Instead, record expression type only after we
checked that... | [
{
"path": "src/cmd/compile/internal/types2/api_test.go",
"patch": "@@ -337,6 +337,9 @@ func TestTypesInfo(t *testing.T) {\n \n \t\t// instantiated types must be sanitized\n \t\t{`package g0; type t[P any] int; var x struct{ f t[int] }; var _ = x.f`, `x.f`, `g0.t[int]`},\n+\n+\t\t// issue 45096\n+\t\t{`packa... | 2021-03-17T23:59:47 |
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.