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
huggingface/transformers
2e889c18e16a4f8d91d1b9f92110522fa16e8c97
871901cb3dd92145c4187107d6b68a9c0a859e10
fix torch_dtype on awq (#38463) Signed-off-by: jiqing-feng <jiqing.feng@intel.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/quantizers/quantizer_awq.py", "patch": "@@ -92,11 +92,11 @@ def update_torch_dtype(self, torch_dtype):\n if torch_dtype is None:\n torch_dtype = torch.float16\n logger.info(\"Loading the model in `torch.float16`. To overwrite it, set `torch_dtype` ...
2025-06-06T15:14:00
nodejs/node
097896bafef0d533253202438930de1867a1254d
1bfd03565b943ea56e4bf7a1ca440b2bbfeb6454
test: error when empty buffer is passed to fs.read() Added tests to occur error when empty buffer is passed to fs.read() to increase coverage. PR-URL: https://github.com/nodejs/node/pull/23141 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <...
[ { "path": "test/parallel/test-fs-read-empty-buffer.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n require('../common');\n+const common = require('../common');\n const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const fs = require('fs');\n@@ -16,3 +17,12 @@ assert.throws...
2018-09-28T05:50:04
rust-lang/rust
e61886a6d9e510079582cbd11cb00a1c88941cca
a67ee902df959fcbe363f0f334dfeef6f5da17b1
fix `unnecessary_unwrap` emitted twice in closure
[ { "path": "clippy_lints/src/unwrap.rs", "patch": "@@ -292,6 +292,10 @@ impl<'tcx> Visitor<'tcx> for UnwrappableVariablesVisitor<'_, 'tcx> {\n if expr.span.in_external_macro(self.cx.tcx.sess.source_map()) {\n return;\n }\n+ // Skip checking inside closures since they are vi...
2025-05-09T17:49:22
golang/go
4b5fdb0b7a362cb6fa6ad551757104e490483121
f503740ccf6302ed13c7722ea50c6880a17703fb
[dev.typeparams] cmd/compile/internal/types2: introduce type set abstraction for interfaces With this change, interfaces are "completed" on-demand, when needed, and the respective information (set of all methods, type constraints) is recorded in a new typeSet data structure. As a consequence, interfaces don't need to...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -783,7 +783,7 @@ func (check *Checker) applyTypeFunc(f func(Type) Type, x Type) Type {\n \t\ttpar := NewTypeName(nopos, check.pkg, \"<type parameter>\", nil)\n \t\tptyp := check.NewTypeParam(tpar, 0, &emptyInterface) // assigns type to tp...
2021-06-18T00:49:15
vercel/next.js
01cd4ab4cbc157446f5c5d3b867bbef3a3e45dc0
b90b48e969a7157f9c4ba55a6ad0aa7fd039ec5b
fix: next build in typescript 5.0 (#45275) Related: https://github.com/microsoft/TypeScript/blob/ff92ab0ac92b66397bd3b92ff5a3aca3c1ad8f43/src/compiler/types.ts#L6901 Upstream: https://github.com/microsoft/TypeScript/pull/51901/files#diff-e9fd483341eea176a38fbd370590e1dc65ce2d9bf70bfd317c5407f04dba9560R6890 ```shell ...
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -53,10 +53,14 @@ function getDesiredCompilerOptions(\n reason: 'for dynamic import() support',\n },\n moduleResolution: {\n- parsedValue: ts.ModuleResolutionKind.NodeJs,\n+ // In TypeScript 5.0, ...
2023-01-27T23:06:52
huggingface/transformers
871901cb3dd92145c4187107d6b68a9c0a859e10
02f946a0386c67540538030da2ff87bbac5eca24
fix total batch size calculation in trainer (#38286) * fix total batch size calculation * update Signed-off-by: inkcherry <mingzhi.liu@intel.com> * Update src/transformers/trainer.py --------- Signed-off-by: inkcherry <mingzhi.liu@intel.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -458,11 +458,16 @@ def deepspeed_init(trainer, num_training_steps, inference=False):\n model_parameters = None\n else:\n trainer.optimizer = None # important for when deepspeed_init is used as re-init\n- tp_size...
2025-06-06T14:54:00
nodejs/node
1bfd03565b943ea56e4bf7a1ca440b2bbfeb6454
b25e6abc6874dbfdc44f98ce93df3f94004a2318
http2: don't send trailers on a closed connection There is a race condition between onStreamCloseResponse(), which removes the wantTrailers listener, and Http2Stream.close(), which will invalidate the connection. IE, sendTrailers can be called on a closed connection which would crash with a: Error [ERR_HTTP2_INVALID_S...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -330,7 +330,7 @@ function tryClose(fd) {\n function onStreamTrailers() {\n const stream = this[kOwner];\n stream[kState].trailersReady = true;\n- if (stream.destroyed)\n+ if (stream.destroyed || stream.closed)\n return;\n if (!stream.emit('wan...
2018-09-28T14:07:11
rust-lang/rust
5ebcbfc1e132ad0d3584c23e5cf526698f0a44b3
d22461c9b7ce9417a0ba8d8d4d415ed6f853cda8
Remove `AstDeref`. It's a "utility trait to reduce boilerplate" implemented for `P` and `AstNodeWrapper`, but removing it gives a net reduction of twenty lines of code. It's also simpler to just implement `HasNodeId`/`HasAttrs`/`HasTokens` directly on types instead of via `AstDeref`. (I decided to make this change wh...
[ { "path": "compiler/rustc_ast/src/ast.rs", "patch": "@@ -308,7 +308,6 @@ impl ParenthesizedArgs {\n }\n }\n \n-use crate::AstDeref;\n pub use crate::node_id::{CRATE_NODE_ID, DUMMY_NODE_ID, NodeId};\n \n /// Modifiers on a trait bound like `~const`, `?` and `!`.\n@@ -2349,7 +2348,7 @@ impl Ty {\n pub...
2025-05-09T03:18:19
electron/electron
62fd76f7e415501bf587966110f4c793debc407e
66e96f69fca7251678ffca89fcfb7b0f90b3977c
docs: crashRepoter.getLastCrashReport
[ { "path": "docs/api/crash-reporter.md", "patch": "@@ -27,6 +27,11 @@ crashReporter.start({\n * Only string properties are send correctly.\n * Nested objects are not supported.\n \n+## crashReporter.getLastCrashReport()\n+\n+Returns the date and ID of last crash report, when there was no crash report...
2014-11-11T12:20:36
golang/go
c080d0323bce56e25622a51dffecf756758c95a1
7d0e9e6e74b45cf658257363151a79baf030033f
cmd/dist: pass -Wno-unknown-warning-option in swig_callback_lto For #46557 Fixes #46991 Change-Id: Ic88ebaa13d3edf904657dc19ada4fd4ff7f44a8f Reviewed-on: https://go-review.googlesource.com/c/go/+/332010 Trust: Ian Lance Taylor <iant@golang.org> Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Ian Lance T...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -737,9 +737,9 @@ func (t *tester) registerTests() {\n \t\t\t\t\t\tfn: func(dt *distTest) error {\n \t\t\t\t\t\t\tcmd := t.addCmd(dt, \"misc/swig/callback\", t.goTest())\n \t\t\t\t\t\t\tcmd.Env = append(os.Environ(),\n-\t\t\t\t\t\t\t\t\"CGO_CFLAGS=-flto -Wno-lto...
2021-06-30T17:19:02
huggingface/transformers
3d15606e64460082a85812ce1456396973340bb7
fca6748246c3387de0801bc3acb042c8ae013694
fix: support grad clipping for TP through replicating non-sharded modules (#36132) * feat: fix tp grad norm: Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> * feat: use implicit replication Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> --------- Signed-off-by: Mehant Kammakomati ...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -232,6 +232,7 @@\n AutocastKwargs,\n DistributedDataParallelKwargs,\n DistributedType,\n+ TorchTensorParallelPlugin,\n load_fsdp_model,\n load_fsdp_optimizer,\n save_fsdp_model,\n@@ -2299,7 +2300,9 @...
2025-06-06T09:07:22
nodejs/node
7aeda947245cbf8c6bad38ccc34aa64d9e2efe5a
37e838115021eb88c15c38e6a61eeebbced3c60a
test: fix broken test Approved for fast-tracking by: Rich Trott <rtrott@gmail.com> Colin Ihrig <cjihrig@gmail.com> Refael Ackermann <refack@gmail.com> James M Snell <jasnell@gmail.com> Gireesh Punathil <gpunathi@in.ibm.com> Anna Henningsen <anna@addaleax.net> Sakthipriyan Vairamani <thechargingvolcano@gmail.com> PR-U...
[ { "path": "test/parallel/test-stream-buffer-list.js", "patch": "@@ -36,5 +36,6 @@ const tmp = util.inspect.defaultOptions.colors;\n util.inspect.defaultOptions = { colors: true };\n assert.strictEqual(\n util.inspect(list),\n- 'BufferList { length: \\u001b[33m0\\u001b[39m }');\n+ 'BufferList { head: \\u...
2018-10-03T01:21:51
electron/electron
66e96f69fca7251678ffca89fcfb7b0f90b3977c
9a825c5cbd46f3fc963616a1191ff55bf84eb36f
Add crashRepoter.getLastCrashReport API
[ { "path": "atom/common/api/lib/crash-reporter.coffee", "patch": "@@ -1,31 +1,34 @@\n-{spawn} = require 'child_process'\n binding = process.atomBinding 'crash_reporter'\n+fs = require 'fs'\n+os = require 'os'\n+path = require 'path'\n+{spawn} = require 'child_process'\n \n class CrashReporter\n ...
2014-11-11T09:20:04
vercel/next.js
bd50adabee189fab7e29768d024960f9059f1fad
a1c15d84d906a8adf1667332a3f0732be615afa0
Clean up resolved todos (#45332) These tests were added in #43845 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an...
[ { "path": "packages/next/src/client/components/router-reducer/router-reducer.ts", "patch": "@@ -660,8 +660,6 @@ function clientReducer(\n tree: tree,\n }\n }\n- // TODO-APP: Add test for not scrolling to nearest layout when calling refresh.\n- // TODO-APP: Add test for startTransitio...
2023-01-27T13:25:06
huggingface/transformers
fca6748246c3387de0801bc3acb042c8ae013694
92a87134ea03dbc8de976cadbed7367f6744578a
Improve `test_initialization` for `SwiftFormer` (#38636) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/swiftformer/test_modeling_swiftformer.py", "patch": "@@ -250,6 +250,8 @@ def _config_zero_init(config):\n for model_class in self.all_model_classes:\n model = model_class(config=configs_no_init)\n for name, param in model.named_parameters():\n+ ...
2025-06-06T08:47:10
nodejs/node
83d0404971471b3d4f711ba9690394e9df54eb5f
b3b3f53a339135903133842888467a0e6798acd0
repl: do not swallow errors in nested REPLs For tab completion, a REPLServer instance will sometimes create another REPLServer instance. If a callback is sent to the `.complete()` function and that callback throws an error, it will be swallowed by the nested REPLs domain. Re-throw the error so that processes don't sil...
[ { "path": "lib/repl.js", "patch": "@@ -1002,6 +1002,7 @@ function complete(line, callback) {\n // all this is only profitable if the nested REPL\n // does not have a bufferedCommand\n if (!magic[kBufferedCommandSymbol]) {\n+ magic._domain.on('error', (err) => { throw err; });\n return...
2018-09-21T18:55:55
electron/electron
02bcdc1c19b87a5f2cb365c39c68726ff6d1b4ae
f13d8407ee78407eb57a3dcccccc42687c830635
linux: Put "uploads.log" under "/tmp/ProductName Crashes/"
[ { "path": "atom/common/crash_reporter/crash_reporter_linux.cc", "patch": "@@ -17,6 +17,7 @@\n #include \"base/logging.h\"\n #include \"base/process/memory.h\"\n #include \"base/memory/singleton.h\"\n+#include \"base/strings/stringprintf.h\"\n #include \"vendor/breakpad/src/client/linux/handler/exception_han...
2014-11-11T05:30:06
huggingface/transformers
3e35ea1782959d9e70d25048ca28faa516274236
89542fb81cb2306e9fb3bcfa024d2c3ec75f34fa
Improve `test_initialization` (#38607) * fix flaky init tests * fix flaky init tests --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -716,8 +716,16 @@ def test_initialization(self):\n model = model_class(config=configs_no_init)\n for name, param in model.named_parameters():\n if param.requires_grad:\n+ data = torch.flatten(p...
2025-06-06T08:08:05
vercel/next.js
a1c15d84d906a8adf1667332a3f0732be615afa0
433a580bf883507f3290166f22b9edd7db80a487
Add test for createOptimisticTree (#45330) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Additional unit test...
[ { "path": "packages/next/src/client/components/router-reducer/create-optimistic-tree.test.ts", "patch": "@@ -0,0 +1,47 @@\n+import { createOptimisticTree } from './create-optimistic-tree'\n+import type { FlightRouterState } from '../../../server/app-render'\n+\n+const getInitialRouterStateTree = (): FlightR...
2023-01-27T12:31:42
nodejs/node
b3b3f53a339135903133842888467a0e6798acd0
1d56ad0ca91e37c587ca15546c25e96f4b402634
build: exclude npm test directories on Windows npm test directories are excluded on other platforms by `tools/install.py`. Do the same on Windows. Fixes: https://github.com/nodejs/node/issues/22901 PR-URL: https://github.com/nodejs/node/pull/23001 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M ...
[ { "path": "tools/msvs/msi/nodemsi.wixproj", "patch": "@@ -1,4 +1,4 @@\n-<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n <Project ToolsVersion=\"4.0\" DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n <PropertyGroup>\n <...
2018-09-21T16:30:08
huggingface/transformers
89542fb81cb2306e9fb3bcfa024d2c3ec75f34fa
31023b690958ba95c4b504d34a87d35f51cb8675
enable more test cases on xpu (#38572) * enable glm4 integration cases on XPU, set xpu expectation for blip2 Signed-off-by: Matrix YAO <matrix.yao@intel.com> * more Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style Signed-off-by: YAO Matrix <matrix.yao@intel.com> * refine wording Signed-off-by: YAO M...
[ { "path": "tests/generation/test_paged_attention.py", "patch": "@@ -25,8 +25,8 @@\n \n \n @slow\n-@require_torch_gpu\n @require_flash_attn\n+@require_torch_gpu\n class TestBatchGeneration(unittest.TestCase):\n @classmethod\n def setUpClass(cls):", "additions": 1, "deletions": 1, "languag...
2025-06-06T07:29:51
electron/electron
f13d8407ee78407eb57a3dcccccc42687c830635
739c432c98bfede81c85637f732c427d8e0798c2
linux: Put crash dumps under "/tmp/ProductName Crashes/"
[ { "path": "atom/common/crash_reporter/crash_reporter_linux.cc", "patch": "@@ -12,9 +12,9 @@\n \n #include \"base/debug/crash_logging.h\"\n #include \"base/files/file_path.h\"\n+#include \"base/files/file_util.h\"\n #include \"base/linux_util.h\"\n #include \"base/logging.h\"\n-#include \"base/path_service.h...
2014-11-11T04:51:16
golang/go
7d0e9e6e74b45cf658257363151a79baf030033f
0fa3265fe14c775668fc8272f47adf4fbaa60bac
image/gif: fix typo in the comment (io.ReadByte -> io.ByteReader) Fixes #46967 Change-Id: I66e69c70b74e904623e8ca854562d255692b2143 Reviewed-on: https://go-review.googlesource.com/c/go/+/331649 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Carlos Amedee <carlos@golang.org>
[ { "path": "src/image/gif/reader.go", "patch": "@@ -116,7 +116,7 @@ type decoder struct {\n // consumed when checking that the blockReader is exhausted.\n //\n // To avoid the allocation of a bufio.Reader for the lzw Reader, blockReader\n-// implements io.ReadByte and buffers blocks into the decoder's \"tmp\...
2021-06-29T15:06:23
huggingface/transformers
31023b690958ba95c4b504d34a87d35f51cb8675
593e29c5e2a9b17baec010e8dc7c1431fed6e841
Fix `MiniMax` (docs and integration tests checkpoint) (#38575) * update checkpoints for integration tests * minor fixes in docs
[ { "path": "docs/source/en/model_doc/minimax.md", "patch": "@@ -18,7 +18,7 @@ rendered properly in your Markdown viewer.\n \n ## Overview\n \n-The DepthPro model was proposed in [MiniMax-01: Scaling Foundation Models with Lightning Attention](https://arxiv.org/abs/2501.08313) by MiniMax, Aonian Li, Bangwei G...
2025-06-06T06:43:11
electron/electron
739c432c98bfede81c85637f732c427d8e0798c2
94084639f25af6ccd9074faf41aab66df4d331c4
linux: Writes crash report upload log
[ { "path": "atom/common/crash_reporter/linux/crash_dump_handler.cc", "patch": "@@ -75,6 +75,10 @@ uint64_t kernel_timeval_to_ms(struct kernel_timeval *tv) {\n return ret;\n }\n \n+bool my_isxdigit(char c) {\n+ return (c >= '0' && c <= '9') || ((c | 0x20) >= 'a' && (c | 0x20) <= 'f');\n+}\n+\n size_t Lengt...
2014-11-11T04:24:33
golang/go
0fa3265fe14c775668fc8272f47adf4fbaa60bac
d19a53338fa6272b4fe9c39d66812a79e1464cd2
os: change example to avoid deprecated function The IsNotExist function is deprecated; change package example to avoid it and use the recommended way instead. Fixes #46976 Change-Id: I3c301d0a89b6bda42184df314ba8418062ca39ee Reviewed-on: https://go-review.googlesource.com/c/go/+/331692 Trust: Dmitri Shuralyov <dmits...
[ { "path": "src/os/example_test.go", "patch": "@@ -5,6 +5,7 @@\n package os_test\n \n import (\n+\t\"errors\"\n \t\"fmt\"\n \t\"io/fs\"\n \t\"log\"\n@@ -71,9 +72,9 @@ func ExampleFileMode() {\n \t}\n }\n \n-func ExampleIsNotExist() {\n+func ExampleErrNotExist() {\n \tfilename := \"a-nonexistent-file\"\n-\tif...
2021-06-29T23:31:18
vercel/next.js
9822f78f1f1bee9ae69fc591f950a9d26f2e160f
f879e093d2375f4f948a483681b0f044081df928
Resolve metadata fields (#45237) ## Feature - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [x] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/...
[ { "path": "packages/next/src/lib/metadata/generate/alternate.tsx", "patch": "@@ -2,17 +2,18 @@ import type { ResolvedMetadata } from '../types/metadata-interface'\n \n import React from 'react'\n \n-export function ResolvedAlternatesMetadata({\n- metadata,\n+export function AlternatesMetadata({\n+ alterna...
2023-01-27T11:57:48
huggingface/transformers
c75bf2c36e871dfde468dcd98c3df22f3cda2679
5399c1d6708d85c91f7962846080a9a8e4787c81
Fix typo in LLaVa documentation (#38618) * Fix typo in LLaVa documentation In exactly one section, LlavaImageProcessor was spelt wrongly as LLavaImageProcessor, which throws off copy-pasting the section. * Fix LlavaImageProcessor url to make it valid (and copypaste-able) Earlier, the URL contained the entire HF pre...
[ { "path": "docs/source/en/model_doc/llava.md", "patch": "@@ -216,12 +216,12 @@ processor.batch_decode(generate_ids, skip_special_tokens=True)\n \n ## Note regarding reproducing original implementation\n \n-In order to match the logits of the [original implementation](https://github.com/haotian-liu/LLaVA/tre...
2025-06-05T20:25:07
electron/electron
90480fff4e2ad72efec8f2c97f01b3793b8dde42
4a1b6d76b2d4ebbe0b0b7a9dcac43d43e6eca73a
Fix pylint warnings
[ { "path": "script/upload-windows-pdb.py", "patch": "@@ -8,9 +8,10 @@\n \n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n SYMBOLS_DIR = 'dist\\\\symbols'\n+DOWNLOAD_DIR = 'vendor\\\\brightray\\\\vendor\\\\download\\\\libchromiumcontent'\n PDB_LIST = [\n 'out\\\\Release\\\\atom....
2014-11-10T15:33:56
golang/go
c45e800e0cb237fcedc9a3e4fd243e3a7f47334c
f9d50953b94c15936a72a39a205b3d72ea6dee41
crypto/x509: don't fail on optional auth key id fields If a certificate contains an AuthorityKeyIdentifier extension that lacks the keyIdentifier field, but contains the authorityCertIssuer and/or the authorityCertSerialNumber fields, don't return an error and continue parsing. Fixes #46854 Change-Id: I82739b415441f...
[ { "path": "src/crypto/x509/parser.go", "patch": "@@ -734,10 +734,12 @@ func processExtensions(out *Certificate) error {\n \t\t\t\tif !val.ReadASN1(&akid, cryptobyte_asn1.SEQUENCE) {\n \t\t\t\t\treturn errors.New(\"x509: invalid authority key identifier\")\n \t\t\t\t}\n-\t\t\t\tif !akid.ReadASN1(&akid, crypt...
2021-06-29T16:20:04
vercel/next.js
f879e093d2375f4f948a483681b0f044081df928
88a3fadef0883ac9883e8e513b44926efc519c3f
Ensure invalidateCacheBelowFlightSegmentPath file name is in line with the rest (#45299) <!-- 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 th...
[ { "path": "packages/next/src/client/components/router-reducer/router-reducer.ts", "patch": "@@ -10,7 +10,7 @@ import { readRecordValue } from './read-record-value'\n import { createHrefFromUrl } from './create-href-from-url'\n import { fillLazyItemsTillLeafWithHead } from './fill-lazy-items-till-leaf-with-h...
2023-01-27T08:58:28
huggingface/transformers
5399c1d6708d85c91f7962846080a9a8e4787c81
481b953170ca66f7999b1d448cfd2a814dd28c35
docs: fix dark mode logo display. (#38586)
[ { "path": "i18n/README_es.md", "patch": "@@ -15,10 +15,15 @@ limitations under the License.\n -->\n \n <p align=\"center\">\n- <br>\n- <img src=\"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers_logo_name.png\" width=\"400\"/>\n- <br>\n+ <picture>\n+ <s...
2025-06-05T20:06:59
electron/electron
621867e518ecba147774483d05b7f9f3591e971e
34521e588055dbcface81ec86191aa9ef9d91cf5
docs: Setting up symbol server in debugger
[ { "path": "docs/README.md", "patch": "@@ -56,3 +56,4 @@ Modules for both sides:\n * [Build instructions (Mac)](development/build-instructions-mac.md)\n * [Build instructions (Windows)](development/build-instructions-windows.md)\n * [Build instructions (Linux)](development/build-instructions-linux.md)\n+* [S...
2014-11-10T08:09:13
nodejs/node
f4e4ef5cadf462c38353497c8e16c9cc3b64a5f2
97f1e94fd5507d61dfda91029c799d03cd575f1e
util: handle null prototype on inspect This makes sure the `null` prototype is always detected properly. PR-URL: https://github.com/nodejs/node/pull/22331 Fixes: https://github.com/nodejs/node/issues/22141 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Rev...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -326,6 +326,7 @@ function getEmptyFormatArray() {\n }\n \n function getConstructorName(obj) {\n+ let firstProto;\n while (obj) {\n const descriptor = Object.getOwnPropertyDescriptor(obj, 'constructor');\n if (descriptor !== undefined &&\n@@ -...
2018-09-08T11:33:49
golang/go
f9d50953b94c15936a72a39a205b3d72ea6dee41
e294b8a49e5ff157041b4ac6c3c3413dafd13673
net: fix failure of TestCVE202133195 TestCVE202133195 fails in testing LookupSRV if /etc/resolv.conf sets the option 'ndots' larger than the number of dots in the domain name under query. Fix the issue by making the input domain name in test codes 'rooted' to skip search list qualifying. Fixes #46955 Change-Id: I19...
[ { "path": "src/net/dnsclient_unix_test.go", "patch": "@@ -1921,12 +1921,12 @@ func TestCVE202133195(t *testing.T) {\n \t\tt.Errorf(\"LookupSRV returned unexpected error, got %q, want %q\", err, expected)\n \t}\n \n-\t_, _, err = r.LookupSRV(context.Background(), \"hdr\", \"tcp\", \"golang.org\")\n-\tif expe...
2021-06-28T12:27:30
vercel/next.js
88a3fadef0883ac9883e8e513b44926efc519c3f
c1737180b3605abc2a6666d427680465f9252108
Remove unused optimistic tree parameters (#45264) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Noticed that ...
[ { "path": "packages/next/src/client/components/router-reducer/create-optimistic-tree.ts", "patch": "@@ -8,9 +8,7 @@ import { matchSegment } from '../match-segments'\n export function createOptimisticTree(\n segments: string[],\n flightRouterState: FlightRouterState | null,\n- _isFirstSegment: boolean,\...
2023-01-27T08:52:57
huggingface/transformers
481b953170ca66f7999b1d448cfd2a814dd28c35
88912b8e958b88eae3a9456ea1e09c336a52462c
Fix `return_dict=False` giving errors in a few VLM models (#38519) update Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/chameleon/modeling_chameleon.py", "patch": "@@ -1243,7 +1243,6 @@ def forward(\n use_cache: Optional[bool] = None,\n output_attentions: Optional[bool] = None,\n output_hidden_states: Optional[bool] = None,\n- return_dict: Optional[bool] = Non...
2025-06-05T19:19:07
rust-lang/rust
3caca6dc4ec7a5fdd1a24dc3fa9ef676d8e3c34f
dcecb99176edf2eec51613730937d21cdd5c8f6e
fix new apis being marked as becoming const this release
[ { "path": "RELEASES.md", "patch": "@@ -70,9 +70,6 @@ Stabilized APIs\n - [`impl From<PipeWriter> for OwnedFd`](https://doc.rust-lang.org/nightly/std/os/fd/struct.OwnedFd.html#impl-From%3CPipeWriter%3E-for-OwnedFd)\n - [`Box<MaybeUninit<T>>::write`](https://doc.rust-lang.org/nightly/std/boxed/struct.Box.html...
2025-05-09T16:57:57
electron/electron
716037544ae1ce08265f9bba9d09cd21bedbc43b
b92d5071fa8c3047cf2d15a0d9ba61a9c4de2d15
views: Fix showing menu bar when pressing Alt for a long time
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -719,8 +719,7 @@ void NativeWindowViews::HandleKeyboardEvent(\n return;\n \n // Toggle the menu bar only when a single Alt is released.\n- if (event.type == blink::WebInputEvent::RawKeyDown && IsAltKey(event) &&\n- IsAltModifier(event...
2014-11-07T07:20:16
nodejs/node
ad07e44b37811e0a06aac0355bd8a13aece0f9b0
0a1c65079a4bcf76cf4ebf47aa24384f62a022e7
crypto: make PEM parsing RFC7468-compliant PR-URL: https://github.com/nodejs/node/pull/23164 Fixes: https://github.com/nodejs/node/issues/13612 Fixes: https://github.com/nodejs/node/issues/22815 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node_crypto.cc", "patch": "@@ -45,13 +45,6 @@\n #include <memory>\n #include <vector>\n \n-static const char PUBLIC_KEY_PFX[] = \"-----BEGIN PUBLIC KEY-----\";\n-static const int PUBLIC_KEY_PFX_LEN = sizeof(PUBLIC_KEY_PFX) - 1;\n-static const char PUBRSA_KEY_PFX[] = \"-----BEGIN RSA PUBLIC ...
2018-09-29T12:26:43
huggingface/transformers
fa921ad85458c193b5c304b3cab2164fd2b08a9d
0f833528c9c53486af33edce0893b9869dbbfd46
fix spelling errors (#38608) * fix errors test_modeling_mllama.py * fix error test_modeling_video_llava.py * fix errors test_processing_common.py
[ { "path": "tests/models/mllama/test_modeling_mllama.py", "patch": "@@ -366,15 +366,15 @@ def test_contrastive_generate_low_memory(self, assistant_type):\n def test_assisted_decoding_with_num_logits_to_keep(self):\n pass\n \n- @unittest.skip(reason=\"Mllama uses self.weights dirrectly causing ...
2025-06-05T12:57:23
vercel/next.js
c1737180b3605abc2a6666d427680465f9252108
0d635dffeace7813f21f50ff8b0a61ab79685cec
Add test for isNavigatingToNewRootLayout (#45305) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Adds a test f...
[ { "path": "packages/next/src/client/components/router-reducer/is-navigating-to-new-root-layout.ts.test.ts", "patch": "@@ -0,0 +1,100 @@\n+import type { FlightRouterState } from '../../../server/app-render'\n+import { isNavigatingToNewRootLayout } from './is-navigating-to-new-root-layout'\n+\n+describe('shou...
2023-01-27T08:52:39
golang/go
e294b8a49e5ff157041b4ac6c3c3413dafd13673
3463852b7631adbdd65646539fc87d967dcd13e6
doc/go1.17: fix typo "MacOS" -> "macOS" Change-Id: Ie2ada2bf875a93b1cc9e86a81c8a25de39ce4752 GitHub-Last-Rev: 462753db015949eb88c6c4e64b6aae1a49ac89b4 GitHub-Pull-Request: golang/go#46962 Reviewed-on: https://go-review.googlesource.com/c/go/+/331589 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri S...
[ { "path": "doc/go1.17.html", "patch": "@@ -401,7 +401,7 @@ <h2 id=\"compiler\">Compiler</h2>\n \n <p><!-- golang.org/issue/40724 -->\n Go 1.17 implements a new way of passing function arguments and results using\n- registers instead of the stack. This work is enabled for Linux, MacOS, and\n+ registers i...
2021-06-29T12:45:52
electron/electron
b92d5071fa8c3047cf2d15a0d9ba61a9c4de2d15
ef255db069a52e8bfd53b3234a5217ab96e0c9a0
views: Make auto-hide-menu-bar work when NumLock is on, fixes #796
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -113,9 +113,12 @@ bool IsAltKey(const content::NativeWebKeyboardEvent& event) {\n \n bool IsAltModifier(const content::NativeWebKeyboardEvent& event) {\n typedef content::NativeWebKeyboardEvent::Modifiers Modifiers;\n- return (event.modifiers ...
2014-11-07T07:05:55
huggingface/transformers
0d69fa6dcd9886a380c6dfd9daa89c795e7a6f9b
1fed6166c00b800330fcda8494f78cbcad8e4e3b
[qwen-omni] fix sliding window (#38525) fix
[ { "path": "src/transformers/models/qwen2_5_omni/configuration_qwen2_5_omni.py", "patch": "@@ -658,6 +658,8 @@ class Qwen2_5OmniTalkerConfig(PretrainedConfig):\n The standard deviation of the truncated_normal_initializer for initializing all weight matrices.\n spatial_merge_size (`int`, *...
2025-06-05T08:11:58
nodejs/node
250957b61e99053d805724315361d8ab352f1204
9b00c84e9d7c619f9cef6223d4bfbb41820fa1f9
doc: fix incorrect anchoring (#vcbuild.bat -> #vcbuildbat) PR-URL: https://github.com/nodejs/node/pull/23211 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: ...
[ { "path": "doc/guides/maintaining-the-build-files.md", "patch": "@@ -17,7 +17,7 @@ There are three main build files that may be directly run when building Node.js:\n - `vcbuild.bat`: A Windows Batch Script that locates build tools, provides a\n subset of the targets available in the [Makefile](#makefile),...
2018-10-02T04:38:04
vercel/next.js
0d635dffeace7813f21f50ff8b0a61ab79685cec
a94b9db8ec58674578fdff61e2d266600c7dec37
Add test for fillCacheWithNewSubTreeData (#45298) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Follow up to ...
[ { "path": "packages/next/src/client/components/router-reducer/fill-cache-with-new-subtree-data.test.tsx", "patch": "@@ -0,0 +1,152 @@\n+import React from 'react'\n+import { fillCacheWithNewSubTreeData } from './fill-cache-with-new-subtree-data'\n+import { CacheStates, CacheNode } from '../../../shared/lib/a...
2023-01-27T08:33:01
golang/go
3463852b7631adbdd65646539fc87d967dcd13e6
fd4b587da3f9a2bde193a5b9fd2ba96667e08f2d
math/big: fix typo of comment (`BytesScanner` to `ByteScanner`) Change-Id: I0c2d26d6ede1452008992efbea7392162da65014 Reviewed-on: https://go-review.googlesource.com/c/go/+/331651 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/math/big/int.go", "patch": "@@ -425,7 +425,7 @@ func (z *Int) SetString(s string, base int) (*Int, bool) {\n \treturn z.setFromScanner(strings.NewReader(s), base)\n }\n \n-// setFromScanner implements SetString given an io.BytesScanner.\n+// setFromScanner implements SetString given an io.Byt...
2021-06-29T15:46:05
rust-lang/rust
fc20650c6a9aedbea9155b04fb1a4bcc29220480
da1e442ebde8d527f3872c0cac5b371ff6ea0cc7
Error message for top-level or-patterns suggesting a solution
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -690,8 +690,8 @@ parse_nul_in_c_str = null characters in C string literals are not supported\n \n parse_or_in_let_chain = `||` operators are not supported in let chain conditions\n \n-parse_or_pattern_not_allowed_in_fn_parameters = top-level or-pat...
2025-05-09T09:57:07
electron/electron
4b20ac3dc63821223aa776326fc99770c501dc61
edcae49e524d257ee3e60bda6390d36eedd32ca3
Fix Windows min/max animation on frameless windows - Frameless windows disappeared or appears when minimized and maximized on Windows. This commit fixes that.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -226,6 +226,13 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents,\n options.Get(switches::kUseContentSize, &use_content_size_) &&\n use_content_size_)\n bounds = ContentBoundsToWindowBounds(bounds);\n+ #i...
2014-11-07T18:13:12
huggingface/transformers
1fed6166c00b800330fcda8494f78cbcad8e4e3b
a510be20f36c135e0b992d98935c7e67beb6dd52
added fast image processor for ZoeDepth and expanded tests accordingly (#38515) * added fast image processor for ZoeDepth and expanded tests accordingly * added fast image processor for ZoeDepth and expanded tests accordingly, hopefully fixed repo consistency issue too now * final edits for zoedept fast image proces...
[ { "path": "docs/source/en/model_doc/zoedepth.md", "patch": "@@ -119,6 +119,11 @@ Image.fromarray(depth.astype(\"uint8\"))\n [[autodoc]] ZoeDepthImageProcessor\n - preprocess\n \n+## ZoeDepthImageProcessorFast\n+\n+[[autodoc]] ZoeDepthImageProcessorFast\n+ - preprocess\n+\n ## ZoeDepthForDepthEstimati...
2025-06-04T22:59:17
nodejs/node
9b00c84e9d7c619f9cef6223d4bfbb41820fa1f9
9b34dfed76594992c8cdb8b293a927c87bcb1bd6
doc: fix minor typo (to early -> too early) PR-URL: https://github.com/nodejs/node/pull/23211 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <lu...
[ { "path": "doc/guides/diagnostic-tooling-support-tiers.md", "patch": "@@ -143,6 +143,6 @@ The tools are currently assigned to Tiers as follows:\n | Profiling | DTrace | No | Partial | 3 |\n | Profiling | Windows Xperf | No...
2018-10-02T04:33:54
vercel/next.js
a94b9db8ec58674578fdff61e2d266600c7dec37
a00daf71203f011d2a85c8017783d5563c0505f6
Add unit test for redirect.ts (#45223) Adds a simple unit test for `redirect.ts` to test Graphite stacked changes. <!-- 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 rig...
[ { "path": "packages/next/src/client/components/redirect.test.ts", "patch": "@@ -0,0 +1,13 @@\n+/* eslint-disable jest/no-try-expect */\n+import { redirect, REDIRECT_ERROR_CODE } from './redirect'\n+describe('test', () => {\n+ it('should throw a redirect error', () => {\n+ try {\n+ redirect('/dashbo...
2023-01-27T08:32:40
rust-lang/rust
30526830bbf403bd20b4f354557f2f822cf4d227
f31bf4a94e5670570f19efbcd577a3632129cc68
Fix minor typo in rustdoc-internals.md
[ { "path": "src/doc/rustc-dev-guide/src/rustdoc-internals.md", "patch": "@@ -55,8 +55,8 @@ The first step in [`clean::utils::krate`][ck1] is to invoke\n * inlining public `use` exports of private items, or showing a \"Reexport\"\n line in the module page\n * inlining items with `#[doc(hidden)]` if th...
2025-05-08T11:39:30
golang/go
fd4b587da3f9a2bde193a5b9fd2ba96667e08f2d
e2e05af6e189131162b533184eb04de5d597d544
cmd/compile: suppress details error for invalid variadic argument type CL 255241 made error message involving variadic calls clearer. To do it, we added a check that the type of variadic argument must be a slice. That's why the compiler crashes for invalid variadic argument type. Instead, we can just omit the details...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -1460,15 +1460,22 @@ toomany:\n }\n \n func errorDetails(nl ir.Nodes, tstruct *types.Type, isddd bool) string {\n-\t// If we don't know any type at a call site, let's suppress any return\n-\t// message signatures. See Issue https://go...
2021-06-29T03:11:31
nodejs/node
69f1a2bb85b523619cdb7f673b1603d8e8391713
640172d24d299aebed2a95bdaa3905a6d8350643
src: fix indentation for `AsyncResource` This un-breaks the linter, which currently does not seem to run on this part of the file. PR-URL: https://github.com/nodejs/node/pull/23177 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail....
[ { "path": "src/node.h", "patch": "@@ -755,84 +755,84 @@ v8::MaybeLocal<v8::Value> MakeCallback(v8::Isolate* isolate,\n * `AsyncResource::MakeCallback()` is used, then all four callbacks will be\n * called automatically. */\n class AsyncResource {\n- public:\n- AsyncResource(v8::Isolate* isolate,\n- ...
2018-09-30T16:27:48
huggingface/transformers
a510be20f36c135e0b992d98935c7e67beb6dd52
8e1266de2b480fef402120dee21b9261dd89ea28
Updated deprecated typing imports with equivalents for Python 3.9+ (#38546) * Replace deprecated typing imports with collections.abc equivalents for Python 3.9+ * Fixed code quality --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "examples/3D_parallel.py", "patch": "@@ -32,8 +32,8 @@\n \n import logging\n import os\n+from collections.abc import Iterable\n from contextlib import nullcontext\n-from typing import Iterable\n \n import torch\n import torch.distributed as dist", "additions": 1, "deletions": 1, "langu...
2025-06-04T16:57:23
rust-lang/rust
84ed40dc38cff2a25f0d6e6be1f11b3c1a12133d
d9f513f0dafd6a5bc9340c77d3f86f727ff52824
tests: fix `broken-pipe-no-ice` to use `bare_rustc`/`rustc` Where host compiler runtime libs are properly configured, instead of raw `RUSTC`/`RUSTDOC` commands. Co-authored-by: Jesus Checa Hidalgo <jchecahi@redhat.com>
[ { "path": "tests/run-make/broken-pipe-no-ice/rmake.rs", "patch": "@@ -14,7 +14,7 @@\n use std::io::Read;\n use std::process::{Command, Stdio};\n \n-use run_make_support::env_var;\n+use run_make_support::{bare_rustc, rustdoc};\n \n #[derive(Debug, PartialEq)]\n enum Binary {\n@@ -67,11 +67,13 @@ fn check_bro...
2025-05-09T11:52:36
vercel/next.js
a00daf71203f011d2a85c8017783d5563c0505f6
ad2f145e4aebcec6658094d21e403f64f1fa91c4
Add unit test for shouldHardNavigate (#45303) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Similar to the ot...
[ { "path": "packages/next/src/client/components/router-reducer/router-reducer.ts", "patch": "@@ -335,8 +335,7 @@ function clientReducer(\n shouldHardNavigate(\n // TODO-APP: remove ''\n ['', ...flightSegmentPath],\n- state.tree,\n- newTree\n+ ...
2023-01-27T08:31:28
golang/go
e2e05af6e189131162b533184eb04de5d597d544
4bb0847b088eb3eb6122a18a87e1ca7756281dcc
cmd/internal/obj/arm64: fix an encoding error of CMPW instruction For arm64 CMP, ADD and other similar extended register instructions, if there is no extension, the default extion is LSL<<0, but the default encoding value (the value of 'option' field) of 32-bit instruction and 64-bit instruction is different, 32-bit i...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64.s", "patch": "@@ -89,7 +89,7 @@ TEXT\tfoo(SB), DUPOK|NOSPLIT, $-8\n \tCMP\tR1<<33, R2\n \tCMP\tR22.SXTX, RSP // ffe336eb\n \tCMP\t$0x22220000, RSP // CMP $572653568, RSP // 5b44a4d2ff633beb\n-\tCMPW\t$0x22220000, RSP ...
2021-06-21T02:11:25
huggingface/transformers
8046aff520ad085d56cb159d746f519ceab474d7
b9c17c5dc021ed17484adfdf2ae5614984adfc6e
tests/roformer: fix couple roformer tests on gpus (#38570) Fix "RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu" error running the following roformer tests on GPUs (CUDA or XPU): ``` tests/models/roformer/test_modeling_roformer.py::RoFormerSinusoidalPosition...
[ { "path": "tests/models/roformer/test_modeling_roformer.py", "patch": "@@ -513,8 +513,9 @@ class RoFormerSinusoidalPositionalEmbeddingTest(unittest.TestCase):\n \n def test_basic(self):\n input_ids = torch.tensor([[4, 10]], dtype=torch.long, device=torch_device)\n- emb1 = RoFormerSinusoid...
2025-06-04T16:45:56
rust-lang/rust
8c8225afe8777a93aa635a252fb6a785d30d0527
c8b7f32434c0306db5c1b974ee43443746098a92
Remove mono item collection strategy override from -Zprint-mono-items Previously `-Zprint-mono-items` would override the mono item collection strategy. When debugging one doesn't want to change the behaviour, so this was counter productive. Additionally, the produced behaviour was artificial and might never arise with...
[ { "path": "compiler/rustc_interface/src/tests.rs", "patch": "@@ -720,7 +720,7 @@ fn test_unstable_options_tracking_hash() {\n untracked!(pre_link_args, vec![String::from(\"abc\"), String::from(\"def\")]);\n untracked!(print_codegen_stats, true);\n untracked!(print_llvm_passes, true);\n- untra...
2025-05-09T08:36:07
nodejs/node
b8a98a807f32bf7c1a99e9a8c3f644c85b977523
bb00eda910b4f94959e01966b87a4d716e672dcf
tools: fix cpplint --quiet option Currently, the --quiet option for cpplint will generate the following error: $ tools/cpplint.py --quiet src/node.cc Traceback (most recent call last): File "tools/cpplint.py", line 6529, in <module> main() File "tools/cpplint.py", line 6497, in main filenames = ParseArgum...
[ { "path": "tools/cpplint.py", "patch": "@@ -6429,11 +6429,10 @@ def ParseArguments(args):\n except ValueError:\n PrintUsage('Extensions must be comma seperated list.')\n elif opt == '--recursive':\n- PrintUsage('Extensions must be comma separated list.')\n- elif opt == '--logfi...
2018-09-25T06:43:10
vercel/next.js
6416dcc276a6f0acb0e5e732702a5d1321f8d03a
c1217ad3e3e85fda2e1a59158e89a99c4b8d196b
enable and fix backtracing for fatal errors in tasks (vercel/turbo#3504) Enables the anyhow backtrace feature to capture backtraces for errors too when `RUST_BACKTRACE` is enabled. When running in release mode compiling with `CARGO_PROFILE_RELEASE_DEBUG=1` is recommended to get debug info into the errors.
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -39,7 +39,7 @@ native-tls = [\"next-core/native-tls\"]\n rustls-tls = [\"next-core/rustls-tls\"]\n \n [dependencies]\n-anyhow = \"1.0.47\"\n+anyhow = { version = \"1.0.47\", features = [\"backtrace\"] }\n clap = { version = \"4.0.18\", f...
2023-01-27T07:49:21
electron/electron
edcae49e524d257ee3e60bda6390d36eedd32ca3
81283db2da6c95a316d9345ae20fc0c1ac88d69c
views: Fix showing menu bar when pressing Alt for a long time
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -719,8 +719,7 @@ void NativeWindowViews::HandleKeyboardEvent(\n return;\n \n // Toggle the menu bar only when a single Alt is released.\n- if (event.type == blink::WebInputEvent::RawKeyDown && IsAltKey(event) &&\n- IsAltModifier(event...
2014-11-07T07:20:16
golang/go
dfa8fd861ca99614f03ce409584c4f9ea3e6a3da
64e6c75924a57306d8009cef4802b0b9ca4b7891
[dev.typeparams] cmd/compile: add a field (method) name for function in TestABIUtilsInterfaces Not having a field name for the method is not really correct, and makes it look like an embedded field. In fact, currently types.CalcSize() in abitest() is creating an error that is not actually reported. Change-Id: I98c3a4...
[ { "path": "src/cmd/compile/internal/test/abiutils_test.go", "patch": "@@ -310,7 +310,7 @@ func TestABIUtilsInterfaces(t *testing.T) {\n \tpei := types.NewPtr(ei) // *interface{}\n \tfldt := mkFuncType(types.FakeRecvType(), []*types.Type{},\n \t\t[]*types.Type{types.UntypedString})\n-\tfield := types...
2021-06-28T17:57:26
huggingface/transformers
b9c17c5dc021ed17484adfdf2ae5614984adfc6e
ae3733f06e2e4de45584d143ab37dcf38ef15e1c
[Dinov2] Enable device_map="auto" support (#38487) * Fix: resolve import order and duplicate import (ruff I001, F811) * Format: clean up Dinov2 test file with ruff formatter * Add _no_split_modules = ['Dinov2Layer'] to enable device_map='auto' * Revert dinov2_with_registers _no_split_modules to original state * Re...
[ { "path": "src/transformers/models/dinov2/modeling_dinov2.py", "patch": "@@ -491,7 +491,7 @@ class Dinov2PreTrainedModel(PreTrainedModel):\n base_model_prefix = \"dinov2\"\n main_input_name = \"pixel_values\"\n supports_gradient_checkpointing = True\n- _no_split_modules = [\"Dinov2SwiGLUFFN\"...
2025-06-04T15:42:40
rust-lang/rust
7dae31828baaeb26f913dcad6c83bbed5a8700b4
767d64da45cef73a2241630da9ddfbc29bd525be
Disarm `time` bomb (diagnostics) Revert "Rollup merge of #129343 - estebank:time-version, r=jieyouxu" This reverts commit 26f75a65d70773e4520634b9f6599ddf08c499e6, reversing changes made to 2572e0e8c9d5d671eccb1d5791e55c929c4720f4. Imports are modified to fix merge conflicts and remove unused ones.
[ { "path": "compiler/rustc_span/src/symbol.rs", "patch": "@@ -2099,7 +2099,6 @@ symbols! {\n three_way_compare,\n thumb2,\n thumb_mode: \"thumb-mode\",\n- time,\n tmm_reg,\n to_owned_method,\n to_string,", "additions": 0, "deletions": 1, "lan...
2024-11-20T12:29:01
nodejs/node
1be804d625e6904f053b09b9066ba32e0f48fa99
a79c88a4cec048faa770f512d7ada1671bf4bf77
test: replace localhost with os.hostname in fs-readfilesync PR-URL: https://github.com/nodejs/node/pull/23101 Fixes: https://github.com/nodejs/node/issues/21501 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
[ { "path": "test/parallel/test-fs-readfilesync-enoent.js", "patch": "@@ -11,6 +11,7 @@ if (!common.isWindows)\n \n const assert = require('assert');\n const fs = require('fs');\n+const os = require('os');\n const path = require('path');\n \n function test(p) {\n@@ -23,10 +24,10 @@ function test(p) {\n }));...
2018-09-26T11:00:08
vercel/next.js
f7f222739ff8c0b24a5caa7975cd83b70e815505
a2433a5f7a98fe55282074b7269d3adb7cc4b4c5
enable and fix backtracing for fatal errors in tasks (vercel/turbo#3504) Enables the anyhow backtrace feature to capture backtraces for errors too when `RUST_BACKTRACE` is enabled. When running in release mode compiling with `CARGO_PROFILE_RELEASE_DEBUG=1` is recommended to get debug info into the errors.
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -39,7 +39,7 @@ native-tls = [\"next-core/native-tls\"]\n rustls-tls = [\"next-core/rustls-tls\"]\n \n [dependencies]\n-anyhow = \"1.0.47\"\n+anyhow = { version = \"1.0.47\", features = [\"backtrace\"] }\n clap = { version = \"4.0.18\", features = [\"deriv...
2023-01-27T07:49:21
electron/electron
81283db2da6c95a316d9345ae20fc0c1ac88d69c
fea5559fbce847a1888c4cffb38a2ab18eabca73
views: Make auto-hide-menu-bar work when NumLock is on, fixes #796
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -113,9 +113,12 @@ bool IsAltKey(const content::NativeWebKeyboardEvent& event) {\n \n bool IsAltModifier(const content::NativeWebKeyboardEvent& event) {\n typedef content::NativeWebKeyboardEvent::Modifiers Modifiers;\n- return (event.modifiers ...
2014-11-07T07:05:55
huggingface/transformers
ae3733f06e2e4de45584d143ab37dcf38ef15e1c
1285aec4cc5549ba5b49b52d6fda30be04597c82
feat: add `repository` field to benchmarks table (#38582) * feat: add `repository` field to benchmarks table * fix: remove unwanted `,`
[ { "path": ".github/workflows/benchmark.yml", "patch": "@@ -64,7 +64,7 @@ jobs:\n commit_id=$GITHUB_SHA\r\n fi\r\n commit_msg=$(git show -s --format=%s | cut -c1-70)\r\n- python3 benchmark/benchmarks_entrypoint.py \"$BRANCH_NAME\" \"$commit_id\" \"$commit_msg\"\r\n+ ...
2025-06-04T13:40:52
golang/go
64e6c75924a57306d8009cef4802b0b9ca4b7891
f99b3fe2ab6b142bc49b653c6547655cb7114625
[dev.typeparams] cmd/compile: port fix for issue46725 to transform.go Allow fix for issue46725 to work for -G=3 mode. Change-Id: Id522fbc2278cf878cb3f95b3205a2122c164ae29 Reviewed-on: https://go-review.googlesource.com/c/go/+/331470 Trust: Dan Scales <danscales@google.com> Run-TryBot: Dan Scales <danscales@google.com...
[ { "path": "src/cmd/compile/internal/noder/transform.go", "patch": "@@ -329,8 +329,20 @@ assignOK:\n \t\tr.Use = ir.CallUseList\n \t\trtyp := r.Type()\n \n+\t\tmismatched := false\n+\t\tfailed := false\n \t\tfor i := range lhs {\n-\t\t\tcheckLHS(i, rtyp.Field(i).Type)\n+\t\t\tresult := rtyp.Field(i).Type\n+\...
2021-06-28T18:50:26
nodejs/node
70ab3108e2d8fa0947a62f8e41675ca1efd160fb
a21af5b1f2e337395482d1af788c1838bac7b713
doc: fix casing in stream.md PR-URL: https://github.com/nodejs/node/pull/23166 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/stream.md", "patch": "@@ -1307,7 +1307,7 @@ added: v8.0.0\n \n Destroy the stream, and emit `'error'`. After this call, the\n transform stream would release any internal resources.\n-implementors should not override this method, but instead implement\n+Implementors should not override thi...
2018-09-29T19:21:21
vercel/next.js
c1217ad3e3e85fda2e1a59158e89a99c4b8d196b
eb1ca3fb70d9c64bd09a155c620798f78159c4de
@next/font/google: support setting a css variable for fonts (vercel/turbo#3505) Fixes WEB-501 Fixes https://github.com/vercel/turbo/issues/3139 This adds proper support for the [`variable` property](https://nextjs.org/docs/api-reference/next/font#variable) when constructing fonts. This results in: * definin...
[ { "path": "packages/next-swc/crates/next-core/src/next_font_google/mod.rs", "patch": "@@ -3,6 +3,7 @@ use indexmap::IndexMap;\n use indoc::formatdoc;\n use once_cell::sync::Lazy;\n use turbo_tasks::primitives::{OptionStringVc, OptionU16Vc, StringVc, U32Vc};\n+#[allow(unused_imports, /* reason = \"this is us...
2023-01-27T07:48:15
huggingface/transformers
1285aec4cc5549ba5b49b52d6fda30be04597c82
6c5d4b1dd29394a8a0fbcefcc132baa0dcaf41ed
Docs: fix code formatting in torchao docs (#38504)
[ { "path": "docs/source/en/quantization/torchao.md", "patch": "@@ -65,13 +65,14 @@ pip install --upgrade torchao transformers\n </hfoption>\n <hfoption id=\"PyTorch Index\">\n Stable Release from the PyTorch index\n+ \n ```bash\n pip install torchao --index-url https://download.pytorch.org/whl/cu126 # opt...
2025-06-04T12:35:21
electron/electron
fea5559fbce847a1888c4cffb38a2ab18eabca73
b360122b35cfeeaa93da810b862ee0951484a8db
Upgrade node, fixes #634
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 94229c71b0879fb40bc157fe2fe346627dbe7496\n+Subproject commit d26950326d87d711676f92b6c955744ad2c81f25", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-11-06T13:27:16
nodejs/node
ea232bd320c4b15c1d07b2d3bafb565725f1e8f0
27f3d9a64976ac4a7a726dde024ca9e2ea9cef7a
test: fix flaky test-gc-net-timeout There's a global.gc() invoked in an interval, and a second one in a req.setTimeout() callback. Remove the one in the callback. I'm not sure how competing global.gc() calls might result in a deadlock, but it seems plausible and empirical testing confirms that it makes the test reliab...
[ { "path": "test/sequential/test-gc-net-timeout.js", "patch": "@@ -41,7 +41,6 @@ function getall() {\n req.setTimeout(10, function() {\n req.destroy();\n done++;\n- global.gc();\n });\n \n count++;", "additions": 0, "deletions": 1, "language": "JavaScript" } ]
2018-09-27T22:45:08
huggingface/transformers
82fa68ca14c1c07b9d8848c2ec70b00a557d0f60
1dc619e59f4f1103a30a303404a2b0990d45f07c
fix(attention_visualizer): add default value for image_seq_length (#38577)
[ { "path": "src/transformers/utils/attention_visualizer.py", "patch": "@@ -178,6 +178,7 @@ def __call__(self, input_sentence: str, suffix=\"\"):\n def visualize_attention_mask(self, input_sentence: str, suffix=\"\"):\n model = self.model\n kwargs = {}\n+ image_seq_length = None\n ...
2025-06-04T12:20:31
golang/go
956c81bfe60306e49e26f7edd4f48cbc24c8fe28
a1d27269d698d684497d0dc61c968a1c2dbe00b3
cmd/go: add GOEXPERIMENT to `go env` output This CL adds GOEXPERIMENT to `go env` output, and also makes it configurable via `GOENV`. Thanks to Baokun Lee's CL 304350 for the test and initial work on this. Fixes #45226. Change-Id: Ie7f92a8a503b6a2a4df3f6598f0b2bf2915e2e7d Reviewed-on: https://go-review.googlesource....
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1903,6 +1903,12 @@\n // \tGCCGOTOOLDIR\n // \t\tIf set, where to find gccgo tools, such as cgo.\n // \t\tThe default is based on how gccgo was configured.\n+// \tGOEXPERIMENT\n+// \t\tComma-separated list of toolchain experiments to enable or disable.\n+// \t...
2021-06-16T22:10:57
electron/electron
601ee75bcf3d51fc4cbc149106b102e99bd33b54
c4aebe3ba13603beb954e5da7cb55fe8024f0973
linux: Use native window frame for devtools Fixes atom/atom-shell#646.
[ { "path": "brightray/browser/views/inspectable_web_contents_view_views.cc", "patch": "@@ -147,10 +147,6 @@ void InspectableWebContentsViewViews::SetIsDocked(bool docked) {\n devtools_window_web_view_,\n devtool...
2014-11-06T11:06:32
vercel/next.js
a2433a5f7a98fe55282074b7269d3adb7cc4b4c5
7fdc46248c304237c95abb9b0a8b173006add65b
@next/font/google: support setting a css variable for fonts (vercel/turbo#3505) Fixes WEB-501 Fixes https://github.com/vercel/turbo/issues/3139 This adds proper support for the [`variable` property](https://nextjs.org/docs/api-reference/next/font#variable) when constructing fonts. This results in: * definin...
[ { "path": "crates/next-core/src/next_font_google/mod.rs", "patch": "@@ -3,6 +3,7 @@ use indexmap::IndexMap;\n use indoc::formatdoc;\n use once_cell::sync::Lazy;\n use turbo_tasks::primitives::{OptionStringVc, OptionU16Vc, StringVc, U32Vc};\n+#[allow(unused_imports, /* reason = \"this is used in tests\" */)]...
2023-01-27T07:48:15
huggingface/transformers
1dc619e59f4f1103a30a303404a2b0990d45f07c
ff3fad61e32af207cf83b687e6a038e4dd331234
[`FlexAttn`] Fix models with unique characteristics (#38433) * fix * style * check * check 2 * add deepseek workaround
[ { "path": "tests/models/deepseek_v3/test_modeling_deepseek_v3.py", "patch": "@@ -24,6 +24,7 @@\n require_read_token,\n require_torch,\n require_torch_accelerator,\n+ require_torch_gpu,\n require_torch_large_accelerator,\n require_torch_sdpa,\n slow,\n@@ -494,6 +495,35 @@ def test_...
2025-06-04T11:37:28
electron/electron
f90fb8cc7238b0ab9c881f0c0744dc06d325e109
111dcbac25f6330e60c189352317af7933031b2f
Print error when "preload" script is not found
[ { "path": "atom/renderer/lib/init.coffee", "patch": "@@ -90,4 +90,9 @@ else\n delete global.clearImmediate\n \n # Load the script specfied by the \"preload\" attribute.\n-require preloadScript if preloadScript\n+if preloadScript\n+ try\n+ require preloadScript\n+ catch error\n+ throw error unles...
2014-11-06T08:12:40
vercel/next.js
eb1ca3fb70d9c64bd09a155c620798f78159c4de
c474d53ac14088ef40d03f6f6dc8464bd94905af
Review fixes for Next routing (vercel/turbo#3501) This completes a few review requests from vercel/turbo#3446.
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -17,7 +17,6 @@ mime = \"0.3.16\"\n once_cell = \"1.13.0\"\n qstring = \"0.7.2\"\n regex = \"1.6.0\"\n-reqwest = { workspace = true, features = [\"stream\"] }\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n turbo-tasks = { path = \"../...
2023-01-27T02:02:54
nodejs/node
3c56b46bfa0f38ce5d5c02cee3134c4b4089c906
ab73265b9c3e59d168aab485b0f936aedd47032b
test: improve debugging information for http2 test In test-http2-session-timeout, provide the number of requests that occurred when the test fails. PR-URL: https://github.com/nodejs/node/pull/23058 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pi...
[ { "path": "test/sequential/test-http2-session-timeout.js", "patch": "@@ -3,10 +3,15 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const assert = require('assert');\n const http2 = require('http2');\n \n const serverTimeout = common.platformTimeout(20...
2018-09-24T13:11:12
huggingface/transformers
ff3fad61e32af207cf83b687e6a038e4dd331234
6085cded3877ae028738f2245792b4caaed02f7c
Fix `deepseekv3` (#38562) * fix 1 * fix 2 * fix 3 * fix 4 * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/deepseek_v3/test_modeling_deepseek_v3.py", "patch": "@@ -24,6 +24,7 @@\n require_read_token,\n require_torch,\n require_torch_accelerator,\n+ require_torch_large_accelerator,\n require_torch_sdpa,\n slow,\n torch_device,\n@@ -443,6 +444,7 @@ def test_past_k...
2025-06-04T09:40:14
electron/electron
c764b7b0234e905589f4f386e9d93b5fcb0ea0ee
6d2cc8aedf9b149e10e56c8292f95b42b334438f
docs: Mention the side effect of "fullscreen" option, fixes #792
[ { "path": "docs/api/browser-window.md", "patch": "@@ -41,7 +41,8 @@ You can also create a window without chrome by using\n * `resizable` Boolean - Whether window is resizable\n * `always-on-top` Boolean - Whether the window should always stay on top of\n other windows\n- * `fullscreen` Boolean - W...
2014-11-06T02:16:28
huggingface/transformers
3c995c1fdce8972916bc30554985db47de501f3e
55736eea9939620b62e0f6660d1dd4f3e9e12ebd
Fix `chameleon` tests (#38565) * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/chameleon/test_modeling_chameleon.py", "patch": "@@ -21,6 +21,7 @@\n \n from transformers import ChameleonConfig, is_torch_available, is_vision_available, set_seed\n from transformers.testing_utils import (\n+ Expectations,\n require_bitsandbytes,\n require_read_token,\n ...
2025-06-04T08:13:35
vercel/next.js
7fdc46248c304237c95abb9b0a8b173006add65b
93c6d585a7e74824263f3ec291e108951fece3ef
Review fixes for Next routing (vercel/turbo#3501) This completes a few review requests from #3446.
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -17,7 +17,6 @@ mime = \"0.3.16\"\n once_cell = \"1.13.0\"\n qstring = \"0.7.2\"\n regex = \"1.6.0\"\n-reqwest = { workspace = true, features = [\"stream\"] }\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n turbo-tasks = { path = \"../turbo-tasks\" }", ...
2023-01-27T02:02:54
rust-lang/rust
d4862eb690a759565ab64bf0142cf2e13084116c
fe348cd1a8e0fa445b772393147ed865904dcd4d
Update `backtrace` in Cargo.lock Ran `cargo update -p backtrace`. This is needed to forward port the rust-gpu compiler backend. Subsumes https://github.com/rust-lang/rust/pull/140631. Was supposed to be fixed by https://github.com/rust-lang/rust/pull/140353, but there were test failures and the fix was backed out.
[ { "path": "Cargo.lock", "patch": "@@ -4,11 +4,11 @@ version = 4\n \n [[package]]\n name = \"addr2line\"\n-version = \"0.21.0\"\n+version = \"0.24.2\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb\"\n+check...
2025-05-06T16:15:02
nodejs/node
709b3b1e1c75afe6b5dd9d7859d0142dd4d20e5c
eccc65919a6dc9a05936e070181a16604ba346e6
crypto: downgrade DEP0115 to `--pending-deprecation` only Aliases are very cheap to maintain, so an unconditional runtime deprecation that affects existing ecosystem code is not a good idea. This commit turns the runtime deprecation into a `--pending-deprecation` one. Fixes: https://github.com/nodejs/node/issues/2301...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -2167,16 +2167,19 @@ of Node.js core and will be removed in the future.\n <!-- YAML\n changes:\n - version: REPLACEME\n- pr-url: https://github.com/nodejs/node/pull/22519\n- description: Runtime deprecation.\n+ pr-url:\n+ - https://github.com...
2018-09-22T09:45:42
golang/go
361159c05507b7f6c28e29575c02a6b7b6656f84
c95464f0ea3f87232b1f3937d1b37da6f335f336
cmd/cgo: fix 'see gmp.go' to 'see doc.go' Change-Id: I303edc9dfbf4185b5b461b121ab504f6ed9f8630 Reviewed-on: https://go-review.googlesource.com/c/go/+/330839 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/cmd/cgo/main.go", "patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-// Cgo; see gmp.go for an overview.\n+// Cgo; see doc.go for an overview.\n \n // TODO(rsc):\n //\tEmit correct line number annotations....
2021-06-27T02:50:17
vercel/next.js
806c9eeb6c95145902c57930d65799910a85d7d5
d45df25de6029e4fa6d24342c37ed62a3f86a867
build(cargo): update turbopack to turbopack-230126.1 (#45322) **Note**: This requires https://github.com/vercel/next.js/pull/45314, otherwise the following error is shown, but does not block builds: ``` error - [build] examples/create-app Error evaluating Node.js code TypeError: makeResolver is not a functi...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -123,7 +123,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-230125.1#318e6559ffd5344dd681ad136d84c36ce386c708\"\n+source = \"git+https://github.com/v...
2023-01-26T22:42:48
huggingface/transformers
55736eea9939620b62e0f6660d1dd4f3e9e12ebd
037acf1d106003ef8927818be9aeaf1e16e4ff8f
Add support for MiniMax's MiniMax-Text-01 (#35831) * end-to-end architecture * lightning-attn: refactor, clean, optimize * put minimax_text_01 in other files * use latest __init__ standards and auto-generate modular * support attention_mask for lightning-attn * Revert "use latest __init__ standards and auto-gener...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -555,6 +555,8 @@\n title: MegatronBERT\n - local: model_doc/megatron_gpt2\n title: MegatronGPT2\n+ - local: model_doc/minimax\n+ title: MiniMax\n - local: model_doc/mistral\n title: Mistral\n - local:...
2025-06-04T07:38:40
nodejs/node
02c44a48943302d07a3b9575402a8992e57dada8
b8a8eedf3280f3825812d3f8f0554a186396c9dc
assert: reduce diff noise Assertion errors that produce a diff show a diff for identical entries in case one side of the comparison has more object properties than the other one. Those lines are now taken into account and will not show up as diverging lines anymore. Refs: https://github.com/nodejs/node/issues/22763 ...
[ { "path": "lib/internal/assert.js", "patch": "@@ -205,29 +205,42 @@ function createErrDiff(actual, expected, operator) {\n res += `\\n${green}+${white} ${actualLines[i]}`;\n printedLines++;\n // Lines diverge\n- } else if (actualLines[i] !== expectedLines[i]) {\n- if (cur > 1 && i > ...
2018-09-24T08:15:52
electron/electron
7ff0e0214e0c3c4f27d7042b5d2b6ec04814c59b
2be5393768a3d7e1f548b4ff4e95601284595894
linux: Use GTK+ for error reporting when GUI is ready
[ { "path": "atom/browser/ui/message_box_views.cc", "patch": "@@ -370,6 +370,14 @@ void ShowErrorBox(const base::string16& title, const base::string16& content) {\n ui::MessageBox(NULL, content, title, MB_OK | MB_ICONERROR | MB_TASKMODAL);\n #elif defined(USE_X11)\n if (Browser::Get()->is_ready()) {\n+ ...
2014-11-05T11:27:43
golang/go
1cfa89e5dc22906e18725a9e21890b78c62c720e
cc04ab463dd6c86ad8d22bbadba4d325fffa2131
[dev.fuzz] internal/fuzz: use scratch []byte for mutations The mutator will now use a scratch []byte when mutating []byte and string types. I ran the following target locally: func FuzzBytesFromStringCmp(f *testing.F) { f.Fuzz(func(t *testing.T, a, b string) { bytes.Compare([]byte(a), []byte(...
[ { "path": "src/internal/fuzz/mutator.go", "patch": "@@ -13,7 +13,8 @@ import (\n )\n \n type mutator struct {\n-\tr mutatorRand\n+\tr mutatorRand\n+\tscratch []byte // scratch slice to avoid additional allocations\n }\n \n func newMutator() *mutator {\n@@ -95,27 +96,34 @@ func (m *mutator) mutate(vals...
2021-06-03T19:09:39
huggingface/transformers
037acf1d106003ef8927818be9aeaf1e16e4ff8f
78d771c3c21922642fc9546ccb973cc7a182ab34
[janus] Fix failing tests on mi3XX (#38426) * Fix multiple devices error on Janus * Fix AttributeError on Janus BOI token * Initialize lm first in Janus to get correct device map * Added expectations for Janus test_model_generate_images * Fixed JanusVisionEncoderLayer being split across devices * Code formatting ...
[ { "path": "src/transformers/models/janus/modeling_janus.py", "patch": "@@ -58,7 +58,7 @@ class JanusPreTrainedModel(PreTrainedModel):\n config_class = JanusConfig\n base_model_prefix = \"model\"\n supports_gradient_checkpointing = True\n- _no_split_modules = [\"LlamaDecoderLayer\"]\n+ _no_...
2025-06-04T07:38:10
vercel/next.js
d45df25de6029e4fa6d24342c37ed62a3f86a867
57ba24e39a1376bce763a6af3768dbec220997e8
Fix:Manage Firefox and Safari Network error message (#44929) Not all browsers implement the network error message in the same way: For example if I execute `fetch('//foo.bar/').catch(err => console.log(err.message))` in Chrome / Firefox / Safari browsers console, I get respectively: - `Failed to fetch` - `Network...
[ { "path": "packages/next/src/shared/lib/router/router.ts", "patch": "@@ -791,7 +791,14 @@ function fetchNextData({\n if (!unstable_skipClientCache) {\n delete inflightCache[cacheKey]\n }\n- if (err.message === 'Failed to fetch') {\n+ if (\n+ // chrome\n+ ...
2023-01-26T22:20:20