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
rust-lang/rust
1df3b96e8b9263802a72268463ca5350aa7a7013
e62e27bf5bbae5d0ba596ae43356a7c9c988a067
Fix `empty_with_brackets` span handling.
[ { "path": "clippy_lints/src/empty_with_brackets.rs", "patch": "@@ -92,8 +92,10 @@ impl_lint_pass!(EmptyWithBrackets => [EMPTY_STRUCTS_WITH_BRACKETS, EMPTY_ENUM_VA\n \n impl LateLintPass<'_> for EmptyWithBrackets {\n fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) {\n+ // FIXME: ha...
2025-07-18T14:59:16
golang/go
cf697253abb781e8a3e8825b7a4b5b96a534b907
265b5fd2f1c6d3379893b58940dde48e156ce531
cmd/go: write changes to go.mod and go.sum after loading the command-line-arguments package This entrypoint was missed in CL 349600, and the behavior happened not to be covered by existing tests. Fixes #52331. Change-Id: Iccf12e8e633215abe4bfa1c3ca2fe3a8391b5ba5 Reviewed-on: https://go-review.googlesource.com/c/go/+...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -717,6 +717,12 @@ func ImportFromFiles(ctx context.Context, gofiles []string) {\n \t\t},\n \t})\n \trequirements = loaded.requirements\n+\n+\tif !ExplicitWriteGoMod {\n+\t\tif err := commitRequirements(ctx); err != nil {\n+\t\t\tbase.Fatalf(\"go:...
2022-04-21T17:09:17
huggingface/transformers
86eafab5fb1b305d4f63a442b7c525e83535f946
adc0d9aee00f5b963ddd09bfc84d55ccda19581c
Make `_prepare_input_fn` and `_prepare_output_fn` instance methods (#44499) fix: make _prepare_input_fn and _prepare_output_fn regular methods Co-authored-by: Ferdinand Mom <47445085+3outeille@users.noreply.github.com>
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -648,11 +648,11 @@ def __init__(self, device_mesh=None, rank=None, empty_param=None):\n self.device_mesh = device_mesh\n self.empty_param = empty_param\n \n- @staticmethod\n- def _prepare_input_fn(mod, inputs, d...
2026-03-09T14:29:32
rust-lang/rust
15acb0e0ec849453d9db928821cecc552bb51bfd
6c0a912e5a45904cf537f34876b16ae71d899f86
unicode-table-gen: clippy fixes
[ { "path": "src/tools/unicode-table-generator/src/cascading_map.rs", "patch": "@@ -21,7 +21,7 @@ impl RawEmitter {\n \n let points = ranges\n .iter()\n- .flat_map(|r| (r.start..r.end).into_iter().collect::<Vec<u32>>())\n+ .flat_map(|r| (r.start..r.end).collect::<Vec<...
2025-07-18T13:43:24
electron/electron
8d9aaf1d5e7f801d85683fef4d908a28a9b9bae3
fd9a032839a5e85cd02833d21992ac9b6727ff43
Fix date
[ { "path": "docs/tutorial/about.md", "patch": "@@ -50,7 +50,7 @@ Below are milestones in Electron's history.\n | :calendar: | :tada: |\n | --- | --- |\n | **April 2013**| [Atom Shell is started](https://github.com/electron/electron/commit/6ef8875b1e93787fa9759f602e7880f28e8e6b45).|\n-| **May 2104** | [Atom S...
2016-08-16T18:34:20
nodejs/node
255461e19ab08748e2b9b375ff26191bd1cdc8d9
3e6e0006d837c187814151f80847cba4693ebb4f
util: fix inspection of errors with tampered name or stack property This makes sure that `util.inspect()` does not throw while inspecting errors that have the name or stack property set to a different type than string. Fixes: https://github.com/nodejs/node/issues/30572 PR-URL: https://github.com/nodejs/node/pull/305...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -937,12 +937,12 @@ function getFunctionBase(value, constructor, tag) {\n }\n \n function formatError(err, constructor, tag, ctx) {\n- let stack = err.stack || ErrorPrototypeToString(err);\n+ const name = err.name != null ? String(err.name) : 'Error';\...
2019-11-21T13:18:41
vercel/next.js
9ea6bc4bcb7bf9d63ed8c013ac1ccc45b5974fda
be5f9baf74c1516c944ad6cdafc5079f03181194
fix: custom incremental cache handlers should work when transpiled (#54472) This fixes a `CurCacheHandler is not a constructor` error when the custom cache handler path is transpiled from ESM -> CJS (resulting in the handler being attached to the `default` property on the module's exports) Closes NEXT-1558 Fixes #544...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1278,6 +1278,7 @@ export default async function build(\n CacheHandler = require(path.isAbsolute(incrementalCacheHandlerPath)\n ? incrementalCacheHandlerPath\n : path.join(dir, incrementalCacheHandlerPath))\n+ Cach...
2023-08-24T03:48:30
huggingface/transformers
adc0d9aee00f5b963ddd09bfc84d55ccda19581c
7d6fa9352a9bd65ade47bbd6f7c79d868c40ed74
Fix: Conditionally import `torch.distributed.fsdp` in `trainer_seq2seq.py` (#44507) * fix: conditionally import torch.distributed.fsdp in trainer_seq2seq * fix: sort imports in trainer_seq2seq.py --------- Co-authored-by: DELUXA <you@example.com> Co-authored-by: Ferdinand Mom <47445085+3outeille@users.noreply.githu...
[ { "path": "src/transformers/trainer_seq2seq.py", "patch": "@@ -20,7 +20,6 @@\n \n import torch\n from torch import nn\n-from torch.distributed.fsdp import FullyShardedDataParallel\n from torch.utils.data import Dataset\n \n from .generation.configuration_utils import GenerationConfig\n@@ -30,6 +29,9 @@\n fr...
2026-03-09T14:27:19
golang/go
f52b4ec63d6ce5c4eb9edcb81c3a0661e6f53da0
87cf92e7d51aea29eae0266b6d65e1a5b6244131
cmd/compile: enable Asan check for global variables With this patch, -asan option can detect the error memory access to global variables. So this patch makes a few changes: 1. Add the asanregisterglobals runtime support function, which calls asan runtime function _asan_register_globals to register global variables. ...
[ { "path": "misc/cgo/testsanitizers/asan_test.go", "patch": "@@ -22,6 +22,14 @@ func TestASAN(t *testing.T) {\n \tif !aSanSupported(goos, goarch) {\n \t\tt.Skipf(\"skipping on %s/%s; -asan option is not supported.\", goos, goarch)\n \t}\n+\t// The current implementation is only compatible with the ASan libra...
2021-04-29T09:02:53
nodejs/node
988034be6aece7bd103249e18ac7f0a5d3f92545
74f6bc70560aac981ac1b3019f628b81528a7053
http2: make maximum tolerated rejected streams configurable PR-URL: https://github.com/nodejs/node/pull/30534 Fixes: https://github.com/nodejs/node/issues/30505 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -1941,6 +1941,9 @@ error will be thrown.\n <!-- YAML\n added: v8.4.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/30534\n+ description: Added `maxSessionRejectedStreams` option with a default of 100.\n - version: REPLAC...
2019-11-18T20:12:15
huggingface/transformers
7d6fa9352a9bd65ade47bbd6f7c79d868c40ed74
78aee7e8486fd731da8824633e85664bcbd9f7bb
Fix ShieldGemma2 non-reproducible outputs by adding _tied_weights_keys (#44358) * Fix ShieldGemma2 non-reproducible outputs by adding _tied_weights_keys The checkpoint has `text_config.tie_word_embeddings = True`, meaning `lm_head.weight` should be tied to `embed_tokens.weight`. However, `ShieldGemma2ForImageClassifi...
[ { "path": "src/transformers/models/shieldgemma2/configuration_shieldgemma2.py", "patch": "@@ -30,7 +30,8 @@ class ShieldGemma2Config(PreTrainedConfig):\n The begin-of-image token index to wrap the image prompt.\n eoi_token_index (`int`, *optional*, defaults to 256000):\n The end-of-image...
2026-03-09T14:27:16
vercel/next.js
be5f9baf74c1516c944ad6cdafc5079f03181194
7b5f3b354a3cb397d5d91c517530fbc461748198
docs: Add `next-i18n-router` as a resource for internationalized routing (#52344) ### Why? Many developers are asking how to add internationalized routing in the App Router as it works in the Pages Router. [next-i18n-router](https://www.npmjs.com/package/next-i18n-router) is a very helpful package that fully solves th...
[ { "path": "docs/02-app/01-building-your-application/01-routing/13-internationalization.mdx", "patch": "@@ -147,8 +147,9 @@ export default function Root({ children, params }) {\n }\n ```\n \n-## Examples\n+## Resources\n \n - [Minimal i18n routing and translations](https://github.com/vercel/next.js/tree/cana...
2023-08-24T01:07:43
golang/go
7cf32686667fe2de869ddab3ede647e34be9209e
4f898840d1e81955231e42a0c5aee29065568196
go/parser: parser to accept ~x as unary expression This is a port of CL 402255 from the syntax package to go/parser with adjustments because of the different AST structure. Accept ~x as ordinary unary expression in the parser but recognize such expressions as invalid in the type checker. This change opens the door t...
[ { "path": "src/go/parser/parser.go", "patch": "@@ -1722,7 +1722,7 @@ func (p *parser) parseUnaryExpr() ast.Expr {\n \t}\n \n \tswitch p.tok {\n-\tcase token.ADD, token.SUB, token.NOT, token.XOR, token.AND:\n+\tcase token.ADD, token.SUB, token.NOT, token.XOR, token.AND, token.TILDE:\n \t\tpos, op := p.pos, p...
2022-05-03T17:49:56
huggingface/transformers
78aee7e8486fd731da8824633e85664bcbd9f7bb
362792116eb0c84adeec2334c8c8b63aba978e39
Tensor Parallelism and `mps` device (#44506) fix: fail when using `mps` with TP Co-authored-by: Ferdinand Mom <47445085+3outeille@users.noreply.github.com>
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -55,7 +55,7 @@ def initialize_tensor_parallelism(\n # Detect the accelerator on the machine. If no accelerator is available, it returns CPU.\n device_type = torch._C._get_accelerator().type\n if device_type ==...
2026-03-09T14:27:10
electron/electron
14154e374a6034ec09669c73cea224a1322f5d37
ce986590cfd2dd520e02bf54e0ce8ada8d40ed2e
Fix cpp linting issues
[ { "path": "atom/browser/browser.h", "patch": "@@ -76,13 +76,16 @@ class Browser : public WindowListObserver {\n void SetAppUserModelID(const base::string16& name);\n \n // Remove the default protocol handler registry key\n- bool RemoveAsDefaultProtocolClient(const std::string& protocol, mate::Arguments...
2016-08-16T05:54:30
vercel/next.js
7b5f3b354a3cb397d5d91c517530fbc461748198
80e6f07f01e1bb346f4c99c0f5bc9008beef5557
Trace upload fixup (#54455) This: - Includes Next.js version as metadata - Includes `navigation-to-hydration` timings (note: this metric still needs to be refined to better capture complete hydration) - Updates `client-hmr-latency`'s `updatedModules` to be of the form `[project]/foo.js` instead of `./foo.js`, alignin...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -90,13 +90,19 @@ const handleSessionStop = async () => {\n }\n \n if (traceUploadUrl) {\n- uploadTrace({\n- traceUploadUrl,\n- mode: 'dev',\n- isTurboSession,\n- projectDir: dir,\n- distDir: config.distDir,\n- })\...
2023-08-24T00:29:25
huggingface/transformers
362792116eb0c84adeec2334c8c8b63aba978e39
395a5ed3b317f07eeff2d74fcfbf86a43143a2b3
Fix failing `GPTNeoModelLanguageGenerationTest` (#44515) Fix failing GPTNeoModelLanguageGenerationTest
[ { "path": "tests/models/gpt_neo/test_modeling_gpt_neo.py", "patch": "@@ -502,7 +502,7 @@ def test_gpt_neo_sample(self):\n torch.manual_seed(0)\n tokenized = tokenizer(\"Today is a nice day and\", return_tensors=\"pt\", return_token_type_ids=True)\n input_ids = tokenized.input_ids.to(...
2026-03-09T14:10:49
golang/go
4f898840d1e81955231e42a0c5aee29065568196
8b389eb2be2d66563669c74f6515b5f537542ce9
runtime: improve the annotation of debugCallV2 for arm64 This CL improves the annotation documentation of the debugCallV2 function for arm64. Change-Id: Icc2b52063cf4fe779071039d6a3bca1951108eb0 Reviewed-on: https://go-review.googlesource.com/c/go/+/402514 Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Eri...
[ { "path": "src/runtime/asm_arm64.s", "patch": "@@ -1272,9 +1272,12 @@ GLOBL\tdebugCallFrameTooLarge<>(SB), RODATA, $20\t// Size duplicated below\n // If the goroutine is in any other state, it's not safe to inject a call.\n //\n // This function communicates back to the debugger by setting R20 and\n-// invo...
2022-04-27T02:42:01
nodejs/node
74f6bc70560aac981ac1b3019f628b81528a7053
9590f577b03f621faf35f60e439b87431d293dee
test: update and harden http2-reset-flood * use new maxSessionInvalidFrames to lower the needed frames * slow down requests to generate less redundant after-session-close requests PR-URL: https://github.com/nodejs/node/pull/30534 Fixes: https://github.com/nodejs/node/issues/30505 Reviewed-By: Anna Henningsen <anna@...
[ { "path": "test/parallel/test-http2-reset-flood.js", "patch": "@@ -13,7 +13,7 @@ const { Worker, parentPort } = require('worker_threads');\n // the two event loops intermixing, as we are writing in a busy loop here.\n \n if (process.env.HAS_STARTED_WORKER) {\n- const server = http2.createServer();\n+ cons...
2019-11-18T19:45:55
vercel/next.js
1dffd3c02a87f55c3ef28578302acc8c826b77b1
fb3f045679c9288d50b85c1062652c664999d06a
remove HMR polling in favor of more targeted events (#54406) This removes the client-side polling logic that we're doing on every HMR tick in favor of events like `addedPage` / `removedPage`. It was leading to a lot of misc issues & confusion surrounding error/404 pages being polled needlessly. Instead this upda...
[ { "path": "packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -409,39 +409,6 @@ function processMessage(\n return\n }\n case 'pong': {\n- const { invalid } = obj\n- if (invalid) {\n- // Payload can be invalid even if the page does exis...
2023-08-23T23:25:57
electron/electron
ca4cbe34a09579b46b2c3dbb2fa1b72098c640cf
420f756c470f21f58d0095f2095602d4d8f6c0b4
don't convert header names to nested values fixes #6855
[ { "path": "atom/browser/net/atom_network_delegate.cc", "patch": "@@ -85,7 +85,7 @@ void ToDictionary(base::DictionaryValue* details,\n std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue);\n net::HttpRequestHeaders::Iterator it(headers);\n while (it.GetNext())\n- dict->SetString(i...
2016-08-16T00:15:47
huggingface/transformers
395a5ed3b317f07eeff2d74fcfbf86a43143a2b3
1cdae08e16cfb693b7a667a7e8d6bf32360f6782
Fix failing `MarianIntegrationTests` (#44519) Fix failing MarianMTModel tests
[ { "path": "tests/models/marian/test_modeling_marian.py", "patch": "@@ -404,8 +404,9 @@ def eos_token_id(self) -> int:\n def model(self):\n model: MarianMTModel = MarianMTModel.from_pretrained(self.model_name).to(torch_device)\n c = model.config\n- self.assertListEqual(c.bad_words_...
2026-03-09T14:10:29
golang/go
8b389eb2be2d66563669c74f6515b5f537542ce9
64b6e44ad7e4db4525b7f05be128bc7d8713afb8
reflect: derive correct Value method in panic messages methodName was brittle in that it assumed exactly where in the call stack the exported Value method is. This broke since recent inlining optimizations changed exactly which frame the exported method was located. Instead, iterate through a sufficient number of stac...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -3977,6 +3977,51 @@ func TestCallPanic(t *testing.T) {\n \tbadCall(func() { call(v.Field(7).Field(1).Elem().Method(0)) }) // .namedT2.t0.W\n }\n \n+func TestValuePanic(t *testing.T) {\n+\tvo := ValueOf\n+\tshouldPanic(\"reflect.Value.Addr of unaddressable va...
2022-04-18T17:05:24
nodejs/node
9590f577b03f621faf35f60e439b87431d293dee
df0f9e47ee96c85c94610a7f1071c97843f5ef9f
http2: allow to configure maximum tolerated invalid frames PR-URL: https://github.com/nodejs/node/pull/30534 Fixes: https://github.com/nodejs/node/issues/30505 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -1941,6 +1941,9 @@ error will be thrown.\n <!-- YAML\n added: v8.4.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/30534\n+ description: Added `maxSessionInvalidFrames` option with a default of 1000.\n - version: v13.0.0...
2019-11-18T19:44:21
huggingface/transformers
1cdae08e16cfb693b7a667a7e8d6bf32360f6782
70ca366fca24e57d1390eb35e32341a6a1ca142f
fix pin_memory for contiguous batching (#44455) * fix pin_memory for contiguous batching Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * use get_available_devices Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add comment Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiq...
[ { "path": "src/transformers/generation/continuous_batching/input_outputs.py", "patch": "@@ -20,6 +20,7 @@\n \n from transformers.configuration_utils import PretrainedConfig\n \n+from ...utils import get_available_devices\n from ...utils.metrics import traced\n from .cache import PagedAttentionCache\n from ....
2026-03-09T13:49:29
vercel/next.js
298bf9af2c7787b2096347ae6f3fed97770a489a
d9db98b592c511806a2a8046a5d3996558352a7d
fix(lint): turbo-ignore (vercel/turbo#5787)
[ { "path": "packages/devlow-bench/.eslintrc.cjs", "patch": "@@ -1,3 +1,3 @@\n module.exports = {\n- extends: [\"@turbo/eslint-config/library\"]\n+ extends: [\"@turbo/eslint-config/library\"],\n };", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "packages/devlow-benc...
2023-08-23T20:20:48
electron/electron
a3bd54a41a9b717d1fcbfec78990b629a55d5999
067aa3dbefd352de2b725d815b0fa89270dbc558
:shirt: fix lint line length error in remote_object_freer
[ { "path": "atom/common/api/remote_object_freer.cc", "patch": "@@ -53,7 +53,8 @@ RemoteObjectFreer::~RemoteObjectFreer() {\n }\n \n void RemoteObjectFreer::RunDestructor() {\n- content::RenderView* render_view = content::RenderView::FromRoutingID(routing_id_);\n+ content::RenderView* render_view =\n+ ...
2016-08-12T16:38:49
golang/go
64b6e44ad7e4db4525b7f05be128bc7d8713afb8
23f13255f0a5a3dd34ee31b64e45fa87efadcb43
cmd/compile: use dictionary to convert type to shaped interface type When we convert a type to a shaped interface type, we are not able to recognize the itab. So passing the itab by dictionary as the workaround. Fixes #52026. Change-Id: I75c23c7dd215daf9761dc24116a8af2c28c6d948 Reviewed-on: https://go-review.googles...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1325,8 +1325,8 @@ func (g *genInst) dictPass(info *instInfo) {\n \t\t\tmce := m.(*ir.ConvExpr)\n \t\t\t// Note: x's argument is still typed as a type parameter.\n \t\t\t// m's argument now has an instantiated type.\n-\t\t\tif mce.X.Type()....
2022-04-19T13:24:33
nodejs/node
df0f9e47ee96c85c94610a7f1071c97843f5ef9f
10f5fa75136b540487730b5c1852ea6ad795bb96
http2: replace direct array usage with struct for js_fields_ PR-URL: https://github.com/nodejs/node/pull/30534 Fixes: https://github.com/nodejs/node/issues/30505 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node_http2.cc", "patch": "@@ -647,7 +647,9 @@ Http2Session::Http2Session(Environment* env,\n {\n // Make the js_fields_ property accessible to JS land.\n Local<ArrayBuffer> ab =\n- ArrayBuffer::New(env->isolate(), js_fields_, kSessionUint8FieldCount);\n+ ArrayBuffer::N...
2019-11-18T17:07:33
huggingface/transformers
70ca366fca24e57d1390eb35e32341a6a1ca142f
0130c7da68a9bb888103cf6d7cb2fd0c9c3edf87
Fix continuous batching for multimodal models (#44436) * Fix continuous batching for multimodal models * Add continuous batching test for VLM * Fall back to regular generate for non-text-only models * Add warning when falling back from continuous batching --------- Co-authored-by: jiwon-jeong <jiwon-jeong@lotte.n...
[ { "path": "src/transformers/cli/serve.py", "patch": "@@ -807,6 +807,14 @@ def continuous_batching_chat_completion(self, req: dict, request_id: str) -> Str\n self.running_continuous_batching_manager = None\n \n model, processor = self.load_model_and_processor(model_id_and_revision)\n+...
2026-03-09T13:48:41
vercel/next.js
9834ab7e158e3a8f96ea0a637e339b1392e4ba85
06be3c6cf501fa6310c46505a5066aefc40b39de
Fix not found css not being preloaded while navigation (#53906) ### Problem One style of `not-found` has `precendence` property with "undefined" value, which can't be handled by React Float, then during navigation the style could not load properly, lead to the style missing in issue #53210. ### Solution Always enab...
[ { "path": "package.json", "patch": "@@ -82,6 +82,7 @@\n \"@next/swc\": \"workspace:*\",\n \"@next/third-parties\": \"workspace:*\",\n \"@opentelemetry/api\": \"1.4.1\",\n+ \"@picocss/pico\": \"1.5.10\",\n \"@svgr/webpack\": \"5.5.0\",\n \"@swc/cli\": \"0.1.55\",\n \"@swc/core\": \...
2023-08-23T13:07:30
huggingface/transformers
0130c7da68a9bb888103cf6d7cb2fd0c9c3edf87
deb7dcd97889bafec6acb0fb2f8ad679c3cc1161
Fix KeyError in _parse_type_hint when Union contains Any (#44525) fix: handle missing "type" key in Union subtype schema In _parse_type_hint, when processing Union types, the code accesses subtype["type"] without checking the key exists. Union types containing `Any` crash because _get_json_schema_type(Any) returns {}...
[ { "path": "src/transformers/utils/chat_template_utils.py", "patch": "@@ -114,7 +114,7 @@ def _parse_type_hint(hint: str) -> dict:\n if len(subtypes) == 1:\n # A single non-null type can be expressed directly\n return_dict = subtypes[0]\n- elif all(isinstance(subtype[\"...
2026-03-09T13:43:22
nodejs/node
74f819612f1e9a061bf5b12c419e0e9ac00652d6
b7cdeb8a3a39000944106ddcd8ebcd5d1a8a5486
fs: add ENFILE to rimraf retry logic Co-authored-by: Thang Tran <trankimthang279@gmail.com> Fixes: https://github.com/nodejs/node/issues/30482 Refs: https://github.com/nodejs/node/pull/30499 Refs: https://github.com/nodejs/node/issues/30580 PR-URL: https://github.com/nodejs/node/pull/30644 Reviewed-By: Anna Henningsen...
[ { "path": "doc/api/fs.md", "patch": "@@ -3225,7 +3225,8 @@ changes:\n description: The `maxBusyTries` option is renamed to `maxRetries`, and its\n default is 0. The `emfileWait` option has been removed, and\n `EMFILE` errors use the same retry logic as other errors. The...
2019-11-27T15:16:36
vercel/next.js
06be3c6cf501fa6310c46505a5066aefc40b39de
db72cb12d92d41d722e68b706bab01c5e2030120
Docs: Remove runtime configuration from /app docs (#54336) Remove runtime configuration from app docs as it's not available. Fixes: https://vercel.slack.com/archives/C03S9JCH2Q5/p1692029581031809
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/output.mdx", "patch": "@@ -39,7 +39,6 @@ Additionally, a minimal `server.js` file is also output which can be used instea\n \n > **Good to know**:\n >\n-> - `next.config.js` is read during `next build` and serialized into the `server.js` output file....
2023-08-23T12:42:50
huggingface/transformers
deb7dcd97889bafec6acb0fb2f8ad679c3cc1161
b8d6b845d18d57868e17ac6576799886ebe53171
Fix AssistantTracker.is_active() returning False after activation with empty lists (#44524) fix: use identity check in AssistantTracker.is_active() After activation, _rendered_blocks and _generation_indices are set to list arguments which may be empty []. The previous truthiness check returned False for empty lists, ...
[ { "path": "src/transformers/utils/chat_template_utils.py", "patch": "@@ -439,7 +439,7 @@ def _generation_support(self, context: jinja2.nodes.EvalContext, caller: jinja2.\n return rv\n \n def is_active(self) -> bool:\n- return self._rendered_blocks or self._generation_indices\n...
2026-03-09T13:35:35
golang/go
d24c65d8bfb24b7064d49ec49b418ef273dc17f2
89c0dd829f49c91eb2636bc2b24df0b1cdc74a1c
cmd/internal/notsha256: revert PPC64 removal, and fix PPC64 asm This reverts commit a41e37f56a4fc2523ac88a76bf54ba3e45dcf533, and updates the ASM usage to be go1.8 compliant. go 1.18 added support for using VR's in place of VSR arguments. The following transformations are made: XXLOR Vx, Vx, VSy -> XXLORQ VSx+32,...
[ { "path": "src/cmd/internal/notsha256/sha256block_decl.go", "patch": "@@ -2,8 +2,8 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build 386 || amd64\n-// +build 386 amd64\n+//go:build 386 || amd64 || ppc64le || ppc64\n+// +build 386 a...
2022-05-03T13:33:42
electron/electron
ee298ea0e33e6193e7b775f6af61daaec12a0bb8
58b391cb777c42f307f3180cc5df37f5181cb29f
webContents: fix value of contextMenu hasImageContents property
[ { "path": "atom/common/native_mate_converters/content_converter.cc", "patch": "@@ -104,7 +104,10 @@ v8::Local<v8::Value> Converter<ContextMenuParamsWithWebContents>::ToV8(\n dict.Set(\"srcURL\", params.src_url);\n dict.Set(\"mediaType\", params.media_type);\n dict.Set(\"mediaFlags\", MediaFlagsToV8(is...
2016-08-11T19:25:20
nodejs/node
4c77a76ad91aaa7c4560c00c298bfcc74e49f573
7e85f068a48b284a253abcb5eb3173320869b8fe
fs: remove rimraf's emfileWait option This commit removes the emfileWait option. EMFILE errors are now handled the same as any other retriable error. Refs: https://github.com/nodejs/node/issues/30580 PR-URL: https://github.com/nodejs/node/pull/30644 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James ...
[ { "path": "doc/api/fs.md", "patch": "@@ -3223,7 +3223,8 @@ changes:\n - version: REPLACEME\n pr-url: https://github.com/nodejs/node/pull/30644\n description: The `maxBusyTries` option is renamed to `maxRetries`, and its\n- default is 0.\n+ default is 0. The `emfileW...
2019-11-25T21:13:27
huggingface/transformers
b8d6b845d18d57868e17ac6576799886ebe53171
24ba4c843bc89fac6c1f229d01b204302db1143d
Fix and re-enable extra_state tests (#43510) * fix and re-enable extra_state tests Signed-off-by: Peter St. John <pstjohn@nvidia.com> * check loading info in tests Signed-off-by: Peter St. John <pstjohn@nvidia.com> --------- Signed-off-by: Peter St. John <pstjohn@nvidia.com> Co-authored-by: Cyril Vallez <cyril.va...
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -898,6 +898,11 @@ def set_param_for_module(\n module_path, _, param_name = target_name.rpartition(\".\")\n module_obj = model.get_submodule(module_path) if module_path else model\n \n+ if param_name == torch.nn.modules.module._EXTRA...
2026-03-09T12:05:29
vercel/next.js
ad556aee1bfca018b604517badc4252afb7a6d3b
1e3920c3dde6a96623205f968aee6e18db7843dc
Fix compilation of next/dynamic with `ssr: false` in App Router (#54411) For the server compilation, we currently transpile the dynamic import expression to `null` if `ssr` is disabled. However to make the Server Actions layer work (as it can be created again from a Client Component), we can't do that optimization....
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -216,7 +216,9 @@ where\n opts.is_server,\n match &opts.server_components {\n Some(config) if config.truthy() => match config {\n- react_server_components::Config::WithOptions(x) => x...
2023-08-23T12:15:31
golang/go
52bd1c4d6cc691aa60c71513695dba03062deb59
b9dee7e59b43376938128e6a3dc26d77719d193c
runtime: decrease STW pause for goroutine profile The goroutine profile needs to stop the world to get a consistent snapshot of all goroutines in the app. Leaving the world stopped while iterating over allgs leads to a pause proportional to the number of goroutines in the app (or its high-water mark). Instead, do onl...
[ { "path": "src/runtime/mfinal.go", "patch": "@@ -166,13 +166,16 @@ func runfinq() {\n \t\targRegs int\n \t)\n \n+\tgp := getg()\n+\tlock(&finlock)\n+\tfing = gp\n+\tunlock(&finlock)\n+\n \tfor {\n \t\tlock(&finlock)\n \t\tfb := finq\n \t\tfinq = nil\n \t\tif fb == nil {\n-\t\t\tgp := getg()\n-\t\t\tfing = ...
2022-02-18T18:56:16
nodejs/node
50ab2e3a77320ac7935407f1d0516ebfd5911742
141a6e34eed05577edf43ad085a74f330d0559cb
doc: fixup incorrect flag name reference PR-URL: https://github.com/nodejs/node/pull/30651 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -192,7 +192,7 @@ added: v8.5.0\n -->\n \n Enable latest experimental modules features (currently\n-`--experimental-conditional-exports` and `--experimental-self-resolve`).\n+`--experimental-conditional-exports` and `--experimental-resolve-self`).\n \n ### `--experime...
2019-11-26T06:27:24
huggingface/transformers
24ba4c843bc89fac6c1f229d01b204302db1143d
976d8cc98865e28d9d826447528441290d90df46
Fix ansi codes in loading reports when not connected to terminal (#44544) * fix * better
[ { "path": "src/transformers/utils/loading_report.py", "patch": "@@ -118,8 +118,8 @@ def _make_table(rows, headers):\n }\n \n \n-def _color(s, color):\n- \"\"\"Return color-formatted input `s` if `sys.stdout` is interactive, e.g. connected to a terminal.\"\"\"\n+def _style(s, color):\n+ \"\"\"Return co...
2026-03-09T11:52:14
golang/go
209942fa88ef49e98a0f36dbbfa74c936a8d0fad
7c404d59db3591a7c5854b38dc0f05fcb7ac0cff
runtime/pprof: add race annotations for goroutine profiles The race annotations for goroutine label maps covered the special type of read necessary to create CPU profiles. Extend that to include goroutine profiles. Annotate the copy involved in creating new goroutines. Fixes #50292 Change-Id: I10f69314e4f4eba85c5065...
[ { "path": "src/runtime/mprof.go", "patch": "@@ -818,6 +818,10 @@ func goroutineProfileWithLabels(p []StackRecord, labels []unsafe.Pointer) (n int\n \t\t})\n \t}\n \n+\tif raceenabled {\n+\t\traceacquire(unsafe.Pointer(&labelSync))\n+\t}\n+\n \tstartTheWorld()\n \treturn n, ok\n }", "additions": 4, "...
2022-02-14T20:16:22
vercel/next.js
c792baa7ceab68e5dbe4d6b3a242be889de4e9bf
0277ef0931ec5453ed7b1004da66e98c45bcaa01
Update `swc_core` to `v0.79.70` (#54368) ### What? Update swc_core to `v0.79.70` ### Why? To apply https://github.com/swc-project/swc/pull/7839 ### How? Closes WEB-1420 Fixes #54192
[ { "path": "Cargo.lock", "patch": "@@ -539,9 +539,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.53.66\"\n+version = \"0.53.67\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"4636d8aba8f471c2f95f208bdb5a5dea4b3c476d2980dd711f52e5a0a0b2...
2023-08-22T20:46:00
rust-lang/rust
eda2d0d2365d913022e9626acf9767fbf17f62e6
41c0c5b73cddbed636a1a48c8a38b7c66b8641cf
fix typos
[ { "path": "src/doc/rustc-dev-guide/src/serialization.md", "patch": "@@ -75,7 +75,7 @@ impl<D: Decoder> Decodable<D> for MyStruct {\n \n rustc has a lot of [arena allocated types].\n Deserializing these types isn't possible without access to the arena that they need to be allocated on.\n-The [`TyDecoder`] an...
2025-07-18T11:06:50
huggingface/transformers
976d8cc98865e28d9d826447528441290d90df46
de0c82d2d8d169ad6926e901136060939af17dfc
Follow-up typing checking fixes (#44500) - Do proper type check in case jax is installed. - Make sure older torch versions don't raise typing issues
[ { "path": "src/transformers/generation/continuous_batching/requests.py", "patch": "@@ -46,13 +46,13 @@ def get_device_and_memory_breakdown() -> tuple[torch.device, int, int, int]:\n torch.xpu.empty_cache()\n torch.xpu.synchronize()\n total_memory = torch.xpu.get_device_properties(dev...
2026-03-09T10:47:30
nodejs/node
5904dfcc9c70b79971ab09dacd711e5c13d7120c
f36331c1bfa4c4c202346b05dc3bd672f653e4df
doc: minor updates to releases.md PR-URL: https://github.com/nodejs/node/pull/30636 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anto Aravinth <anto.aravint...
[ { "path": "doc/releases.md", "patch": "@@ -32,7 +32,7 @@ official release builds for Node.js, hosted on <https://nodejs.org/>.\n * [17. Cleanup](#17-cleanup)\n * [18. Announce](#18-announce)\n * [19. Celebrate](#19-celebrate)\n-* [Major Releases](#major-Releases)\n+* [Major Releases](#major-releases)\...
2019-11-25T12:25:33
golang/go
7c404d59db3591a7c5854b38dc0f05fcb7ac0cff
bccce9028996502e62a92255d79d5e003fbae63b
runtime: store consistent total allocation stats as uint64 Currently the consistent total allocation stats are managed as uintptrs, which means they can easily overflow on 32-bit systems. Fix this by storing these stats as uint64s. This will cause some minor performance degradation on 32-bit systems, but there really ...
[ { "path": "src/runtime/mcache.go", "patch": "@@ -159,18 +159,18 @@ func (c *mcache) refill(spc spanClass) {\n \n \t\t// Count up how many slots were used and record it.\n \t\tstats := memstats.heapStats.acquire()\n-\t\tslotsUsed := uintptr(s.allocCount) - uintptr(s.allocCountBeforeCache)\n-\t\tatomic.Xaddui...
2022-05-03T19:28:25
huggingface/transformers
6a9b2c0c635ffa6d544d5034ea777e2e72c88013
701628527ae1ef37473f05f5d94fac7f457a3f8f
Fix backend dependency (#44542) fix
[ { "path": "src/transformers/models/higgs_audio_v2_tokenizer/modeling_higgs_audio_v2_tokenizer.py", "patch": "@@ -36,6 +36,7 @@\n from .configuration_higgs_audio_v2_tokenizer import HiggsAudioV2TokenizerConfig\n \n \n+@requires(backends=(\"torchaudio\",))\n @auto_docstring\n class HiggsAudioV2TokenizerPreTra...
2026-03-09T10:01:00
vercel/next.js
0277ef0931ec5453ed7b1004da66e98c45bcaa01
96a59344e8e1b5a95314f405f2fbf825cf3f1476
Fix swc compiling of client components when directive appears later than exports (#54392) When `"use client"` directive appears after other statements, it should be ignored instead of treat as client components. There's a bug inside swc transform that we should mark the directives detection is "finished" after othe...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -222,6 +222,7 @@ impl<C: Comments> ReactServerComponents<C> {\n },\n })\n }\n+ finished_directives = true;\n }\n ...
2023-08-22T18:40:11
rust-lang/rust
cdc3d701cb4ff37e9d0c96c1c68b2e8789c19441
879f62bb3c23b7a90ac71bb217056fd49ff8dafb
Don't reject *multiple* relaxed bounds, reject *duplicate* ones. Having multiple relaxed bounds like `?Sized + ?Iterator` is actually *fine*. We actually want to reject *duplicate* relaxed bounds like `?Sized + ?Sized` because these most certainly represent a user error. Note that this doesn't mean that we accept mor...
[ { "path": "compiler/rustc_error_codes/src/error_codes/E0203.md", "patch": "@@ -1,15 +1,15 @@\n-Having multiple relaxed default bounds is unsupported.\n+Having duplicate relaxed default bounds is unsupported.\n \n Erroneous code example:\n \n ```compile_fail,E0203\n-struct Bad<T: ?Sized + ?Send>{\n- inner...
2025-07-18T10:24:56
nodejs/node
f36331c1bfa4c4c202346b05dc3bd672f653e4df
7f94fe004062ab2f5c84a927bfaf9c2ed2c06968
doc,deps: document how to maintain ICU in Node.js - update v8 guide to mention ICU - move content from the tools/icu/README.md but leave a pointer Fixes: https://github.com/nodejs/node/issues/26108 Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> PR-URL: https://github.com/nodejs/node/pull/30607 Reviewed-By: ...
[ { "path": "doc/guides/maintaining-V8.md", "patch": "@@ -313,6 +313,10 @@ Node.js keeps a vendored copy of V8 inside of the deps/ directory. In addition,\n Node.js may need to float patches that do not exist upstream. This means that\n some care may need to be taken to update the vendored copy of V8.\n \n+V8...
2019-11-22T23:10:01
huggingface/transformers
fefc3fa205aae3fb44127142e0771b0c8762ee46
4ffdc394cca2e3e63d3d72e1fa9e41f2aee6030e
Fixed typo in docs/source/en/kv_cache.md (#44501) Resolves: #44492
[ { "path": "docs/source/en/kv_cache.md", "patch": "@@ -67,7 +67,7 @@ out = model.generate(**inputs, do_sample=False, max_new_tokens=20, past_key_valu\n \n ## Fixed-size cache\n \n-The default [`DynamicCache`] prevents you from taking advantage of most just-in-time (JIT) optimizations because the cache size i...
2026-03-06T20:05:36
golang/go
884530b374501b997422d08833c2a21966bd1069
5a103ca5e9e67414f5307b3993c1c34e531b26a8
cmd/compile: mark shape type dupok Fixes #52633 Change-Id: I3f19804cd7c00cee7e365062402c264d84b596c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/403316 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@golang.org> TryBot-Result: G...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1199,10 +1199,10 @@ func writeType(t *types.Type) *obj.LSym {\n \n \t// Note: DUPOK is required to ensure that we don't end up with more\n \t// than one type descriptor for a given type, if the type descriptor\n-\t// can be defined i...
2022-04-30T16:11:13
rust-lang/rust
879f62bb3c23b7a90ac71bb217056fd49ff8dafb
84ed70b69daa6865d3713d36fabad90a2fb96afd
Reword diagnostic about relaxing non-`Sized` bound * The phrasing "only does something for" made sense back when this diagnostic was a (hard) warning. Now however, it's simply a hard error and thus completely rules out "doing something". * The primary message was way too long * The new wording more closely mirrors...
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs", "patch": "@@ -85,17 +85,17 @@ fn search_bounds_for<'tcx>(\n }\n }\n \n-fn collect_unbounds<'tcx>(\n+fn collect_relaxed_bounds<'tcx>(\n hir_bounds: &'tcx [hir::GenericBound<'tcx>],\n self_ty_where_predicates: Option<(LocalDefI...
2025-06-19T16:41:57
vercel/next.js
96a59344e8e1b5a95314f405f2fbf825cf3f1476
c89f97ea56182af23f4ad7e215a8c33224094fd8
fix(app): enable React Strict Mode by default (#53375) ### What? Let Next.js enable React Strict Mode by default for the App Router. This caught a bug with the `AppRouterAnnouncer` added in #47018 which should be fixed as well. ### Why? This logic: https://github.com/vercel/next.js/blob/a0d1d728b9003...
[ { "path": "packages/next/src/client/components/app-router-announcer.tsx", "patch": "@@ -57,7 +57,10 @@ export function AppRouterAnnouncer({ tree }: { tree: FlightRouterState }) {\n \n // Only announce the title change, but not for the first load because screen\n // readers do that automatically.\n- ...
2023-08-22T18:17:17
electron/electron
0b624315b27dd0f31fcb8061397368a652c14a9c
5b07e8dd5b1f88b777a5b132d30770c51f5a0cfc
Fix attribute typo in docs
[ { "path": "docs/api/web-contents.md", "patch": "@@ -185,7 +185,7 @@ Returns:\n \n * `event` Event\n * `url` String\n-* `isMainPage` Boolean\n+* `isMainFrame` Boolean\n \n Emitted when an in-page navigation happened.\n ", "additions": 1, "deletions": 1, "language": "Markdown" }, { "path":...
2016-08-11T15:49:56
nodejs/node
6d022c13c52fc0134ed6c79be520be8c84c58cf8
ebb177ee22eda9ff1459e8c82d4d1e0b3987428e
test: skip test-domain-error-types in debug mode temporariliy Until https://github.com/nodejs/node/issues/30498 is resolved, skip test-domain-error-types on debug builds. PR-URL: https://github.com/nodejs/node/pull/30629 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/parallel/parallel.status", "patch": "@@ -33,3 +33,7 @@ test-async-hooks-http-parser-destroy: PASS,FLAKY\n [$system==freebsd]\n \n [$system==aix]\n+\n+[$mode==debug]\n+# https://github.com/nodejs/node/issues/30498\n+test-domain-error-types: PASS,FLAKY", "additions": 4, "deletions": 0,...
2019-11-24T17:42:17
huggingface/transformers
4ffdc394cca2e3e63d3d72e1fa9e41f2aee6030e
6f8bc991d33c34bd75a05e79df8b8955eeea7d49
Docs: fix SigLIP2 usage examples (#43641) * Docs: fix SigLIP2 usage examples Use torch_dtype instead of dtype in pipeline/from_pretrained examples and keep processor/model IDs consistent in the quantization snippet. Ref: #39692 * Use dtype in SigLIP2 pipeline example * Use dtype in SigLIP2 AutoModel examples ----...
[ { "path": "docs/source/en/model_doc/siglip2.md", "patch": "@@ -284,4 +284,4 @@ inputs = tokenizer(\n ## Siglip2Tokenizer\n \n [[autodoc]] Siglip2Tokenizer\n- - __call__\n\\ No newline at end of file\n+ - __call__", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2026-03-06T20:02:56
rust-lang/rust
12b19be741ea07934d7478bd8e450dca8f85afe5
63e1074c97b60d248f86321f021871f93ba10c31
Pass wasm exception model to TargetOptions This is no longer implied by -wasm-enable-eh.
[ { "path": "compiler/rustc_codegen_llvm/src/back/owned_target_machine.rs", "patch": "@@ -39,6 +39,7 @@ impl OwnedTargetMachine {\n debug_info_compression: &CStr,\n use_emulated_tls: bool,\n args_cstr_buff: &[u8],\n+ use_wasm_eh: bool,\n ) -> Result<Self, LlvmError<'static>>...
2025-07-11T08:11:03
golang/go
5a103ca5e9e67414f5307b3993c1c34e531b26a8
8a5845e4e34c046758af3729acf9221b8b6c01ae
cmd/compile: fix bit length intrinsic for 16/8 bits on GOAMD64=v3 Upper bits of registers for uint8/uint16 are junk. Make sure we mask those off before using LZCNT (leading zeros count). Fixes #52681 Change-Id: I0ca9e62f23bcb1f6ad2a787fa9895322afaa2533 Reviewed-on: https://go-review.googlesource.com/c/go/+/403815 Tr...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -105,7 +105,9 @@\n (BitLen8 x) && buildcfg.GOAMD64 < 3 => (BSRL (LEAL1 <typ.UInt32> [1] (MOVBQZX <typ.UInt32> x) (MOVBQZX <typ.UInt32> x)))\n (BitLen64 <t> x) && buildcfg.GOAMD64 >= 3 => (NEGQ (ADDQconst <t> [-64] (LZCNTQ x)))\n...
2022-05-03T17:40:34
vercel/next.js
c89f97ea56182af23f4ad7e215a8c33224094fd8
705b2ef2d4eb504aca5d7b9e015479fcaad1b624
Fix data route ordering in dev (#54364) Previously we were appending the data routes to the dynamic routes array which didn't ensure the data routes come before the normal dynamic routes allowing a catch-all to override the data route. Fixes: https://github.com/vercel/next.js/issues/53887
[ { "path": "packages/next/src/server/lib/router-utils/setup-dev.ts", "patch": "@@ -1246,10 +1246,12 @@ async function startWatcher(opts: SetupOpts) {\n })\n .filter(Boolean) as any\n \n+ const dataRoutes: typeof opts.fsChecker.dynamicRoutes = []\n+\n for (const page of sort...
2023-08-22T17:19:54
huggingface/transformers
6f8bc991d33c34bd75a05e79df8b8955eeea7d49
a1101f3aab7c0230873d8a5763f07164f633750a
Fix type checker (#44502) fix
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -505,7 +505,7 @@ def is_torch_bf16_gpu_available() -> bool:\n if is_torch_musa_available():\n return torch.musa.is_bf16_supported() if hasattr(torch, \"musa\") else False\n if is_torch_mlu_available():\n- return torch.ml...
2026-03-06T17:09:34
nodejs/node
bcb419c0e5c15082c816d1bda4dd35270e25ed1c
9240e54404c5de325db60f8c1ad5e92483cd190b
lib: replace var w/ let replace var w/ let in lib/internal/error-serdes.js PR-URL: https://github.com/nodejs/node/pull/30386 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> ...
[ { "path": "lib/internal/error-serdes.js", "patch": "@@ -54,7 +54,7 @@ function TryGetAllProperties(object, target = object) {\n function GetConstructors(object) {\n const constructors = [];\n \n- for (var current = object;\n+ for (let current = object;\n current !== null;\n current = ObjectGetPr...
2019-11-12T15:02:37
huggingface/transformers
03d0496893fb2b8f94379c1a87a451ec680d7453
821e3fbdfd117951089ab994e6626fb5ceb331ff
fix model parallelism bug for eurobert model (#44490) Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
[ { "path": "src/transformers/models/eurobert/modeling_eurobert.py", "patch": "@@ -512,6 +512,7 @@ def forward(\n if attention_mask is None:\n pooled_output = last_hidden_state.mean(dim=1)\n else:\n+ attention_mask = attention_mask.to(last...
2026-03-06T14:16:40
golang/go
8a5845e4e34c046758af3729acf9221b8b6c01ae
35d02791b990082fe80da54352050bd095ebd1e7
encoding/base32: decoder output depends on chunking of underlying reader After an analysis, I figured that a way to do it could be to check, after the call to readEncodedData whether the decoder already saw the end or not. Fixes #38657 Change-Id: I06fd718ea4ee6ded2cb26c2866b28581ad86e271 GitHub-Last-Rev: d0b7bb38e43...
[ { "path": "src/encoding/base32/base32.go", "patch": "@@ -445,6 +445,9 @@ func (d *decoder) Read(p []byte) (n int, err error) {\n \tif d.nbuf < min {\n \t\treturn 0, d.err\n \t}\n+\tif nn > 0 && d.end {\n+\t\treturn 0, CorruptInputError(0)\n+\t}\n \n \t// Decode chunk into p, or d.out and then p if p is too ...
2022-05-03T09:54:48
vercel/next.js
83394b900b56e8fdedca37c0b715aea6a04d2008
9ca82f68ed304ae95cf44d510f299c0e816bf747
Docs: Document `manifest` metadata file (#54380) Add missing docs for `manifest` metadata file. Fixes: https://github.com/vercel/next.js/issues/54296
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/manifest.mdx", "patch": "@@ -0,0 +1,173 @@\n+---\n+title: manifest.json\n+description: API Reference for manifest.json file.\n+---\n+\n+Add or generate a `manifest.(json|webmanifest)` file that matches the [Web Manifest Specification](h...
2023-08-22T14:35:41
electron/electron
1dbaec0edd919b9c0e51226a6e7127d911de4c31
fa483e1fe012f873ad9812a67a66e2b7dbb570c6
Use ToDetailString for processing error message
[ { "path": "native_mate/arguments.cc", "patch": "@@ -11,16 +11,11 @@ namespace mate {\n \n namespace {\n \n-std::string V8TypeAsString(v8::Local<v8::Value> value) {\n- if (value.IsEmpty())\n- return \"<empty handle>\";\n- if (value->IsUndefined())\n- return \"undefined\";\n- if (value->IsNull())\n- ...
2016-08-10T16:34:33
nodejs/node
d67c37725adebfbdee6cb78ea4261833448ddf4c
a50cc2ed0eecf89713ea11c64b00dee416c88362
doc: add note of caution about non-conforming streams PR-URL: https://github.com/nodejs/node/pull/29895 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-...
[ { "path": "doc/api/stream.md", "patch": "@@ -1692,6 +1692,13 @@ of a stream that are intended for use by consumers (as described in the\n [API for Stream Consumers][] section). Doing so may lead to adverse side effects\n in application code consuming the stream.\n \n+Avoid overriding public methods such as ...
2019-10-09T06:45:00
huggingface/transformers
821e3fbdfd117951089ab994e6626fb5ceb331ff
cb17d70d826be788f9fd7a9bc19aa7e7bbd56bf0
Update `ty` to 0.0.20 (#44494) - updates ty to 0.2.0 - pinned regex package (older versions did not have typing stubs) - fixed a couple of typing failures that went through via other parallel branches
[ { "path": "setup.py", "patch": "@@ -119,12 +119,12 @@\n \"pytest-xdist\",\n \"pytest-order\",\n \"python>=3.10.0\",\n- \"regex!=2019.12.17\",\n+ \"regex>=2025.10.22\",\n \"rhoknp>=1.1.0,<1.3.1\",\n \"rjieba\",\n \"rouge-score!=0.0.7,!=0.0.8,!=0.1,!=0.1.1\",\n \"ruff==0.14.1...
2026-03-06T13:30:23
golang/go
61a585a32cc44cb1d8d00d12dcf101a61f145d69
e7508598bb8007ec2a04cb25a6076643af05c033
os/exec: in Command, update cmd.Path even if LookPath returns an error Fixes #52666. Updates #43724. Updates #43947. Change-Id: I72cb585036b7e93cd7adbff318b400586ea97bd5 Reviewed-on: https://go-review.googlesource.com/c/go/+/403694 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Tr...
[ { "path": "src/os/exec/exec.go", "patch": "@@ -19,7 +19,7 @@\n // They may not run on Windows, and they do not run in the Go Playground\n // used by golang.org and godoc.org.\n //\n-// Executables in the current directory\n+// # Executables in the current directory\n //\n // The functions Command and LookPa...
2022-05-03T14:01:35
electron/electron
2a0eb72334e10e9b67bec0633c96fffe86407a06
ce0165367cb92206fcfb224ebce6848b4c642a43
Add asserts for crash report APIs
[ { "path": "spec/api-crash-reporter-spec.js", "patch": "@@ -10,7 +10,7 @@ const app = remote.require('electron').app\n const crashReporter = remote.require('electron').crashReporter\n const BrowserWindow = remote.require('electron').BrowserWindow\n \n-describe('crash-reporter module', function () {\n+describ...
2016-08-09T22:41:46
vercel/next.js
5584e5743aa2fce513a8500479b9889f5c53d5a5
f0ff3c468ccd3b7d399cb14aeeb6d5b8b33b4413
Merge app renderer process (#54143) This PR merges the app renderer worker into the router process. This improves the memory overhead mostly. There're future work to do to get rid of the IPC server for router and app renderer, as they're now merged in one process. Fixes NEXT-1492
[ { "path": "packages/next-env/index.ts", "patch": "@@ -26,8 +26,12 @@ type Log = {\n \n function replaceProcessEnv(sourceEnv: Env) {\n Object.keys(process.env).forEach((key) => {\n- if (sourceEnv[key] === undefined || sourceEnv[key] === '') {\n- delete process.env[key]\n+ // Allow mutating inter...
2023-08-22T12:38:42
rust-lang/rust
cadcc1ce7137e63c70740e6cc3897557094382af
bf5e6cc7a7a7eb03e3ed9b875d76530eddd47d5f
bootstrap: Ignore `rust.debuginfo-level-tests` for codegen tests codegen tests typically depend on the raw LLVM IR output and are sensitive to debuginfo level. So do not apply `rust.debuginfo-level-tests` for codegen tests. Before this commit: $ ./x test --set rust.debuginfo-level-tests=2 tests/codegen --force-r...
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -1810,7 +1810,24 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the\n }\n \n let mut flags = if is_rustdoc { Vec::new() } else { vec![\"-Crpath\".to_string()] };\n- flags.push(format!...
2025-07-17T18:14:16
golang/go
f01c20bf2ba889e5c9e3565175cc4276f9c11516
91f863013e6b5ba870f6bfbfda0b735cf54fb3ca
runtime/debug: export SetMemoryLimit This change also adds an end-to-end test for SetMemoryLimit as a testprog. Fixes #48409. Change-Id: I102d64acf0f36a43ee17b7029e8dfdd1ee5f057d Reviewed-on: https://go-review.googlesource.com/c/go/+/397018 Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Knyszek <...
[ { "path": "api/next/48409.txt", "patch": "@@ -0,0 +1 @@\n+pkg runtime/debug, func SetMemoryLimit(int64) int64 #48409", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/runtime/debug/garbage.go", "patch": "@@ -87,7 +87,11 @@ func ReadGCStats(stats *GCStats) {...
2022-03-30T22:18:43
electron/electron
dd79c713029e0cf3801cff26c69b706626a18779
81244c2221014fcaf159bfeefe5cd393586d25d7
Style fixes for SetProgressBar
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -905,7 +905,7 @@ gfx::NativeWindow NativeWindowViews::GetNativeWindow() {\n }\n \n void NativeWindowViews::SetProgressBar(\n- double progress, const std::string& mode) {\n+ double progress, const std::string& mode) {\n #if defined(OS_WIN)\n ...
2016-08-09T12:02:14
vercel/next.js
d9db98b592c511806a2a8046a5d3996558352a7d
ff8c53be5c20572b0448bf585a5bf46c9e78e6ee
chore(linting): fix lint and consolidate configs (vercel/turbo#5752)
[ { "path": "packages/devlow-bench/.eslintrc.cjs", "patch": "@@ -0,0 +1,3 @@\n+module.exports = {\n+ extends: [\"@turbo/eslint-config/library\"]\n+};", "additions": 3, "deletions": 0, "language": "Unknown" }, { "path": "packages/devlow-bench/package.json", "patch": "@@ -6,6 +6,7 @@\n ...
2023-08-22T11:34:16
nodejs/node
0646eda4fc0affb98e13c30acb522e63b7fd6dde
35c6e0cc2b56a5380e6808ef5603ecc2b167e032
lib: flatten access to primordials Store all primordials as properties of the primordials object. Static functions are prefixed by the constructor's name and prototype methods are prefixed by the constructor's name followed by "Prototype". For example: primordials.Object.keys becomes primordials.ObjectKeys. PR-URL: h...
[ { "path": "lib/_http_agent.js", "patch": "@@ -22,11 +22,9 @@\n 'use strict';\n \n const {\n- Object: {\n- setPrototypeOf: ObjectSetPrototypeOf,\n- keys: ObjectKeys,\n- values: ObjectValues\n- }\n+ ObjectKeys,\n+ ObjectSetPrototypeOf,\n+ ObjectValues,\n } = primordials;\n \n const net = require...
2019-11-22T17:04:46
huggingface/transformers
cb17d70d826be788f9fd7a9bc19aa7e7bbd56bf0
4f91111b8ef37bd227f33c7facb92c41aa77604d
Add auto-docstring on configs (#44296) * seems to work like this * update more models * update more models * and more * more * add more model * more * update * update * more * all args are in auto file now * a bit more * update * last bacth * leftovers * fix repo * fix modular docs * fix repo * updat...
[ { "path": "src/transformers/models/afmoe/configuration_afmoe.py", "patch": "@@ -15,98 +15,29 @@\n \n from ...configuration_utils import PreTrainedConfig, layer_type_validation\n from ...modeling_rope_utils import RopeParameters\n-from ...utils import logging\n+from ...utils import auto_docstring, logging\n ...
2026-03-06T11:58:10
golang/go
91f863013e6b5ba870f6bfbfda0b735cf54fb3ca
b4d81147d8dc26c8f7d6822b6249311d569af1de
runtime: redesign scavenging algorithm Currently the runtime's scavenging algorithm involves running from the top of the heap address space to the bottom (or as far as it gets) once per GC cycle. Once it treads some ground, it doesn't tread it again until the next GC cycle. This works just fine for the background sca...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -968,7 +968,6 @@ func NewPageAlloc(chunks, scav map[ChunkIdx][]BitRange) *PageAlloc {\n \tp.init(new(mutex), testSysStat)\n \tlockInit(p.mheapLock, lockRankMheap)\n \tp.test = true\n-\n \tfor i, init := range chunks {\n \t\taddr := chunkBase(chunkIdx(i))\...
2022-04-10T20:34:17
huggingface/transformers
4f91111b8ef37bd227f33c7facb92c41aa77604d
d5e555a632682555332c3c8e938461efd49d52b9
Fix failed unit tests for moonshine_streaming model (#43936)
[ { "path": "src/transformers/models/moonshine_streaming/modeling_moonshine_streaming.py", "patch": "@@ -822,7 +822,7 @@ def forward(\n position_embeddings = self.pos_emb(\n torch.arange(encoder_hidden_states.shape[1], device=encoder_hidden_states.device)\n )\n- encoder_hidd...
2026-03-06T07:39:08
electron/electron
a5351407c5f353498d7491e87b6862865295d8f8
38cc56efee6d3ba6a685c3a698b7bf7589d42420
Fixing indentation
[ { "path": "atom/browser/api/atom_api_system_preferences_mac.mm", "patch": "@@ -45,8 +45,8 @@\n [NSDistributedNotificationCenter defaultCenter];\n [center\n postNotificationName:base::SysUTF8ToNSString(name)\n- object:nil\n- userInfo:DictionaryValueToNSDictionary(user_info)\n+ ...
2016-08-09T09:57:02
vercel/next.js
f0ff3c468ccd3b7d399cb14aeeb6d5b8b33b4413
f6d2aa09de786bddba18faa9efc05d6fcbc23536
Docs: Update template.js section (#54370) Fixes: https://vercel.slack.com/archives/C03S9JCH2Q5/p1692619927373449 - Updates wording on nesting, to say it's not the actual output, but rather how `template.js` nests between `layout.js` and its children. - Remove mention of animations, needs further clarification.
[ { "path": "docs/02-app/01-building-your-application/01-routing/02-pages-and-layouts.mdx", "patch": "@@ -206,13 +206,10 @@ Templates are similar to layouts in that they wrap each child layout or page. Un\n \n There may be cases where you need those specific behaviors, and templates would be a more suitable o...
2023-08-22T09:05:38
nodejs/node
84a95b82204a987fb3fc859e757a8c0df004a1f0
ce4f97c779711aa457db5f0e8816f3c640825bfd
doc: add note about debugging worker_threads PR-URL: https://github.com/nodejs/node/pull/30594 Fixes: https://github.com/nodejs/node/issues/30197 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Pu...
[ { "path": "doc/api/debugger.md", "patch": "@@ -197,5 +197,10 @@ debugging sessions.)\n If the Chrome browser is older than 66.0.3345.0,\n use `inspector.html` instead of `js_app.html` in the above URL.\n \n+Chrome DevTools doesn't support debugging [Worker Threads][] yet.\n+[ndb][] can be used to debug them...
2019-11-22T17:29:58
huggingface/transformers
d8526c5052ea28af394f04c74b0fde3ffb57c3b6
1118de0e4953ce96e183ffa90a41c507669ba652
[vLLM] Fix backward compatibility with hardcoded subprocessors classes in processors (#44447) * Fix compatibility with hardcoded subprocessor class in processors * add deprecation warning
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1521,6 +1521,14 @@ def _get_arguments_from_pretrained(cls, pretrained_model_name_or_path, processor\n elif is_primary:\n # Primary non-tokenizer sub-processor: load via Auto class\n auto_processor_cla...
2026-03-05T16:07:28
vercel/next.js
f6d2aa09de786bddba18faa9efc05d6fcbc23536
ca2785743c110a3020e6f91fd87d83505c643ac5
fix: minimum node version 16.14.0 (#54331) - Fixes https://github.com/vercel/next.js/issues/54269 - Related to https://github.com/vercel/next.js/pull/54285
[ { "path": ".github/actions/next-stats-action/package.json", "patch": "@@ -19,7 +19,7 @@\n \"typescript\": \"5.1.6\"\n },\n \"engines\": {\n- \"node\": \">=16.8.0\",\n+ \"node\": \">=16.14.0\",\n \"pnpm\": \"8.6.11\"\n },\n \"packageManager\": \"pnpm@8.6.11\"", "additions": 1, "...
2023-08-22T08:58:53
nodejs/node
1faa45fd4180da7839874fecd192a4f6bc6cbb36
d3b658865cb85efb138ec8bd639f4af5665bf1cf
test: changed var to let in module-errors PR-URL: https://github.com/nodejs/node/pull/30413 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat ...
[ { "path": "test/parallel/test-vm-module-errors.js", "patch": "@@ -198,7 +198,7 @@ async function checkExecution() {\n // Check for error thrown when breakOnSigint is not a boolean for evaluate()\n async function checkInvalidOptionForEvaluate() {\n await assert.rejects(async () => {\n- const m = new Sou...
2019-11-12T15:22:50
golang/go
129dcb7226678d8ccd06c016de3fcfcc43b9aa9c
473c99643f3da2b02949554a66d8582c926ed725
runtime: check the heap goal and trigger dynamically As it stands, the heap goal and the trigger are set once by gcController.commit, and then read out of gcController. However with the coming memory limit we need the GC to be able to respond to changes in non-heap memory. The simplest way of achieving this is to comp...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1281,10 +1281,11 @@ func NewGCController(gcPercent int) *GCController {\n }\n \n func (c *GCController) StartCycle(stackSize, globalsSize uint64, scannableFrac float64, gomaxprocs int) {\n+\ttrigger, _ := c.trigger()\n \tc.scannableStackSize = stackSize\...
2022-03-21T21:27:06
huggingface/transformers
1118de0e4953ce96e183ffa90a41c507669ba652
f4825d59e7b828658d3915e652a81f4ae8645aff
[remote code/vllm] Fix incorrect tied weights (#44469) fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4609,11 +4609,13 @@ def mark_tied_weights_as_initialized(self, loading_info):\n # Note: this is never an issue in main Transformers, as we never do module-tying, only parameter-tying, and we know\n # which params are supposed to b...
2026-03-05T15:07:53
vercel/next.js
d54ed07b3cb846a93a56e842f79cae046f2ca8bf
ffe2d0400bf8ac457cc4a9890e21a88cc443b289
Fix missing locale info for middleware data request (#54357) This ensures we properly populate locale information with `skipMiddlewareUrlNormalize` enabled as we shouldn't provide incorrect values even if we are skipping normalizing. Fixes: https://github.com/vercel/next.js/issues/53646
[ { "path": "packages/next/src/shared/lib/router/utils/get-next-pathname-info.ts", "patch": "@@ -64,9 +64,9 @@ export function getNextPathnameInfo(\n info.pathname = removePathPrefix(info.pathname, basePath)\n info.basePath = basePath\n }\n+ let pathnameNoDataPrefix = info.pathname\n \n if (\n- ...
2023-08-21T22:34:42
huggingface/transformers
b923fd1d63652b1e442f62c51391bc9d1e1f6f8d
23863c5413f9743cf2c9f33318ac06cfe41a5116
Fix failing `DepthProModelIntegrationTest` (#44456) Fix failing DepthProModelIntegrationTest
[ { "path": "tests/models/depth_pro/test_modeling_depth_pro.py", "patch": "@@ -311,7 +311,7 @@ class DepthProModelIntegrationTest(unittest.TestCase):\n def test_inference_depth_estimation(self):\n model_path = \"apple/DepthPro-hf\"\n image_processor = DepthProImageProcessor.from_pretrained...
2026-03-05T14:52:40
nodejs/node
e4812d62ebc7830d20872da44cfa4539d7ff0125
0d285276f8028fdeb2c16ad47e09e9cd022f3a90
src: fix -Wsign-compare warnings This commit addresses the following compilation warnings: ../src/node_crypto.cc:5053:3: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] CHECK_EQ(n, BN_bn2binpad(r, data, n)); ../src/node_crypto.cc:5054:3: warning: comparison of integers...
[ { "path": "src/node_crypto.cc", "patch": "@@ -5050,8 +5050,8 @@ static AllocatedBuffer ConvertSignatureToP1363(Environment* env,\n \n const BIGNUM* r = ECDSA_SIG_get0_r(asn1_sig);\n const BIGNUM* s = ECDSA_SIG_get0_s(asn1_sig);\n- CHECK_EQ(n, BN_bn2binpad(r, data, n));\n- CHECK_EQ(n, BN_bn2binpad(s, d...
2019-11-20T19:26:38
golang/go
473c99643f3da2b02949554a66d8582c926ed725
375d696ddf102d64729a21f931f4e1d8bfa82ce5
runtime: rewrite pacer max trigger calculation Currently the maximum trigger calculation is totally incorrect with respect to the comment above it and its intent. This change rectifies this mistake. For #48409. Change-Id: Ifef647040a8bdd304dd327695f5f315796a61a74 Reviewed-on: https://go-review.googlesource.com/c/go/...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1262,6 +1262,7 @@ const Raceenabled = raceenabled\n const (\n \tGCBackgroundUtilization = gcBackgroundUtilization\n \tGCGoalUtilization = gcGoalUtilization\n+\tDefaultHeapMinimum = defaultHeapMinimum\n )\n \n type GCController struct {", "...
2022-04-07T17:51:05
huggingface/transformers
23863c5413f9743cf2c9f33318ac06cfe41a5116
df8b60222590ae4e563306dd35bbd3a1f8a3122f
[timesfm2_5] fix loss scaling (#44465) fix loss scaling
[ { "path": "src/transformers/models/timesfm2_5/modeling_timesfm2_5.py", "patch": "@@ -844,14 +844,17 @@ def _flip_quantiles(x: torch.Tensor) -> torch.Tensor:\n loss = None\n if future_values is not None:\n target_len = future_values.shape[1]\n- valid_mean_predictions = ...
2026-03-05T14:43:54
vercel/next.js
ffe2d0400bf8ac457cc4a9890e21a88cc443b289
895f104b3a993faadf1bb8495627b3fee23b4caa
Polyfill Array.prototype.at (#44436) fixes issue #44141 , discussion #44148 This is missing and has caused me issues in production. Seems like a great polyfill to have, given that Next already polyfills so many adjacent Array methods. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration test...
[ { "path": "packages/eslint-plugin-next/src/rules/no-unwanted-polyfillio.ts", "patch": "@@ -3,6 +3,7 @@ import { defineRule } from '../utils/define-rule'\n // Keep in sync with next.js polyfills file : https://github.com/vercel/next.js/blob/master/packages/next-polyfill-nomodule/src/index.js\n const NEXT_POL...
2023-08-21T22:09:14
nodejs/node
c13f8fc80e321a8302cff285f953c4203d86b26a
ac43427ba70740265923488899ad2d175d40ec41
test: remove string literal as message in strictEqual() in stream test This reveals the values that cause the assertion error, should it happen. PR-URL: https://github.com/nodejs/node/pull/30561 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "test/sequential/test-stream-writable-clear-buffer.js", "patch": "@@ -26,9 +26,8 @@ for (let i = 1; i <= 5; i++) {\n testStream.write(i, () => {\n assert.strictEqual(\n testStream._writableState.bufferedRequestCount,\n- testStream._writableState.getBuffer().length,\n- 'buffer...
2019-11-20T18:00:07
golang/go
d36d5bd3c1906d3581ac4ac0d8a1a0eb4b5b16c4
4649a439035a0634109f11f7ac25e4e7184b5598
runtime: clean up inconsistent heap stats The inconsistent heaps stats in memstats are a bit messy. Primarily, heap_sys is non-orthogonal with heap_released and heap_inuse. In later CLs, we're going to want heap_sys-heap_released-heap_inuse, so clean this up by replacing heap_sys with an orthogonal metric: heapFree. h...
[ { "path": "src/runtime/malloc.go", "patch": "@@ -565,7 +565,8 @@ func (h *mheap) sysAlloc(n uintptr) (v unsafe.Pointer, size uintptr) {\n \tn = alignUp(n, heapArenaBytes)\n \n \t// First, try the arena pre-reservation.\n-\tv = h.arena.alloc(n, heapArenaBytes, &memstats.heap_sys)\n+\t// Newly-used mappings a...
2022-04-01T18:15:24
huggingface/transformers
df8b60222590ae4e563306dd35bbd3a1f8a3122f
522975849c4235fafe595b1808e93eb3b16f0124
Fix failing `ProphetNetModelIntegrationTest` (#44439) * Fix failing ProphetNetModelIntegrationTest * Remove comment. --------- Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
[ { "path": "tests/models/prophetnet/test_modeling_prophetnet.py", "patch": "@@ -1154,7 +1154,7 @@ def test_pretrained_checkpoint_hidden_states(self):\n @slow\n def test_cnndm_inference(self):\n model = ProphetNetForConditionalGeneration.from_pretrained(\"microsoft/prophetnet-large-uncased-cnn...
2026-03-05T14:33:03
electron/electron
95d5de14448cb07371e16a91b2285e3cb7e77211
5eeadb0ad4c3473961343068d4ed6404db41901c
Fix printing on Windows when sandbox is enabled Auditors: @bridiver This makes it closer to how it works in Chromium and fixes the forever spooling problem on Windows. The old way worked when the sandbox was disabled but failed on the call for shared_buf.CreateAndMapAnonymous when the sandbox was enabled This also...
[ { "path": "chromium_src/chrome/renderer/printing/print_web_view_helper_pdf_win.cc", "patch": "@@ -113,6 +113,7 @@ bool PrintWebViewHelper::PrintPagesNative(blink::WebFrame* frame,\n printed_page_params.content_area = content_area_in_dpi[i];\n Send(new PrintHostMsg_DidPrintPage(routing_id(), printed_...
2016-08-07T14:42:44