repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vercel/next.js
51e51d25d6bd90a579a7a63a763b01ca132dc9f1
10af8c80ca3a00f316ca0027c5ba2614b63529ab
action: support not found (#49209) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Impr...
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -193,6 +193,7 @@ export async function handleAction({\n generateFlight: (options: {\n actionResult: ActionResult\n skipFlight: boolean\n+ asNotFound?: boolean\n }) => Promise<RenderResult>\n staticGenerationStor...
2023-05-04T13:59:24
electron/electron
3a32dc5da75471aa9036b05f17fe0148f9b4c6b2
24779a858969bfc542c900d5085082a7dc28da34
Fix "name" of Error object not serialized Close #3364.
[ { "path": "atom/browser/lib/rpc-server.coffee", "patch": "@@ -43,6 +43,8 @@ valueToMeta = (sender, value, optimizeSimpleObject=false) ->\n meta.then = valueToMeta sender, value.then.bind(value)\n else if meta.type is 'error'\n meta.members = plainObjectToMeta value\n+ # Error.name is not part o...
2016-01-07T08:35:05
golang/go
7a840664fe9d8d4c11b943dba77c513dba5207a1
2cb9042dc2d5fdf6013305a077d013dbbfbaac06
cmd/go: update "go help doc" docs This CL updates "go help doc" docs so they reflect the following changes: - CL 59413 modified "go doc", so the behavior of the two-args case is consistent with the one-arg one. - CL 141397 removed godoc's command-line interface in favor of "go doc". Fixes #49830. Change-Id: I0923...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -368,9 +368,8 @@\n // path. The go tool's usual package mechanism does not apply: package path\n // elements like . and ... are not implemented by go doc.\n //\n-// When run with two arguments, the first must be a full package path (not just a\n-// suffix), an...
2021-11-30T18:35:47
huggingface/transformers
0eb372ba1957f498d31c3af5bf9e31806087b56a
87be5595081364ef99393feeaa60d71db3652679
[quantization] fix torchao tests after 0.14.0 release (#41777) * initial commit * clean int4_weight_only * make style --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "tests/quantization/torchao_integration/test_torchao.py", "patch": "@@ -48,6 +48,8 @@\n from torchao.quantization import (\n Float8Tensor,\n Float8WeightOnlyConfig,\n+ Int4WeightOnlyConfig,\n+ Int8DynamicActivationInt8WeightConfig,\n Int8WeightOnlyConfig,\...
2025-10-23T08:26:44
nodejs/node
002dacb7f7a909c42f0ce69bee5b58e9158b5630
652877e3a9eee3f863314382f64f8ac1e5b27186
worker: handle exception when creating execArgv errors Handle possible JS exceptions that can occur by returning to JS land immediately. The motivation for this change is that `USE(….FromJust());` is an anti-pattern, and `.FromJust()` with an unused return value is superseded by `.Check()`. However, in this case, che...
[ { "path": "src/node_worker.cc", "patch": "@@ -459,13 +459,17 @@ void Worker::New(const FunctionCallbackInfo<Value>& args) {\n // The first argument is program name.\n invalid_args.erase(invalid_args.begin());\n if (errors.size() > 0 || invalid_args.size() > 0) {\n- v8::Local<v8::Value> erro...
2019-04-15T20:19:59
vercel/next.js
e96fce41c49c0ad6cc3848939d4cc4bc09876373
aabc1d9cc382110ecd6a03b9541666b277fee9cd
render app pages with original url (#49198) ### What? Use pre-rewrite URL for rendering ### Why? Rendering app pages needs the original user facing URL. ### Turbopack changes * https://github.com/vercel/turbo/pull/4818 <!-- Tobias Koppers - pass original url with content source data --> * https://gith...
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230504.2#12dd16a99ac1b64b66219e593980aadc1f161352\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-04T13:46:36
rust-lang/rust
e3882618c887f6a6049a99edcf91094a64bd57f3
ca578bf159b5958a25256af39c0bb1ba7d59f81b
cranelift: fix target feature name type: "fxsr"
[ { "path": "src/lib.rs", "patch": "@@ -184,7 +184,7 @@ impl CodegenBackend for CraneliftCodegenBackend {\n // FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]\n let target_features = if sess.target.arch == \"x86_64\" && sess.target.os != \"none\" {\...
2025-06-22T14:32:54
huggingface/transformers
87be5595081364ef99393feeaa60d71db3652679
2ca506ca1db3a20ef0d74b989edface7aecdef80
Fix attention mask in mamba layers (#41790) * not all mamba models are like LFM * compile friendly * adjust slow tests expectation * naming
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -486,20 +486,21 @@ def segment_sum(input_tensor):\n return tensor_segsum\n \n \n-is_fast_path_available = all((selective_state_update, causal_conv1d_fn, causal_conv1d_update))\n-\n-\n def apply_mask_to_padding_states(hidden_states...
2025-10-22T16:15:38
golang/go
21fa0b21996bc70c171bfa0f0c8917ecb0e73c75
a38b43e4ab62b974fce5ba34fc17f442e725af6a
[dev.boringcrypto] crypto/internal/boring: add -pthread linker flag goboringcrypto_linux_amd64.syso references pthread functions, so we need to pass -pthread to the C linker when external linking. Usually it is automatically added when linking with runtime/cgo package. But in shared linkage the runtime/cgo package may...
[ { "path": "src/crypto/internal/boring/boring.go", "patch": "@@ -7,7 +7,12 @@\n \n package boring\n \n-// #include \"goboringcrypto.h\"\n+/*\n+// goboringcrypto_linux_amd64.syso references pthread functions.\n+#cgo LDFLAGS: \"-pthread\"\n+\n+#include \"goboringcrypto.h\"\n+*/\n import \"C\"\n import (\n \t\"...
2021-12-03T22:13:08
rust-lang/rust
75674e2c2a21986ca07507fc98129e5be164e7ca
a30f1783fe136d92545423dd30b12eb619973cdb
cranelift: fix target feature name type: "fxsr"
[ { "path": "compiler/rustc_codegen_cranelift/src/lib.rs", "patch": "@@ -184,7 +184,7 @@ impl CodegenBackend for CraneliftCodegenBackend {\n // FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]\n let target_features = if sess.target.arch == \"x86_64\"...
2025-06-22T14:32:54
vercel/next.js
310407d331edb7fbec61ae21e752b51dd4f1d785
17597c24dbc71d48e278fc5172a97139db11dc0a
action: add Readable.toWeb "polyfill" for node 16 (#49201) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For ...
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -22,6 +22,33 @@ import { FlightRenderResult } from './flight-render-result'\n import { ActionResult } from './types'\n import { ActionAsyncStorage } from '../../client/components/action-async-storage'\n \n+function nodeToWebRead...
2023-05-04T13:17:59
nodejs/node
3ef1512f9e416cc7656b9cd16934dffdee1b11d3
ba74e42000418bf9e8263123fc7291c19e1d5425
src: allows escaping NODE_OPTIONS with backslashes The characters specified within NODE_OPTIONS can now be escaped, which is handy especially in conjunction with `--require` (where the file path might happen to contain spaces that shouldn't cause the option to be split into two). Fixes: https://github.com/nodejs/node...
[ { "path": "doc/api/cli.md", "patch": "@@ -774,6 +774,13 @@ if they had been specified on the command line before the actual command line\n (so they can be overridden). Node.js will exit with an error if an option\n that is not allowed in the environment is used, such as `-p` or a script file.\n \n+In case a...
2018-11-03T17:52:44
electron/electron
10f663d0178c5a3fa51a5641d00be578b49365af
ae6c2d46b89a351110cd1b1bd73248b227adb6c1
Fix hiding fullscreen button on EL Capitan
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -469,12 +469,17 @@ - (void)drawRect:(NSRect)dirtyRect {\n [window_ setDisableAutoHideCursor:disableAutoHideCursor];\n \n // Disable fullscreen button when 'fullscreen' is specified to false.\n- bool fullscreen;\n+ bool fullscreen = false;\n ...
2016-01-07T07:40:06
huggingface/transformers
2ca506ca1db3a20ef0d74b989edface7aecdef80
5426947e3aa2272439b7b25684a5dad5db0f096a
Fix chat schema tests (#41793) * Fix chat schema tests * make fixup
[ { "path": "src/transformers/utils/chat_parsing_utils.py", "patch": "@@ -55,7 +55,7 @@ def recursive_parse(\n return None\n \n # If not, we have to do a little parsing. First, set some vars and do basic validation\n- node_type = node_schema[\"type\"]\n+ node_type = node_schema.get(\"type\")...
2025-10-22T15:00:49
golang/go
20b9aaca30f7caa5a7cdd05fe0c2e18f64b04a16
ecf6b52b7f4ba6e8c98f25adf9e83773fe908829
all: update vendored golang.org/x/sys Update the vendored x/sys to pick up CL 368994, which remove the declaration of function darwinSupportsAVX512 in cpu/cpu_gc_x86.go. The following commands were used:   go get -d golang.org/x/sys@97ca703d548df069cb02aacea9efc3093ffdc3c4   go mod tidy   go mod vendor Fixes #49942...
[ { "path": "src/cmd/go.mod", "patch": "@@ -14,6 +14,6 @@ require (\n require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d // indirect\n \tgolang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa // indirect\n-\tgolang.org/x/sys v0.0.0-20211109065445-02f5c0300f6e // indirect\n+\tg...
2021-12-06T01:16:24
nodejs/node
cdba9f23ec301f834ac686df7e6adcc3ecf59db6
83d1ca7de95b884bcf188ed399056358e1d9d063
src: handle fatal error when Environment is not assigned to context Previously when an uncaught JS error is thrown before Environment was assigned to the context (e.g. a SyntaxError in a per-context script), it triggered an infinite recursion: 1. The error message listener `node::OnMessage()` triggered `node::Fata...
[ { "path": "src/env-inl.h", "patch": "@@ -302,15 +302,18 @@ inline Environment* Environment::GetCurrent(v8::Isolate* isolate) {\n }\n \n inline Environment* Environment::GetCurrent(v8::Local<v8::Context> context) {\n- if (UNLIKELY(context.IsEmpty() ||\n- context->GetNumberOfEmbedderDataFields() <\n- ...
2019-04-15T02:09:21
huggingface/transformers
5426947e3aa2272439b7b25684a5dad5db0f096a
93671b4444414b01ea034bd64614856644297a66
fix type annotation typo in docstring (#41788)
[ { "path": "src/transformers/trainer.py", "patch": "@@ -319,7 +319,7 @@ class Trainer:\n `torch.Generator` for the randomization that must be identical on all processes (and the Trainer will\n manually set the seed of this `generator` at each epoch) or have a `set_epoch()` method that...
2025-10-22T13:58:18
vercel/next.js
17597c24dbc71d48e278fc5172a97139db11dc0a
83e7d6be8e8ef87910267c6fd0f5e2ccb6e15c91
Add SWC test cases (#49189) Reorganize the test cases a bit by separating server/client graphs. And make sure that using `'use server'` inside a Client Component will result in a compilation error.
[ { "path": "packages/next-swc/crates/core/tests/errors.rs", "patch": "@@ -150,8 +150,8 @@ fn next_font_loaders_errors(input: PathBuf) {\n );\n }\n \n-#[fixture(\"tests/errors/server-actions/**/input.js\")]\n-fn react_server_actions_errors(input: PathBuf) {\n+#[fixture(\"tests/errors/server-actions/server...
2023-05-04T13:11:32
huggingface/transformers
93671b4444414b01ea034bd64614856644297a66
18a3349a9f953b2d9ca34c03558b2de201f9a0e9
Swap columns and rows of the grid layout in LFM2-VL (#41755) * swap columns and rows of the grid layout * update integration tests * fix the test case * revert batched test change
[ { "path": "src/transformers/models/lfm2_vl/image_processing_lfm2_vl_fast.py", "patch": "@@ -391,7 +391,7 @@ def resize_and_split(\n \n # Big image will be cropped into patches and small images are just resized\n if is_image_large and do_image_splitting:\n- images, num_rows, num_co...
2025-10-22T12:52:06
golang/go
c4a8550421ce16f233b48a85dc5dd04b16469b7f
deb988a2866ce541058d8af3844912d1a638980b
.github: use multiple issue templates There are currently multiple issue templates floating around for different projects, these can sometimes be hard to find. Fixes #29839 Change-Id: I6600b6f78842736d81d35e6a64247d00706d9e0e Reviewed-on: https://go-review.googlesource.com/c/go/+/366736 Trust: Russ Cox <rsc@golang.o...
[ { "path": ".github/ISSUE_TEMPLATE/00-bug.md", "patch": "@@ -1,6 +1,11 @@\n+---\n+name: Bugs\n+about: The go command, standard library, or anything else\n+title: \"affected/package: \"\n+---\n+\n <!--\n Please answer these questions before submitting your issue. Thanks!\n-For questions please use one of our ...
2021-11-23T19:52:07
nodejs/node
83d1ca7de95b884bcf188ed399056358e1d9d063
09cdc3782488d2e6db09baf75b0dfa1f68e5dc4f
src: disallow calling env-dependent methods during bootstrap These cannot be preserved correctly in v8 snapshot. Currently none of these are called during bootstrap, this adds assertions to make sure future contributors do not accidentally call these in the wrong time. Consider this, on the machine that builds releas...
[ { "path": "src/node_credentials.cc", "patch": "@@ -172,21 +172,29 @@ static gid_t gid_by_name(Isolate* isolate, Local<Value> value) {\n }\n \n static void GetUid(const FunctionCallbackInfo<Value>& args) {\n+ Environment* env = Environment::GetCurrent(args);\n+ CHECK(env->has_run_bootstrapping_code());\n ...
2019-04-15T00:41:23
vercel/next.js
83e46fd0abf255e7f6e7e56827b16b999a156f1a
d908bd89bf2596b526457124e68e0bdbe4323bdc
Fix incorrect React env in particular case (#49202) The value of `__NEXT_PRIVATE_PREBUNDLED_REACT` has to be a correct React channel.
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -290,7 +290,9 @@ export default async function build(\n const contents = await promises.readFile(requireHook, 'utf8')\n await promises.writeFile(\n requireHook,\n- `process.env.__NEXT_PRIVATE_PREBUNDLED_REA...
2023-05-04T12:52:38
electron/electron
705001a50e3790c3c3e232dcb5be2ebf187b9417
8aced2c31eb796df291ef336a099e82b870c1396
Remove custom WM_GETOBJECT As of Chromium 47 this seems to be handled automatically, nvda still reports elements and the typing lag issue described in #4001 is fixed
[ { "path": "atom/browser/native_window_views_win.cc", "patch": "@@ -84,20 +84,6 @@ bool NativeWindowViews::PreHandleMSG(\n NotifyWindowMessage(message, w_param, l_param);\n \n switch (message) {\n- // Screen readers send WM_GETOBJECT in order to get the accessibility\n- // object, so take this oppo...
2016-01-06T18:37:12
huggingface/transformers
e9f241bf89bb0638709d61a046c39b4dc5d8c714
7cd1d2b66ca118ea032d517ddb3ec31543354177
[quantization] fix compressed_tensors tests (#41780) fixing tests
[ { "path": "tests/quantization/compressed_tensors_integration/test_compressed_models.py", "patch": "@@ -85,7 +85,11 @@ def _has_nested_attr(obj, attr_path):\n )\n else:\n self.assertTrue(\n- torch.a...
2025-10-22T10:37:07
golang/go
deb988a2866ce541058d8af3844912d1a638980b
d921bb21df43a9bf1a6c22ab208d6a4bc9d05146
doc/go1.18: mention fuzzing in the release notes Also make a few small formatting fixes. Change-Id: Iad99d030312393af3b6533f2cd00f09aea0f2a7d Reviewed-on: https://go-review.googlesource.com/c/go/+/369074 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gopher Robot <...
[ { "path": "doc/go1.18.html", "patch": "@@ -59,9 +59,9 @@ <h3 id=\"bug_fixes\">Bug fixes</h3>\n <h3 id=\"generics\">Generics</h3>\n \n <p>\n-Go 1.18 includes an implementation of generics as described\n-by <a href=\"https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md\">th...
2021-12-03T17:23:44
nodejs/node
14df42fd008ef8e95d60d0d70084943d180bab91
5ac0308af90c2ab9842682d06a720cfab11eb661
build: run `mkcodecache` as an action * fix test-code-cache (for the common cases) * deprecate `configure --code-cache-path` PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "Makefile", "patch": "@@ -103,25 +103,17 @@ $(NODE_G_EXE): config.gypi out/Makefile\n \t$(MAKE) -C out BUILDTYPE=Debug V=$(V)\n \tif [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi\n \n-CODE_CACHE_DIR ?= out/$(BUILDTYPE)/obj/gen\n-CODE_CACHE_FILE ?= $(CODE_CACHE_DIR)/node_code_cac...
2019-04-07T19:02:04
vercel/next.js
d908bd89bf2596b526457124e68e0bdbe4323bdc
aec49ec65dc0bf1da5af5afd73db6b4940777ae1
update turbopack (#49196) * https://github.com/vercel/turbo/pull/4815 <!-- Tobias Koppers - fix CSS HMR --> --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "Cargo.lock", "patch": "@@ -400,7 +400,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230503.2#bdf96aa38092d63e5324f04cef95a832c6b18c58\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-05-04T12:24:36
huggingface/transformers
7cd1d2b66ca118ea032d517ddb3ec31543354177
48a36c96da1148e4fbb28b23b233c05ccf2516db
[v5] Delete legacy chat template saving (#41648) * delete lagcy chat template saving * fix tests * fix qwen audio
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -772,8 +772,6 @@ def save_pretrained(self, save_directory, push_to_hub: bool = False, **kwargs):\n kwargs (`dict[str, Any]`, *optional*):\n Additional key word arguments passed along to the [`~utils.PushToHubMixin.pus...
2025-10-22T09:40:55
golang/go
29483b3dae9bc043887b5372aefe0e53194b9ce7
9b0de0854d5a5655890ef0b2b9052da2541182a3
test: re-enable a bunch of tests with types2 Enable a bunch of types2-related error tests to run successfully, so they no longer have to be disabled in run.go. - directive.go: split it into directive.go and directive2.go, since the possible errors are now split across the parser and noder2, so they can't all b...
[ { "path": "src/cmd/compile/internal/types2/stdlib_test.go", "patch": "@@ -165,9 +165,11 @@ func TestStdTest(t *testing.T) {\n \ttestTestDir(t, filepath.Join(runtime.GOROOT(), \"test\"),\n \t\t\"cmplxdivide.go\", // also needs file cmplxdivide1.go - ignore\n \t\t\"directive.go\", // tests compiler rejectio...
2021-11-27T18:33:59
nodejs/node
c6c37e9e850fa2a30b12a0d0fd0dfe144eda0959
2400cbcf7c6b3c35c96b199676cb8a577f6e701a
test: use assert.rejects() and assert.throws() Replace try-catch blocks in tests with `assert.rejects()` and `assert.throws()`. PR-URL: https://github.com/nodejs/node/pull/27207 Fixes: https://github.com/nodejs/node/issues/27198 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechar...
[ { "path": "test/parallel/test-fs-mkdir.js", "patch": "@@ -122,14 +122,15 @@ function nextdir() {\n fs.mkdirSync(path.dirname(pathname));\n fs.writeFileSync(pathname, '', 'utf8');\n \n- try {\n- fs.mkdirSync(pathname, { recursive: true });\n- throw new Error('unreachable');\n- } catch (err) {\n- ...
2019-04-16T02:26:28
huggingface/transformers
48a36c96da1148e4fbb28b23b233c05ccf2516db
9a273028038bea9601be52985dfb969f0877ab59
fix: Gemma 3 weights conversion vision and multimodal projector paths (#41767) fix: Gemma 3 vision and multimodal projector paths
[ { "path": "src/transformers/models/gemma3/convert_gemma3_weights.py", "patch": "@@ -447,7 +447,7 @@ def convert_transformer_weights(\n return zip([], [])\n else:\n raise ValueError(f\"Unexpected member, {prop}, in Embedder.\")\n- elif path.startswith(f\"{_TRANSFORMER_EMBED...
2025-10-22T09:38:56
vercel/next.js
aec49ec65dc0bf1da5af5afd73db6b4940777ae1
dc99c18ef11c38e0144414a69c5b8a906dbdbdba
actions: fix redirect on the edge (#49197) - enables redirect for the edge - enables production tests link NEXT-1086
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -318,9 +318,6 @@ export async function handleAction({\n return actionResult\n } catch (err) {\n if (isRedirectError(err)) {\n- if (process.env.NEXT_RUNTIME === 'edge') {\n- throw new Error('Invari...
2023-05-04T11:32:50
golang/go
9b0de0854d5a5655890ef0b2b9052da2541182a3
a174638a5cc88eb4fccaaa699990f5626fbb0e30
runtime: fix missing pprof labels Use gp.m.curg instead of the gp when recording cpu profiler stack traces. This ensures profiler labels are captured when systemstack or similar is executing on behalf of the current goroutine. After this there are still rare cases of samples containing the labelHog function, so more ...
[ { "path": "src/runtime/cpuprof.go", "patch": "@@ -89,7 +89,7 @@ func SetCPUProfileRate(hz int) {\n // held at the time of the signal, nor can it use substantial amounts\n // of stack.\n //go:nowritebarrierrec\n-func (p *cpuProfile) add(gp *g, stk []uintptr) {\n+func (p *cpuProfile) add(tagPtr *unsafe.Pointe...
2021-09-20T14:09:47
nodejs/node
2400cbcf7c6b3c35c96b199676cb8a577f6e701a
96e46d37c458ab3d6cf1148a471cfd1aac7aafe6
fs: fix infinite loop with async recursive mkdir on Windows If `file` is a file then on Windows `mkdir` on `file/a` returns an `ENOENT` error while on POSIX the equivalent returns `ENOTDIR`. On the POSIX systems `ENOTDIR` would break out of the loop but on Windows the `ENOENT` would strip off the `a` and attempt to ma...
[ { "path": "src/node_file.cc", "patch": "@@ -1270,8 +1270,15 @@ int MKDirpSync(uv_loop_t* loop,\n }\n default:\n uv_fs_req_cleanup(req);\n+ int orig_err = err;\n err = uv_fs_stat(loop, req, next_path.c_str(), nullptr);\n- if (err == 0 && !S_ISDIR(req->sta...
2019-04-13T01:29:01
huggingface/transformers
9a273028038bea9601be52985dfb969f0877ab59
4f8781f84f41c289df4863940f088f4823084443
Fix CUDA index out of bounds for q_idx in VLM token type masking for Gemma3, PaliGemma, and example modular (#41757) * Fix CUDA index out of bounds for q_idx in Gemma3 token type masking * Fix CUDA index out of bounds for q_idx in modular modeling_new_task_model * Revert "Fix CUDA index out of bounds for q_idx in Ge...
[ { "path": "examples/modular-transformers/modeling_new_task_model.py", "patch": "@@ -125,15 +125,23 @@ def inner_mask(batch_idx: int, head_idx: int, q_idx: int, kv_idx: int) -> bool:\n # If it's 1 for both query and key/value, we are in an image block\n # NOTE: static cache shape goes beyond ...
2025-10-22T09:29:47
vercel/next.js
2fdb8a93c3f6fa5fb91e925849abe1d13a285ac4
0dc7511d927f3c138076ad4633b59d876ecb4dbd
avoid errors in computing issue details (vercel/turbo#4817) ### Description Better error message when import mapping fails
[ { "path": "crates/turbopack-core/src/issue/resolve.rs", "patch": "@@ -6,6 +6,7 @@ use turbo_tasks_fs::FileSystemPathVc;\n \n use super::{Issue, IssueVc};\n use crate::{\n+ error::PrettyPrintError,\n issue::{IssueSeverityVc, OptionIssueSourceVc},\n resolve::{options::ResolveOptionsVc, parse::Reque...
2023-05-04T11:22:13
rust-lang/rust
fb1397b02640fd6b0be0224fe004f5b87770166f
a7346577ca76b7b3b45e0c8ef6a32000720e4e66
Add Caleb's entries to the `Fixed` Section
[ { "path": "CHANGELOG.md", "patch": "@@ -15,6 +15,8 @@\n }\n ```\n - Fix panic when sorting imports [#6333](https://github.com/rust-lang/rustfmt/issues/6333)\n+- Fix issue with `wrap_comments` invalidating code blocks [#6417](https://github.com/rust-lang/rustfmt/pull/6417)\n+- No longer remove closure bl...
2025-06-21T16:53:00
electron/electron
062253bdfc9a4124a3e3dcb0b1828ce777aa7d8e
aaf5f3331a68f394dfdfcaf15efec4044ece93ac
Update debugging-main-process.md
[ { "path": "docs/tutorial/debugging-main-process.md", "patch": "@@ -28,13 +28,13 @@ with node-inspector, and the main process will crash if you inspect the\n ### 2. Install [node-inspector][node-inspector]\n \n ```bash\n-$ npm i node-inspector\n+$ npm install node-inspector\n ```\n \n ### 3. Install a patche...
2016-01-06T13:43:13
huggingface/transformers
a8cece13e29057fc9712543402d73e78796b306d
2e67a9b602a8aa5fcf9f82e25b4e331f3328976c
Fix bark after #41445 (#41645) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1318,7 +1318,7 @@ def generate(\n output sound according to specific predefined voice.\n \"\"\"\n )\n-class BarkModel(BarkPreTrainedModel):\n+class BarkModel(BarkPreTrainedModel, GenerationMixin):\n config: BarkConfig\n \n ...
2025-10-22T07:21:45
golang/go
098599003ba78225152d22984f82f78892221dad
8da66a35cab2de4f7ce0215c47929be624eeb03d
builtin: document "any" and "comparable" Fixes #49927 Change-Id: I8b34cf13b3bc6338309f005648ca3ee6852927f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/368954 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result...
[ { "path": "src/builtin/builtin.go", "patch": "@@ -91,6 +91,16 @@ type byte = uint8\n // used, by convention, to distinguish character values from integer values.\n type rune = int32\n \n+// any is an alias for interface{} and is equivalent to interface{} in all ways.\n+type any = interface{}\n+\n+// compara...
2021-12-02T22:52:31
nodejs/node
f85ef977e6e9f0f655a8ff6aa4796d80ae94010e
53e0f632dbed27f0889322bcf0244c886c549835
test: log errors in test-fs-readfile-tostring-fail The test writes out a large file via `fs.createWriteStream()` but was not listening for the `error` event, which the `fs` docs describe as the reliable way to detect write errors. PR-URL: https://github.com/nodejs/node/pull/27058 Reviewed-By: Ruben Bridgewater <ruben...
[ { "path": "test/pummel/test-fs-readfile-tostring-fail.js", "patch": "@@ -21,6 +21,8 @@ const stream = fs.createWriteStream(file, {\n flags: 'a'\n });\n \n+stream.on('error', (err) => { throw err; });\n+\n const size = kStringMaxLength / 200;\n const a = Buffer.alloc(size, 'a');\n ", "additions": 2, ...
2019-04-02T12:04:16
vercel/next.js
bf09c65e53cea614e77b8fa00f8c946d8fa32d1d
7fd97b8b32e52c387e40c3d278d05e892e62783a
Allow override icon rel (#49194) Fixes #48392 When passing down `Array<IconDescriptor>`, it should allow overriding `rel` prop of icon instead of always picking the default one fix NEXT-1085
[ { "path": "packages/next/src/lib/metadata/generate/icons.tsx", "patch": "@@ -11,7 +11,7 @@ function IconDescriptorLink({ icon }: { icon: IconDescriptor }) {\n \n function IconLink({ rel, icon }: { rel?: string; icon: Icon }) {\n if (typeof icon === 'object' && !(icon instanceof URL)) {\n- if (rel) icon...
2023-05-04T09:03:57
rust-lang/rust
109b56525f7fcf9383537725979c9505c9aac32e
59690c5dc1d7355e39fcc6c0dfc06a5ce7e8aba3
fix Stabilize typo
[ { "path": "CHANGELOG.md", "patch": "@@ -17,7 +17,7 @@\n - Fix panic when sorting imports [#6333](https://github.com/rust-lang/rustfmt/issues/6333)\n \n ### Changed\n-- Stabalize `style_edition=2024` and stabalize the `style_edition` command line option [#6431](https://github.com/rust-lang/rustfmt/pull/6431)...
2025-06-21T16:28:29
electron/electron
aaf5f3331a68f394dfdfcaf15efec4044ece93ac
aefddc014673dea3d123ea0b965c2cf75ca28296
Update debugging-main-process.md
[ { "path": "docs/tutorial/debugging-main-process.md", "patch": "@@ -63,7 +63,7 @@ $ electron --debug-brk=5858 your/app\n ### 5. Start the [node-inspector][node-inspector] server using electron\n \n ```bash\n-$ ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 path/to/electron.exe node_modules/node-inspector/bin/inspector.js...
2016-01-06T13:41:51
huggingface/transformers
264cce9e0a2930afed7b346e84f9359839443b63
3f2db2c205efcee683e80e5390e01323e4bf37ea
Chat response parsing (#40894) * Initial commit * Adding more tests, bugfixes, starting tool tests * Add support for JSON parsers and some tool tests * stash commit * stash commit * stash commit * stash commit * stash commit * Fix cohere schema, fix a lot of the recursive parser code * GPT-OSS passing too! *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -88,6 +88,8 @@\n title: Tool use\n - local: chat_templating_writing\n title: Writing a chat template\n+ - local: chat_response_parsing\n+ title: Response parsing\n title: Chat with models\n - sections:\n - local: serving...
2025-10-21T16:26:18
golang/go
8da66a35cab2de4f7ce0215c47929be624eeb03d
5f6552018d1ec920c3ca3d459691528f48363c3c
cmd/compile: set PPC64's MAXWIDTH as other architectures PPC64's MAXWIDTH is set as 1<<60 whereas on other 64-bit architetures it is set as 1<<50. Set to 1<<50 for consistency. The toolchain cannot handle such large program anyway. May fix PPC64 build. Change-Id: Ic3972a089b2f14a96e4ded57ef218d763c924a6a Reviewed-on...
[ { "path": "src/cmd/compile/internal/ppc64/galign.go", "patch": "@@ -16,7 +16,7 @@ func Init(arch *ssagen.ArchInfo) {\n \t\tarch.LinkArch = &ppc64.Linkppc64le\n \t}\n \tarch.REGSP = ppc64.REGSP\n-\tarch.MAXWIDTH = 1 << 60\n+\tarch.MAXWIDTH = 1 << 50\n \n \tarch.ZeroRange = zerorange\n \tarch.Ginsnop = ginsno...
2021-12-03T00:05:27
nodejs/node
a38e9c438ae872da37999c39d974facd4d524ea2
7938238b31f69d1a8bfa8069387cc2374435996c
lib: require globals instead of using the global proxy In addition, use process.stderr instead of console.error when there is no need to swallow the error. PR-URL: https://github.com/nodejs/node/pull/27112 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Yongsheng ...
[ { "path": "lib/.eslintrc.yaml", "patch": "@@ -58,13 +58,3 @@ globals:\n module: false\n internalBinding: false\n primordials: false\n- # Globals\n- # TODO(joyeecheung): if possible, get these in native modules\n- # through `require` instead of grabbing them from the global proxy.\n- clearTimeout: ...
2019-04-05T21:56:00
vercel/next.js
2b0922f5167f87f67bd1b856998fe97e8f7aa405
327d0facc6c554668a5395a8446347f844d96233
fix CSS HMR (vercel/turbo#4815) ### Description * type=stylesheet => rel=stylesheet * remove timestamp, that's not needed * ensure correct encoding of the href
[ { "path": "crates/turbopack-dev/js/src/runtime.dom.js", "patch": "@@ -78,8 +78,13 @@ let BACKEND;\n return;\n }\n \n+ const encodedChunkPath = chunkPath\n+ .split(\"/\")\n+ .map((p) => encodeURIComponent(p))\n+ .join(\"/\");\n+\n const previousLink...
2023-05-04T08:49:29
rust-lang/rust
88388f45d625efb58faddde5766c224d3b9bcf4f
9a597743efefc0f912990931cde402047e7861dd
Use `FromClean` more. The `FromClean` trait is used a lot for converting to rustdoc-json format. But it's not used universally; there are still some ad hoc functions and methods for converting. This commit fixes this inconsistency by using `FromClean` more. The commit also introduces `FromClean` for `Box` and `Option...
[ { "path": "src/librustdoc/json/conversions.rs", "patch": "@@ -66,47 +66,16 @@ impl JsonRenderer<'_> {\n id,\n crate_id: item_id.krate().as_u32(),\n name: name.map(|sym| sym.to_string()),\n- span: span.and_then(|span| self.convert_span(span)),\n- visi...
2025-06-17T04:26:27
electron/electron
89fccb7eb2a99dbe74ea4a5dae1e0911ca96f1f6
aefddc014673dea3d123ea0b965c2cf75ca28296
Fix crash when request failed
[ { "path": "atom/browser/net/url_request_fetch_job.cc", "patch": "@@ -205,7 +205,7 @@ bool URLRequestFetchJob::ReadRawData(net::IOBuffer* dest,\n }\n \n bool URLRequestFetchJob::GetMimeType(std::string* mime_type) const {\n- if (!response_info_)\n+ if (!response_info_ || !response_info_->headers)\n ret...
2016-01-06T13:07:07
huggingface/transformers
1d651c749e0a89743025211b9211e87908018c70
f39355ec23ce701b642f71c9df183c18989332eb
Modernize CLIP modeling code (#41546) * stranded * update modular * modularities * update * fx broken * fx stillb roken * update * missed this * fix metaclip
[ { "path": "src/transformers/models/clip/modeling_clip.py", "patch": "@@ -26,7 +26,17 @@\n from ...modeling_layers import GradientCheckpointingLayer\n from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling, ImageClassifierOutput\n from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, Pr...
2025-10-21T14:04:43
golang/go
5f6552018d1ec920c3ca3d459691528f48363c3c
8835343280029eaf86e0612d600ae7af5c68b092
runtime/race: rebuild darwin syso to work around macOS 12 malloc reserved address On macOS 12 a new malloc implementation (nano) is used by default, and apparently it reserves address range 0x600000000000-0x600020000000, which conflicts with the address range that TSAN uses for Go. Work around the issue by changing th...
[ { "path": "src/runtime/race/README", "patch": "@@ -4,12 +4,12 @@ the LLVM project (https://github.com/llvm/llvm-project/tree/main/compiler-rt).\n \n To update the .syso files use golang.org/x/build/cmd/racebuild.\n \n-race_darwin_amd64.syso built with LLVM 89f7ccea6f6488c443655880229c54db1f180153 and Go f62...
2021-11-30T23:58:53
nodejs/node
9dcc9b6a6b3b8ab40be91b2fdc6fdf514e48dcc3
2755471bf3ce35a14cb348d4fbf0d34779426e66
process: add --unhandled-rejections flag This adds a flag to define the default behavior for unhandled rejections. Three modes exist: `none`, `warn` and `strict`. The first is going to silence all unhandled rejection warnings. The second behaves identical to the current default with the excetion that no deprecation wa...
[ { "path": "doc/api/cli.md", "patch": "@@ -577,6 +577,23 @@ added: v2.4.0\n \n Track heap object allocations for heap snapshots.\n \n+### `--unhandled-rejections=mode`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+By default all unhandled rejections trigger a warning plus a deprecation warning\n+for the very fir...
2019-03-11T19:46:43
vercel/next.js
83b774eeb69f1fe4f636260f83ed98c6d0717a3d
c5406fc67e351c3195a2b620e424f180393865ed
Fix standalone mode with appDir running in a single process (#49116) Fixes #49055, fixes #48918. App dir will always require the server to run in the workers mode, so it can keep a separate Node.js process for pages. This PR updates the standalone server to initialize a "standalone server" (which works similar ...
[ { "path": "docs/advanced-features/custom-server.md", "patch": "@@ -51,7 +51,7 @@ app.prepare().then(() => {\n } catch (err) {\n console.error('Error occurred handling', req.url, err)\n res.statusCode = 500\n- res.end('internal server error')\n+ res.end('Internal Server Error')\n ...
2023-05-04T03:55:05
huggingface/transformers
f39355ec23ce701b642f71c9df183c18989332eb
5995435d96ace8bbf7f95623e5a7487990280fd1
[v5] Remove deprecated tranformers.onnx (#41700) * Remove deprecated tranformers.onnx * Remove transformers.onnx related doc * style * shouldn't have been removed * fix mismatch between metaclip2 modular en config file * remove onnx config from not_doctested.txt --------- Co-authored-by: Yih-Dar <2521628+ydshie...
[ { "path": "docs/source/ar/serialization.md", "patch": "@@ -32,7 +32,7 @@\n لتصدير نموذج 🤗 Transformers إلى ONNX، قم أولاً بتثبيت اعتماد إضافي:\n \n ```bash\n-pip install optimum[exporters]\n+pip install optimum-onnx\n ```\n \n للاطلاع على جميع المعامﻻت المتاحة، يرجى الرجوع إلى [وثائق 🤗 Optimum](https://hu...
2025-10-21T13:22:41
golang/go
fd4b391849dcd3ac0e90d3a86b0ee7df00b9b269
06dbf6121ad77e9ea3288df99bfe4e94f8776f38
crypto/x509: fix comments on certDirectories CL 205237 allowed SSL_CERT_DIR to be a colon delimited list of directories. In the case that SSL_CERT_DIR is unset, the change also made certDirectories to all be loaded rather than stopping after successfully reading at least one file from a directory. This update fixes co...
[ { "path": "src/crypto/x509/root_aix.go", "patch": "@@ -9,8 +9,7 @@ var certFiles = []string{\n \t\"/var/ssl/certs/ca-bundle.crt\",\n }\n \n-// Possible directories with certificate files; stop after successfully\n-// reading at least one file from a directory.\n+// Possible directories with certificate file...
2021-10-06T00:52:20
nodejs/node
2755471bf3ce35a14cb348d4fbf0d34779426e66
ffd2df063c4671e006eba87a0be33357e54964a6
src: print error before aborting In case of fatal errors, first print the error before aborting in case the process should abort on uncaught exceptions. PR-URL: https://github.com/nodejs/node/pull/26599 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Revie...
[ { "path": "src/node_errors.h", "patch": "@@ -14,10 +14,14 @@\n \n namespace node {\n \n+using v8::Local;\n+using v8::Message;\n+using v8::Value;\n+\n enum ErrorHandlingMode { CONTEXTIFY_ERROR, FATAL_ERROR, MODULE_ERROR };\n void AppendExceptionLine(Environment* env,\n- v8::Local<v8::...
2019-03-12T10:07:35
vercel/next.js
a919e4a309b694b01b147577e42afacf9afc51cc
f2e6d4207c885c9f0206ad35b6b655cf8d568eb5
Add test case for App Route cookies (#49124) A simple test case to ensure `cookies()` is usable inside App Routes, based on a prior bug report. Closes WEB-627 --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "packages/next-swc/crates/next-dev-tests/tests/integration/next/app/route-WEB-627/input/app/api/test/route.ts", "patch": "@@ -0,0 +1,11 @@\n+import { cookies } from 'next/headers'\n+\n+export async function GET(request: Request) {\n+ const cookieStore = cookies()\n+ const token = cookieStore.get...
2023-05-04T01:52:16
electron/electron
325966463717ce281daee6f2c1a271fd25c9a207
4401991e159e0036f17df187a7ccd8f8de68e112
Add info on how to debug from 0.30 onwards
[ { "path": "docs/tutorial/debugging-main-process.md", "patch": "@@ -23,13 +23,30 @@ __Note:__ Electron doesn't currently work very well\n with node-inspector, and the main process will crash if you inspect the\n `process` object under node-inspector's console.\n \n-### 1. Start the [node-inspector][node-insp...
2016-01-06T07:13:25
huggingface/transformers
2383f3fcbbf53aef4bcef4ba2fcaaded789b964b
c4e88f78ca9d4d7467446836c290f568bde30f7e
Fix graphormer model compilation with Cython 3.1.4 (#41671) Hitting this kind of error when running: ``` cython src/transformers/models/deprecated/graphormer/algos_graphormer.pyx ``` ``` Error compiling Cython file: ------------------------------------------------------------ ... (nrows, ncols) = path.shape ...
[ { "path": "src/transformers/models/deprecated/graphormer/algos_graphormer.pyx", "patch": "@@ -85,8 +85,8 @@ def gen_edge_input(max_dist, path, edge_feat):\n cdef unsigned int n = nrows\n cdef unsigned int max_dist_copy = max_dist\n \n- path_copy = path.astype(long, order='C', casting='safe', copy...
2025-10-21T12:02:23
golang/go
25f06cb71f06406bd38de0a37967edc6ec8ca120
94e22fa03eb5eb678689e05b8e309cd23f874698
doc/go1.18: add deprecation note for net.Error.Temporary Updates #47694 Change-Id: Ia25ad49f688efa3d60d83290095648711704b478 Reviewed-on: https://go-review.googlesource.com/c/go/+/368316 Trust: Jeremy Faller <jeremy@golang.org> Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gopher Robot <gobot@golang.or...
[ { "path": "doc/go1.18.html", "patch": "@@ -377,7 +377,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"net\"><dt><a href=\"/pkg/net/\">net</a></dt>\n <dd>\n <p><!-- CL 340261 -->\n- TODO: <a href=\"https://golang.org/cl/340261\">https://golang.org/cl/340261</a>: ...
2021-12-01T18:56:53
nodejs/node
1940114ac323695c758f21a00394b958a68d8428
693401d0ddd752e5fa47b882e56e252c42c94c0e
util: highlight stack frames Using `util.inspect` on errors is going to highlight userland and node_module stack frames from now on. This is done by marking Node.js core frames grey and frames that contain `node_modules` in their path yellow. That way it's easy to grasp what frames belong to what code. PR-URL: https...
[ { "path": "doc/api/util.md", "patch": "@@ -638,15 +638,16 @@ via the `util.inspect.styles` and `util.inspect.colors` properties.\n \n The default styles and associated colors are:\n \n- * `number` - `yellow`\n- * `boolean` - `yellow`\n- * `string` - `green`\n- * `date` - `magenta`\n- * `regexp` - `red`\n- *...
2019-04-02T05:56:14
electron/electron
9a55021609ae275fb0713875e9ab6b1e706912c6
c4071a7f665b4007e0b19fa9f815e8f6b1676d45
spec: Fix failing specs on Windows
[ { "path": "spec/webview-spec.coffee", "patch": "@@ -1,6 +1,7 @@\n assert = require 'assert'\n path = require 'path'\n http = require 'http'\n+url = require 'url'\n \n describe '<webview> tag', ->\n @timeout 10000\n@@ -261,12 +262,12 @@ describe '<webview> tag', ->\n it 'emits when favicon urls ...
2016-01-06T04:27:12
huggingface/transformers
ede7976cd2462ce868a0058c339c6b21baf7fc04
ee3a1002e2a3a4b60b66a1f9b034fbbe00c60e87
Fixed incorrect model_type for qwen2vl and qwen2.5vl when config is saved and loaded again (#41758) * fixed incorrect model_type for qwen2vl and qwen2.5vl * added tests
[ { "path": "src/transformers/models/qwen2_5_vl/configuration_qwen2_5_vl.py", "patch": "@@ -313,6 +313,8 @@ def __setattr__(self, key, value):\n \n def __getattribute__(self, key):\n if \"text_config\" in super().__getattribute__(\"__dict__\") and key not in [\n+ \"_name_or_path\",\n+ ...
2025-10-21T10:54:58
golang/go
bbe1be5c19f04816f5f9162c2be75351480c92a0
3c6295d272d09e6c7be912510e4b62afc0ef8ffc
cmd/compile: report channel size errors correctly for -G=3 First, we need to set base.Pos in varDecl() and typeDecl(), so it will be correct if we need to report type size errors while converting types. Changed error calls in types/sizes.go to use Errorf, not ErrorfAt, since we want to use base.Pos (which will set fro...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -160,6 +160,8 @@ func (g *irgen) funcDecl(out *ir.Nodes, decl *syntax.FuncDecl) {\n }\n \n func (g *irgen) typeDecl(out *ir.Nodes, decl *syntax.TypeDecl) {\n+\t// Set the position for any error messages we might print (e.g. too large types).\n...
2021-11-29T19:45:17
nodejs/node
693401d0ddd752e5fa47b882e56e252c42c94c0e
2fed83dee884c3bddafa67bb53abf507db1a8ba3
buffer: use stricter range checks This validates the input to make sure the arguments do not overflow. Before, if the input would overflow, it would cause the write to be performt in the wrong spot / result in unexpected behavior. Instead, just use a strict number validation. PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "doc/api/errors.md", "patch": "@@ -1564,12 +1564,6 @@ OpenSSL crypto support.\n An attempt was made to use features that require [ICU][], but Node.js was not\n compiled with ICU support.\n \n-<a id=\"ERR_NO_LONGER_SUPPORTED\"></a>\n-### ERR_NO_LONGER_SUPPORTED\n-\n-A Node.js API was called in an u...
2019-04-01T22:01:29
huggingface/transformers
ee3a1002e2a3a4b60b66a1f9b034fbbe00c60e87
4e50b8459d981ddcbc9438e85cff8d83fe40a500
[v5] Delete `videos` from image processing classes (#41607) * delete * why there were video tests in image file * fix tests and copies * docs and autto class
[ { "path": "docs/source/en/model_doc/instructblipvideo.md", "patch": "@@ -63,11 +63,6 @@ The attributes can be obtained from model config, as `model.config.num_query_tok\n [[autodoc]] InstructBlipVideoVideoProcessor\n - preprocess\n \n-## InstructBlipVideoImageProcessor\n-\n-[[autodoc]] InstructBlipVideo...
2025-10-21T10:03:31
nodejs/node
f6bd3b27eeecc52f9327db727217e912130ea929
82e6c3378f9d5be295c692a3b49285fdd892e4d5
test: fix test-dns-idna2008.js The test should pass if ESERVFAIL is the result. Refs: https://github.com/nodejs/node/issues/25870#issuecomment-471024667 PR-URL: https://github.com/nodejs/node/pull/27208 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Hen...
[ { "path": "test/internet/test-dns-idna2008.js", "patch": "@@ -43,11 +43,21 @@ dns.promises.lookup(fixture.hostname).then(({ address }) => {\n }).finally(mustCall());\n \n dns.resolve4(fixture.hostname, mustCall((err, addresses) => {\n+ if (err && err.errno === 'ESERVFAIL') {\n+ assert.ok(err.message.inc...
2019-04-13T03:54:53
golang/go
469f030dcaad765b3a40b2e0a88f4000357e61be
c5c1955077cb94736b0f311b3a02419d166f45ac
all: update vendored golang.org/x/tools Update the vendored x/tools to pick up CL 364678, which updates vet analyzers following a change to the underlying of type parameters. This also pulls in significant changes to the typeutil package to support new constructs in typeutil.Map, but this is not used by vet. The fol...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,7 +8,7 @@ require (\n \tgolang.org/x/mod v0.6.0-dev.0.20211102181907-3a5865c02020\n \tgolang.org/x/sync v0.0.0-20210220032951-036812b2e83c\n \tgolang.org/x/term v0.0.0-20210927222741-03fcf44c2211\n-\tgolang.org/x/tools v0.1.8-0.20211116011028-4adea5033c5c\n+\tgola...
2021-12-02T17:36:28
vercel/next.js
d543fd19db19d506f7155dd649f8b2462b1404a7
0aac86ea821540561520a390ff8746bc753ded2a
Upgrade React to 18.3.0-canary-aef7ce554-20230503 (#49181) Includes the following upstream changes: - [aef7ce554](https://github.com/facebook/react/commits/aef7ce554) [Flight] Progressively Enhanced Server Actions ([#26774](https://github.com/facebook/react/pull/26774)) (Sebastian Markbåge) - [c10010a6a](https:...
[ { "path": "package.json", "patch": "@@ -197,14 +197,14 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-canary-b7972822b-20230503\",\n- \"react-experimental-builtin\": \"npm:react@0.0.0-experimental-b79...
2023-05-04T01:48:40
electron/electron
59eda67ba4b935eb5fd205d1130af313d76e3471
5f0be5636a7eac75d89c6eef466e8707db81cab7
:apple::bug: make displaying alternate tray image depend on mouse down event instead of highlight state
[ { "path": "atom/browser/ui/tray_icon_cocoa.mm", "patch": "@@ -92,7 +92,7 @@ - (void)drawRect:(NSRect)dirtyRect {\n \n // Make use of NSImageView to draw the image, which can correctly draw\n // template image under dark menu bar.\n- if (highlight && alternateImage_ &&\n+ if (inMouseEventSequence_ && a...
2016-01-05T17:47:19
huggingface/transformers
6850ba853f4a41c843d47e954064b5919a946585
bf0bce8d5fcbabcde86e63c2634e87ef8c2614dc
Small Fix for imports (#41411) small fix
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -46,7 +46,9 @@\n \n def _is_package_available(pkg_name: str, return_version: bool = False) -> tuple[bool, str] | bool:\n \"\"\"Check if `pkg_name` exist, and optionally try to get its version\"\"\"\n- package_exists = importlib.util.fin...
2025-10-20T15:21:04
nodejs/node
d5f9cf81e33e3453c6863406a5478b86171730a5
427fce711f864f206a52ee8883442d443a8c4d34
doc: fix some links * Add missing reference ids. * Un-link impossible wildcard link. * Hardcode a link that baffles our new doc toolchain (`[][]` part is parsed as an empty link now instead of two-dimensional array sign). PR-URL: https://github.com/nodejs/node/pull/27141 Reviewed-By: Luigi Pinca <luigipinca@gmail.c...
[ { "path": "doc/api/dns.md", "patch": "@@ -527,7 +527,7 @@ added: v0.1.27\n * `hostname` {string}\n * `callback` {Function}\n - `err` {Error}\n- - `records` {string[][]}\n+ - `records` <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type\" class=\"type\">&lt;strin...
2019-04-08T20:41:10
golang/go
c5c1955077cb94736b0f311b3a02419d166f45ac
36be0beb05043e8ef3b8d108e9f8977b5eac0c87
runtime: break out new minimum heap size into a goexperiment The new minimum heap of 512 KiB has been the cause of some build slowdown (~1%) and microbenchmark slowdown (usually ~0%, up to ~50%) because of two reasons: 1. Applications with lots of small short-lived processes execute many more GC cycles. 2. Applicat...
[ { "path": "src/internal/goexperiment/exp_heapminimum512kib_off.go", "patch": "@@ -0,0 +1,9 @@\n+// Code generated by mkconsts.go. DO NOT EDIT.\n+\n+//go:build !goexperiment.heapminimum512kib\n+// +build !goexperiment.heapminimum512kib\n+\n+package goexperiment\n+\n+const HeapMinimum512KiB = false\n+const He...
2021-12-01T15:26:31
huggingface/transformers
2cf8f833b08efecfce3a2d2f690d43f821eec7b6
517197f795e3b44229bdf226d4cddf5240cc644a
Fix documentation issues (#41726) Fix more documentation issues Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "docs/source/en/executorch.md", "patch": "@@ -18,7 +18,7 @@ rendered properly in your Markdown viewer.\n \n [ExecuTorch](https://pytorch.org/executorch/stable/index.html) runs PyTorch models on mobile and edge devices. Export your Transformers models to the ExecuTorch format with [Optimum ExecuTor...
2025-10-20T13:31:02
vercel/next.js
0aac86ea821540561520a390ff8746bc753ded2a
e7a233293aadaad8bb2b9e106eea5a124807eab0
Fix multipart/form-data handling in the Edge runtime (#49177) Adds proper `multipart/form-data` handling in the Edge runtime and fixes a bug (previously we are always using `serverActionsManifest.node`). For the form data, we just use `await webRequest.request.formData()` for now and will handle streaming later.
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -4,6 +4,7 @@ import type {\n OutgoingHttpHeaders,\n ServerResponse,\n } from 'http'\n+import type { WebNextRequest } from '../base-http/web'\n \n import {\n ACTION,\n@@ -189,7 +190,9 @@ export async function handleAction({...
2023-05-03T23:59:30
nodejs/node
427fce711f864f206a52ee8883442d443a8c4d34
d4e743169eac7680dbbb67b11c6362fb15ca5f9a
src: fix check for accepting Buffers into Node’s allocator This condition was incorrect. We currently take the fallback path in default Node builds, which always works, but may come with some overhead, whereas the intention was that we use the fast path in this condition. This is causing issues for embedders, because...
[ { "path": "src/api/environment.cc", "patch": "@@ -139,7 +139,11 @@ void DebuggingArrayBufferAllocator::UnregisterPointerInternal(void* data,\n if (data == nullptr) return;\n auto it = allocations_.find(data);\n CHECK_NE(it, allocations_.end());\n- CHECK_EQ(it->second, size);\n+ if (size > 0) {\n+ ...
2019-04-10T08:53:54
golang/go
d34051bf16d86a88e6c5764aa076219069702045
1b2930d70c8bad5ecae08275e56e228e0f424b02
cmd/compile: fix case where g.curDecl should be saved/restored When we set g.curDecl for the type params created during fillinMethods for an instantiated type, we need to save/restore its value, because fillinMethods() may be called while processing a typeDecl. We want the value of g.curDecl to continue to be correct ...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -86,6 +86,7 @@ func (g *irgen) constDecl(out *ir.Nodes, decl *syntax.ConstDecl) {\n }\n \n func (g *irgen) funcDecl(out *ir.Nodes, decl *syntax.FuncDecl) {\n+\tassert(g.curDecl == \"\")\n \t// Set g.curDecl to the function name, as context for...
2021-12-01T18:53:17
electron/electron
48451032e33e57cb6b01bfbfae026addbb48fd89
88ba4fb36a117158a9fd26042d599dd7b2ff926c
Update brightray to fix menu not loading resources
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit d572361a4eeeb3a2fe6d3f2de457fbecb5775c0a\n+Subproject commit f9c272ec86ee83915729cf2ecdfdd5aa418b77eb", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-01-05T02:22:42
huggingface/transformers
517197f795e3b44229bdf226d4cddf5240cc644a
9d4ee18e25a33afe72c8ff81d589dc3bbb252eda
Update type hints in tokenization_utils.py to use | syntax (#41713) * Update type hints to use | syntax for Union types - Replace Union[str, os.PathLike] with str | os.PathLike - Replace Optional[Union[str, dict]] with str | dict | None - Keep Union for forward references like 'torch.dtype' - Update imports to remove...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -390,7 +390,7 @@ def _attn_implementation(self):\n return self._attn_implementation_internal\n \n @_attn_implementation.setter\n- def _attn_implementation(self, value: Optional[Union[str, dict]]):\n+ def _attn_implementation...
2025-10-20T13:24:16
vercel/next.js
e7a233293aadaad8bb2b9e106eea5a124807eab0
2dc0ba4bd9712e2b5931eb6e00156761384ff44d
Fix flaky test (#49178) Found this one being a bit random during dev, but it's trivial. See discussions: https://github.com/vercel/next.js/pull/49168#issuecomment-1533788373
[ { "path": "test/e2e/app-dir/navigation/navigation.test.ts", "patch": "@@ -7,7 +7,7 @@ createNextDescribe(\n {\n files: __dirname,\n },\n- ({ next, isNextDeploy }) => {\n+ ({ next, isNextDev, isNextDeploy }) => {\n describe('query string', () => {\n it('should set query correctly', async ...
2023-05-03T23:25:46
nodejs/node
914d6c9ab8cd7154c075867f3894bd90b8e252ea
3da36d0e94987dc6594fdffc3678d3f970cdac75
lib: use primordials in domexception.js PR-URL: https://github.com/nodejs/node/pull/27171 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/per_context/domexception.js", "patch": "@@ -1,8 +1,11 @@\n 'use strict';\n \n-// `per_context` scripts are executed before creating the primordials so we\n-// cannot use them here.\n-/* eslint-disable no-restricted-globals */\n+const {\n+ SafeWeakMap,\n+ SafeMap,\n+ Object,\n+ Sy...
2019-04-10T08:47:44
golang/go
00dbcb33f8c20ce51de558cbc9de811b1ba0f70c
c3a7fb207409a77b2ad644fe777db04d7df8e08c
os/exec: in TestContextCancel, dump goroutines on failure If this test fails, we want to know exactly what the os/exec goroutines are doing. Panicking gives us a goroutine dump, whereas t.Fatal does not. While we're here, use exponential backoff instead of a hard-coded 1ms sleep. We want to give the OS enough time to...
[ { "path": "src/os/exec/exec_test.go", "patch": "@@ -954,6 +954,10 @@ func TestContext(t *testing.T) {\n }\n \n func TestContextCancel(t *testing.T) {\n+\t// To reduce noise in the final goroutine dump,\n+\t// let other parallel tests complete if possible.\n+\tt.Parallel()\n+\n \tctx, cancel := context.WithC...
2021-12-01T19:15:08
huggingface/transformers
ce4ffeeb6c39a9e7e2e62e23606d0b83b9a49b96
cb6f03fce4d1f096982f222add598c9625bf9d79
Fix typo in LFM-VL (#41742) oops, remove untrelated commits
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1941,7 +1941,7 @@ def _supports_default_dynamic_cache(cls) -> bool:\n \"minimax\",\n \"xlnet\",\n \"lfm2\",\n- \"lfm2-vl\",\n+ \"lfm2_vl\",\n ]\n ...
2025-10-20T11:55:41
vercel/next.js
2dc0ba4bd9712e2b5931eb6e00156761384ff44d
248f2defc20f98510d2c52ffeec14cc038eb9fae
app router: support side effects on server requests (#48939) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## Fo...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -88,8 +88,8 @@ const babelIncludeRegexes: RegExp[] = [\n \n const reactPackagesRegex = /^(react|react-dom|react-server-dom-webpack)($|\\/)/\n \n-const staticGenerationAsyncStorageRegex =\n- /next[\\\\/]dist[\\\\/]client[\\\\/]components[\\...
2023-05-03T23:01:40
golang/go
0103fd2b8b3e57ead47a65501eb5ce5f444e0077
6c4bf8fb8a2216a09d22ae0c87a04b7865f794c8
gcimporters: allow reusing empty interfaces on the RHS of type decls We guard against caching or reusing interfaces on the RHS of a type declaration, because for such interfaces the base type is used as the interface method receiver type. However, we don't need to do this for empty interfaces. By refining our guard, w...
[ { "path": "src/cmd/compile/internal/importer/gcimporter_test.go", "patch": "@@ -8,6 +8,7 @@ import (\n \t\"bytes\"\n \t\"cmd/compile/internal/types2\"\n \t\"fmt\"\n+\t\"internal/goexperiment\"\n \t\"internal/testenv\"\n \t\"os\"\n \t\"os/exec\"\n@@ -107,25 +108,29 @@ func TestImportTestdata(t *testing.T) {\...
2021-11-30T22:48:51
nodejs/node
7b0d8673898e65a368108264c77bccaa3e004028
25df3c10f4a54d04e0391d6b9673059f6a7918bd
build: fix test failures not failing Travis builds The exit code of the make command used to execute tests was being lost after being piped through to grep. PR-URL: https://github.com/nodejs/node/pull/27176 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: ...
[ { "path": ".travis.yml", "patch": "@@ -65,4 +65,5 @@ jobs:\n - make -j2 > /dev/null\n - make -j1 build-addons build-js-native-api-tests build-node-api-tests > /dev/null\n script:\n+ - set -o pipefail\n - JOBS=2 FLAKY_TESTS=dontcare make -s -j1 V= test-ci | grep -F -e \"-...
2019-04-10T12:43:05
huggingface/transformers
cb6f03fce4d1f096982f222add598c9625bf9d79
8fc54209130d48d3df9a4b1f59fcdaed3a8e0f34
Fix Qwen3-Omni inference when mixing video and image inputs in one batch (#41741) * Fix qwen3omni inference when mixing video and image inputs in one batch * Fix `router_aux_loss_coef` --------- Co-authored-by: lvyuanjun.lyj <lvyuanjun.lyj@alibaba-inc.com>
[ { "path": "src/transformers/models/qwen3_omni_moe/modeling_qwen3_omni_moe.py", "patch": "@@ -1723,8 +1723,9 @@ def forward(\n past_key_values=past_key_values,\n )\n \n- def _deepstack_process(self, hidden_states, visual_pos_masks, visual_embeds):\n- visual_pos_masks = visual_po...
2025-10-20T11:35:02
vercel/next.js
248f2defc20f98510d2c52ffeec14cc038eb9fae
39654fd4bb91c0c7b650e4e1caf88f3b58f53c53
Fix React channel env missing in custom server (#49168) Fixes #48948 ([repro](https://github.com/vercel/next.js/issues/48948#issuecomment-1533542001)). When running inside a custom server with app dir, we should always opt into the prebundled React with correct channels. Thanks @karlhorky for help testing it! ...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -285,8 +285,6 @@ export default async function build(\n const isAppDirEnabled = !!config.experimental.appDir\n \n if (isAppDirEnabled) {\n- process.env.NEXT_PREBUNDLED_REACT = '1'\n-\n if (!process.env.__NEXT_TEST_MODE && ...
2023-05-03T22:40:23
huggingface/transformers
307c5238546ba1675daabc46050c63ffde25f8e6
448c553ccbc75bd7e6c60596875b1822bc3f3871
further improve `utils/check_bad_commit.py` (#41658) (#41690) * fix * Update utils/check_bad_commit.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Anton Vlasjuk <73884904+vasqu@user...
[ { "path": ".github/workflows/check_failed_tests.yml", "patch": "@@ -41,9 +41,14 @@ env:\n \n jobs:\n check_new_failures:\n- name: \" \"\n+ name: \"Find commits for new failing tests\"\n+ strategy:\n+ matrix:\n+ run_idx: [1]\n runs-on:\n group: aws-g5-4xlarge-cache\n+ outp...
2025-10-17T21:07:00
nodejs/node
091902ae0057894d66ca925d8c4f721f86e9b6cd
908292cf1f551c614a733d858528ffb13fb3a524
console: remove trace frame The own function's frame was removed originally. This restors that behavior. Fixes: https://github.com/nodejs/node/issues/27134 PR-URL: https://github.com/nodejs/node/pull/27159 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-B...
[ { "path": "lib/internal/console/constructor.js", "patch": "@@ -325,13 +325,13 @@ const consoleMethods = {\n trace(kTraceInstant, kTraceConsoleCategory, `time::${label}`, 0);\n },\n \n- trace(...args) {\n+ trace: function trace(...args) {\n const err = {\n name: 'Trace',\n message: th...
2019-04-09T20:42:56
golang/go
08ecdf7c2e9e9ecc4e2d7c6d9438faeed2338140
8ebb8c9ecba4069cc4defffffbbcdde0ba22ced1
runtime: fix racy allgs access on weak memory architectures Currently, markroot is very clever about accessing the allgs slice to find stack roots. Unfortunately, on weak memory architectures, it's a little too clever and can sometimes read a nil g, causing a fatal panic. Specifically, gcMarkRootPrepare snapshots the...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -320,11 +320,20 @@ var work struct {\n \tnwait uint32\n \n \t// Number of roots of various root types. Set by gcMarkRootPrepare.\n+\t//\n+\t// nStackRoots == len(stackRoots), but we have nStackRoots for\n+\t// consistency.\n \tnDataRoots, nBSSRoots, nSpanRoots, ...
2021-12-01T13:56:19
vercel/next.js
d957327d7163e988ed90a7fd2af3336b90f6136f
e659653e4845093a5c30afb81f1d61d666ffdf82
Fix server component transforms (#49135) This makes sure that we are treating a module as in the server layer, if it's under the client layer but with file-level `"use server"`. Also makes sure we're catching errors like having both `"use server"` and `"use client"` directives presented.
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -61,7 +61,8 @@ impl<C: Comments> VisitMut for ReactServerComponents<C> {\n noop_visit_mut_type!();\n \n fn visit_mut_module(&mut self, module: &mut Module) {\n- let (is_client_entry, imports) = self.collect...
2023-05-03T21:20:32
huggingface/transformers
ac815417784320cb17ed7d6b077dd19cb6854fa1
e7592f25089bae648d3cebf7e0445a510e719eea
🌐 [i18n-KO] Translated gemma3n.md to Korean (#40873) * fix: manual edits * Apply suggestions from code review Apply suggestions from code review and make additional revisions Co-authored-by: HyunSang Jang <tasker.dev103@gmail.com> * Apply suggestions from code review Apply suggestions from code review — upda...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -1057,7 +1057,7 @@\n title: FLAVA\n - local: model_doc/gemma3\n title: Gemma3\n- - local: in_translation\n+ - local: model_doc/gemma3n\n title: Gemma3n\n - local: in_translation\n title: GIT", "ad...
2025-10-17T16:57:05
golang/go
8ebb8c9ecba4069cc4defffffbbcdde0ba22ced1
2c5d2083e41371aa4f5aab9e86921002c1f9b504
runtime: give the subprocess more time in TestSpuriousWakeupsNeverHangSemasleep Issue #27250 reproduced readily enough to keep the subprocess hung indefinitely when it occurred, so the timeout does not need to be short to maintain test fidelity. On the other hand, on heavily loaded systems it might take a while for th...
[ { "path": "src/runtime/semasleep_test.go", "patch": "@@ -28,19 +28,24 @@ func TestSpuriousWakeupsNeverHangSemasleep(t *testing.T) {\n \t\tt.Fatal(err)\n \t}\n \n-\tstart := time.Now()\n \tcmd := exec.Command(exe, \"After1\")\n \tstdout, err := cmd.StdoutPipe()\n \tif err != nil {\n \t\tt.Fatalf(\"StdoutPipe...
2021-11-30T21:10:47
nodejs/node
29d0b4342654eeb76a6cd429298d988a59733bf6
47f5cc1ad1f885d4596a141323c0d1732fb3bc6d
benchmark: fix http headers benchmark PR-URL: https://github.com/nodejs/node/pull/27021 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.co...
[ { "path": "benchmark/http/headers.js", "patch": "@@ -14,7 +14,9 @@ function main({ len, n }) {\n 'Transfer-Encoding': 'chunked',\n };\n \n- const Is = [ ...Array(n / len).keys() ];\n+ // TODO(BridgeAR): Change this benchmark to use grouped arguments when\n+ // implemented. https://github.com/nodejs...
2019-03-30T21:14:07
electron/electron
96d68b92857eddfb2118cd9c4da0cebe72c1a52b
8aced2c31eb796df291ef336a099e82b870c1396
:bug: add isDevToolsFocused to WebContents to fix #3928, add devtools-[focused|open|close] events to WebView to fix #3783.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -780,6 +780,13 @@ bool WebContents::IsDevToolsOpened() {\n return managed_web_contents()->IsDevToolsViewShowing();\n }\n \n+bool WebContents::IsDevToolsFocused() {\n+ if (type_ == REMOTE)\n+ return false;\n+ \n+ return managed_web...
2016-01-01T05:11:21
huggingface/transformers
7e204ad121e729cac59ea213356c68527cac0a7e
a15d77cd0c3e4c1d9f0a196da5996b735eead37e
[`Attn`] Allow dynamic causality in SDPA via Kwargs (#41692) * is causal as kwarg * Update src/transformers/integrations/sdpa_attention.py Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com> * fix comment --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/integrations/flash_attention.py", "patch": "@@ -34,6 +34,7 @@ def flash_attention_forward(\n scaling: Optional[float] = None,\n sliding_window: Optional[int] = None,\n softcap: Optional[float] = None,\n+ is_causal: Optional[bool] = None,\n **kwargs,\n ) -> tupl...
2025-10-17T15:51:51
nodejs/node
72f4a830d7c387d9d8f47ff1b5ccf98244032733
06c803d9b929880dc21eeb5f8eb40fe17ff2e499
build: tidy up additional libraries on Windows The report functionality that depended on `Dbghelp.lib` and `Psapi.lib` are actually in `src/debug_utils.cc` and are not dependent on the report functionality being enabled. PR-URL: https://github.com/nodejs/node/pull/27138 Reviewed-By: Anna Henningsen <anna@addaleax.net...
[ { "path": "node.gyp", "patch": "@@ -345,16 +345,7 @@\n ],\n 'conditions': [\n ['OS==\"win\"', {\n- 'libraries': [\n- 'dbghelp.lib',\n- 'PsApi.lib',\n- 'Ws2_32.lib',\n- ],\n- 'dll_files': [\n- ...
2019-04-08T18:41:52
huggingface/transformers
12a50f294d50e3d0e124511f2b6f43625f73ffce
39b6d3bf7e30b92b2de50a31ee991557d41ab568
Enable FURB rules in ruff (#41395) * Apply ruff FURB rules Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Enable ruff FURB rules Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.co...
[ { "path": "examples/legacy/seq2seq/pack_dataset.py", "patch": "@@ -60,8 +60,8 @@ def pack_data_dir(tok, data_dir: Path, max_tokens, save_path):\n save_path.mkdir(exist_ok=True)\n for split in [\"train\"]:\n src_path, tgt_path = data_dir / f\"{split}.source\", data_dir / f\"{split}.target\"\n...
2025-10-17T15:00:40