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
nodejs/node
ace3f169172d1f2d9e72707ec949b802f09d47d1
eb05d6881521a969ad605b137e0a06847dd01971
assert: improve class instance errors This improves `assert.throws()` and `assert.rejects()` in case error classes are used as validation for the expected error. In case of a failure it will now throw an `AssertionError` instead of the received error if the check fails. That error has the received error as actual pro...
[ { "path": "lib/assert.js", "patch": "@@ -20,7 +20,7 @@\n \n 'use strict';\n \n-const { Object } = primordials;\n+const { Object, ObjectPrototype } = primordials;\n \n const { Buffer } = require('buffer');\n const { codes: {\n@@ -36,6 +36,7 @@ const { inspect } = require('internal/util/inspect');\n const { i...
2019-06-13T22:24:31
huggingface/transformers
9e5c7d16aa13cf4c160076d23ec6d4d2ef5a8fd0
7769f660935b5d48b73bf6711d0a78b6f8f98739
Fix slack-report workflow file (#43851) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/slack-report.yml", "patch": "@@ -94,6 +94,7 @@ jobs:\n pip install huggingface_hub\n pip install slack_sdk\n pip show slack_sdk\n+ pip install .\n if [ \"$quantization_matrix\" != \"\" ]; then\n python utils/notificati...
2026-02-09T05:41:29
vercel/next.js
de873d02b3b9bbe6852485358acefe7011359e17
0c70b9fff640fa163e1e9998d6f66f40ac2c85c0
Prefer svg icon instead favicon if possible (#53343) ### What? Change the `favicon.ico` metadata `sizes` property from always `"any"` to using the actual size possible ### Why? When chrome/firefox browsers search for icon it needs the proper metadata to determine which one to use, giving `favicon.ico` sizes...
[ { "path": "packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts", "patch": "@@ -163,9 +163,14 @@ async function nextMetadataImageLoader(this: any, content: Buffer) {\n ? imageSize\n : {\n sizes:\n- extension === 'ico' || extension === 'svg'\n- ?...
2023-07-31T14:32:39
golang/go
6f1dce0fcb03f22402dac00f66a42b8b0f5bef2b
e146d3eafafe149aa3a28e6a251db9c01d04f11d
runtime/race: update PPC64LE syso file to new TSAN runtime (v3) In CL 397494 Linux/PPC64LE syso was not updated due to test failure. It should be fixed by the previous CL and should work now. Change-Id: Ieb0993ded5541397094d3aecae28c5255c822eac Reviewed-on: https://go-review.googlesource.com/c/go/+/397676 Trust: Che...
[ { "path": "src/runtime/race/README", "patch": "@@ -7,7 +7,7 @@ To update the .syso files use golang.org/x/build/cmd/racebuild.\n race_darwin_amd64.syso built with LLVM 41cb504b7c4b18ac15830107431a0c1eec73a6b2 and Go 851ecea4cc99ab276109493477b2c7e30c253ea8.\n race_freebsd_amd64.syso built with LLVM 41cb504b...
2022-04-01T23:23:52
huggingface/transformers
7769f660935b5d48b73bf6711d0a78b6f8f98739
dd360ad2364382e7ef3c19d1011cb0a4e9b418ff
Fix markdown documentation (#43076) * Fix markdown documentation Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Update docs/source/en/main_classes/video_processor.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> Co-author...
[ { "path": "docs/source/en/main_classes/video_processor.md", "patch": "@@ -22,7 +22,7 @@ The video processor extends the functionality of image processors by allowing Vi\n \n When adding a new VLM or updating an existing one to enable distinct video preprocessing, saving and reloading the processor configura...
2026-02-07T02:17:54
nodejs/node
3473e58fee153a7fee143a33c512ee9cda08d20a
1ca1e0163e62cd9df771a6f0809e30a3382c54b6
test: well-defined DH groups now verify clean OpenSSL 1.1.1d no longer generates warnings for some DH groups that used to be considered unsafe. See below for discussion. This is considered a bug fix. See: - https://github.com/openssl/openssl/pull/9363 - https://github.com/openssl/openssl/pull/9363#discussion_r3248026...
[ { "path": "test/parallel/test-crypto-binary-default.js", "patch": "@@ -36,7 +36,6 @@ const crypto = require('crypto');\n const fs = require('fs');\n const tls = require('tls');\n const fixtures = require('../common/fixtures');\n-const DH_NOT_SUITABLE_GENERATOR = crypto.constants.DH_NOT_SUITABLE_GENERATOR;\n...
2019-09-13T20:19:06
rust-lang/rust
507fd38a3fd2121d4a39df6fcf14eb50f868d471
78a6e132984dba0303ebad7dcfd1305c93ad5835
htmldocck: better error messages for negative raw directives
[ { "path": "src/etc/htmldocck.py", "patch": "@@ -564,10 +564,14 @@ def check_command(c, cache):\n # hasraw/matchesraw <path> <pat> = string test\n elif len(c.args) == 2 and \"raw\" in c.cmd:\n cerr = \"`PATTERN` did not match\"\n+ if c.negated:\n+ ...
2025-07-11T18:56:18
vercel/next.js
0c70b9fff640fa163e1e9998d6f66f40ac2c85c0
e1a10c60f8368ba6b95c6ef49636e156d768382a
Fix build-native turbo config (#53380) The turbo cache is currently not being invalidated for our `build-native` jobs when the root `Cargo.lock` is changed so https://github.com/vercel/next.js/pull/53308 never actually got re-built/applied in CI and tests are unexpectedly passing. x-ref: [slack thread](https://verce...
[ { "path": "turbo.json", "patch": "@@ -2,26 +2,62 @@\n \"$schema\": \"https://turborepo.org/schema.json\",\n \"pipeline\": {\n \"build-native\": {\n+ \"inputs\": [\n+ \"../../.cargo/**\",\n+ \"../../packages/next-swc/crates/**\",\n+ \"../../**/Cargo.toml\",\n+ \"../.....
2023-07-31T14:00:30
huggingface/transformers
f70ec1e7fede93598d9eb93d13f612c75d294d3a
5ba28289d7f04f1b0d0c24bb596ab972b32f0d49
Fix DeepSpeed model preparation logic in Trainer class (#43780) Fix deepspeed model preparation logic in Trainer class Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2297,6 +2297,8 @@ def _inner_training_loop(\n model, self.optimizer, self.lr_scheduler = self.accelerator.prepare(\n self.model, self.optimizer, self.lr_scheduler\n )\n+ else...
2026-02-06T19:20:00
electron/electron
43eba3dada24cbfc50853f3cba19828ca480b145
8155e7192569c3a30ca3cb5f25a306d0dc5d3d44
Publish Windows PDBs to allow debugging without Symbol server
[ { "path": "script/create-dist.py", "patch": "@@ -152,6 +152,10 @@ def create_symbols():\n dsyms = glob.glob(os.path.join(OUT_DIR, '*.dSYM'))\n for dsym in dsyms:\n shutil.copytree(dsym, os.path.join(DIST_DIR, os.path.basename(dsym)))\n+ elif PLATFORM == 'win32':\n+ pdbs = glob.glob(os.path...
2016-06-24T12:26:05
golang/go
7d1e07049fec1d9a9fd4116111e52b161746dbde
5bfd51147e460bad6615b5baaf68609a413eda1a
make.bash: document CC_FOR_${GOOS}_${GOARCH} Fixes #51306 Change-Id: I5989d86fe5ac4d02793b2ecb00c549d9586763da GitHub-Last-Rev: 6b0f6bee434219a2c502e8b5630fbe74ca25024a GitHub-Pull-Request: golang/go#51379 Reviewed-on: https://go-review.googlesource.com/c/go/+/388176 Reviewed-by: Ian Lance Taylor <iant@golang.org> Ru...
[ { "path": "src/make.bash", "patch": "@@ -41,12 +41,20 @@\n # Default is \"gcc\". Also supported: \"clang\".\n #\n # CC_FOR_TARGET: Command line to run to compile C code for GOARCH.\n-# This is used by cgo. Default is CC.\n+# This is used by cgo. Default is CC.\n+#\n+# CC_FOR_${GOOS}_${GOARCH}: Command line...
2022-03-02T23:29:43
nodejs/node
d9fd2cd0ff8685b89564f3845418439243efcc82
a8956e467676ad14148567035f96d75feb0a04aa
2019-10-01, Version 12.11.1 (Current) Notable changes: * build: * This release fixes a regression that prevented from building Node.js using the official source tarball. https://github.com/nodejs/node/pull/29712 * deps: * Updated small-icu data to support "unit" style in the `Intl.NumberFormat` API. ...
[ { "path": "CHANGELOG.md", "patch": "@@ -28,7 +28,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.11.0\">12.11.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.11.1\">12.11.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V12.md#12.1...
2019-10-01T13:01:26
huggingface/transformers
0c89522f2af2f85cf997193645a1e727d6b8c1d7
e61eed44ba035f019ae381f1b7c0c06dbf78d132
fix(flaky): enforce manual seed to reduce flakiness (#43794) This change aims to reduce flakiness in CI tests. We identified two causes of nondeterministic behavior: - Some tests were not using a fixed RNG seed, which reduced determinism. - The cli tests were occasionally triggering I/O errors due to writes on a clo...
[ { "path": "tests/causal_lm_tester.py", "patch": "@@ -604,6 +604,8 @@ def test_flash_attn_2_equivalence(self):\n if not model_class._supports_flash_attn:\n self.skipTest(reason=\"Model does not support Flash Attention 2\")\n \n+ # Set seed for deterministic test - ensur...
2026-02-06T16:30:28
vercel/next.js
f2c5eb840f6047384166ced0ad3a5083b7e859d8
a0d1d728b9003f12c9df6c5e9a33bc4c33cef0ab
actions: fix revalidate after redirect (#53368) This PR reverts a change that removed the `content-length` header filtering from the req made by the actions when redirecting. This change made some tests flaky and presumably also broke server actions in subtle ways. There's still one other bug when redirecting after r...
[ { "path": "packages/next/src/server/app-render/action-handler.ts", "patch": "@@ -23,7 +23,10 @@ import { StaticGenerationStore } from '../../client/components/static-generation\n import { FlightRenderResult } from './flight-render-result'\n import { ActionResult } from './types'\n import { ActionAsyncStorag...
2023-07-31T10:08:52
golang/go
c58f1bb65f2187d79a5842bb19f4db4cafd22794
ac313524fe4997b80a4221647f0da79d0e07b88e
text/template: permit eq and ne funcs to check against nil The existing code errors out immediately if the argument is not "comparable", making it impossible to test a slice, map, and so on from being compared to nil. Fix by delaying the "comparable" error check until we encounter an actual check between two non-comp...
[ { "path": "src/html/template/exec_test.go", "patch": "@@ -1191,15 +1191,19 @@ var cmpTests = []cmpTest{\n \t{\"eq .Iface1 .Iface1\", \"true\", true},\n \t{\"eq .Iface1 .Iface2\", \"false\", true},\n \t{\"eq .Iface2 .Iface2\", \"true\", true},\n+\t{\"eq .Map .Map\", \"true\", true}, // Uncomparable ty...
2022-03-14T02:21:06
nodejs/node
16e47b976beb9ef8d3f78428f044551925cd6a6f
15fb02a515bf937bb1045d415dd09bfe632a463b
doc: fix type of atime/mtime PR-URL: https://github.com/nodejs/node/pull/29666 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -2086,8 +2086,8 @@ changes:\n -->\n \n * `fd` {integer}\n-* `atime` {integer}\n-* `mtime` {integer}\n+* `atime` {number|string|Date}\n+* `mtime` {number|string|Date}\n \n Synchronous version of [`fs.futimes()`][]. Returns `undefined`.\n \n@@ -3472,8 +3472,8 @@ changes...
2019-09-23T10:25:15
electron/electron
a88626151868a55925d613ccdd21fe3191d368a5
a47e30dd82a91347f27c8958d6be04f6a32bfb2f
Fix crash in ReadImageSkiaFromICO when CreateSkBitmapFromHICON fails
[ { "path": "atom/common/api/atom_api_native_image.cc", "patch": "@@ -160,10 +160,14 @@ base::win::ScopedHICON ReadICOFromPath(int size, const base::FilePath& path) {\n LR_LOADFROMFILE)));\n }\n \n-void ReadImageSkiaFromICO(gfx::ImageSkia* image, HICON icon) {\n+bool ReadImageSkiaFromICO(gfx::...
2016-06-27T12:38:12
huggingface/transformers
f8f2834e1a82970f93e06f9bb076a361ca2d70c0
95007e597bf7bc73774a2877723bc182f0e0a43b
[core] Faster and thread-safe `check_model_inputs` implementation (#43765) * poc * cleaner * style * forgot name * fix all * more fixes * oupsi * fix * use only 1 contextvar * lazy hook installation * capture with lists instead of tuples * more bad-behaved model fixes * style * move to dedicated file * d...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -118,14 +118,15 @@\n is_torch_xpu_available,\n logging,\n )\n-from .utils.generic import _CAN_RECORD_REGISTRY, GeneralInterface, OutputRecorder, is_flash_attention_requested\n+from .utils.generic import GeneralInterface, is_flash_attention...
2026-02-06T16:08:46
vercel/next.js
da043b5535bf50f699c928d26052aba07cb243bc
ed35e2a6ea3e8dcefef8e3a74bd945c1d2a931df
Update `swc_core` to `v0.79.33` (#53308) ### What? Update `swc_core` to https://github.com/swc-project/swc/commit/00a0575408504204179e16d986b5dff7b76c4d15 ### Why? To fix minifier regression. ### How? - Closes WEB-1326 - Fixes #53151 - Fixes #53286 - Fixes #53273
[ { "path": "Cargo.lock", "patch": "@@ -539,9 +539,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.53.22\"\n+version = \"0.53.30\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"2808ef864c0cbdb5e0588549a436411c4613034a84c9e7acdc7f06b01cb6...
2023-07-29T07:58:03
golang/go
ac313524fe4997b80a4221647f0da79d0e07b88e
35998c010947d3a5a26409fffcb4ed16c3595850
reflect: fix Value.NumMethod docs NumMethod counts unexported methods for interface types. This behavior is documented in Type.NumMethod Fixes #42123 Change-Id: Ia5aba353a8cc64190c701d1521972d57e8903564 Reviewed-on: https://go-review.googlesource.com/c/go/+/396075 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trus...
[ { "path": "src/reflect/type.go", "patch": "@@ -72,7 +72,9 @@ type Type interface {\n \n \t// NumMethod returns the number of methods accessible using Method.\n \t//\n-\t// Note that NumMethod counts unexported methods only for interface types.\n+\t// For a non-interface type, it returns the number of export...
2022-03-27T13:17:53
nodejs/node
1c5a3f0d091ef34b82f89dce4c87b431cab4c3ee
2487f390307b28be8c2d1d137f483900937237eb
test: fix flaky test-cluster-net-listen-ipv6only-none test-cluster-net-listen-ipv6only-none was using port `0` for an IPv6-only operation and assuming that the operating system would supply a port that was also available in IPv4. However, CI results seem to indicate that a port can be supplied that is in use by IPv4 b...
[ { "path": "test/sequential/test-cluster-net-listen-ipv6only-none.js", "patch": "@@ -17,13 +17,16 @@ const WORKER_ACCOUNT = 3;\n \n if (cluster.isMaster) {\n const workers = new Map();\n- let address;\n \n const countdown = new Countdown(WORKER_ACCOUNT, () => {\n- // Make sure the `ipv6Only` option w...
2019-09-25T06:00:23
huggingface/transformers
b9042c4e9a00376412e4b2187161a8af52baa133
0e9609c5d4b621dd6ef6b12e9bb73eedaf609e8c
fix: Prevent AutoTokenizer type mismatch from directory name substrin… (#43791) When saving a tokenizer to a local directory and reloading it, the tokenizer type could change to an incorrect class (or fall back to TokenizersBackend) if the directory name contained a model type substring. We're removing this fallback ...
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -1421,17 +1421,10 @@ def from_pretrained(cls, pretrained_model_name_or_path: str | os.PathLike[str],\n \"`pip install git+https://github.com/huggingface/transformers.git`\"\n )\n retu...
2026-02-06T15:32:40
vercel/next.js
b149fb70090ff545416e24ace25b8a68fc7d350e
71f08ef8737613e33e80be08fee7cf7c510445bb
docs: Update Route Handlers AI example code snippet (#52127) changing AI example model from `text-davinci-003` to `gpt-3.5-turbo` which is in a `chat/route.ts` format. The alternative but with "completition" style would be a bit longer code like: ``` // app/api/completion/route.ts import { Configuration, O...
[ { "path": "docs/02-app/01-building-your-application/01-routing/10-router-handlers.mdx", "patch": "@@ -390,52 +390,74 @@ export async function GET(request, { params }) {\n \n Streaming is commonly used in combination with Large Language Models (LLMs), such an OpenAI, for AI-generated content. Learn more abou...
2023-07-29T07:25:48
golang/go
efbe17d6f1f016616453d43208200ebf4a45d87c
c8110c3df64a4eea12334a627cca2b78d6ff3082
cmd/compile: support reading union type for compiler backend in unified IR Fixes #52124 Change-Id: I5749822d41d8e51f476bceb277b1d2cf7350dcc3 Reviewed-on: https://go-review.googlesource.com/c/go/+/397874 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Resul...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -442,9 +442,21 @@ func (r *reader) doTyp() *types.Type {\n \t\treturn r.structType()\n \tcase pkgbits.TypeInterface:\n \t\treturn r.interfaceType()\n+\tcase pkgbits.TypeUnion:\n+\t\treturn r.unionType()\n \t}\n }\n \n+func (r *reader) unionT...
2022-04-04T07:07:36
huggingface/transformers
0e9609c5d4b621dd6ef6b12e9bb73eedaf609e8c
5a1016a95e21185542f7c5adebebcbe5419566eb
[`Repo Consistency`] Fix rms norm (#43803) fix
[ { "path": "src/transformers/models/vibevoice_acoustic_tokenizer/modeling_vibevoice_acoustic_tokenizer.py", "patch": "@@ -82,15 +82,15 @@ class VibeVoiceAcousticTokenizerDecoderOutput(ModelOutput):\n \n @use_kernel_forward_from_hub(\"RMSNorm\")\n class VibeVoiceAcousticTokenizerRMSNorm(nn.Module):\n- def ...
2026-02-06T14:59:18
nodejs/node
f663b31cc2aecd585e73430504f3d7f5252851ca
634a9a97f4b380390352543452aed6c7c9defcb4
stream: always invoke callback before emitting error Ensure the callback is always invoked before emitting the error in both sync and async case. PR-URL: https://github.com/nodejs/node/pull/29293 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -571,7 +571,8 @@ The `writable.write()` method writes some data to the stream, and calls the\n supplied `callback` once the data has been fully handled. If an error\n occurs, the `callback` *may or may not* be called with the error as its\n first argument. To reli...
2019-08-24T14:33:46
vercel/next.js
71f08ef8737613e33e80be08fee7cf7c510445bb
dffafdecd3e94a8909d6042ffb5b024f885928c7
docs: fix typo (#53100) just a typo in next/jest docs
[ { "path": "docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx", "patch": "@@ -318,7 +318,7 @@ npm install --save-dev jest jest-environment-jsdom @testing-library/react @testi\n Create a `jest.config.mjs` file in your project's root directory and add the following:\n \n ```js filename=\"...
2023-07-29T07:12:33
electron/electron
e457207b20f6e5c330bb0218f45503eb42b4bc0b
4e747b56b03bf47ab1f353e7222bd8c4ab64985c
Portuguese error
[ { "path": "docs-translations/pt-BR/api/auto-updater.md", "patch": "@@ -40,7 +40,7 @@ Emitido quando está verificando se uma atualização foi inicializada.\n \n ### Evento: 'update-available'\n \n-Emitido quando há uma atualização disponível. A autalização é baixada automaticamente.\n+Emitido quando há uma at...
2016-06-27T23:19:46
huggingface/transformers
5a1016a95e21185542f7c5adebebcbe5419566eb
711f27972f1bdffc3b0f27b21a57416bc43a2a5b
Remove unconditional train_batch_size assignment (#43770) * Remove unconditional train_batch_size assignment The train_batch_size should only be saved to TrainerState when auto_find_batch_size is enabled (which is already handled in the auto_find_batch_size block at line 2251). The unconditional assignment caused iss...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2101,7 +2101,10 @@ def train(\n self._load_from_checkpoint(resume_from_checkpoint)\n # In case of repeating the find_executable_batch_size, set `self._train_batch_size` properly\n state = TrainerState.load_from_js...
2026-02-06T14:46:43
golang/go
35fb79be6abc1a9a0860cd28cae89dda038f5125
f86f9a3038eb6db513a0ea36bc2af7a13b005e99
go/types, types2: fix overlap test for union termlist Per the spec, "the type sets of all non-interface terms must be pairwise disjoint (the pairwise intersection of the type sets must be empty)" in a union. For the overlap test, the existing implementation casually mixed syntactic union terms (which may have interfa...
[ { "path": "src/cmd/compile/internal/types2/testdata/examples/constraints.go", "patch": "@@ -24,7 +24,8 @@ type (\n \t_ interface{int|any}\n \t_ interface{int|~string|union}\n \t_ interface{int|~string|interface{int}}\n-\t_ interface{union|union /* ERROR overlapping terms p.union and p.union */ }\n+\t_ inter...
2022-04-02T00:02:28
nodejs/node
634a9a97f4b380390352543452aed6c7c9defcb4
c42ab995c16a134350078d70e32bc278cd74bc1f
deps: enable unit data in small-icu The data are needed for new Intl.NumberFormat options added by V8. Fixes: https://github.com/nodejs/node/issues/29734 PR-URL: https://github.com/nodejs/node/pull/29735 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Steven R L...
[ { "path": "tools/icu/icu_small.json", "patch": "@@ -29,7 +29,7 @@\n \"brkfiles\": \"none\",\n \"brkdict\": \"none\",\n \"confusables\": \"none\",\n- \"unit\": \"none\"\n+ \"unit\": \"locales\"\n },\n \"remove\": [\n \"cnvalias.icu\",", "additions": 1, "deletions": 1, "l...
2019-09-27T15:21:43
huggingface/transformers
711f27972f1bdffc3b0f27b21a57416bc43a2a5b
8c3ac8f1446cb57dd7c6448f5df8478cd9fc22c7
fix(testing): Fix BLOOM tokenizer, CLAP audio features, and CLVP text tester usage in tests (#43798) fix(testing): Small test-only fixes for CLAP, BLOOM, and CLVP
[ { "path": "tests/models/bloom/test_modeling_bloom.py", "patch": "@@ -544,7 +544,7 @@ def test_batch_generation(self):\n \n input_sentence = [\"I enjoy walking with my cute dog\", \"I enjoy walking with my cute dog\"]\n \n- inputs = tokenizer.batch_encode_plus(input_sentence, return_tensors=\"...
2026-02-06T13:55:53
vercel/next.js
5bccef85f2b6f0ef769fd923b1d08bc564caaf68
c7f9ffac5a606cf9c8076efc92739ca6c689fbb8
chore(examples): fall back to English dictionary in i18n example (#53207) If an unknown locale is detected, we should fall back to English Fixes #53201 Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "examples/app-dir-i18n-routing/get-dictionary.ts", "patch": "@@ -9,4 +9,5 @@ const dictionaries = {\n cs: () => import('./dictionaries/cs.json').then((module) => module.default),\n }\n \n-export const getDictionary = async (locale: Locale) => dictionaries[locale]()\n+export const getDictionary =...
2023-07-29T06:38:26
golang/go
1af60b2f4990bffdd1b050ffd11e978578d1e38f
492c85ab84dc1d4d19be0466d2d73f4a6174f07e
regexp/syntax: add and use ErrInvalidDepth The fix for #51112 introduced a depth check but used ErrInternalError to avoid introduce new API in a CL that would be backported to earlier releases. New API accepted in proposal #51684. This CL adds a distinct error for this case. For #51112. Fixes #51684. Change-Id: I0...
[ { "path": "api/next/regexpdepth.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg regexp/syntax, const ErrInvalidDepth = \"invalid nesting depth\" #0\n+pkg regexp/syntax, const ErrInvalidDepth ErrorCode #0\n+", "additions": 3, "deletions": 0, "language": "Plain Text" }, { "path": "src/regexp/syntax/...
2022-02-02T21:44:35
nodejs/node
f21818ec32b2e6a6acc010861742b451ce6fae1d
95792a79892471e2c691c071e85d7fea29aa40cd
build: include deps/v8/test/torque in source tarball Builds from the source tarball were broken by the recent V8 upate to 7.7 as a file needed to build torque wasn't included in the source tarball as it resides in deps/v8/test. PR-URL: https://github.com/nodejs/node/pull/29712 Fixes: https://github.com/nodejs/node/is...
[ { "path": "Makefile", "patch": "@@ -1037,7 +1037,6 @@ $(TARBALL): release-only $(NODE_EXE) doc\n \t$(RM) -r $(TARNAME)/deps/uv/samples\n \t$(RM) -r $(TARNAME)/deps/uv/test\n \t$(RM) -r $(TARNAME)/deps/v8/samples\n-\t$(RM) -r $(TARNAME)/deps/v8/test\n \t$(RM) -r $(TARNAME)/deps/v8/tools/profviz\n \t$(RM) -r ...
2019-09-26T06:07:53
vercel/next.js
c7f9ffac5a606cf9c8076efc92739ca6c689fbb8
3abaa85977589985fc9b49b66eddd06bb9b1f475
Clarify requirements for running examples (#53143) - to avoid #53037 kind of issues. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) t...
[ { "path": "contributing/examples/run-example-apps.md", "patch": "@@ -6,6 +6,8 @@ Running examples can be done with:\n pnpm next-with-deps ./examples/basic-css/\n ```\n \n+> Before running any of the examples, you need to install dependencies via `pnpm install` and build the repository packages by running `p...
2023-07-29T05:59:16
huggingface/transformers
8c3ac8f1446cb57dd7c6448f5df8478cd9fc22c7
49dd297930605343d8c498dd7ac026819667fc3c
[`Modular Dependencies`] Fixup qwen rms norms (#43772) * fix * type hints
[ { "path": "src/transformers/models/afmoe/modeling_afmoe.py", "patch": "@@ -107,15 +107,15 @@ def forward(self, x, position_ids):\n \n @use_kernel_forward_from_hub(\"RMSNorm\")\n class AfmoeRMSNorm(nn.Module):\n- def __init__(self, hidden_size, eps=1e-6):\n+ def __init__(self, hidden_size, eps: float =...
2026-02-06T12:30:15
electron/electron
5118def724d650a95360828c45a572f1d1ee9deb
3c92825e2aab64abfde6efeb54ac1069a0832221
damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -1197,16 +1197,18 @@ void WebContents::SendInputEvent(v8::Isolate* isolate,\n void WebContents::BeginFrameSubscription(\n mate::Arguments* args) {\n FrameSubscriber::FrameCaptureCallback callback;\n- if (!args->GetNext(&callback))\n- ...
2016-06-25T16:23:40
golang/go
492c85ab84dc1d4d19be0466d2d73f4a6174f07e
884e75fa53529321352a18538fe9e02fd485c49a
cmd/go: prevent panic in go work use Check if paths passed as arguments are existing directories. Fixes #51841 Fixes #51749 Change-Id: Icfd148627e6f2c4651d6f923a37d413e68c67f6c GitHub-Last-Rev: 77fffa7635052f11dc93488ee23fd1c895284b4d GitHub-Pull-Request: golang/go#51845 Reviewed-on: https://go-review.googlesource.c...
[ { "path": "src/cmd/go/internal/workcmd/use.go", "patch": "@@ -12,7 +12,6 @@ import (\n \t\"cmd/go/internal/modload\"\n \t\"cmd/go/internal/str\"\n \t\"context\"\n-\t\"errors\"\n \t\"fmt\"\n \t\"io/fs\"\n \t\"os\"\n@@ -109,17 +108,33 @@ func runUse(ctx context.Context, cmd *base.Command, args []string) {\n \...
2022-04-04T06:25:32
nodejs/node
95792a79892471e2c691c071e85d7fea29aa40cd
35bfe0e414f4d4b79ca0820c3b0dd41e61d893be
Revert "stream: invoke callback before emitting error always" This reverts commit 3de5eae6dbe503485b95bdeb8bddbd67e4613d59. PR-URL: https://github.com/nodejs/node/pull/29741 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -571,8 +571,7 @@ The `writable.write()` method writes some data to the stream, and calls the\n supplied `callback` once the data has been fully handled. If an error\n occurs, the `callback` *may or may not* be called with the error as its\n first argument. To reli...
2019-09-28T00:32:40
huggingface/transformers
0b2900dd7ae8c6024f820db777830415bb70d44e
281eeef1bbe7442646892059f2d13ff27c03f4a0
Fix-release-ubild (#43773) * fix sam hq * and sam * urllib 3
[ { "path": "src/transformers/models/sam/processing_sam.py", "patch": "@@ -61,9 +61,9 @@ class SamImagesKwargs(ImagesKwargs, total=False):\n \"\"\"\n \n segmentation_maps: ImageInput | None\n- input_points: NestedList | torch.Tensor | None\n- input_labels: NestedList | int | torch.Tensor | None\...
2026-02-06T08:56:50
rust-lang/rust
1d1b97d514d5ca0f7effb6657acbdc647821b738
e2270bb9e582465099fbad550be13f6892339f42
fix false negative of `expect_used`
[ { "path": "clippy_lints/src/methods/mod.rs", "patch": "@@ -5546,7 +5546,7 @@ impl Methods {\n // Handle method calls whose receiver and arguments may come from expansion\n if let ExprKind::MethodCall(path, recv, args, _call_span) = expr.kind {\n match (path.ident.name, args) {\n-...
2025-07-11T17:44:55
vercel/next.js
3906374740065f85d5a892b533c027bf7f8b5f8f
ce29de25e44c7df87369c9e899fca3bff1940425
Try to fix flakey `socket hang up` failures in stream cancel tests (#53318) ### What? I think the flakiness from the new stream cancel tests is due to a uncaught error thrown from the priming. If it is during the priming, then we need to also explicitly check if we restart the test and reset the `streamable`. ### Wh...
[ { "path": "test/e2e/cancel-request/app/edge-route/route.ts", "patch": "@@ -9,19 +9,19 @@ export async function GET(req: Request): Promise<Response> {\n // This is so we don't confuse the request close with the connection close.\n await req.text()\n \n- // The 2nd request should render the stats. We don...
2023-07-28T22:59:24
golang/go
884e75fa53529321352a18538fe9e02fd485c49a
a92ca515077e5cf54673eb8c5c2d9db4824330db
reflect: fix the collision of variable name and package name The return value "abi" of func "funcLayout" is the same as package "internal/abi", which currently works fine, but it is more reliable to avoid conflicts. Change-Id: I83715dd79beff7cb3fc25747fef186dc0e2dfa8b Reviewed-on: https://go-review.googlesource.com/c...
[ { "path": "src/reflect/makefunc.go", "patch": "@@ -54,14 +54,14 @@ func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {\n \tcode := abi.FuncPCABI0(makeFuncStub)\n \n \t// makeFuncImpl contains a stack map for use by the runtime\n-\t_, _, abi := funcLayout(ftyp, nil)\n+\t_, _, abid := fun...
2022-02-12T09:03:19
huggingface/transformers
438856e44ae31d188eca096e5ba151254803fb1a
393b4b3d28e29b4b05b19b4b7f3242a7fc893637
Fix `convert_rope_params_to_dict` so it uses `rope_theta` from the config (#43766) * Fix `convert_rope_params_to_dict` so it uses config attrs Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * review comment Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --------- ...
[ { "path": "src/transformers/modeling_rope_utils.py", "patch": "@@ -634,11 +634,17 @@ def convert_rope_params_to_dict(self, ignore_keys_at_rope_validation: set | None\n self.rope_parameters = rope_scaling or self.rope_parameters\n self.rope_parameters = self.rope_parameters if self.rope_param...
2026-02-06T07:31:41
rust-lang/rust
beb1b7d1a8db453d31f324a6e3d036a7624fba55
bb7a446c758746def292829a2d0407ce60b38220
connect5: clippy fixes
[ { "path": "library/stdarch/examples/connect5.rs", "patch": "@@ -558,7 +558,8 @@ fn search(pos: &Pos, alpha: i32, beta: i32, depth: i32, _ply: i32) -> i32 {\n assert_ne!(bm, MOVE_NONE);\n assert!(bs >= -EVAL_INF && bs <= EVAL_INF);\n \n- if _ply == 0 { bm } else { bs } //best move at the root node...
2025-07-11T13:07:52
vercel/next.js
ce29de25e44c7df87369c9e899fca3bff1940425
7f77f427d2552c4b862243b7dc68d89e800538b1
Fixed simple typo in documentation (#53317) I think this is a typo, at the very least I found the sentence a little clunky.
[ { "path": "docs/05-community/01-contribution-guide.mdx", "patch": "@@ -305,7 +305,7 @@ For information that is important but not critical, use notes. Notes are a good\n > **Good to know**:\n >\n > - We also use this format for multi-line notes.\n-> - There are sometimes multiple item worths knowing or keepi...
2023-07-28T21:22:37
electron/electron
dfc2f3f0c64d750de6ca0467ee40fb5630933fc8
6ea59803a8713438f5a7b4b9a9874ca8289e3a2d
Fix uninitialized member variable in CrashReporterWin
[ { "path": "atom/common/crash_reporter/crash_reporter_win.cc", "patch": "@@ -137,7 +137,8 @@ void UnregisterNonABICompliantCodeRange(void* start) {\n \n } // namespace\n \n-CrashReporterWin::CrashReporterWin() {\n+CrashReporterWin::CrashReporterWin()\n+ : skip_system_crash_handler_(false) {\n }\n \n Cras...
2016-06-24T15:51:31
huggingface/transformers
393b4b3d28e29b4b05b19b4b7f3242a7fc893637
b92f8ffc6587478b43f33b62f9ff47e4a25cac5c
[Trainer] Move NEFTune impl to standalone functions (#43714) * style * update * Apply suggestion from @kashif Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com> * Apply suggestion from @kashif Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com> * Apply repo consistency fixes --------- Co-authored-by: Kash...
[ { "path": "src/transformers/integrations/__init__.py", "patch": "@@ -130,6 +130,11 @@\n \"replace_with_mxfp4_linear\",\n \"swizzle_mxfp4\",\n ],\n+ \"neftune\": [\n+ \"activate_neftune\",\n+ \"deactivate_neftune\",\n+ \"neftune_post_forward_hook\",\n+ ],\n ...
2026-02-05T18:58:11
golang/go
345184496ce358e663b0150f679d5e5cf1337b41
85b5f86584686677c554b2538a7edee96d684aea
os: add handling of os.Interrupt for windows Add GenerateConsoleCtrlEvent call to internal syscall package. Define ErrProcessDone while reviewing handling of os.Signal(). Update test to run for windows using the added call. Fixes #42311 Fixes #46354 Change-Id: I460955efc76c4febe04b612ac9a0670e62ba5ff3 Reviewed-on: h...
[ { "path": "src/internal/syscall/windows/syscall_windows.go", "patch": "@@ -344,3 +344,4 @@ func LoadGetFinalPathNameByHandle() error {\n //sys\tDestroyEnvironmentBlock(block *uint16) (err error) = userenv.DestroyEnvironmentBlock\n \n //sys\tRtlGenRandom(buf []byte) (err error) = advapi32.SystemFunction036\n...
2021-11-28T14:19:15
nodejs/node
35bfe0e414f4d4b79ca0820c3b0dd41e61d893be
aea9a0f77da6a14d4fee2b21b0f4a6a813a01e70
build,win: goto lint only after defining node_exe When running `vcbuild lint` on a new prompt where vcbuild was not run before, `%node_exe%` was not defined and `eslint.js`, `lint-js.js` and `lint-md.js` would be run directly using the program defined in Windows (usually the Windows Scripting Host or Notepad). This m...
[ { "path": "vcbuild.bat", "patch": "@@ -152,10 +152,6 @@ goto next-arg\n \n :args-done\n \n-if \"%*\"==\"lint\" (\n- goto lint-cpp\n-)\n-\n if defined build_release (\n set config=Release\n set package=1\n@@ -178,6 +174,9 @@ set \"npm_exe=\"%~dp0%node_exe%\" %~dp0deps\\npm\\bin\\npm-cli.js\"\n if \"%tar...
2019-09-19T13:25:37
rust-lang/rust
b94083e87fcbacaf9d76176742d2fe984b5aaae4
0c81bf80e031ec000ddaab1578cc39a40364a54d
fix const_ops tracking issue
[ { "path": "library/core/src/ops/arith.rs", "patch": "@@ -65,7 +65,7 @@\n /// ```\n #[lang = \"add\"]\n #[stable(feature = \"rust1\", since = \"1.0.0\")]\n-#[rustc_const_unstable(feature = \"const_ops\", issue = \"90080\")]\n+#[rustc_const_unstable(feature = \"const_ops\", issue = \"143802\")]\n #[rustc_on_u...
2025-07-11T15:57:46
vercel/next.js
46677ccda6a62203d7a7ae359c1020780aeccee5
afa9f965157ce60b5d65d1b3d8981e57b06d8e9b
fix: (README.md) Fix typing error (#53311) Fix typing error on documentation where 'deploying' it was written as 'deloying'
[ { "path": "examples/github-pages/README.md", "patch": "@@ -1,6 +1,6 @@\n # Deploying to GitHub Pages\n \n-This example supports deloying a statically exported Next.js application to GitHub Pages.\n+This example supports deploying a statically exported Next.js application to GitHub Pages.\n \n The `out` dire...
2023-07-28T20:43:43
huggingface/transformers
b92f8ffc6587478b43f33b62f9ff47e4a25cac5c
759b5c8fd85fb627c40ce8d275041adc0851af2d
[docs] deploying (#43241) * fix * feedback * fix
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -231,18 +231,24 @@\n - isExpanded: false\n sections:\n - sections:\n+ - local: community_integrations/transformers_as_backend\n+ title: Building a compatible model backend for inference\n - local: community_integrations/sglang\n tit...
2026-02-05T16:36:48
golang/go
85b5f86584686677c554b2538a7edee96d684aea
73a81d84b644da13bb11ce2e63d7f61041f7ebac
net: support error.Is of network errors and context errors Change timeouts to be Is(context.DeadlineExceeded) and cancelation to be Is(context.Canceled). Fixes #51428 Change-Id: Ic580bd9da0f338e993fb79138875a78d99cc1a1d Reviewed-on: https://go-review.googlesource.com/c/go/+/396877 Trust: Ian Lance Taylor <iant@golan...
[ { "path": "doc/go1.19.html", "patch": "@@ -89,6 +89,18 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n Please report any such problems on <a href=\"/issue/new\">the\n issue tracker</a>.\n </p>\n+\n+ <p><!-- CL 396877 -->\n+ When a net package function or metho...
2022-03-31T00:26:21
rust-lang/rust
0c81bf80e031ec000ddaab1578cc39a40364a54d
855e0fe46e68d94e9f6147531b75ac2d488c548e
fix PartialEq const feature name and const_cmp tracking issue
[ { "path": "library/core/src/cmp.rs", "patch": "@@ -248,7 +248,7 @@ use crate::ops::ControlFlow;\n )]\n #[rustc_diagnostic_item = \"PartialEq\"]\n #[const_trait]\n-#[rustc_const_unstable(feature = \"const_trait_impl\", issue = \"67792\")]\n+#[rustc_const_unstable(feature = \"const_cmp\", issue = \"143800\")]...
2025-07-11T15:35:57
nodejs/node
aea9a0f77da6a14d4fee2b21b0f4a6a813a01e70
c2ce8d05474c38c503b6ac57e94366421c960762
worker: fix process._fatalException return type This makes sure `process._fatalException()` returns a boolean when run inside of a worker. PR-URL: https://github.com/nodejs/node/pull/29706 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasn...
[ { "path": "lib/internal/main/worker_thread.js", "patch": "@@ -166,26 +166,28 @@ function workerOnGlobalUncaughtException(error, fromPromise) {\n }\n debug(`[${threadId}] uncaught exception handled = ${handled}`);\n \n- if (!handled) {\n- let serialized;\n- try {\n- const { serializeError } =...
2019-09-25T12:51:18
huggingface/transformers
759b5c8fd85fb627c40ce8d275041adc0851af2d
e1f376670be2e6a6054d9688376a6097c4541349
[Trainer] Move sort and rotate checkpoints to standalone functions (#43736) * move the standalone functions * update * style * update to logger.warning * Apply repo consistency fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -24,7 +24,6 @@\n import math\n import os\n import random\n-import re\n import shutil\n import sys\n import tempfile\n@@ -124,8 +123,10 @@\n load_sharded_checkpoint,\n neftune_post_forward_hook,\n number_of_arguments,\n+ rotate_checkpoints,...
2026-02-05T15:26:44
vercel/next.js
1e32f386fa6f9afd87071fda9ef3010849218de6
40af8a5830e402f30d1e6dc76481cb896c3f933b
Snapshot tests: canonicalize with dunce (vercel/turbo#5582) This uses dunce [0] to consistently canonicalize paths used in Turbopack's tests. Previously, `REPO_ROOT` used Windows UNC paths while the test path in snapshot tests did not. This caused an issue when using `string.strip_prefix()` to determine relative paths...
[ { "path": "crates/turbopack-tests/tests/snapshot.rs", "patch": "@@ -162,7 +162,7 @@ async fn run(resource: PathBuf) -> Result<()> {\n \n #[turbo_tasks::function]\n async fn run_test(resource: String) -> Result<Vc<FileSystemPath>> {\n- let test_path = Path::new(&resource);\n+ let test_path = canonicali...
2023-07-28T20:17:17
rust-lang/rust
2f05fa6fffb857c08edd0af2dc69f05fa1f02703
855e0fe46e68d94e9f6147531b75ac2d488c548e
Fix ICE for parsed attributes with longer path not handled by CheckAttrVisitor Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "Cargo.lock", "patch": "@@ -4349,6 +4349,7 @@ dependencies = [\n \"rustc_ast_lowering\",\n \"rustc_ast_pretty\",\n \"rustc_attr_data_structures\",\n+ \"rustc_attr_parsing\",\n \"rustc_data_structures\",\n \"rustc_errors\",\n \"rustc_expand\",", "additions": 1, "deletions": 0, "la...
2025-07-11T15:02:24
golang/go
73a81d84b644da13bb11ce2e63d7f61041f7ebac
8e50298f12c9cb8dc8093c00059e46a302977b83
cmd/cgo: retain original file paths in godefs generated comment Don't rewrite relative file paths to absolute file paths in the godefs generated code comment. Fixes #52063 Change-Id: Ie9c5bd021b8f3954e827838930861622c7aa90b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/396936 Trust: Tobias Klauser <tobias....
[ { "path": "misc/cgo/testgodefs/testgodefs_test.go", "patch": "@@ -9,6 +9,7 @@ import (\n \t\"os\"\n \t\"os/exec\"\n \t\"path/filepath\"\n+\t\"runtime\"\n \t\"strings\"\n \t\"testing\"\n )\n@@ -58,9 +59,32 @@ func TestGoDefs(t *testing.T) {\n \t\t\tt.Fatalf(\"%s: %v\\n%s\", strings.Join(cmd.Args, \" \"), err...
2022-04-01T07:41:57
electron/electron
c6906deef20ca3631862b84d1556cfcf8e4479de
b273b70eee6a15808faad6f3fd5ad5d85d36e4d4
Add failing spec for trailing separator bug
[ { "path": "spec/modules-spec.js", "patch": "@@ -57,6 +57,11 @@ describe('Module._nodeModulePaths', function () {\n path.join(process.resourcesPath, 'node_modules')\n ])\n \n+ modulePath = process.resourcesPath + '-foo'\n+ let nodeModulePaths = Module._nodeModulePaths(modulePath)\n+ ...
2016-06-23T22:39:21
nodejs/node
3de5eae6dbe503485b95bdeb8bddbd67e4613d59
c48467408d6f520b3dda86e34c8f4688acdd52b7
stream: invoke callback before emitting error always Ensure the callback is always invoked before emitting the error in both sync and async case. PR-URL: https://github.com/nodejs/node/pull/29293 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -571,7 +571,8 @@ The `writable.write()` method writes some data to the stream, and calls the\n supplied `callback` once the data has been fully handled. If an error\n occurs, the `callback` *may or may not* be called with the error as its\n first argument. To reli...
2019-08-24T14:33:46
huggingface/transformers
e1f376670be2e6a6054d9688376a6097c4541349
35b85bd579654f906f110375eb33223885447998
Fix EP post merge (#43730) * restore * add all reduce for ep * fix init and bias sharding * fix finalize weight init * add full stacktracing * fix * okay big improvement here * the only case shard index should be used is when we are acctually collecting for mergeModuleList * more fixes * fix EP forward gpt os...
[ { "path": "docs/source/en/perf_infer_gpu_multi.md", "patch": "@@ -115,7 +115,7 @@ class ParallelInterface(MutableMapping):\n \"local_colwise\": ColwiseParallel(use_dtensor=False),\n \"local_rowwise\": RowwiseParallel(use_dtensor=False),\n \"local\": IsolatedParallel(),\n- \"ga...
2026-02-05T15:23:38
vercel/next.js
16a5aa74d056b284f80799ba5c5a5c362d531dac
127e30ed428f20ab53969cd8ac9afed51c074e2c
feature: Update cases in [Incorrect nesting of HTML tags] (#53282) It took me much time to debug this issue during my development process, and since the error logs(you can see below) given are not very clear, I hope it will help others who encounter the same problem. <img width="954" alt="image" src="https://github.c...
[ { "path": "errors/react-hydration-error.mdx", "patch": "@@ -15,6 +15,7 @@ Hydration errors can occur from:\n 1. Incorrect nesting of HTML tags\n 1. `<p>` nested in another `<p>` tag\n 2. `<div>` nested in a `<p>` tag\n+ 3. [Interactive Content](https://html.spec.whatwg.org/#interactive-content-2) ca...
2023-07-28T18:12:15
rust-lang/rust
5a9030840db3399c664035617cb0e3db7f132f8a
7e743ab065c695723de53690ad89ce5d510b9fcd
fix: Normalize projection types before calculating memory maps
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/mir/eval.rs", "patch": "@@ -31,8 +31,8 @@ use syntax::{SyntaxNodePtr, TextRange};\n use triomphe::Arc;\n \n use crate::{\n- CallableDefId, ClosureId, ComplexMemoryMap, Const, ConstData, ConstScalar, FnDefId, Interner,\n- MemoryMap, Substitution, ToC...
2025-07-11T14:10:03
golang/go
01c83be7932e7f51333c813460752f09f78ec2c4
8a816d5efcc842ae92f0193aa9c1d433bd66ef31
doc: add illegal octal over 255 example Octal values over 255, like \400 or \777, are illegal. It wasn't clear if the expected behavior was a compile error, encoding the value as two characters, or if the value would be capped at 255. This example explicitly shows that octal values over 255 are illegal. Change-Id: ...
[ { "path": "doc/go_spec.html", "patch": "@@ -529,6 +529,7 @@ <h3 id=\"Rune_literals\">Rune literals</h3>\n 'aa' // illegal: too many characters\n '\\xa' // illegal: too few hexadecimal digits\n '\\0' // illegal: too few octal digits\n+'\\400' // illegal: octal value over 255\n '\...
2022-04-01T23:42:12
nodejs/node
c48467408d6f520b3dda86e34c8f4688acdd52b7
5e1440c76b6181b5c271acaaeb20183ad5885562
doc: fix output in inspector HeapProfile example PR-URL: https://github.com/nodejs/node/pull/29711 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/inspector.md", "patch": "@@ -216,7 +216,7 @@ session.on('HeapProfiler.addHeapSnapshotChunk', (m) => {\n });\n \n session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => {\n- console.log('Runtime.takeHeapSnapshot done:', err, r);\n+ console.log('HeapProfiler.takeHeapSnapshot done...
2019-09-26T06:02:45
electron/electron
cfebf7aa6bae16d1b12f2461df7ecafea58c3202
271c39ceb3990931a809715d9d2d66d029a3e826
fix list indentation
[ { "path": "docs/api/web-contents.md", "patch": "@@ -360,25 +360,27 @@ Returns:\n able to perform the corresponding action. See more about this below.\n \n The `mediaFlags` is an object with the following properties:\n- * `inError` Boolean - Whether the media element has crashed.\n- * `isPaused` Boolea...
2016-06-23T17:36:16
huggingface/transformers
b98123c4966c4821262a312c735c9946edab898b
ffaf03b32acb2876e90fa5c5100e48fecdbf1093
fix(models): Migrate legacy segmentation_indices to out_indices in BeitConfig (#43505) * fix: Migrate legacy segmentation_indices to out_indices in BeitConfig * nit: Fix ci/circleci: check_repository_consistency * fix: Address reviewer comments
[ { "path": "src/transformers/models/beit/configuration_beit.py", "patch": "@@ -151,6 +151,8 @@ def __init__(\n reshape_hidden_states=True,\n **kwargs,\n ):\n+ if \"segmentation_indices\" in kwargs and out_indices is None:\n+ out_indices = kwargs.pop(\"segmentation_indice...
2026-02-05T13:33:51
rust-lang/rust
34426dce3d05e2e5c8c7116809291403ba4cbc00
119574f83576dc1f3ae067f9a97986d4e2b0826c
Fix fallback for CI_JOB_NAME If CI_JOB_NAME is not specified, it's supposed to fall back to the image name, which is `$image`, not `$IMAGE`. Failing to set the correct CI_JOB_NAME causes failures when running `dist-ohos-*` images locally.
[ { "path": "src/ci/docker/run.sh", "patch": "@@ -361,7 +361,7 @@ docker \\\n --env TOOLSTATE_REPO \\\n --env TOOLSTATE_PUBLISH \\\n --env RUST_CI_OVERRIDE_RELEASE_CHANNEL \\\n- --env CI_JOB_NAME=\"${CI_JOB_NAME-$IMAGE}\" \\\n+ --env CI_JOB_NAME=\"${CI_JOB_NAME-$image}\" \\\n --env CI_JOB_DOC_URL=\"...
2025-07-11T13:04:13
vercel/next.js
604681912bb58e2f315bf4f53014c9ef6b48a2ae
e575179b3e3fa73c380ca86c04a1695405dd4ae0
ensure colocated unit tests run in CI & fix various failing tests (#53270) Colocated unit tests (such as ones in `packages/next` and `packages/font`) weren't running in CI since `run-tests` marks the glob cwd as `<root>/tests`. This modifies the working directory to be the root so the new expanded test pattern will pi...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -146,7 +146,7 @@ jobs:\n with:\n nodeVersion: 16\n skipForDocsOnly: 'yes'\n- afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS=\"$(pwd)/packages/next-swc/crates/next-dev-tests/tests-manifest.js\" TURBOPACK=1 __INTERNA...
2023-07-28T13:54:15
huggingface/transformers
a8e791dbc2c4e66f0c921991e3fb42b942c6edc9
b8a1c69b9681049eebd151446455484b45cc8603
fix: add compatible_model_types to suppress model type mismatch warnings (#43495) docs: enhance model type warning messages for compatibility with video variants in EdgeTam, Sam2, and Sam3 configurations
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -542,8 +542,11 @@ def from_pretrained(\n # raise warning only if we still can't see a match in `model_type`\n if config_dict[\"model_type\"] != cls.model_type:\n logger.warning(\n- f\...
2026-02-05T13:03:32
golang/go
8a816d5efcc842ae92f0193aa9c1d433bd66ef31
f8e70fc9a6d2a88d51d36208e64b12a236fce1b1
go/types: don't report errors for untyped int shifts on Go < 1.13 CL 337529 introduced upfront type-checking of constant shift operands, to avoid converting their type to uint (per the spec). However, it had an oversight in that the checks intended for non-constant operands still ran after the explicit checking of con...
[ { "path": "src/go/types/api_test.go", "patch": "@@ -330,7 +330,7 @@ func TestTypesInfo(t *testing.T) {\n \n \t\t// issue 47243\n \t\t{`package issue47243_a; var x int32; var _ = x << 3`, `3`, `untyped int`},\n-\t\t{`package issue47243_b; var x int32; var _ = x << 3.`, `3.`, `uint`}, // issue 47410: should b...
2022-03-30T13:56:13
nodejs/node
7223ce2a9c0fe250e199327ece14d2fcaea34bb1
ccb524fa16aabcc4e01d861579c462c76eabe991
doc: clarify stream errors while reading and writing Errors should be propagated through destroy(err). Anything else is basically undefined behaviour. PR-URL: https://github.com/nodejs/node/pull/29653 Refs: https://github.com/nodejs/node/issues/29584 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben ...
[ { "path": "doc/api/stream.md", "patch": "@@ -1879,13 +1879,11 @@ or write buffered data before a stream ends.\n \n #### Errors While Writing\n \n-It is recommended that errors occurring during the processing of the\n-`writable._write()` and `writable._writev()` methods are reported by invoking\n-the callbac...
2019-09-22T14:10:35
vercel/next.js
aaa94cd6e030dfcd58a1d552c8ff36d6469dca41
0814c82d0b71d167bbab99e0475c07081caa08e4
fix(font): expose loading error for debugging (#53284) ### What? Exposing the original error message. ### Why? While looking at #53279, I noticed that we don't show the original error message, which makes it hard to guess why the error was thrown in the first place. ### How? Related #53279
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -164,7 +164,9 @@ const nextFontGoogleFontLoader: FontLoader = async ({\n if (isDev) {\n if (isServer) {\n Log.error(\n- `Failed to download \\`${fontFamily}\\` from Google Fonts. Using fallback font instead.`\n+ ...
2023-07-28T08:19:50
huggingface/transformers
b8a1c69b9681049eebd151446455484b45cc8603
ace7c370145a4a4861383672daa7095a0c8e43fc
Fix T5 v1.1 detection (#43681) * Fix T5 v1.1 detection PR #41541 refactored `tie_word_embeddings` handling (among other things) which subtly broke detection of T5 v1.1 vs. original detection. As a consequence, decoder output scaling was always applied, regardless of T5 version. This is resolved by using the correct ...
[ { "path": "src/transformers/models/t5/configuration_t5.py", "patch": "@@ -140,7 +140,7 @@ def __init__(\n # The model code was relying on saved configs where `tie_word_embeddings` is\n # set to `False` in 1.1v and using it as indicator of whether to scale or not\n # But in fact we ti...
2026-02-05T11:02:02
golang/go
f8e70fc9a6d2a88d51d36208e64b12a236fce1b1
153c18a515c90a78bf4c90a56e4ba5b700f407b1
strings: document the use of simple case-folding in EqualFold Fixes #52022 Change-Id: I077fc062dfd02f79eb83713490efbe0bdc783d8b Reviewed-on: https://go-review.googlesource.com/c/go/+/396616 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <ia...
[ { "path": "src/strings/example_test.go", "patch": "@@ -95,7 +95,12 @@ func ExampleCut() {\n \n func ExampleEqualFold() {\n \tfmt.Println(strings.EqualFold(\"Go\", \"go\"))\n-\t// Output: true\n+\tfmt.Println(strings.EqualFold(\"AB\", \"ab\")) // true because comparison uses simple case-folding\n+\tfmt.Print...
2022-03-30T07:47:57
vercel/next.js
7c67b1216cecdd75f054a859766615880e1d50ed
37bb09d36aa4bb96292bead7d9d9e3a3f7a10be7
fix route groups in app_structure (#53247) ### What? the key shouldn't include route groups
[ { "path": "packages/next-swc/crates/napi/src/app_structure.rs", "patch": "@@ -241,14 +241,14 @@ async fn prepare_entrypoints_for_js(\n let entrypoints = entrypoints\n .await?\n .iter()\n- .map(|(key, &value)| {\n+ .map(|(key, value)| {\n let key = key.to_string(...
2023-07-27T22:22:18
nodejs/node
008a1f6e8c99fb1889e25f1864d35ef71411b721
f81bef53984eedbf583900c3e92348b8775fca18
doc: fix some recent nits PR-URL: https://github.com/nodejs/node/pull/29670 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.co...
[ { "path": "doc/api/events.md", "patch": "@@ -709,7 +709,7 @@ The `Promise` will resolve with an array of all the arguments emitted to the\n given event.\n \n This method is intentionally generic and works with the web platform\n-[EventTarget](WHATWG-EventTarget) interface, which has no special\n+[EventTarge...
2019-09-23T13:57:03
golang/go
89dff118ada91061350aa149b54a2ab4fdbd6810
7d87ccc860dc31c0cd60faf00720e2f30fd37efb
all: fix TODO comment hanging indents For whatever reason (perhaps some tool does this), a handful of comments, including some doc comments, have TODOs formatted like: // TODO(name): Text here and // more text aligned // under first text. In doc comments the second line turns into a <pre> ...
[ { "path": "src/cmd/compile/internal/ssa/func_test.go", "patch": "@@ -34,7 +34,7 @@ package ssa\n \n // TODO(matloob): Choose better names for Fun, Bloc, Goto, etc.\n // TODO(matloob): Write a parser for the Func disassembly. Maybe\n-// the parser can be used instead of Fun.\n+// the parser ca...
2022-01-31T00:22:46
rust-lang/rust
33e69623bae7cee0e1706cc64f81edee8a4283d9
120c9fcb86bfde65b562ba4e957ef7003108d6ae
Fix std debug assertions gate in `fmt-write-boat` The test itself is still broken, but fix this gating separately first.
[ { "path": "tests/run-make/fmt-write-bloat/rmake.rs", "patch": "@@ -18,15 +18,15 @@\n //@ ignore-cross-compile\n \n use run_make_support::artifact_names::bin_name;\n-use run_make_support::env::no_debug_assertions;\n+use run_make_support::env::std_debug_assertions_enabled;\n use run_make_support::rustc;\n use...
2025-07-11T12:01:42
huggingface/transformers
ace7c370145a4a4861383672daa7095a0c8e43fc
83bce8d84016efda1e1c838e9da34c302c718701
Add moonshine streaming (#43702) * Add Moonshine Streaming * sliding window attention in encoder (first 2 and last 2 layers) * different dims for encoder and decoder * projection and position embedding addition in adapter * Move fully defined MoonshineStreamingConfig to configuration Not auto generated anymore. * ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -963,6 +963,8 @@\n title: MMS\n - local: model_doc/moonshine\n title: Moonshine\n+ - local: model_doc/moonshine_streaming\n+ title: Moonshine Streaming\n - local: model_doc/moshi\n title: Moshi\n - lo...
2026-02-04T18:29:51
vercel/next.js
37bb09d36aa4bb96292bead7d9d9e3a3f7a10be7
f8107f0abb3b2fcb5ea1a04133b35bd7533f77b6
chore(docs): remove repeated closing bracket (#53268) ### Adding or Updating Examples - The repeated closing bracket that comes just after "Server Actions" has been removed ### Fixing a bug - fixes #53267
[ { "path": "docs/02-app/02-api-reference/04-functions/redirect.mdx", "patch": "@@ -20,7 +20,7 @@ redirect(path, type)\n | `path` | `string` | The URL to redirect to. Can be a relative or absolute path. |\n | `type` | `'replace'` (default) or `'push'`...
2023-07-27T19:35:34
nodejs/node
f81bef53984eedbf583900c3e92348b8775fca18
73f4dc8464bbcf7423304a3304b2c9fe18f49dd8
doc: fix 404 links For `www.cve.mitre.org` they don't seem to redirect www to naked. PR-URL: https://github.com/nodejs/node/pull/29661 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/changelogs/CHANGELOG_V010.md", "patch": "@@ -136,7 +136,7 @@ This is a security release. All Node.js users should consult the security releas\n This is a security release. All Node.js users should consult the security release summary at https://nodejs.org/en/blog/vulnerability/june-2016-secur...
2019-09-23T06:57:28
rust-lang/rust
120c9fcb86bfde65b562ba4e957ef7003108d6ae
855e0fe46e68d94e9f6147531b75ac2d488c548e
Disambiguate between rustc vs std having debug assertions Additionally, `NO_DEBUG_ASSERTIONS` is set by CI that threads through to the `./configure` script, which is somewhat fragile and "spooky action at a distance". Instead, use env vars controlled by compiletest, whose debug assertion info comes from bootstrap.
[ { "path": "src/tools/compiletest/src/runtest/run_make.rs", "patch": "@@ -225,6 +225,19 @@ impl TestCx<'_> {\n cmd.env(\"RUNNER\", runner);\n }\n \n+ // Guard against externally-set env vars.\n+ cmd.env_remove(\"__RUSTC_DEBUG_ASSERTIONS_ENABLED\");\n+ if self.config.w...
2025-07-11T11:58:22
golang/go
7d87ccc860dc31c0cd60faf00720e2f30fd37efb
df89f2ba53aab53356be197c581d142cefc2c6bc
all: fix various doc comment formatting nits A run of lines that are indented with any number of spaces or tabs format as a <pre> block. This commit fixes various doc comments that format badly according to that (standard) rule. For example, consider: // - List item. // Second line. // - Another item. Because ...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -788,12 +788,12 @@ func (state *assignState) assignParamOrReturn(pt *types.Type, n types.Object, is\n // field. For things that are not structs (or structs without padding)\n // it returns a list of zeros. Example:\n //\n-// type small struc...
2022-01-30T00:07:27
huggingface/transformers
83bce8d84016efda1e1c838e9da34c302c718701
452c179eb631aeb4a08b4dba647c2bc727537a1d
Allow bi-directional attention for all models (#43705) * mask * decorator * oupsi * fix * fix * use None as default * add test * add fa2 * device
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -865,6 +865,17 @@ def create_causal_mask(\n An optional mask function to combine with the causal mask function (by doing the intersection of both). This is\n useful to easily overlay another mask on top of the causal one, fo...
2026-02-04T17:24:28
vercel/next.js
f8107f0abb3b2fcb5ea1a04133b35bd7533f77b6
70039c984bf2efb316e98005f23deb796d778a79
Turbopack: Update Turbopack (#53266) * https://github.com/vercel/turbo/pull/5621 <!-- Tobias Koppers - fix esm export in build runtime --> * https://github.com/vercel/turbo/pull/5620 <!-- Tobias Koppers - Revert "export namespace object instead commonjs interop object" -->
[ { "path": "Cargo.lock", "patch": "@@ -412,7 +412,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-230726.2#c7e797ada6f66c9ab5949857232190278f289036\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-07-27T19:00:13
nodejs/node
4d2856ed5aa9d831c06828d98db88ee91385372c
322e1e15d5b878f426c4def907a4941968b22912
src: fix asan build for gcc/clang Add missing header for LSAN. PR-URL: https://github.com/nodejs/node/pull/29383 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node_main_instance.cc", "patch": "@@ -3,6 +3,9 @@\n #include \"node_options-inl.h\"\n #include \"node_v8_platform-inl.h\"\n #include \"util-inl.h\"\n+#if defined(LEAK_SANITIZER)\n+#include <sanitizer/lsan_interface.h>\n+#endif\n \n namespace node {\n ", "additions": 3, "deletions": 0,...
2019-08-31T04:52:48
rust-lang/rust
a8110072ff086711d105141a4c072af5077c0fab
bb7a446c758746def292829a2d0407ce60b38220
thumbv7neon-unknown-linux-gnueabihf clippy fixes
[ { "path": "library/stdarch/crates/core_arch/src/arm_shared/neon/generated.rs", "patch": "@@ -39546,17 +39546,7 @@ pub fn vqrshrn_n_s16<const N: i32>(a: int16x8_t) -> int8x8_t {\n #[cfg_attr(target_arch = \"arm\", link_name = \"llvm.arm.neon.vqrshiftns.v8i8\")]\n fn _vqrshrn_n_s16(a: int16x8_...
2025-07-11T11:13:13
huggingface/transformers
452c179eb631aeb4a08b4dba647c2bc727537a1d
1744f8f3fc19dfb812887afbe5651eb49995bed5
Docs: fix Training step by removing tokenizer from trainer initialization (#43733) * Docs: fix Training step by removing tokenizer from trainer initialization We already provide the tokenizer in the data_collator. Trying to provide the tokenizer parameter in the Trainer() __init__() method produces the following erro...
[ { "path": "docs/source/en/quicktour.md", "patch": "@@ -252,7 +252,7 @@ trainer = Trainer(\n args=training_args,\n train_dataset=dataset[\"train\"],\n eval_dataset=dataset[\"test\"],\n- tokenizer=tokenizer,\n+ processing_class=tokenizer,\n data_collator=data_collator,\n )\n ", "addi...
2026-02-04T16:43:58
golang/go
df89f2ba53aab53356be197c581d142cefc2c6bc
995a6045919e6cf5a46ee09f8695ed5e05062ce7
crypto/x509: skip WSATRY_AGAIN errors when dialing badssl.com subdomains (Temporarily, until the root cause of the test failure can be diagnosed and fixed properly.) For #52094 Change-Id: Iec69e162159f3f0a93135f742aac97cf82c1d96c Reviewed-on: https://go-review.googlesource.com/c/go/+/397478 Trust: Bryan Mills <bcmil...
[ { "path": "src/crypto/x509/root_windows_test.go", "patch": "@@ -7,7 +7,11 @@ package x509_test\n import (\n \t\"crypto/tls\"\n \t\"crypto/x509\"\n+\t\"errors\"\n \t\"internal/testenv\"\n+\t\"net\"\n+\t\"strings\"\n+\t\"syscall\"\n \t\"testing\"\n \t\"time\"\n )\n@@ -17,10 +21,19 @@ func TestPlatformVerifier...
2022-04-01T15:09:30
electron/electron
233355ed0999050850e2fddb38142db45cb5ec00
86e98950ccd39dc1a4301a46a8d54de7d7fea0ae
Fix chrome.runtime.sendMessage add a case of not provide extension-id: (message, responseCallback)
[ { "path": "lib/renderer/chrome-api.js", "patch": "@@ -119,7 +119,13 @@ exports.injectTo = function (extensionId, isBackgroundPage, context) {\n if (args.length === 1) {\n message = args[0]\n } else if (args.length === 2) {\n- [targetExtensionId, message] = args\n+ // A case...
2016-06-22T11:47:07
huggingface/transformers
1744f8f3fc19dfb812887afbe5651eb49995bed5
8dce31003b16946d0e2ee035b94a5e73e7dee7cd
Fix scheduler initialization order (#43711) * Fix scheduler * style * fix * fix
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -549,8 +549,6 @@ def _lr_scheduler_callable(optimizer):\n return lr_scheduler\n \n lr_scheduler = DummyScheduler(optimizer, lr_scheduler_callable=_lr_scheduler_callable)\n- else:\n- lr_schedule...
2026-02-04T16:08:17
vercel/next.js
7721b9ba64237d43883890320d5ab8d652012d38
c5308eb4a8419693fc328bb40f7c6c019045e0fb
docs: match image example with code (#53254) Closes NEXT-1761 Fixes #52037
[ { "path": "docs/02-app/01-building-your-application/01-routing/08-parallel-routes.mdx", "patch": "@@ -131,9 +131,9 @@ import { useSelectedLayoutSegment } from 'next/navigation'\n \n export default async function Layout(props: {\n //...\n- authModal: React.ReactNode\n+ auth: React.ReactNode\n }) {\n- co...
2023-07-27T12:27:50
rust-lang/rust
ba3b7a7d9c5908633c26145e78166b0d97e518ad
cdac44e608c3df9a241e0a1b53b3f62af250dbf1
build-helper: clippy fixes
[ { "path": "src/build_helper/src/ci.rs", "patch": "@@ -9,7 +9,7 @@ pub enum CiEnv {\n impl CiEnv {\n /// Obtains the current CI environment.\n pub fn current() -> CiEnv {\n- if std::env::var(\"GITHUB_ACTIONS\").map_or(false, |e| e == \"true\") {\n+ if std::env::var(\"GITHUB_ACTIONS\").i...
2025-07-11T07:15:20
nodejs/node
899dd15f8f86c1c7b0b64c0d11545269737a69d0
d36b6f8da39bda0e2f52680f0f7a81ee0146e23f
src: fix compiler warning in inspector_profiler.cc Currently, the following compiler warnings is generated: ../src/inspector_profiler.cc:231:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] profile->Set(context, FIXED_ONE_BYTE_STRING(isolate, "source-map-cac...
[ { "path": "src/inspector_profiler.cc", "patch": "@@ -229,7 +229,7 @@ void V8CoverageConnection::WriteProfile(Local<String> message) {\n // Avoid writing to disk if no source-map data:\n if (!source_map_cache_v->IsUndefined()) {\n profile->Set(context, FIXED_ONE_BYTE_STRING(isolate, \"source-map-cach...
2019-09-23T06:21:47
golang/go
1fc3346275d0457cfc154b1001b25bd0cb0c1751
2e8dc8f4725c84d352b718620628a4fb0f86e748
debug/dwarf: better error handling in SeekPC The dwarf.Reader "SeekPC" method was not properly handling the case of a truncated/empty unit (something that has header information but an empty abbrev table and no DIEs). Add some guards to handle this case. Fixes #52045. Change-Id: I978163eca3b610f7528058693b840931e90d...
[ { "path": "src/debug/dwarf/entry.go", "patch": "@@ -974,7 +974,7 @@ func (r *Reader) SeekPC(pc uint64) (*Entry, error) {\n \t\tu := &r.d.unit[unit]\n \t\tr.b = makeBuf(r.d, u, \"info\", u.off, u.data)\n \t\te, err := r.Next()\n-\t\tif err != nil {\n+\t\tif err != nil || e == nil || e.Tag == 0 {\n \t\t\tretu...
2022-03-31T11:47:19
huggingface/transformers
8dce31003b16946d0e2ee035b94a5e73e7dee7cd
d75266f17e89b1618ac93802b0c4ced0f2a014bc
Fix accelerate integration import (#43732) * move function to transformers * fix
[ { "path": "src/transformers/integrations/accelerate.py", "patch": "@@ -44,7 +44,7 @@\n if is_accelerate_available():\n from accelerate import dispatch_model\n from accelerate.utils import get_max_memory\n- from accelerate.utils.modeling import clean_device_map, get_max_layer_size, get_module_size...
2026-02-04T14:57:43