repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
f39200b037e022d0f79ed478a45492306aaf5629
0d1e293b2329a013f03ea3f742f1716098ee282c
[dev.typeparams] go/constant: implement Kind.String Fixes #46211. Change-Id: I7e373be5ccf9c6b53d58ed942addd17d28c3efa1 Reviewed-on: https://go-review.googlesource.com/c/go/+/320491 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>...
[ { "path": "src/go/constant/kind_string.go", "patch": "@@ -0,0 +1,28 @@\n+// Code generated by \"stringer -type Kind\"; DO NOT EDIT.\n+\n+package constant\n+\n+import \"strconv\"\n+\n+func _() {\n+\t// An \"invalid array index\" compiler error signifies that the constant values have changed.\n+\t// Re-run th...
2021-05-17T18:49:53
electron/electron
348dc8365b81d41514d361a84c3b799ee098d0ca
dad7aa6a20a21236844823d288f80ce6f5651c19
Fix return types
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -148,7 +148,7 @@ void Window::Unmaximize() {\n window_->Unmaximize();\n }\n \n-void Window::IsMaximized() {\n+bool Window::IsMaximized() {\n return window_->IsMaximized();\n }\n ", "additions": 1, "deletions": 1, "language": "Unkn...
2014-06-28T01:17:37
rust-lang/rust
288ae2235490779532c6a686a97a1aba3562b3c4
caf463ae41d4b2e7926587b60a677556f53e13d5
Fix errors in decoupling avx512vl and avx512dq from avx512fp16
[ { "path": "library/stdarch/crates/core_arch/src/x86/avx512fp16.rs", "patch": "@@ -249,7 +249,7 @@ pub fn _mm_setzero_ph() -> __m128h {\n #[target_feature(enable = \"avx512fp16,avx512vl\")]\n #[unstable(feature = \"stdarch_x86_avx512_f16\", issue = \"127213\")]\n pub fn _mm256_setzero_ph() -> __m256h {\n- ...
2025-04-28T06:01:22
huggingface/transformers
de182ba2690fe6c3466f6463c7f4b3a61694b885
dde9b03e3b7fd021dde95fd5320cf04a8328330b
Refactor bitsandbytes doc (#37668) * doc * torch ops * fix * nits * Update docs/source/en/quantization/bitsandbytes.md Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "docs/source/en/quantization/bitsandbytes.md", "patch": "@@ -14,13 +14,21 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# bitsandbytes\n+# Bitsandbytes\n \n-[bitsandbytes](https://github.com/bitsandbytes-foundation/bitsandbytes) features the LLM.int8 and QLoRA quantization to enable ...
2025-04-22T14:13:25
golang/go
b9b2bed8933a467dcc48eedeec83dfea7ff3148a
b1aff42900133e4fbc9b7d7c1af13c77e4f647b0
syscall: some containers may fail syscall.TestSetuidEtc The test previously had the hardcoded assumption that /proc/self/status files had "Groups:" lines containing numerical IDs in ascending order. Because of the possibility of non-monotonic ordering of GIDs in user namespaces, this assumption was not universally tru...
[ { "path": "misc/cgo/test/issue1435.go", "patch": "@@ -9,6 +9,7 @@ package cgotest\n import (\n \t\"fmt\"\n \t\"os\"\n+\t\"sort\"\n \t\"strings\"\n \t\"syscall\"\n \t\"testing\"\n@@ -105,11 +106,23 @@ func compareStatus(filter, expect string) error {\n \t\t\t\t// \"Pid:\\t\".\n \t\t\t}\n \t\t\tif strings.Has...
2021-05-13T03:41:26
nodejs/node
55623b5ba08dd8adc231a94deefbd441a7a18f4a
281e5a3ceec1a0463d4572a048cff13ea4ade57f
test: add tracing crash regression test PR-URL: https://github.com/nodejs/node/pull/21867 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
[ { "path": "test/parallel/test-tracing-no-crash.js", "patch": "@@ -0,0 +1,14 @@\n+'use strict';\n+const common = require('../common');\n+const assert = require('assert');\n+const { spawn } = require('child_process');\n+\n+function CheckNoSignalAndErrorCodeOne(code, signal) {\n+ assert.strictEqual(null, sign...
2018-07-19T06:12:19
vercel/next.js
595ecdbfdc554c512623e149dc46b9e94bdc017f
20997f87c41191d27d66b63c3aa98fd5ef9582dd
feat: app dir error-global component (#44066) ## Feature NEXT-54 When there's an error in the one of the root level pages, there's no way to handle it. The team discussed this and decided there should be a global error boundary to pick up anything not handled further down in the tree. It can be called `global-error....
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -17,6 +17,8 @@ const FILE_TYPES = {\n 'not-found': 'not-found',\n } as const\n \n+const GLOBAL_ERROR_FILE_TYPE = 'global-error'\n+\n const PAGE_SEGMENT = 'page$'\n \n // TODO-APP: check if this can be narrowed.\n@@ -43,6 +45,...
2022-12-16T11:04:43
rust-lang/rust
caf463ae41d4b2e7926587b60a677556f53e13d5
7db430fb80b17e9b9a996b33413f59d4b870b1fe
Fix CI errors due to alignment issues in msvc
[ { "path": "library/stdarch/crates/core_arch/src/x86/avx.rs", "patch": "@@ -1425,7 +1425,10 @@ pub fn _mm256_insert_epi32<const INDEX: i32>(a: __m256i, i: i32) -> __m256i {\n /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_load_pd)\n #[inline]\...
2025-04-28T06:32:27
electron/electron
918f38e13fe6d2b6b21646acf2ab614b26e99270
9602a9aed9f6c4c10aad8f6689387fa30d00f4f5
Fix long line
[ { "path": "brightray/browser/media/media_stream_devices_controller.cc", "patch": "@@ -157,7 +157,9 @@ void MediaStreamDevicesController::Accept() {\n void MediaStreamDevicesController::Deny() {\n content::MediaResponseCallback cb = callback_;\n callback_.Reset();\n- cb.Run(content::MediaStreamDevices()...
2014-06-27T15:59:01
huggingface/transformers
dde9b03e3b7fd021dde95fd5320cf04a8328330b
9481e9e9f1835c89eafc4182d2cecb000cb4596a
Fix no_split_modules for Llama4 pretrained models (#37673)
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -474,7 +474,6 @@ class Llama4PreTrainedModel(PreTrainedModel):\n _supports_quantized_cache = True\n _supports_static_cache = True\n _supports_attention_backend = True\n- _no_split_modules = [\"Llama4TextDecoderLayer\"...
2025-04-22T14:05:12
golang/go
bade680867c9b1eecc7b5d177ed94c455a72e50a
ce92a2023ccd77ca609126aa8a6e881c9def57f0
runtime/cgo: fix crosscall2 on ppc64x Some uses of crosscall2 did not work on ppc64le and probably aix-ppc64. In particular, if there was a main program compiled with -buildmode=pie and used a plugin which invoked crosscall2, then failures could occur due to R2 getting set incorrectly along the way. The problem was du...
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -263,6 +263,13 @@ func TestIssue25756(t *testing.T) {\n \t}\n }\n \n+// Test with main using -buildmode=pie with plugin for issue #43228\n+func TestIssue25756pie(t *testing.T) {\n+\tgoCmd(t, \"build\", \"-buildmode=plugin\", \"-o\", \"life.so\", \...
2021-05-12T17:11:03
vercel/next.js
daa14ab3e2b2ae8d78826872e691b2a375685e47
064bd143711cc15302b10f174c3e96871051220d
Remove extra turbo test (#44073) <!-- 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: --> These tests are run via an env...
[ { "path": "test/integration/css-modules/test/index.test.js", "patch": "@@ -130,18 +130,15 @@ describe('3rd Party CSS Module Support', () => {\n })\n })\n \n-describe.each([\n- ['dev', false],\n- ['turbo', true],\n-])('Has CSS Module in computed styles in Development %s', (turbo) => {\n+describe('Has CSS...
2022-12-16T08:42:42
nodejs/node
281e5a3ceec1a0463d4572a048cff13ea4ade57f
5e83a2abd0eccfb9b7200605e8371eb301dec452
src: clean up agent loop when exiting through destructor Fixes: https://github.com/nodejs/node/issues/22042 PR-URL: https://github.com/nodejs/node/pull/21867 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
[ { "path": "src/node.cc", "patch": "@@ -398,10 +398,10 @@ static struct {\n }\n \n void Dispose() {\n+ tracing_agent_.reset(nullptr);\n platform_->Shutdown();\n delete platform_;\n platform_ = nullptr;\n- tracing_agent_.reset(nullptr);\n }\n \n void DrainVMTasks(Isolate* isolate) {"...
2018-07-27T16:16:35
huggingface/transformers
9481e9e9f1835c89eafc4182d2cecb000cb4596a
38c406844e3250168ed852e3b7141793656a0411
Fix autoround docs (#37675) * fix * empty
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -167,6 +167,8 @@\n title: Quantization concepts\n - local: quantization/aqlm\n title: AQLM\n+ - local: quantization/auto_round\n+ title: AutoRound\n - local: quantization/awq\n title: AWQ\n - local: quantization/bitnet", "additi...
2025-04-22T13:33:13
rust-lang/rust
fc2cd77e114a651755f39f2d9dc5cec6911f4bd9
478b3789ce41248db5d6c14ccce48f2634350182
Fix comment describing what the test does
[ { "path": "tests/ui/on-unimplemented/expected-comma-found-token.rs", "patch": "@@ -1,13 +1,10 @@\n-// Tests that two closures cannot simultaneously have mutable\n-// access to the variable, whether that mutable access be used\n-// for direct assignment or for taking mutable ref. Issue #6801.\n+//! Test for ...
2025-04-29T10:19:55
electron/electron
9602a9aed9f6c4c10aad8f6689387fa30d00f4f5
8e7fbd604cb6b7f097d89c0d22d8af3c317d5cd0
Fix assertion in InitializeICU on launch We have to tell Chromium about our framework bundle earlier in the launch sequence so it can find icudtl.dat. See https://codereview.chromium.org/12470006
[ { "path": "brightray/common/main_delegate.cc", "patch": "@@ -27,14 +27,14 @@ scoped_ptr<ContentClient> MainDelegate::CreateContentClient() {\n bool MainDelegate::BasicStartupComplete(int* exit_code) {\n content_client_ = CreateContentClient().Pass();\n SetContentClient(content_client_.get());\n- return...
2014-06-26T20:35:27
vercel/next.js
e57edff9690c6ec9db6634dee0eb44a7013a46a1
0715af8e6af6e5bc9b51af050c1d346fce9a7d4e
docs: Add explanation about font-display (#44001) Add explanation and recommendation of `font-display`. ## 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....
[ { "path": "docs/basic-features/font-optimization.md", "patch": "@@ -22,6 +22,12 @@ To get started, install `@next/font`:\n npm install @next/font\n ```\n \n+### Choosing font-display\n+\n+[`font-display`](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display) lets you to control how your ...
2022-12-16T06:58:08
huggingface/transformers
38c406844e3250168ed852e3b7141793656a0411
b3492ff9f7ddac6592f7d1861ef19127d6297129
Fixing quantization tests (#37650) * fix * style * add capability check
[ { "path": "tests/quantization/autoawq/test_awq.py", "patch": "@@ -110,7 +110,7 @@ class AwqTest(unittest.TestCase):\n input_text = \"Hello my name is\"\n \n EXPECTED_OUTPUT = \"Hello my name is Katie and I am a 20 year old student at the University of North Carolina at Chapel Hill. I am a junior and...
2025-04-22T11:59:57
rust-lang/rust
4fe94badef30e6a8b13f27ef3a0b8c8e0de866fa
0134651fb81314870903e21b1bcbdd993d75b61a
add `rust.debug-assertions-tools` option
[ { "path": "bootstrap.example.toml", "patch": "@@ -570,6 +570,12 @@\n # Defaults to rust.debug-assertions value\n #debug-assertions-std = rust.debug-assertions (boolean)\n \n+# Whether or not debug assertions are enabled for the tools built by bootstrap.\n+# Overrides the `debug-assertions` option, if define...
2025-04-29T08:59:14
electron/electron
202f7bcd4175339801d53cb19ff645d5dea31949
ad0a5bdf80d74b74e2817c437ea9c1c2419e5944
Fix include paths for WebIconURL.h It contains #include "public/platform/WebSize.h", so we have to set up the include path to make that work.
[ { "path": "brightray/brightray.gyp", "patch": "@@ -14,6 +14,7 @@\n '<(libchromiumcontent_include_dir)',\n '<(libchromiumcontent_include_dir)/skia/config',\n '<(libchromiumcontent_include_dir)/third_party/skia/include/core',\n+ '<(libchromiumcontent_include_dir)/third_party/Web...
2014-06-26T20:11:02
vercel/next.js
64d3ba505a794f1a9c7e3837936e037e5baf2e59
327634eb248892d5280c54d57f8202547625e5b8
Hash both pitch and main loader for server CSS imports (#44063) Co-authored-by: Jiachi Liu <inbox@huozhi.im> This should solve the problem that CSS hash happens before PostCSS loaders. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link at...
[ { "path": "packages/next/build/webpack/loaders/next-flight-css-dev-loader.ts", "patch": "@@ -4,12 +4,16 @@\n * inside a comment.\n */\n \n+import crypto from 'crypto'\n+\n export function pitch(this: any) {\n if (process.env.NODE_ENV !== 'production') {\n const content = this.fs.readFileSync(this.re...
2022-12-15T19:37:38
huggingface/transformers
b3492ff9f7ddac6592f7d1861ef19127d6297129
96089086395271e1e6ced793a54a9ff308f71432
Add AutoRound quantization support (#37393) * add auto-round support * Update src/transformers/quantizers/auto.py Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com> * fix style issue Signed-off-by: wenhuach <wenhuach87@gmail.com> * tiny change * tiny change * refine ut and do...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -84,6 +84,9 @@ RUN python3 -m pip install --no-cache-dir compressed-tensors\n # Add AMD Quark for quantization testing\n RUN python3 -m pip install --no-cache-dir amd-quark\n \n+# Add AutoRound for quantization testing\n+RUN py...
2025-04-22T11:56:54
electron/electron
72d67788945d456147edb4498154d231fa1482a6
0440c59d180cd7071ad154317475fcb07c407f4b
gtk: Make AppIndicator.SetContextMenu async, fixes #430.
[ { "path": "atom/browser/ui/gtk/app_indicator_icon.cc", "patch": "@@ -173,8 +173,6 @@ AppIndicatorIcon::AppIndicatorIcon()\n AppIndicatorIcon::~AppIndicatorIcon() {\n if (icon_) {\n app_indicator_set_status(icon_, APP_INDICATOR_STATUS_PASSIVE);\n- // if (gtk_menu_)\n- // DestroyMenu();\n g_...
2014-06-26T04:09:07
vercel/next.js
327634eb248892d5280c54d57f8202547625e5b8
bf4e6fb586ddb31060fd0726816c980f204c5cfa
Fix windows slashes for app client entry (#44052) Fixes #43854 , followup for #44011. Normalize the bundlePath so it works in all cases ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -24,6 +24,7 @@ import {\n import { ASYNC_CLIENT_MODULES } from './flight-manifest-plugin'\n import { isClientComponentModule, regexCSS } from '../loaders/utils'\n import { traverseModules } from '../utils'\n+import {...
2022-12-15T18:34:02
huggingface/transformers
6614209b96c00b113c57f82551ee6bbb14035cf4
dcf6df5b0d186aa510c35d2901de398628ec209e
Fix duplicated weights in fp8 quantization (#37667) * fix fp8 * Update quantizer_finegrained_fp8.py * fix circular import * Update quantizer_finegrained_fp8.py
[ { "path": "src/transformers/quantizers/quantizer_finegrained_fp8.py", "patch": "@@ -91,11 +91,9 @@ def create_quantized_param(\n \"\"\"\n Quantizes weights to FP8 format using Block-wise quantization\n \"\"\"\n- from accelerate.utils import set_module_tensor_to_device\n+ ...
2025-04-22T11:12:27
electron/electron
4c5a30673365658ceb8aae531c99cd8002850dd9
79c3377cd7b7f525b68caf23f77d6ddf4438660a
:memo: Mention a new Windows build error.
[ { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -7,7 +7,7 @@\n * Make sure \"X64 Compilers and Tools\" are installed if you use the\n Professional edition.\n * [Python 2.7](http://www.python.org/download/releases/2.7/)\n-* [node.js](http://nodejs.org/)\n+* 32bit [node.js](http...
2014-06-25T01:11:06
nodejs/node
eb0cf667edbdb94ed44075b5850ee985311efe43
620e46c8b59b6269784ebba42b23f23897eeedb9
src: fix tracing if cwd or file path is inaccessible Otherwise this would have crashed the process. In particular, checking the return value of an libuv call against `-1` was invalid to begin with, as libuv uses it to propagate the error code. PR-URL: https://github.com/nodejs/node/pull/21867 Reviewed-By: James M Sne...
[ { "path": "src/tracing/node_trace_writer.cc", "patch": "@@ -77,8 +77,13 @@ void NodeTraceWriter::OpenNewFileForStreaming() {\n \n fd_ = uv_fs_open(tracing_loop_, &req, filepath.c_str(),\n O_CREAT | O_WRONLY | O_TRUNC, 0644, nullptr);\n- CHECK_NE(fd_, -1);\n uv_fs_req_cleanup(&req);\n+ if (fd_ < ...
2018-07-17T21:51:09
vercel/next.js
f1db13ebe560a933e13de0106cd2c6fccce68b81
11724c029c1a3141acfcfdc67ff496c8ff93871c
feat(turbo-updater): notifications per channel (vercel/turbo#3028) We can overload name because update-informer allows name in an owner/name format and then splits the name but includes the owner in the cached file. So we can do something like canary/turbo, latest/turbo etc. We should still send a fix upstream to...
[ { "path": "crates/turbo-updater/Cargo.toml", "patch": "@@ -9,6 +9,7 @@ publish = false\n [dependencies]\n colored = \"2.0\"\n is-terminal = \"0.4\"\n+semver = \"1.0\"\n serde = { version = \"1.0.126\", features = [\"derive\"] }\n strip-ansi-escapes = \"0.1.1\"\n terminal_size = \"0.2\"", "additions": 1,...
2022-12-15T18:14:04
rust-lang/rust
7a8d368ac9c858bf81f855e82886f92eb55fa55c
17403cd406057139cd12bd7d19b81bbd75a6c41b
Fix std_example.rs on s390x
[ { "path": "example/std_example.rs", "patch": "@@ -166,6 +166,7 @@ fn main() {\n enum Never {}\n }\n \n+ #[cfg(not(target_arch = \"s390x\"))] // s390x doesn't have vector instructions enabled by default\n foo(I64X2([0, 0]));\n \n transmute_wide_pointer();\n@@ -203,9 +204,11 @@ fn rust_...
2025-04-29T07:48:13
golang/go
ce92a2023ccd77ca609126aa8a6e881c9def57f0
02699f810a05215060ba2181f394d551819ad7d4
cmd/go: error out of 'go mod tidy' if the go version is newer than supported Fixes #46142 Change-Id: Ib7a0a159e53cbe476be6aa9a050add10cc750dec Reviewed-on: https://go-review.googlesource.com/c/go/+/319669 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot ...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -922,14 +922,20 @@ func loadFromRoots(ctx context.Context, params loaderParams) *loader {\n \t}\n \n \tif params.GoVersion != \"\" {\n-\t\tif semver.Compare(\"v\"+params.GoVersion, narrowAllVersionV) < 0 && !ld.UseVendorAll {\n+\t\tgoVersionV := ...
2021-05-13T13:48:40
huggingface/transformers
dcf6df5b0d186aa510c35d2901de398628ec209e
9167fadab9bbe7ecb758e5d2e6b70ac4d0781e24
[qwen-omni] fix training (#37517) * fix * add text config * fixup * fix docs
[ { "path": "docs/source/en/quantization/torchao.md", "patch": "@@ -112,8 +112,6 @@ input_ids = tokenizer(input_text, return_tensors=\"pt\").to(\"cuda\")\n output = quantized_model.generate(**input_ids, max_new_tokens=10, cache_implementation=\"static\")\n print(tokenizer.decode(output[0], skip_special_tokens...
2025-04-22T10:36:07
electron/electron
79c3377cd7b7f525b68caf23f77d6ddf4438660a
32c881bde963510199d3b17c567d12c07365bda9
Show chromium's version in user agent, fixes #428.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -16,6 +16,7 @@\n #include \"atom/browser/window_list.h\"\n #include \"atom/common/api/api_messages.h\"\n #include \"atom/common/atom_version.h\"\n+#include \"atom/common/chrome_version.h\"\n #include \"atom/common/native_mate_converters/image_converter...
2014-06-25T01:05:10
nodejs/node
8a62cdba33a5694667bc79d07e16b31a91b76081
f2518c4915e1f72252812ce347905c00789d8bab
test: pass through stderr in benchmark tests This helps a lot with debugging failing benchmark tests, which would otherwise just print an assertion for the exit code (something like `+1 -0`, which yields almost no information about a failure). PR-URL: https://github.com/nodejs/node/pull/21860 Reviewed-By: Rich Trott ...
[ { "path": "test/common/benchmark.js", "patch": "@@ -20,7 +20,10 @@ function runBenchmark(name, args, env) {\n \n const mergedEnv = Object.assign({}, process.env, env);\n \n- const child = fork(runjs, argv, { env: mergedEnv, stdio: 'pipe' });\n+ const child = fork(runjs, argv, {\n+ env: mergedEnv,\n+ ...
2018-07-17T23:14:20
vercel/next.js
339777a16ec70fe0fbd1e04cc6a9301b07791a28
9e7bf34b21b607dcca3a35fc62cb904984b4114f
feat(mdx): initial turbopack-mdx asset (vercel/turbo#2979) Implements / fix WEB-86. This PR is an initial attempt to support mdx natively inside of turbopack. It uses mdxrs (https://github.com/wooorm/mdxjs-rs) internally to interop - compile - mdx inputs into renderable ecma outputs. PR creates a new type of ass...
[ { "path": "packages/next-swc/crates/next-core/src/server_rendered_source.rs", "patch": "@@ -290,7 +290,7 @@ async fn create_server_rendered_source_for_directory(\n match extension {\n // pageExtensions option from next.js\n // d...
2022-12-15T17:22:03
rust-lang/rust
19e82b43eba982b30ecc5794757bd1604fbbce14
1b8ab72680f36e783af84c1a3c4f8508572bd9f9
Enable `target_has_reliable_f16_math` on x86 This has been disabled due to an LLVM misoptimization with `powi.f16` [1]. This was fixed upstream and the fix is included in LLVM20, so tests no longer need to be disabled. `f16` still remains disabled on MinGW due to the ABI issue. [1]: https://github.com/llvm/llvm-proj...
[ { "path": "compiler/rustc_codegen_llvm/src/llvm_util.rs", "patch": "@@ -466,13 +466,9 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) {\n _ => true,\n };\n \n- cfg.has_reliable_f16_math = match (target_arch, target_os) {\n- // x86 has a crash for `powi`: ...
2025-03-11T08:08:53
golang/go
0d1e293b2329a013f03ea3f742f1716098ee282c
03ed590e517980afc9c48816aced517fce2996ca
[dev.typeparams] cmd/compile/internal/types2: print "incomplete" for interfaces in debug mode only The /* incomplete */ comment printed for interfaces that have not been "completed" yet is not useful for end-users; it's here for type-checker debugging. Rather than trying to pass through a debug flag through all print ...
[ { "path": "src/cmd/compile/internal/types2/types_test.go", "patch": "@@ -7,3 +7,6 @@ package types2\n func init() {\n \tacceptMethodTypeParams = true\n }\n+\n+// Debug is set if types2 is built with debug mode enabled.\n+const Debug = debug", "additions": 3, "deletions": 0, "language": "Go" },...
2021-05-14T17:05:16
electron/electron
32c881bde963510199d3b17c567d12c07365bda9
27d73b362ac78d076b6fe10fdc2271cd9574455f
gtk: Make BrowserWindow::HasModalDialog work. Fixes atom/atom#2658.
[ { "path": "atom/browser/ui/file_dialog_gtk.cc", "patch": "@@ -19,7 +19,8 @@ class FileChooserDialog {\n FileChooserDialog(GtkFileChooserAction action,\n atom::NativeWindow* parent_window,\n const std::string& title,\n- const base::FilePath& defaul...
2014-06-24T13:52:06
huggingface/transformers
9167fadab9bbe7ecb758e5d2e6b70ac4d0781e24
413f9bbf805b77aa7c1923cf69ea9a979f1a66fe
Introduce GradientCheckpointingLayer (#37223) * GradientCheckpointingLayer * trigger * Move GC layer to a separate file * Update import * Expose and document GC layer * Fix dummy * Apply to llama-based models * Update modulars * Update a few more models for consistency * Update glm4 * Update Janus
[ { "path": "docs/source/en/internal/modeling_utils.md", "patch": "@@ -20,6 +20,10 @@ This page lists all the custom layers used by the library, as well as the utilit\n \n Most of those are only useful if you are studying the code of the models in the library.\n \n+## Layers\n+\n+[[autodoc]] GradientCheckpoin...
2025-04-22T10:33:31
vercel/next.js
11724c029c1a3141acfcfdc67ff496c8ff93871c
4faedb2b68487dee5c95d590b7162faf4471312f
feat(mdx): initial turbopack-mdx asset (vercel/turbo#2979) Implements / fix WEB-86. This PR is an initial attempt to support mdx natively inside of turbopack. It uses mdxrs (https://github.com/wooorm/mdxjs-rs) internally to interop - compile - mdx inputs into renderable ecma outputs. PR creates a new type of ass...
[ { "path": "crates/next-core/src/server_rendered_source.rs", "patch": "@@ -290,7 +290,7 @@ async fn create_server_rendered_source_for_directory(\n match extension {\n // pageExtensions option from next.js\n // defaults: https://g...
2022-12-15T17:22:03
nodejs/node
e3a47025ac0c8e89b73b91b137bb70f6b2f3d73a
07cb69720bec251a1c450b3770db2136ac009778
fs: reduce memory retention when streaming small files Fixes: https://github.com/nodejs/node/issues/21967 PR-URL: https://github.com/nodejs/node/pull/21968 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gm...
[ { "path": "lib/internal/fs/streams.js", "patch": "@@ -21,9 +21,18 @@ const util = require('util');\n const kMinPoolSpace = 128;\n \n let pool;\n+// It can happen that we expect to read a large chunk of data, and reserve\n+// a large chunk of the pool accordingly, but the read() call only filled\n+// a porti...
2018-07-25T12:00:02
golang/go
3d324f127dbb916f38d7476e9c4ff106e5d54f99
0eb38f2b164ec5b0094c5895cfe1b3a40c183d50
net/http: prevent infinite wait during TestMissingStatusNoPanic If the client request never makes it to the server, the outstanding accept is never broken. Change the test to always close the listening socket when the client request completes. Updates #45358 Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc Revie...
[ { "path": "src/net/http/transport_test.go", "patch": "@@ -5322,7 +5322,6 @@ func TestMissingStatusNoPanic(t *testing.T) {\n \n \tln := newLocalListener(t)\n \taddr := ln.Addr().String()\n-\tshutdown := make(chan bool, 1)\n \tdone := make(chan bool)\n \tfullAddrURL := fmt.Sprintf(\"http://%s\", addr)\n \traw...
2021-05-13T15:41:45
huggingface/transformers
413f9bbf805b77aa7c1923cf69ea9a979f1a66fe
964a1b6b7de8a83414917b5344f85d79bb0be808
Fixes #37219 : RecurrentGemma crashes for inputs longer than sliding window length (#37613) * fix: RecurrentGemma crashes during inference for inputs longer than sliding window width * fix recurrentgemma tests; add long test bigger than context window
[ { "path": "src/transformers/models/recurrent_gemma/modeling_recurrent_gemma.py", "patch": "@@ -767,6 +767,8 @@ def _update_causal_mask(self, attention_mask, input_tensor, cache_position):\n if attention_mask is not None:\n causal_mask = causal_mask.clone() # copy to contiguous memory fo...
2025-04-22T10:21:16
rust-lang/rust
99f6b6328e7b418abe2e3bcf49b4504c2866671e
5b1e4954a109725019e6bd24bb1e33b879079512
Improve pretty-printing of braces. Most notably, the `FIXME` for suboptimal printing of `use` groups in `tests/ui/macros/stringify.rs` is fixed. And all other test output changes result in pretty printed output being closer to the original formatting in the source code.
[ { "path": "compiler/rustc_ast_pretty/src/pprust/state.rs", "patch": "@@ -634,6 +634,7 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere\n false,\n None,\n *delim,\n+ None,\n tokens,\n ...
2024-05-17T07:31:34
vercel/next.js
9e7bf34b21b607dcca3a35fc62cb904984b4114f
f590196931994d9ae0a71402d511af280be5f933
build(next/core): allow to specify tls backend for reqwest (vercel/turbo#2994) Implement / fixes WEB-306. We can't rely on default tls backend for reqwest and hope to work with every target platform we support, due to several constraints. Some target cannot use -sys (openssl-sys), and some can't build rustls due ...
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -35,3 +35,5 @@ turbo-tasks-build = { path = \"../turbo-tasks-build\" }\n \n [features]\n next-font-local = []\n+native-tls = [\"turbo-tasks-fetch/native-tls\"]\n+rustls-tls = [\"turbo-tasks-fetch/rustls-tls\"]", "additions": 2, ...
2022-12-15T01:07:04
golang/go
0eb38f2b164ec5b0094c5895cfe1b3a40c183d50
a938e529861215d9721f5e2590d5166bfbf2d271
cmd/go/internal/load: override Package.Root in module mode The Context.ImportDir method in the go/build package sets Package.Root to $GOPATH, if a package is inside a GOPATH workspace. The loadPackageData function keeps this value even when modules are enabled. Override Package.Root when modules are enabled, instead...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -849,7 +849,9 @@ func loadPackageData(ctx context.Context, path, parentPath, parentDir, parentRoo\n \t\t\t\tbuildMode = build.ImportComment\n \t\t\t}\n \t\t\tdata.p, data.err = cfg.BuildContext.ImportDir(r.dir, buildMode)\n-\t\t\tif data.p.Root == \"...
2021-05-12T10:09:18
electron/electron
ab1670ff03ff0099d0398bc970f38c276850497c
d3c76d6998e05e2367b0eba9752682f61f31e957
:lipstick: Fix the links
[ { "path": "docs/README.md", "patch": "@@ -40,10 +40,10 @@ Modules for both sides:\n * [Coding style](development/coding-style.md)\n * [Source code directory structure](development/source-code-directory-structure.md)\n * [Technical differences to node-webkit](development/atom-shell-vs-node-webkit.md)\n-* [Ho...
2014-06-24T03:22:09
huggingface/transformers
964a1b6b7de8a83414917b5344f85d79bb0be808
85665a4263681d2d8eaf85de40583ad7f46bc976
Fix ValueError when eval_do_concat_batches=False with examples (#37621) https://github.com/huggingface/transformers/issues/37593 Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "examples/pytorch/text-classification/run_glue.py", "patch": "@@ -508,8 +508,12 @@ def preprocess_function(examples):\n # predictions and label_ids field) and has to return a dictionary string to float.\n def compute_metrics(p: EvalPrediction):\n preds = p.predictions[0] if isinsta...
2025-04-22T10:13:25
nodejs/node
51812ff12b9e10549725bcda57167148428e256c
fc81e801913de3e3f3c0c8e26c105f983a74e539
tools: patch gyp to avoid xcrun errors Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <info@...
[ { "path": "tools/gyp/pylib/gyp/xcode_emulation.py", "patch": "@@ -645,9 +645,10 @@ def GetCflags(self, configname, arch=None):\n \n cflags += self._Settings().get('WARNING_CFLAGS', [])\n \n- platform_root = self._XcodePlatformPath(configname)\n- if platform_root and self._IsXCTest():\n- cflag...
2018-06-25T10:47:16
vercel/next.js
4faedb2b68487dee5c95d590b7162faf4471312f
313ce025dd598e8e7d222da73746aa78fa7bf7de
build(next/core): allow to specify tls backend for reqwest (vercel/turbo#2994) Implement / fixes WEB-306. We can't rely on default tls backend for reqwest and hope to work with every target platform we support, due to several constraints. Some target cannot use -sys (openssl-sys), and some can't build rustls due ...
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -35,3 +35,5 @@ turbo-tasks-build = { path = \"../turbo-tasks-build\" }\n \n [features]\n next-font-local = []\n+native-tls = [\"turbo-tasks-fetch/native-tls\"]\n+rustls-tls = [\"turbo-tasks-fetch/rustls-tls\"]", "additions": 2, "deletions": 0, ...
2022-12-15T01:07:04
huggingface/transformers
1cd110c6cb6a6237614130c470e9a902dbc1a4bd
c69e23455dfcf1a0cf26f11bd39880000075d9f1
Add test to ensure unknown exceptions reraising in utils/hub.py::cached_files() (#37651) * add test to ensure unknown exceptions are reraised in utils/hub.py::cached_files()
[ { "path": "tests/utils/test_hub_utils.py", "patch": "@@ -189,3 +189,12 @@ def test_has_file_gated_repo(self):\n with self.assertRaisesRegex(EnvironmentError, \"is a gated repository\"):\n # All files except README.md are protected on a gated repo.\n has_file(GATED_REPO, \"gat...
2025-04-22T09:38:10
golang/go
a938e529861215d9721f5e2590d5166bfbf2d271
d137b745398e8313c0f086d4d044751295be6163
cmd/go: fix a portability issue in the cd script command Currently all script tests use the UNIX path separator with the cd command, causing the PWD environment variable to have the incorrect path separator on Windows. Call filepath.FromSlash on the cd command argument. Update the testdata/script/README to document t...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -517,7 +517,7 @@ func (ts *testScript) cmdCd(want simpleStatus, args []string) {\n \t\tts.fatalf(\"usage: cd dir\")\n \t}\n \n-\tdir := args[0]\n+\tdir := filepath.FromSlash(args[0])\n \tif !filepath.IsAbs(dir) {\n \t\tdir = filepath.Join(ts.cd, dir)\n \t}...
2021-05-13T14:08:59
electron/electron
a8de6150342abcc5ae350f8e91c1ad40693be70c
1a0d8a4aa97214df97e5965b2a64b3a5ae144388
Wait for crash reporter spec longer.
[ { "path": "spec/api-crash-reporter-spec.coffee", "patch": "@@ -15,7 +15,7 @@ describe 'crash-reporter module', ->\n afterEach -> w.destroy()\n \n it 'should send minidump when renderer crashes', (done) ->\n- @timeout 5000\n+ @timeout 60000\n server = http.createServer (req, res) ->\n for...
2014-06-23T15:01:50
nodejs/node
c4de500c8785511eb18285a74fb9173ee06032e7
51a50a09f0d01f7fa6fa3ee1f4b8f40504487d6c
src: fix may be uninitialized warning in n-api PR-URL: https://github.com/nodejs/node/pull/21898 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jon Moss <me@jo...
[ { "path": "src/node_api.cc", "patch": "@@ -3849,7 +3849,7 @@ class TsFn: public node::AsyncResource {\n }\n \n void DispatchOne() {\n- void* data;\n+ void* data = nullptr;\n bool popped_value = false;\n bool idle_stop_failed = false;\n ", "additions": 1, "deletions": 1, "langua...
2018-07-19T22:15:01
vercel/next.js
f590196931994d9ae0a71402d511af280be5f933
650b80366b858a5fa95791a9f74f815d96224340
Add support for new URL (vercel/turbo#2944) Implements `new URL('./path', import.meta.url)`, so that the referenced file acts as a static output file, and transforms the URL into to point to that file in the graph. This is, well, complicated. As you'll see in the comments, we have an "inert" asset that acts as a plac...
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -18,6 +18,7 @@ use turbopack_core::{\n chunk::{dev::DevChunkingContextVc, ChunkingContextVc},\n context::AssetContextVc,\n environment::{BrowserEnvironment, EnvironmentIntention, EnvironmentVc, ExecutionEnvir...
2022-12-14T23:44:32
huggingface/transformers
c69e23455dfcf1a0cf26f11bd39880000075d9f1
7eb1107cc29cef3028a03a5ad992621d94c061b9
Support loading Gemma3 QAT GGUF models (#37649) * fix gemma3 qat gguf support Signed-off-by: isotr0py <2037008807@qq.com> * update test Signed-off-by: isotr0py <2037008807@qq.com> * make ruff happy Signed-off-by: isotr0py <2037008807@qq.com> --------- Signed-off-by: isotr0py <2037008807@qq.com> Co-authored-by: ...
[ { "path": "src/transformers/modeling_gguf_pytorch_utils.py", "patch": "@@ -258,6 +258,8 @@ def process(self, weights, name, **kwargs):\n \n \n def read_field(reader, field):\n+ if field not in reader.fields:\n+ return []\n value = reader.fields[field]\n return [_gguf_parse_value(value.part...
2025-04-22T09:23:17
golang/go
d137b745398e8313c0f086d4d044751295be6163
c925e1546ee72e40ca5351f3773379e99a6b8cdf
cmd/go: fix spacing in help text of -overlay flag There was a space missing in the first line shown below, and an extra space in the second line shown. Thanks Peter Bourgon for noting this. BEFORE: $ go help build | grep -A1 'has some limitations' has some limitations:importantly, cgo files included from outside the ...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -174,8 +174,8 @@\n // \t\ta build will run as if the disk file path exists with the contents\n // \t\tgiven by the backing file paths, or as if the disk file path does not\n // \t\texist if its backing file path is empty. Support for the -overlay flag\n-// \t\...
2021-05-13T21:59:20
electron/electron
2ff4d56d6d1f16bad9d0aed695146f46a64dff91
ca1d2a32b0426ee3b133ea63a8729d1c1643bcf3
Fix compilation error.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -23,7 +23,7 @@\n #include \"ui/base/x/x11_util.h\"\n #include \"ui/gfx/font_render_params_linux.h\"\n #include \"ui/gfx/gtk_util.h\"\n-#include \"ui/gfx/image.h\"\n+#include \"ui/gfx/image/image.h\"\n #include \"ui/gfx/rect.h\"\n #include \"ui/gfx/...
2014-06-23T14:31:02
nodejs/node
f42aa32529bc578aea718f468af16d04a344158e
ce5157b22f8a644b86e9f740ae82c0fb482224e4
doc: add missing worker error ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs - add it there based on the wording Anna used in the her PR. PR-URL: https://github.com/nodejs/node/pull/21947 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> R...
[ { "path": "doc/api/errors.md", "patch": "@@ -1669,6 +1669,16 @@ category.\n The `trace_events` module could not be loaded because Node.js was compiled with\n the `--without-v8-platform` flag.\n \n+<a id=\"ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER\"></a>\n+### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYB...
2018-07-23T16:10:28
huggingface/transformers
006530d285358bf5a19c5f01a6a35eae5f7db297
31ea547b7a4e9700dbe299f84b55f7e12c58ec13
[fix gemma] Set default value for output_attentions parameter in Gemma2 and Gemma… (#37633) * Set default value for output_attentions parameter in Gemma2 and Gemma3 models * update * fix * fix --------- Co-authored-by: chenin <wangzhichen@encosmart.com>
[ { "path": "src/transformers/models/cohere2/modeling_cohere2.py", "patch": "@@ -660,7 +660,7 @@ def _update_causal_mask(\n input_tensor: torch.Tensor,\n cache_position: torch.Tensor,\n past_key_values: HybridCache,\n- output_attentions: bool,\n+ output_attentions: bool =...
2025-04-22T09:18:17
golang/go
12d383c7c7406dda2cb969a89ce3801c220614c5
3a0453514a80b001e6135f98ec4e0da5a78ab267
debug/macho: fix a typo in macho.go Change-Id: Ica47b53decf6690fbd37e666e9de5098117b82de GitHub-Last-Rev: 6aabb208a6499e29fe32a2f0d928c4e027d556b2 GitHub-Pull-Request: golang/go#46147 Reviewed-on: https://go-review.googlesource.com/c/go/+/319592 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Brad Fitzpatri...
[ { "path": "src/debug/macho/macho.go", "patch": "@@ -4,7 +4,7 @@\n \n // Mach-O header data structures\n // Originally at:\n-// http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html (since deleted by Apply)\n+// http://developer.apple.com/mac/lib...
2021-05-13T04:03:18
vercel/next.js
313ce025dd598e8e7d222da73746aa78fa7bf7de
8da032ff6965a36a2c0bc35104efca209f0fa40c
Add support for new URL (vercel/turbo#2944) Implements `new URL('./path', import.meta.url)`, so that the referenced file acts as a static output file, and transforms the URL into to point to that file in the graph. This is, well, complicated. As you'll see in the comments, we have an "inert" asset that acts as a plac...
[ { "path": "crates/next-core/src/next_client/context.rs", "patch": "@@ -18,6 +18,7 @@ use turbopack_core::{\n chunk::{dev::DevChunkingContextVc, ChunkingContextVc},\n context::AssetContextVc,\n environment::{BrowserEnvironment, EnvironmentIntention, EnvironmentVc, ExecutionEnvironment},\n+ ref...
2022-12-14T23:44:32
electron/electron
0349fdfd679b80998cf950210823cc2dc28f2ba5
11e4111f25f2d129c40c700bc0ffaaf7961d5276
Fix converting empty V8 dictionary.
[ { "path": "atom/common/native_mate_converters/value_converter.cc", "patch": "@@ -15,7 +15,7 @@ bool Converter<base::DictionaryValue>::FromV8(v8::Isolate* isolate,\n scoped_ptr<atom::V8ValueConverter> converter(new atom::V8ValueConverter);\n scoped_ptr<base::Value> value(converter->FromV8Value(\n v...
2014-06-23T13:50:28
huggingface/transformers
31ea547b7a4e9700dbe299f84b55f7e12c58ec13
5f791281c363a58dd6b30b9217333679d1802a73
[fix] make legacy bnb code work (#37331) * [fix] make legacy bnb code work * [fix] use get with default instead of getter * add test for bnb 8bit optim skip embed * [fix] style * add require annotation of bnb --------- Co-authored-by: jaycha <jaycha@ncsoft.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.no...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -1247,7 +1247,7 @@ def create_optimizer(self):\n \n self.optimizer = optimizer_cls(optimizer_grouped_parameters, **optimizer_kwargs)\n \n- if optimizer_cls.__name__ == \"Adam8bit\":\n+ if \"bitsandbytes\" in str(optimize...
2025-04-22T09:17:29
nodejs/node
ce5157b22f8a644b86e9f740ae82c0fb482224e4
10c850bdee0f98cf0a3def2065c87ec156843bbe
lib: remove usc-2 encoding Fixes: https://github.com/nodejs/node/issues/21963 PR-URL: https://github.com/nodejs/node/pull/21964 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benja...
[ { "path": "benchmark/util/normalize-encoding.js", "patch": "@@ -5,21 +5,19 @@ const assert = require('assert');\n \n const groupedInputs = {\n group_common: ['undefined', 'utf8', 'utf-8', 'base64',\n- 'binary', 'latin1', 'ucs-2', 'usc-2'],\n+ 'binary', 'latin1', 'ucs-2'],\n...
2018-07-25T04:53:55
golang/go
3a0453514a80b001e6135f98ec4e0da5a78ab267
b4833f7c06c332ad2ef30666144a20fb7838aba1
all: fix spelling Change-Id: Id991d8e81e04835cabfb02d07a2199bfb553726c GitHub-Last-Rev: 5d0b55d49127a2e2ba3148d20a58c52debcae12b GitHub-Pull-Request: golang/go#44802 Reviewed-on: https://go-review.googlesource.com/c/go/+/299069 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Rev...
[ { "path": "src/net/http/httputil/reverseproxy_test.go", "patch": "@@ -1209,7 +1209,7 @@ func TestReverseProxyWebSocket(t *testing.T) {\n \t}\n }\n \n-func TestReverseProxyWebSocketCancelation(t *testing.T) {\n+func TestReverseProxyWebSocketCancellation(t *testing.T) {\n \tn := 5\n \ttriggerCancelCh := make(...
2021-05-07T10:47:28
electron/electron
11e4111f25f2d129c40c700bc0ffaaf7961d5276
6cac69238cef158d1bfbbb86af9cf3ca8bc892bb
Recognize the "@2x" suffix of icon's filename.
[ { "path": "atom/common/native_mate_converters/image_converter.cc", "patch": "@@ -8,12 +8,25 @@\n \n #include \"atom/common/native_mate_converters/file_path_converter.h\"\n #include \"base/file_util.h\"\n+#include \"base/strings/string_util.h\"\n #include \"ui/gfx/codec/jpeg_codec.h\"\n #include \"ui/gfx/cod...
2014-06-23T05:09:06
huggingface/transformers
5f791281c363a58dd6b30b9217333679d1802a73
fee1190601b5d04ec6d3f7f58fd22788d7f3236d
Fix Qwen2.5-Omni get_chunked_index chunking functionality (#37631) * fix: qwen2.5 omni modular get_rope_index * test: add test for qwen2.5 omni rope index (video with audio input) * style * expected_position_ids readability * fix: use spatial_merge_size = 1 in unit test
[ { "path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py", "patch": "@@ -244,7 +244,8 @@ def get_chunked_index(\n - the second chunk contains values >= 1000 and < 2000, and so on.\n \n Parameters:\n- token_indices (`List[int]`): A monotonically increasing list of t...
2025-04-22T09:15:37
vercel/next.js
8da032ff6965a36a2c0bc35104efca209f0fa40c
20b33c77f002c5746f2e89d97790ca60448c59f4
build(cargo): bump up swc_core* (vercel/turbo#3012) Implement / fixes WEB-308 Bumps up all of swc_core* transitive deps, and update test fixtures with latest updates.
[ { "path": "crates/turbopack-css/src/references/import.rs", "patch": "@@ -47,7 +47,7 @@ impl ImportAttributes {\n assert_eq!(f.value.len(), 1);\n assert!(matches!(&f.value[0], ComponentValue::LayerName(_)));\n if let ComponentValue::LayerName(layer_name) = &f.v...
2022-12-14T22:34:27
golang/go
b4833f7c06c332ad2ef30666144a20fb7838aba1
92c189f2117415ff7a4bd9652422ba9af1745cb9
cmd/link: always mark runtime.unreachableMethod symbol In the deadcode path we mark runtime.unreachableMethod symbol, which is a special symbol used for redirecting unreachable methods. Currently this code is conditioned on not -linkshared. This is wrong. It should be marked with -linkshared mode as well. In fact, -l...
[ { "path": "src/cmd/link/internal/ld/deadcode.go", "patch": "@@ -65,26 +65,26 @@ func (d *deadcodePass) init() {\n \t\t\t}\n \t\t}\n \t\tnames = append(names, *flagEntrySymbol)\n-\t\t// runtime.unreachableMethod is a function that will throw if called.\n-\t\t// We redirect unreachable methods to it.\n-\t\tna...
2021-05-13T20:48:50
electron/electron
fe6eac6c7ddf24f0c0575000e621c8057955ee2f
ae3958c9977b2bcaa66f0e37ee477bcc19a03aaf
Fix refreshing the spec window.
[ { "path": "spec/api-app-spec.coffee", "patch": "@@ -22,4 +22,4 @@ describe 'app module', ->\n assert.equal app.getName(), 'Atom Shell Test App'\n app.setName 'test-name'\n assert.equal app.getName(), 'test-name'\n- app.setName 'Atom Shell Default App'\n+ app.setName 'Atom Shell T...
2014-06-22T06:59:14
nodejs/node
10c850bdee0f98cf0a3def2065c87ec156843bbe
28a3e280eca67f906ae3b47730fe21a389b7bccb
util: harden util.inspect This makes sure values without prototype will still be inspected properly and do not cause errors. It restores the original information if possible. Besides that it fixes an issue with boxed symbols: extra keys were not visualized so far. PR-URL: https://github.com/nodejs/node/pull/21869 Re...
[ { "path": "lib/util.js", "patch": "@@ -43,6 +43,7 @@ const types = internalBinding('types');\n Object.assign(types, require('internal/util/types'));\n const {\n isAnyArrayBuffer,\n+ isArrayBuffer,\n isArgumentsObject,\n isDataView,\n isExternal,\n@@ -55,7 +56,23 @@ const {\n isWeakSet,\n isRegE...
2018-07-18T11:14:36
huggingface/transformers
2c60a442f34e4edcb009e022ed4af6d851094edb
a42ba80fa520c784c8f11a973ca9034e5f859b79
fix link in kv_cache.md (#37652) fix typo in kv_cache.md
[ { "path": "docs/source/en/kv_cache.md", "patch": "@@ -18,7 +18,7 @@ rendered properly in your Markdown viewer.\n \n The key-value (KV) vectors are used to calculate attention scores. For autoregressive models, KV scores are calculated *every* time because the model predicts one token at a time. Each predict...
2025-04-21T16:01:11
vercel/next.js
650b80366b858a5fa95791a9f74f815d96224340
8f3b7ec7bc4edd25c306acce9f18ea25feb4998c
style(turbopack): clippy --fix (vercel/turbo#3014) Easy clippy improvements via `clippy --fix`.
[ { "path": "packages/next-swc/crates/next-core/src/server_rendered_source.rs", "patch": "@@ -205,7 +205,7 @@ async fn create_server_rendered_source_for_file(\n } else {\n let data_pathname = format!(\n \"_next/data/development/{}\",\n- get_asset_path_from_route(&*pathname.a...
2022-12-14T21:53:12
golang/go
7a7624a3fa4665e8d75919746b6d762d3984d471
cde2d857fe1f13ade269e3f7d58c6c2379a53c50
cmd/go: permit .tbd files as a linker flag A .tbd file is a macOS text-based stub library and is a valid input to the macOS linker. This change adds .tbd to the allow-list for acceptable linker flags. Fixes golang/go#44263 Change-Id: Ie5439a13325dbc908e42f95ec70aca518bb549f9 GitHub-Last-Rev: 6055c3b5fa8c8146c0c5c976...
[ { "path": "src/cmd/go/internal/work/security.go", "patch": "@@ -208,8 +208,8 @@ var validLinkerFlags = []*lazyregexp.Regexp{\n \tre(`-Wl,-z,(no)?execstack`),\n \tre(`-Wl,-z,relro`),\n \n-\tre(`[a-zA-Z0-9_/].*\\.(a|o|obj|dll|dylib|so)`), // direct linker inputs: x.o or libfoo.so (but not -foo.o or @foo.o)\n-...
2021-02-16T14:40:49
electron/electron
3d89181e963aa8be101f7f7ea6fd8f0650a619f8
32323a00061546275dd646429ca1269fc313269b
Removed a typo Fix for #416
[ { "path": "atom/browser/default_app/default_app.js", "patch": "@@ -106,7 +106,7 @@ app.on('ready', function() {\n },\n {\n label: 'Enter Fullscreen',\n- click: function() { mainWindow.setFullscreen(true); }\n+ click: function() { mainWindow.setFullScreen...
2014-06-21T15:34:31
huggingface/transformers
a42ba80fa520c784c8f11a973ca9034e5f859b79
1077603410cd73ba71d64a522033574d66d64b55
Allow Exclusion of Input IDs from RepetitionPenaltyLogitsProcessor (#37625) * Allow exclusion of input IDs for repetition penalty * Add logit proc tests for rep penalty exclusion * Expose rep pen flag through generate * Only slice if needed * keep current rep pen default behavior * Revert exposing reppen changes ...
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -292,7 +292,8 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> to\n class RepetitionPenaltyLogitsProcessor(LogitsProcessor):\n r\"\"\"\n [`LogitsProcessor`] that prevents the repetition of previou...
2025-04-21T14:46:05
nodejs/node
c91e0ed3ad048deba9639e35570e5b6dcd7b7d39
b1b2f7c1fc941e17185b0b6f3b3246f3c12ad78f
doc: fix typo in releases.md PR-URL: https://github.com/nodejs/node/pull/21990 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/releases.md", "patch": "@@ -8,7 +8,7 @@ official release builds for Node.js, hosted on <https://nodejs.org/>.\n ## Who can make a release?\n \n Release authorization is given by the Node.js TSC. Once authorized, an\n-individual must be have the following:\n+individual must have the following:...
2018-07-26T23:03:32
vercel/next.js
20b33c77f002c5746f2e89d97790ca60448c59f4
b5ba742d77f77492027491add53300c90ef61f90
style(turbopack): clippy --fix (vercel/turbo#3014) Easy clippy improvements via `clippy --fix`.
[ { "path": "crates/next-core/src/server_rendered_source.rs", "patch": "@@ -205,7 +205,7 @@ async fn create_server_rendered_source_for_file(\n } else {\n let data_pathname = format!(\n \"_next/data/development/{}\",\n- get_asset_path_from_route(&*pathname.await?, \".json\")\...
2022-12-14T21:53:12
golang/go
cde2d857fe1f13ade269e3f7d58c6c2379a53c50
2a61b3c59088115245d084d5ae07dd4be5fbe1b0
cmd/go: be less strict about go version syntax in dependency go.mod files It is unclear what the future holds for the go line in go.mod files. Perhaps at some point we will switch to semver numbering. Perhaps at some point we will allow specifying minor versions or even betas and release candidates. Those kinds of cha...
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,7 @@ require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect\n \tgolang.org/x/arch v0.0.0-20210502124803-cbf565b21d1e\n \tgolang.org/x/crypto v0.0.0-20210503195802-e9a32991a82e // indirect\n-\tgolang.org/x/mod v0.4.3-0....
2021-05-06T18:01:20
electron/electron
8a8ffbebf9c4297f1598f85220fac7ced0f56892
f4aadcbbfce389e88d0fd24335e243626beb6dc3
Update brightray to fix detached devtools.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit e6db5b381b2d5f721ab3de3fa9b811e112a18b12\n+Subproject commit 45ab10c1e6743ab1e6eafb9940d4913f7754914f", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-06-17T10:32:21
huggingface/transformers
6daa3eeba582facb57cd71db8efb66998b12942f
27a25bee4fcb865e8799ba026f1ea4455f2cca98
Fix InternVL attention when using qk_norm (38B and 78B) (#37620) * fix internvlvision attention when using qk_norm * nit * modular
[ { "path": "src/transformers/models/internvl/modeling_internvl.py", "patch": "@@ -150,10 +150,7 @@ def forward(\n key_states = self.k_proj(hidden_states)\n value_states = self.v_proj(hidden_states)\n \n- query_states = query_states.reshape(-1, self.num_heads, self.head_dim)\n q...
2025-04-19T19:39:08
rust-lang/rust
3c42dc24ae23d2501aaae81273762d0698d83ff7
a932eb36f8adf6c8cdfc450f063943da3112d621
Workaround for windows-gnu rust-lld test failure The test run-make/amdgpu-kd has an issue where rust-lld will sometimes fail with error 0xc0000374 (STATUS_HEAP_CORRUPTION).
[ { "path": "tests/run-make/amdgpu-kd/rmake.rs", "patch": "@@ -6,13 +6,19 @@\n //@ needs-llvm-components: amdgpu\n //@ needs-rust-lld\n \n+use run_make_support::targets::is_windows_gnu;\n use run_make_support::{llvm_readobj, rustc};\n \n fn main() {\n+ // FIXME(#115985): rust-lld on gnu targets may spuriou...
2025-04-28T14:15:30
nodejs/node
b1b2f7c1fc941e17185b0b6f3b3246f3c12ad78f
586a7a4b1326dbc0603593edbc12aaec43dbe682
tools: fix docs and run known_issues by default - Updates `test/README.md` with new suites - Fixes some outdated `IGNORED_SUITES` listings - Allows for `test/known_issues` suite to be run by default PR-URL: https://github.com/nodejs/node/pull/21910 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jam...
[ { "path": "test/README.md", "patch": "@@ -16,9 +16,13 @@ GitHub with the `autocrlf` git config flag set to true.\n |Directory |Runs on CI |Purpose |\n |-------------------|---------------|---------------|\n |abort |Yes |Tests for when the ``` --abort-on-uncaught-...
2018-07-20T15:21:57
vercel/next.js
6aae39c759362f3f1689072b5b261a7d2b2a66a5
d5fd2d75d16ab21d3b8c978ca3c796c2ebb948a0
Fix app client entry key for windows (#44011) ## Bug The app client entry key was in win32 slashes like `app\blog`, and when we add the new layer checking logic in #43197, `name.startsWith('app/')` doesn't work. Fixes #43854 Fixes #43902 <img width="862" alt="image" src="https://user-images.githubusercont...
[ { "path": "azure-pipelines.yml", "patch": "@@ -35,7 +35,8 @@ variables:\n PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store\n PNPM_VERSION: 7.3.0\n NEXT_TELEMETRY_DISABLED: '1'\n- node_version: ^14.19.0\n+ node_14_version: ^14.19.0\n+ node_16_version: ^16.8.0\n \n stages:\n - stage: Test\n@@ -...
2022-12-14T18:52:52
golang/go
2a61b3c59088115245d084d5ae07dd4be5fbe1b0
fd4631e24f53cf836a67b00e82e2159854ec31d0
regexp: fix repeat of preferred empty match In Perl mode, (|a)* should match an empty string at the start of the input. Instead it matches as many a's as possible. Because (|a)+ is handled correctly, matching only an empty string, this leads to the paradox that e* can match more text than e+ (for e = (|a)) and that e+...
[ { "path": "src/regexp/find_test.go", "patch": "@@ -97,6 +97,7 @@ var findTests = []FindTest{\n \t{`\\B`, \"xx\", build(1, 1, 1)},\n \t{`\\B`, \"x y\", nil},\n \t{`\\B`, \"xx yy\", build(2, 1, 1, 4, 4)},\n+\t{`(|a)*`, \"aa\", build(3, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2)},\n \n \t// RE2 tests\n \t{`[^\\S\\s]`...
2021-05-11T14:52:44
huggingface/transformers
27a25bee4fcb865e8799ba026f1ea4455f2cca98
e1f379bb090390acb62d36b7037cd93950ed322b
chore: update model card for SigLIP (#37585) * edit siglip model card * fix syntax * Update docs/source/en/model_doc/siglip.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/model_doc/siglip.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>...
[ { "path": "docs/source/en/model_doc/siglip.md", "patch": "@@ -14,184 +14,116 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# SigLIP\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\...
2025-04-18T20:30:41
nodejs/node
40a413edf7ef4379cca2072bb8777be7986e2d2d
a9f32a31e2c32de0f62f107ca5d4ac914bb70ccf
tools: remove obsolete entries from license The LICENSE file has a few entries for things that no longer ship with the code base. They are installed via npm instead. Remove them from the license file. Running the license builder on a fresh checkout will result in errors until this change lands, since the necessary in...
[ { "path": "LICENSE", "patch": "@@ -1035,29 +1035,6 @@ The externally maintained libraries used by Node.js are:\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \"\"\"\n \n-- marked, located at tools/doc/node_modules/marked, is licensed as follows:\n- \"\"\"\n- Copyright (c)...
2018-07-25T22:54:24
vercel/next.js
d5fd2d75d16ab21d3b8c978ca3c796c2ebb948a0
7c1ac89be94656c9d09205f11cce7d20efc58611
Fix `.images.remotePatterns[0].port` warning (#44032) The json schema was incorrectly warning because `port: ''` is valid and we document and use it in examples. The empty string is different than undefined - empty string: match only URLs without a port - undefined: match URLs with any port I noticed this when runni...
[ { "path": "packages/next/server/config-schema.ts", "patch": "@@ -572,7 +572,6 @@ const configSchema = {\n type: 'string',\n },\n port: {\n- minLength: 1,\n type: 'string',\n },\n protocol: {", "additio...
2022-12-14T16:39:07
electron/electron
81eedd4faf73f7066f40ccd7cc4e1a46dd0423cd
74fe964f752ce9f7a18d00af78868b5264b0daa6
mac: Fix handling event from other windows.
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -504,10 +504,17 @@ - (void)mouseDragged:(NSEvent*)event {\n event.type == content::NativeWebKeyboardEvent::Char)\n return;\n \n- EventProcessingWindow* event_window =\n- static_cast<EventProcessingWindow*>(window_);\n- DCHECK([even...
2014-06-17T08:33:52
vercel/next.js
241635701b07e00a8d92b160cceb531aace08089
6d3be75b08ef4162bfbb5920fadfc309f900a8b8
docs: fix wording (#44020) ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
[ { "path": "docs/api-reference/next/legacy/image.md", "patch": "@@ -20,7 +20,7 @@ description: Backwards compatible Image Optimization with the Legacy Image compo\n \n </details>\n \n-Starting with Next.js 13, the `next/image` component was rewritten to improves both the performance and developer experience....
2022-12-14T14:42:45
huggingface/transformers
e1f379bb090390acb62d36b7037cd93950ed322b
4f58fc9c823c43b67a6ce1c44be28f8aecc3c8d9
Fixing the example in generation strategy doc (#37598) Update generation_strategies.md The prompt text shown in the example does not match what is inside the generated output. As the generated output always include the prompt, the correct prompt should be "Hugging Face is an open-source company".
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -31,7 +31,7 @@ import torch\n from transformers import AutoModelForCausalLM, AutoTokenizer\n \n tokenizer = AutoTokenizer.from_pretrained(\"meta-llama/Llama-2-7b-hf\")\n-inputs = tokenizer(\"I look forward to\", return_tensors=\"pt\").to(\"cu...
2025-04-18T19:50:17
golang/go
fd4631e24f53cf836a67b00e82e2159854ec31d0
a63cded5e413ffad1ec8088ef7abd10abb7b5252
cmd/compile/internal/dwarfgen: fix DWARF param DIE ordering The DWARF standard requires that the DIEs in a subprogram corresponding to input and output parameters appear in declaration order; this patch adds some new code in dwarfgen to enforce this ordering (relying on the existing fn.Dcl ordering is not sufficient)....
[ { "path": "src/cmd/compile/internal/dwarfgen/dwarf.go", "patch": "@@ -222,9 +222,64 @@ func createDwarfVars(fnsym *obj.LSym, complexOK bool, fn *ir.Func, apDecls []*ir\n \t\tfnsym.Func().RecordAutoType(reflectdata.TypeLinksym(n.Type()))\n \t}\n \n+\t// Sort decls and vars.\n+\tsortDeclsAndVars(fn, decls, va...
2021-05-11T15:29:27
nodejs/node
36a15a1f4df534941e002d10a45661b36909af3d
2db74f20f3ae3cc96ade3075192a479da38cb3a7
test: remove timeout from test-pipe-stream The timeout is unnecessary and the suspected cause of the following failure (even though I could not reproduce it locally): 11:53:54 not ok 197 parallel/test-pipe-stream 11:53:54 --- 11:53:54 duration_ms: 6.253 11:53:54 severity: fail 11:53:54 exi...
[ { "path": "test/parallel/test-pipe-stream.js", "patch": "@@ -49,15 +49,10 @@ function test(clazz, cb) {\n });\n }\n \n- const timeout = setTimeout(function() {\n- server.close();\n- }, 2000);\n-\n const server = net.Server();\n server.listen(common.PIPE, ping);\n server.on('connection', pon...
2018-07-16T18:45:16
rust-lang/rust
833f526196fffb9fc3113886a313b15f4b388691
746c6899e96e7e70cccb411c2e239c260238bc7a
base-db: add more details to panic
[ { "path": "src/tools/rust-analyzer/crates/base-db/src/lib.rs", "patch": "@@ -57,7 +57,12 @@ pub struct Files {\n \n impl Files {\n pub fn file_text(&self, file_id: vfs::FileId) -> FileText {\n- *self.files.get(&file_id).expect(\"Unable to fetch file; this is a bug\")\n+ match self.files.ge...
2025-04-28T18:37:33
electron/electron
054daadc33806abc75ed6d3cb3c06045cb85a7bb
05f079fa5b8541462a984b01805eeee7ca89ef26
:lipstick: Fix cpplint warnings.
[ { "path": "atom/renderer/atom_render_view_observer.cc", "patch": "@@ -4,6 +4,7 @@\n \n #include \"atom/renderer/atom_render_view_observer.h\"\n \n+#include <string>\n #include <vector>\n \n #include \"atom/common/api/api_messages.h\"\n@@ -36,6 +37,7 @@ AtomRenderViewObserver::~AtomRenderViewObserver() {\n }...
2014-06-16T13:29:18
golang/go
a63cded5e413ffad1ec8088ef7abd10abb7b5252
0fa2302ee5db35b4caae6211656f81ebb92cdb0a
debug/dwarf: delay array type fixup to handle type cycles A user encountered a debug/dwarf crash when running the dwarf2json tool (https://github.com/volatilityfoundation/dwarf2json) on a debug-built copy of the linux kernel. In this crash, the DWARF type reader was trying to examine the contents of an array type whil...
[ { "path": "src/debug/dwarf/type.go", "patch": "@@ -292,11 +292,35 @@ func (d *Data) Type(off Offset) (Type, error) {\n \treturn d.readType(\"info\", d.Reader(), off, d.typeCache, nil)\n }\n \n+type typeFixer struct {\n+\ttypedefs []*TypedefType\n+\tarraytypes []*Type\n+}\n+\n+func (tf *typeFixer) recordAr...
2021-05-12T15:03:48
vercel/next.js
60dd6dfc9bf2c2b04965d09ed87d1be591986ad0
04c2509daaa6ceae7882598b933f9580ca874517
Fix module error for findDOMNode on edge (#43998) ## Bug The `findDOMNode` will be exported from ReactDOM in esm mode, but it's not defined for SSR since SSR is using react-dom server stub bundle which doesn't contain any thing. So `import { findDOMNode } from 'react-dom'` will error in that case with bundling. ...
[ { "path": "packages/next/client/components/layout-router.tsx", "patch": "@@ -9,10 +9,10 @@ import type {\n } from '../../server/app-render'\n import type { ErrorComponent } from './error-boundary'\n import type { FocusAndScrollRef } from './reducer'\n+import type { ChildProp } from '../../server/app-render'...
2022-12-13T17:16:01
rust-lang/rust
55a419f444378afb5eceb361959fa57eefce2be1
7d65abfe80f9eee93296d1ce08f845c9bf7039f8
Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`
[ { "path": "library/test/src/test_result.rs", "patch": "@@ -61,16 +61,15 @@ pub(crate) fn calc_result(\n } else if let Some(panic_str) = maybe_panic_str {\n TestResult::TrFailedMsg(format!(\n r#\"panic did not contain expected string\n- panic message: `{pa...
2025-04-28T19:40:29
huggingface/transformers
a245011252d18ba319d181f23b657a3b4862ff3c
b0c6ff5e13d1b072bf33de0d5ed534ac787d1e9a
Add InternVL (2.5 MPO) (#35968) * initial commit * add convert internvl * add first end-to-end working internvl * nit prompt and image proc * add working chat template * add conversion llama-based models * add tests * pass all tests * fix isort * fix modular after main merge * add video processing for intern...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -953,6 +953,8 @@\n title: InstructBLIP\n - local: model_doc/instructblipvideo\n title: InstructBlipVideo\n+ - local: model_doc/internvl\n+ title: InternVL\n - local: model_doc/janus\n title: Janus\n -...
2025-04-18T16:57:33
nodejs/node
2db74f20f3ae3cc96ade3075192a479da38cb3a7
0f3c2c64d2fe73394e5a40c79f626d9d09c7cd5d
src: add missing cmath include to traced_value.cc Fixes: https://github.com/nodejs/node/issues/21903 PR-URL: https://github.com/nodejs/node/pull/21924 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Minwoo Jung <mi...
[ { "path": "src/tracing/traced_value.cc", "patch": "@@ -4,7 +4,7 @@\n \n #include \"tracing/traced_value.h\"\n \n-#include <math.h>\n+#include <cmath>\n #include <sstream>\n #include <stdio.h>\n #include <string>", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2018-07-21T14:41:27