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
electron/electron
151b2b5ad5f2bbcabd07e855c22b937dc5808374
1fc9ef33db04cf2009abc16870478808a938d902
Also upload product name, company name and version in crash report.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -12,6 +12,14 @@ class CrashReporter\n ignoreSystemCrashHandler ?= false\n extra ?= {}\n \n+ extra._productName ?= productName\n+ extra._companyName ?= companyName\n+ extra._version ?=\n+ if process.__atom_type is 'browser'\...
2013-11-26T02:19:50
vercel/next.js
c5bccf4d1bb0b4be25f6398ec2d735e5c3efdea0
6f136f6a7ef00e35d9d4ed3d7fd8bbfbbcaefd29
fix(next/dev): bubble up unhandled exception from --turbo (#42594) <!-- 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: -->...
[ { "path": "packages/next/cli/next-dev.ts", "patch": "@@ -165,6 +165,8 @@ const nextDev: cliCommand = (argv) => {\n const { setGlobal } = require('../trace') as typeof import('../trace')\n const { Telemetry } =\n require('../telemetry/storage') as typeof import('../telemetry/storage')\n+ ...
2022-11-07T22:20:10
huggingface/transformers
32c95bd847a0064cc20fadfe4e5dbdd8b0266cea
bb965d8e870e0e642e0dca079bb91bd5e41e15a3
Fix dtype for params without tp_plan (#36681) * Update tensor_parallel.py * CIs
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -531,7 +531,7 @@ def shard_and_distribute_module(\n param, empty_param, param_type, param_casting_dtype, is_contiguous, rank, device_mesh\n )\n else:\n- param = param[...]\n+ param = param[...].t...
2025-03-13T14:28:14
golang/go
c98026c104dece6cf9aa6cf3f651dd16a0156cf2
72483de87a36969f0c4d6f01db19f769c8e16e82
cmd/go/internal/modload: fix truncated error message from goModDirtyError The 'go mod tidy' hint was truncated due to a typo in CL 293689, and that particular case was not covered by any existing test. Updates #36460 Updates #40775 Change-Id: Ib6fa872a9dfdafc4e9a112e8add2ff5aecd2dbd0 Reviewed-on: https://go-review.g...
[ { "path": "src/cmd/go/internal/modload/init.go", "patch": "@@ -354,7 +354,7 @@ func (goModDirtyError) Error() string {\n \t\treturn fmt.Sprintf(\"updates to go.mod needed, disabled by -mod=%v; to update it:\\n\\tgo mod tidy\", cfg.BuildMod)\n \t}\n \tif cfg.BuildModReason != \"\" {\n-\t\treturn fmt.Sprintf(...
2021-04-14T14:16:51
nodejs/node
8055bdbbc9badb2042e44a8e843e364f2b3f6284
a69a29da102488a636c5862e5f805658ba32c90d
test: show actual error in next-tick-when-exiting On process exit if some assertion error occurs value of `process._exiting` was hidden, this fix will show the actual error message with value. PR-URL: https://github.com/nodejs/node/pull/20956 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Weijia Wang <s...
[ { "path": "test/parallel/test-next-tick-when-exiting.js", "patch": "@@ -1,14 +1,14 @@\n 'use strict';\n \n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n process.on('exit', () => {\n- assert.strictEqual(process._exiting, true, 'process._exiting was not...
2018-05-25T03:00:53
electron/electron
b737e602b7db35bde45ec33ff31466be0723e582
59f586ba59945e2ea1275748575ad45745ce526b
mac: Store crash dumps under /tmp/ProductName Crashes/. If we put them under ~/Library/ then we need to clean them, which makes things more complicated.
[ { "path": "common/crash_reporter/crash_reporter_mac.mm", "patch": "@@ -49,6 +49,11 @@\n // Report all crashes (important for testing the crash reporter).\n [parameters setValue:@\"0\" forKey:@BREAKPAD_REPORT_INTERVAL];\n \n+ // Put dump files under \"/tmp/ProductName Crashes\".\n+ std::string dump_dir...
2013-11-24T15:42:54
vercel/next.js
22b449ba567b236190338982156987119141030f
7bbc1aec9a9899f70ab136b8e9a99ecee8f2d3e7
Fix default value handling for CNA in CI (#42596) Fixes: https://github.com/vercel/next.js/issues/42592 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md`
[ { "path": "packages/create-next-app/index.ts", "patch": "@@ -157,14 +157,13 @@ async function run(): Promise<void> {\n * to use TS or JS.\n */\n if (!example) {\n- if (ciInfo.isCI) {\n- // default to JavaScript in CI as we can't prompt to\n- // prevent breaking setup flows\n- progr...
2022-11-07T22:02:34
huggingface/transformers
bb965d8e870e0e642e0dca079bb91bd5e41e15a3
1c287aecfcf94f569eb8740be5be43bda6750682
fix type annotation for ALL_ATTENTION_FUNCTIONS (#36690) Corrects the type annotation to match actual usage. The variable was typed as Dict[str, Dict[str, Callable]] but is actually used as Dict[str, Callable] where keys are attention mechanism names and values are the corresponding attention functions directly. This ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -5835,7 +5835,7 @@ def get_disk_only_shard_files(device_map, weight_map):\n return [fname for fname, devices in files_content.items() if set(devices) == {\"disk\"}]\n \n \n-ALL_ATTENTION_FUNCTIONS: Dict[str, Dict[str, Callable]] = {}\n+ALL_ATT...
2025-03-13T14:27:50
golang/go
e224787fef3227587aceddbe21a792e3102d3cfb
82e4a6310b78290cb55be6e6e5d0e274aa004faf
runtime: fix formatting of gcMark Change-Id: I08aed75f3aab0da705544665e532f332adfb075e Reviewed-on: https://go-review.googlesource.com/c/go/+/308949 Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Austin Clements <austin@google.com> Trust: David Chase <drchase@google.com>
[ { "path": "src/runtime/mgc.go", "patch": "@@ -1357,15 +1357,15 @@ func gcMarkWorkAvailable(p *p) bool {\n // gcMark runs the mark (or, for concurrent GC, mark termination)\n // All gcWork caches must be empty.\n // STW is in effect at this point.\n-func gcMark(start_time int64) {\n+func gcMark(startTime int...
2021-04-09T15:56:44
nodejs/node
35858bb98e08c3c275a416712e158b5d32992c9a
87cd389bbfe69004c4792d4982908a350238a6da
http2: force through RST_STREAM in destroy If still needed, force through RST_STREAM in Http2Stream#destroy calls, so that nghttp2 can wrap up properly and doesn't continue trying to read & write data to the stream. PR-URL: https://github.com/nodejs/node/pull/21016 Fixes: https://github.com/nodejs/node/issues/21008 R...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -337,7 +337,7 @@ function onStreamClose(code) {\n `${sessionName(stream[kSession][kType])}]: closed with code ${code}`);\n \n if (!stream.closed)\n- closeStream(stream, code, false);\n+ closeStream(stream, code, kNoRstStream);\n \n strea...
2018-05-29T17:07:02
electron/electron
70b7659893c7b17b4b28646b5d89895b88d1cac6
717b664802beeba532ae31155e94565ac705c09e
win: Set uploading parameters in crash reporter.
[ { "path": "common/crash_reporter/crash_reporter_win.cc", "patch": "@@ -53,7 +53,6 @@ void CrashReporterWin::InitBreakpad(const std::string& product_name,\n if (waiting_event != INVALID_HANDLE_VALUE)\n WaitForSingleObject(waiting_event, 1000);\n \n- google_breakpad::CustomClientInfo custom_info = { NU...
2013-11-24T14:57:47
huggingface/transformers
65b8e38aac2a2e798d5d7406a970a8f206815b1c
87b30c35892568f9b83d4e8d1233956b8e0cd96c
Upgrading torch version and cuda version in quantization docker (#36264) * update * small update * no spqr quant * testing * testing * test nightly * gptqmodel * flute * fix hadamard * running tests * new docker * fix docker * run tests * testing new docker * new docker * run tests * new docker * run ...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -1,4 +1,4 @@\n-FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04\n+FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04\n LABEL maintainer=\"Hugging Face\"\n \n ARG DEBIAN_FRONTEND=noninteractive\n@@ -9,9 +9,9 @@ SHELL [\"sh\", \"-l...
2025-03-13T11:39:16
vercel/next.js
5b5e4221d0558f8e136192fa2f5703c6bdf3d066
0341fb73922011868aa6928f2c0078c7c9aac3da
Fix relative TypeScript path in monorepos (#42586) When under a monorepo, it's possible that the installed TypeScript isn't under `./node_modules/typescript`, and hence the `tsdk` option for VS Code won't work correctly. This PR fixes that to ensure the path is correct. ## Bug - [ ] Related issues linked using `fixe...
[ { "path": "packages/next/lib/typescript/writeVscodeConfigurations.ts", "patch": "@@ -6,7 +6,8 @@ import * as CommentJson from 'next/dist/compiled/comment-json'\n \n // Write .vscode settings to enable Next.js typescript plugin.\n export async function writeVscodeConfigurations(\n- baseDir: string\n+ baseD...
2022-11-07T20:24:52
nodejs/node
87cd389bbfe69004c4792d4982908a350238a6da
4b8ff3a424266e8418cf2b2f2f42c4c0822d4e14
http2: delay closing stream Delay automatically closing the stream with setImmediate in order to allow any pushStreams to be sent first. PR-URL: https://github.com/nodejs/node/pull/20997 Fixes: https://github.com/nodejs/node/issues/20992 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1906,7 +1906,10 @@ class Http2Stream extends Duplex {\n !(state.flags & STREAM_FLAGS_HAS_TRAILERS) &&\n !state.didRead &&\n this.readableFlowing === null) {\n- this.close();\n+ // By using setImmediate we allow...
2018-05-28T07:20:51
rust-lang/rust
d3b167493efcfa154640ece0da1b3a9b869d743e
94015d3cd4b48d098abd0f3e44af97dab2b713b4
tests: adjust 101082 test for LLVM 21 fix Fixes #139987.
[ { "path": "tests/codegen/issues/issue-101082.rs", "patch": "@@ -12,23 +12,15 @@\n // at the time still sometimes fails, so only verify it for the power-of-two size\n // - https://github.com/llvm/llvm-project/issues/134735\n //@[x86-64-v3] only-x86_64\n+//@[x86-64-v3] min-llvm-version: 21\n //@[x86-64-v3] co...
2025-04-17T19:11:21
electron/electron
717b664802beeba532ae31155e94565ac705c09e
75e1fb63c8bed733bc96fdcd3bf6b3a9a8964d21
win: Make out-of-process crash dump work.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -5,21 +5,26 @@ class CrashReporter\n start: (options={}) ->\n {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra} = options\n \n- productName ?= 'atom-shell'\n+ productName ?= 'Atom-Shell'\n company...
2013-11-24T14:22:08
huggingface/transformers
87b30c35892568f9b83d4e8d1233956b8e0cd96c
47cc4da35190547426d345d23d5fbc062bd6cb76
fix wandb hp search unable to resume from sweep_id (#35883) * fix wandb hp search unable to resume from sweep_id * format styles --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -585,11 +585,19 @@ def _objective():\n \n return trainer.objective\n \n- sweep_id = wandb.sweep(sweep_config, project=project, entity=entity) if not sweep_id else sweep_id\n+ if not sweep_id:\n+ sweep_id = wand...
2025-03-13T11:32:26
vercel/next.js
0341fb73922011868aa6928f2c0078c7c9aac3da
8dea5b0e225014b4962c8086b849d9da8efa22c5
Fix scrolling on router.refresh (#42583) Accidentally returned `true` in this case whereas all others are `false`. Fixes https://github.com/vercel/next.js/discussions/41745#discussioncomment-4075803. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoot...
[ { "path": "packages/next/client/components/reducer.ts", "patch": "@@ -1112,6 +1112,8 @@ 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 startTransition(() => {router.push('/'...
2022-11-07T19:49:29
golang/go
ab02cbd29f9b9c76d8f7af0d625ac56fcf8d4e75
58fdac04e4534e53fd9ca7df0455efb4f1ddb82b
runtime: increase maxargs to avoid syscall18 crash when called with more than 16 args Fixes #45524 Change-Id: Id867f45ea98689b73d5b1b141c19317bc7608b05 GitHub-Last-Rev: e9b09fb557dda291fb6cf27c185063c26832a15b GitHub-Pull-Request: golang/go#45531 Reviewed-on: https://go-review.googlesource.com/c/go/+/309390 Reviewed-...
[ { "path": "src/runtime/sys_windows_amd64.s", "patch": "@@ -8,7 +8,7 @@\n \n // maxargs should be divisible by 2, as Windows stack\n // must be kept 16-byte aligned on syscall entry.\n-#define maxargs 16\n+#define maxargs 18\n \n // void runtime·asmstdcall(void *c);\n TEXT runtime·asmstdcall<ABIInternal>(SB)...
2021-04-13T20:08:46
rust-lang/rust
aa8670f6f81dac097d24277e7559ce5abf5d5183
11f7290c9f9122c5f2c47802c1883b2a0a04aed9
fix(test): Expose '--no-capture', deprecating '--nocapture' This improves consistency with commonly expected CLI conventions, avoiding a common stutter people make when running tests (trying what they expect and then having to check the docs to then user whats accepted). An alternative could have been to take a value...
[ { "path": "library/test/src/cli.rs", "patch": "@@ -61,7 +61,7 @@ fn optgroups() -> getopts::Options {\n .optopt(\"\", \"logfile\", \"Write logs to the specified file (deprecated)\", \"PATH\")\n .optflag(\n \"\",\n- \"nocapture\",\n+ \"no-capture\",\n ...
2025-01-27T20:04:49
huggingface/transformers
bc3d5781e72dc2b27ae39f290bcc7336f9839db7
fbb18ce68ba552e88a0e1c6518b3f641380f3335
Fix slicing for 0-dim param (#36580) * fix * switch to ellipsis instead * Add co-author Co-authored-by: fxmarty-amd <fxmarty-amd@users.noreply.github.com> * Add co-author second try Co-authored-by: fxmarty-amd <felmarty@amd.com>
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -531,7 +531,7 @@ def shard_and_distribute_module(\n param, empty_param, param_type, param_casting_dtype, is_contiguous, rank, device_mesh\n )\n else:\n- param = param[:]\n+ param = param[...]\n ...
2025-03-13T11:16:13
electron/electron
75e1fb63c8bed733bc96fdcd3bf6b3a9a8964d21
a9c20dc42f2aef09192480033900e36247059a8c
Start the crash service process on non-Mac.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -1,3 +1,4 @@\n+{spawn} = require 'child_process'\n binding = process.atomBinding 'crash_reporter'\n \n class CrashReporter\n@@ -11,6 +12,14 @@ class CrashReporter\n ignoreSystemCrashHandler ?= false\n extra ?= {}\n \n+ if process.plat...
2013-11-24T12:45:12
nodejs/node
4b8ff3a424266e8418cf2b2f2f42c4c0822d4e14
7c8eec0648d1d53dd8ade9d69c4dbbbf2d025a8f
test: fix flaky test-domain-timers It's possible for this test to be extremely infrequently flaky if 1ms or more elapses between setting the two timeouts. In that case, the second timer will not fire and the test will fail. PR-URL: https://github.com/nodejs/node/pull/21019 Reviewed-By: Michael Dawson <michael_dawson@...
[ { "path": "test/parallel/test-domain-timers.js", "patch": "@@ -28,7 +28,6 @@ const timeoutd = domain.create();\n \n timeoutd.on('error', common.mustCall(function(e) {\n assert.strictEqual(e.message, 'Timeout UNREFd');\n- clearTimeout(timeout);\n }, 2));\n \n let t;\n@@ -38,6 +37,7 @@ timeoutd.run(functio...
2018-05-29T21:02:25
vercel/next.js
8dea5b0e225014b4962c8086b849d9da8efa22c5
fa19c4410fdc340a11984de71e2846a99d20e7ac
[docs] Document middleware response changes (#42295) Beginning in Next.js 13, middleware can now respond directly, without needing to rewrite or redirect, when the experimental `.allowMiddlewareResponseBody` configuration setting is set. Document this behavior. <!-- Thanks for opening a PR! Your contribution is...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -9,14 +9,14 @@ description: Learn how to use Middleware to run code before a request is complet\n \n | Version | Changes |\n | --------- | ---------------------...
2022-11-07T19:19:17
huggingface/transformers
fbb18ce68ba552e88a0e1c6518b3f641380f3335
c4161238bd8f67a2d80715de7d4ce45541955693
Update config.torch_dtype correctly (#36679) * fix * style * new test
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1223,10 +1223,12 @@ def _get_torch_dtype(\n )\n elif hasattr(torch, torch_dtype):\n torch_dtype = getattr(torch, torch_dtype)\n+ config.torch_dtype = torch_dtype\n for...
2025-03-13T11:08:02
electron/electron
dce7e50636bfd553e0fb50b530971247bfb0f52d
edd2bd74c91cbad282c4e215dd550f4dc084f492
win: Setup crash service according to command line parameters.
[ { "path": "common/crash_reporter/win/crash_service.cc", "patch": "@@ -24,7 +24,7 @@ namespace {\n \n const wchar_t kTestPipeName[] = L\"\\\\\\\\.\\\\pipe\\\\ChromeCrashServices\";\n \n-const wchar_t kCrashReportURL[] = L\"https://clients2.google.com/cr/report\";\n+const wchar_t kGoogleReportURL[] = L\"https...
2013-11-24T12:33:26
nodejs/node
d6edb6cf1ba20c549fad572ef53a45eceab5a744
9380c1859f1f34d87556258d7476a48374ce4989
test: update postmortem metadata test This commit updates the following postmortem metadata constants: - v8dbg_class_SharedFunctionInfo__code__Code - This is now combined with SharedFunctionInfo's function_data. - Renamed: v8dbg_class_SharedFunctionInfo__function_data__Object - V8 commit: https://github.com/v8/...
[ { "path": "test/parallel/test-postmortem-metadata.js", "patch": "@@ -93,13 +93,12 @@ function getExpectedSymbols() {\n 'v8dbg_class_Script__source__Object',\n 'v8dbg_class_SeqOneByteString__chars__char',\n 'v8dbg_class_SeqTwoByteString__chars__char',\n- 'v8dbg_class_SharedFunctionInfo__code__...
2018-03-27T16:16:51
vercel/next.js
fa19c4410fdc340a11984de71e2846a99d20e7ac
01a1a7f1e7ae878fec6fd4b9f0c2f37917f8285f
`next/compat/router` (#42502) After speaking with @timneutkens, this PR provides a smoother experience to users trying to migrate over to app without affecting users in pages. This PR adds a new export available from `next/compat/router` that exposes a `useRouter()` hook that can be used in both `app/` and `pages/`....
[ { "path": "errors/manifest.json", "patch": "@@ -757,6 +757,10 @@\n {\n \"title\": \"invalid-segment-export\",\n \"path\": \"/errors/invalid-segment-export.md\"\n+ },\n+ {\n+ \"title\": \"next-router-not-mounted\",\n+ \"path\": \"/errors/next-router...
2022-11-07T18:16:28
huggingface/transformers
79254c9b61ac2e1a6e0f698c38b1654159095e2e
48292a9848fffc199c487c2b0b34f21c789acabb
Fix rescale normalize inconsistencies in fast image processors (#36388) * fix fused rescale normalize inconsistencies * fix siglip2 fast image processor * refactor kwargs validation and fused nirmalize rescale * cleanup kwargs handling in preprocess * update new procs after refactor
[ { "path": "src/transformers/image_processing_utils_fast.py", "patch": "@@ -40,8 +40,8 @@\n get_image_type,\n infer_channel_dimension_format,\n make_flat_list_of_images,\n- validate_fast_preprocess_arguments,\n validate_kwargs,\n+ validate_preprocess_arguments,\n )\n from .processing_ut...
2025-03-13T03:18:34
electron/electron
edd2bd74c91cbad282c4e215dd550f4dc084f492
6f8c46d2f436bdcc70b71d0bb692dc20b85acdf5
win: Print crash service's log to file.
[ { "path": "common/crash_reporter/win/crash_service_main.cc", "patch": "@@ -6,26 +6,56 @@\n \n #include \"base/at_exit.h\"\n #include \"base/command_line.h\"\n+#include \"base/file_util.h\"\n #include \"base/files/file_path.h\"\n #include \"base/path_service.h\"\n #include \"base/logging.h\"\n #include \"com...
2013-11-24T10:17:31
nodejs/node
9380c1859f1f34d87556258d7476a48374ce4989
fbe6b8500f6233bdfbec503691b504be8efb79c2
test: add read_only_space heap space v8.getHeapSpaceStatistics() now includes read_only_space in its results. Update test-v8-stats.js to account for this. Fixes: https://github.com/nodejs/node-v8/issues/44 PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: M...
[ { "path": "test/parallel/test-v8-stats.js", "patch": "@@ -25,7 +25,8 @@ const expectedHeapSpaces = [\n 'old_space',\n 'code_space',\n 'map_space',\n- 'large_object_space'\n+ 'large_object_space',\n+ 'read_only_space'\n ];\n const heapSpaceStatistics = v8.getHeapSpaceStatistics();\n const actualHeap...
2018-03-27T15:17:33
golang/go
6d8ba77896d05720e1cb1728c27db60926e672b5
e7ab1a5ba83cd013af24b011d9d3a88dc5b05c07
cmd/compile: fix importing of method expressions For OMETHEXPR, the Name in the Selection needs to be properly linked up to the method declaration. Use the same code we already have for ODOTMETH and OCALLPART to do that. Fixes #45503 Change-Id: I7d6f886d606bae6faad8c104f50c177f871d41c8 Reviewed-on: https://go-review...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -1591,17 +1591,10 @@ func (w *exportWriter) expr(n ir.Node) {\n \t\tw.exoticSelector(n.Sel)\n \t\tif go117ExportTypes {\n \t\t\tw.exoticType(n.Type())\n-\t\t\tif n.Op() == ir.ODOT || n.Op() == ir.ODOTPTR || n.Op() == ir.ODOTINTER || n.O...
2021-04-13T23:31:56
vercel/next.js
01a1a7f1e7ae878fec6fd4b9f0c2f37917f8285f
b1932b081a95bf535d82faef1c4d7d7ca3de2940
Fix server html insertion target (#42591) Fixes #42493 Make sure searching for the close head tag instead of partial of head tag ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md`
[ { "path": "packages/next/server/node-web-streams-helper.ts", "patch": "@@ -173,7 +173,7 @@ function createHeadInsertionTransformStream(\n freezing = true\n } else {\n const content = decodeText(chunk)\n- const index = content.indexOf('</head')\n+ const index = content.ind...
2022-11-07T17:16:13
huggingface/transformers
bc3253f07678538188185f179cf332be702ce6d5
0013ba61e5e90c30835aaa946ce9e6c3e00a9070
Remove hardcoded slow image processor class in processors supporting fast ones (#36266) * Add fast image processor class to processors supporting them * fix test kosmos2
[ { "path": "src/transformers/models/altclip/processing_altclip.py", "patch": "@@ -44,7 +44,7 @@ class AltCLIPProcessor(ProcessorMixin):\n \"\"\"\n \n attributes = [\"image_processor\", \"tokenizer\"]\n- image_processor_class = \"CLIPImageProcessor\"\n+ image_processor_class = (\"CLIPImageProces...
2025-03-12T22:39:25
electron/electron
6f8c46d2f436bdcc70b71d0bb692dc20b85acdf5
4bab284f2e29e8750dfd6c96f51b2ce6e8f6650a
win: Start as crash service when ATOM_SHELL_INTERNAL_CRASH_SERVICE is set.
[ { "path": "app/atom_main.cc", "patch": "@@ -17,6 +17,7 @@\n \n #include \"app/atom_main_delegate.h\"\n #include \"base/environment.h\"\n+#include \"common/crash_reporter/win/crash_service_main.h\"\n #include \"content/public/app/startup_helper_win.h\"\n #include \"sandbox/win/src/sandbox_types.h\"\n #else ...
2013-11-24T09:35:58
rust-lang/rust
34573d683f604ce4d1ab9a845c5a8be4a587a91d
88bd1913f2804c9204b72f60b61aad4449d832c3
Be more specific about the error in the SystemTime example
[ { "path": "library/std/src/time.rs", "patch": "@@ -205,8 +205,8 @@ pub struct Instant(time::Instant);\n /// println!(\"{}\", elapsed.as_secs());\n /// }\n /// Err(e) => {\n-/// // an error occurred!\n-/// println!(\"Error: {e:?}\");\n+/// // the syst...
2025-04-17T16:42:53
nodejs/node
fbe6b8500f6233bdfbec503691b504be8efb79c2
0fc488baf18503a1bfa95aa258f4c925dd3a05d3
src: fix GetCpuProfiler() deprecation warning Refs: https://github.com/nodejs/node-v8/issues/46 PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Myles Borins <myles.bor...
[ { "path": "src/env.cc", "patch": "@@ -252,12 +252,12 @@ void Environment::CleanupHandles() {\n void Environment::StartProfilerIdleNotifier() {\n uv_prepare_start(&idle_prepare_handle_, [](uv_prepare_t* handle) {\n Environment* env = ContainerOf(&Environment::idle_prepare_handle_, handle);\n- env->i...
2018-03-23T17:28:30
golang/go
2d4ba2601b91e2e69712861c654e4ddaf4355f49
728e3dc6f9c900654d94642135e0dcfe2f7bb645
runtime: move gcPercent and heapMinimum into gcControllerState These variables are core to the pacer, and will be need to be non-global for testing later. Partially generated via rf ' ex . { gcPercent -> gcController.gcPercent heapMinimum -> gcController.heapMinimum } ' The only exception to this generati...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -153,6 +153,7 @@ func gcinit() {\n \tif unsafe.Sizeof(workbuf{}) != _WorkbufSize {\n \t\tthrow(\"size of Workbuf is suboptimal\")\n \t}\n+\tgcController.heapMinimum = defaultHeapMinimum\n \n \t// No sweep on the first cycle.\n \tmheap_.sweepDrained = 1\n@@ -163,7...
2021-04-01T17:56:32
vercel/next.js
b893baacf89d019e658e2eb740e193fc1bb42ced
35ae595de5fc68ae4afa6260561d61ce5cbea87d
add RSC and RCC for turbopack to benchmarks (vercel/turbo#2620) * fixup ropes * add RSC and RCC for turbopack to benchmarks RSC: whole page is a server component RCC: whole page is a client component add `app` directory to test app
[ { "path": "packages/next-swc/crates/next-core/src/app_source.rs", "patch": "@@ -500,7 +500,7 @@ impl NodeEntry for AppRenderer {\n \n for (_, import) in segments.iter() {\n if let Some((p, identifier, chunks_identifier)) = import {\n- result += r#\"(\"TURBOPACK {{ transiti...
2022-11-07T16:51:35
huggingface/transformers
0013ba61e5e90c30835aaa946ce9e6c3e00a9070
c7eb95581a8da3e41ae98decfeb98f7be4d10d82
Fix Failing GPTQ tests (#36666) fix tests
[ { "path": "tests/quantization/gptq/test_gptq.py", "patch": "@@ -94,6 +94,7 @@ class GPTQTest(unittest.TestCase):\n EXPECTED_OUTPUTS.add(\"Hello my name is Aiden, I am a student at the University\")\n EXPECTED_OUTPUTS.add(\"Hello my name is Nate and I am a member of the N\")\n EXPECTED_OUTPUTS.ad...
2025-03-12T19:03:02
electron/electron
4bab284f2e29e8750dfd6c96f51b2ce6e8f6650a
59b3e74542941c409eb37fcf5179437d164f479f
Add crash_service on Windows.
[ { "path": "atom.gyp", "patch": "@@ -146,6 +146,10 @@\n 'common/crash_reporter/crash_reporter_mac.mm',\n 'common/crash_reporter/crash_reporter_win.cc',\n 'common/crash_reporter/crash_reporter_win.h',\n+ 'common/crash_reporter/win/crash_service.cc',\n+ 'common/crash_reporter/win/cr...
2013-11-23T12:26:47
golang/go
34620364cb2ea52e0ebf400a9cda91f86cb38a25
f2d5bd1ad306e87804d600d92105dc37279af83f
runtime, cgo/test: improve debugging output tests that run commands should log their actions in a shell-pasteable way. Change-Id: Ifeee88397047ef5a76925c5f30c213e83e535038 Reviewed-on: https://go-review.googlesource.com/c/go/+/309770 Trust: David Chase <drchase@google.com> Run-TryBot: David Chase <drchase@google.com>...
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -30,6 +30,18 @@ func TestMain(m *testing.M) {\n \tos.Exit(testMain(m))\n }\n \n+// tmpDir is used to cleanup logged commands -- s/tmpDir/$TMPDIR/\n+var tmpDir string\n+\n+// prettyPrintf prints lines with tmpDir sanitized.\n+func prettyPrintf(form...
2021-04-13T18:12:43
huggingface/transformers
c7eb95581a8da3e41ae98decfeb98f7be4d10d82
071a161d3e38f56dbda2743b979f0afeed2cd4f1
Don't accidentally mutate the base_model_tp_plan (#36677) * Don't accidentally mutate the base_model_tp_plan * Co-authored by: Joao Gante <joaofranciscocardosogante@gmail.com> * Trigger tests * Marking grad accum test as slow * Add a flaky decorator * Add a flaky decorator * Use cyril's codeblock * Don't copy()...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1895,9 +1895,15 @@ def post_init(self):\n \n # If current model is a base model, attach `base_model_tp_plan` and `base_model_pp_plan` from config\n if self.base_model is self:\n- self._pp_plan = self.config.base_model_p...
2025-03-12T18:59:13
nodejs/node
0fc488baf18503a1bfa95aa258f4c925dd3a05d3
3d2aebbc999555dac6a91fd9ab5a7ae6e93f4fca
Revert "src: fix GetCpuProfiler() deprecation warning" This reverts commit f02b74dfdb364e1ccfa59ba7ee22790fe65548c3. PR-URL: https://github.com/nodejs/node/pull/19989 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: My...
[ { "path": "src/env.cc", "patch": "@@ -1,5 +1,6 @@\n #include \"node_internals.h\"\n #include \"async_wrap.h\"\n+#include \"v8-profiler.h\"\n #include \"node_buffer.h\"\n #include \"node_platform.h\"\n #include \"node_file.h\"\n@@ -73,15 +74,6 @@ IsolateData::IsolateData(Isolate* isolate,\n IsolateData::~Iso...
2018-04-12T07:13:06
vercel/next.js
942d94fbafbd870637deaa66f8daa1173e6ba055
c40879452feafdb2ebaec383f1a2b74b627bc1f6
add RSC and RCC for turbopack to benchmarks (vercel/turbo#2620) * fixup ropes * add RSC and RCC for turbopack to benchmarks RSC: whole page is a server component RCC: whole page is a client component add `app` directory to test app
[ { "path": "crates/next-core/src/app_source.rs", "patch": "@@ -500,7 +500,7 @@ impl NodeEntry for AppRenderer {\n \n for (_, import) in segments.iter() {\n if let Some((p, identifier, chunks_identifier)) = import {\n- result += r#\"(\"TURBOPACK {{ transition: next-layout-en...
2022-11-07T16:51:35
electron/electron
4105527d07dc7a6ea1a67b2dcf8a14c63b65eca2
2228184066d5b5fae6d9ef3382adc7e5c8f5f9e2
win: Initialize exception handler.
[ { "path": "common/crash_reporter/crash_reporter_win.cc", "patch": "@@ -4,17 +4,15 @@\n \n #include \"common/crash_reporter/crash_reporter_win.h\"\n \n+#include \"base/logging.h\"\n #include \"base/memory/singleton.h\"\n \n namespace crash_reporter {\n \n-CrashReporterWin::CrashReporterWin()\n- : breakpad...
2013-11-19T13:37:02
huggingface/transformers
071a161d3e38f56dbda2743b979f0afeed2cd4f1
7652804d237fb8768f0f0b8129a05e4f0576114b
[core] Large/full refactor of `from_pretrained` (#36033) * squash everything together start to simplify inner logic Update modeling_utils.py Update modeling_utils.py Update modeling_utils.py Update modeling_utils.py continue refactor fix small fixes add type hints/docstring Update modeling_utils.py remove _f...
[ { "path": "src/transformers/file_utils.py", "patch": "@@ -71,7 +71,6 @@\n copy_func,\n default_cache_path,\n define_sagemaker_information,\n- get_file_from_repo,\n get_torch_version,\n has_file,\n http_user_agent,", "additions": 0, "deletions": 1, "language": "Python" ...
2025-03-12T12:39:25
golang/go
8c2a8b1771cd7ed2182f4d03b3c4bd09828315ce
b4881d930a653ffc72cfcdff2902a627ba3a205c
cmd/compile: always zero the temporary in mapKeyTemp As we are taking its address, always zero it. In many cases the temporary will be optimized out. But in case it does not (e.g. -N, -race), this ensures it has the right liveness information. May fix the noopt builder. Change-Id: I3d5d617c276d2a1a1aaebff813b4cd60bc...
[ { "path": "src/cmd/compile/internal/walk/order.go", "patch": "@@ -306,8 +306,7 @@ func (o *orderState) mapKeyTemp(t *types.Type, n ir.Node) ir.Node {\n \t\tif kt.Align < nt.Align {\n \t\t\tbase.Fatalf(\"mapKeyTemp: key type is not sufficiently aligned, kt=%v nt=%v\", kt, nt)\n \t\t}\n-\t\tclear := base.Flag...
2021-04-13T22:01:59
vercel/next.js
b1932b081a95bf535d82faef1c4d7d7ca3de2940
3e2e39c55939bd156cbb4dab926aaaa126b53d1c
Refactor error codes in the TS plugin (#42585) Small code refactoring. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the fea...
[ { "path": "packages/next/server/next-typescript.ts", "patch": "@@ -29,6 +29,13 @@ const DISALLOWED_SERVER_REACT_APIS: string[] = [\n \n const ALLOWED_EXPORTS = ['config', 'generateStaticParams']\n \n+const NEXT_TS_ERRORS = {\n+ INVALID_SERVER_API: 71001,\n+ INVALID_ENTRY_EXPORT: 71002,\n+ INVALID_OPTION_...
2022-11-07T15:02:28
electron/electron
2228184066d5b5fae6d9ef3382adc7e5c8f5f9e2
1af4ecfc266ca05b1c370268828034e071859dec
Cause a real crash instead of debugger break in process.crash(). On Windows the debugger break would not be treated as crash.
[ { "path": "common/api/atom_bindings.cc", "patch": "@@ -4,7 +4,6 @@\n \n #include \"common/api/atom_bindings.h\"\n \n-#include \"base/debug/debugger.h\"\n #include \"base/logging.h\"\n #include \"common/atom_version.h\"\n #include \"common/v8_conversions.h\"\n@@ -18,6 +17,8 @@ static int kMaxCallStackSize = ...
2013-11-19T13:36:18
huggingface/transformers
7652804d237fb8768f0f0b8129a05e4f0576114b
994cad2790af71d87c1cdd459a8484dada2c7115
Fix bnb regression due to empty state dict (#36663) fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -833,7 +833,7 @@ def _load_state_dict_into_meta_model(\n bin_state_dict = None\n if shard_file.endswith(\".safetensors\"):\n file_pointer = safe_open(shard_file, framework=\"pt\", device=tensor_device)\n- else:\n+ elif shard_...
2025-03-12T10:40:46
golang/go
b4881d930a653ffc72cfcdff2902a627ba3a205c
efaf75a2166d397b2050cc0bb1b60b0c80698e2d
cmd/compile: don't modify underlying type when creating bitmap for bodyless function This fixes the build crash for GOEXPERIMENT=regabi,regabiargs GOOS=windows go build syscall Updates #40724. Change-Id: I4400f6ff2e83e7e7e93ad5e58c6063b327532504 Reviewed-on: https://go-review.googlesource.com/c/go/+/309110 Trust...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -5,6 +5,7 @@\n package abi\n \n import (\n+\t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/src\"\n@@ -104,7 +105,7 @@ type ABIParamAssignment struct {\n // This will panic...
2021-04-09T22:05:57
vercel/next.js
3e2e39c55939bd156cbb4dab926aaaa126b53d1c
984627a65ed3e8fcb001d886bd25e96fcff47466
Show inlined error if the "use client" directive is not before other statements/expressions (#42507) An example will be: ![image](https://user-images.githubusercontent.com/3676859/200087667-53548f58-4627-422f-a191-548aba194707.png) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration ...
[ { "path": "packages/next/server/next-typescript.ts", "patch": "@@ -187,19 +187,34 @@ export function createTSPlugin(modules: {\n )\n }\n \n- function getIsClientEntry(fileName: string) {\n+ function getIsClientEntry(\n+ fileName: string,\n+ throwOnInvalidDirective?: boolean\n+ )...
2022-11-07T14:13:35
electron/electron
9981fd51da73e4cabd67f8b92d37be0a843248b9
458ff5c41f5f4c3acdbfc6eceade959c66cc01c0
win: Fix error when bootstraping.
[ { "path": "common.gypi", "patch": "@@ -186,5 +186,16 @@\n ],\n },\n }], # msvs_express==1\n+ # The breakdpad on Windows assumes Debug_x64 and Release_x64 configurations.\n+ ['OS==\"win\"', {\n+ 'target_defaults': {\n+ 'configurations': {\n+ 'Debug_x64': {\n+ ...
2013-11-19T12:43:30
golang/go
c19759aa487f7d6f479daa00e7462425f4efc481
e69f02265c74529a368a2ff27fdce4aeb3483e8b
runtime: eliminate externalthreadhandler This function is no longer used. Eliminating this actually fixes several problems: - It made assumptions about what registers memclrNoHeapPointers would preserve. Besides being an abstraction violation and lurking maintenance issue, this actively became a problem for rega...
[ { "path": "src/cmd/internal/objabi/funcid.go", "patch": "@@ -29,7 +29,6 @@ const (\n \tFuncID_asyncPreempt\n \tFuncID_cgocallback\n \tFuncID_debugCallV1\n-\tFuncID_externalthreadhandler\n \tFuncID_gcBgMarkWorker\n \tFuncID_goexit\n \tFuncID_gogo\n@@ -50,28 +49,27 @@ const (\n )\n \n var funcIDs = map[string...
2021-04-13T12:44:56
vercel/next.js
984627a65ed3e8fcb001d886bd25e96fcff47466
a9f79980dbbbf7f3d3d40c151c97417232dea760
Remove all custom server integration examples (#42549) Fixes @leerob's comment https://github.com/vercel/next.js/pull/42110#issuecomment-1304897491 ~~Deprecated~~ Removed all custom server integration examples (Express, Fastify, etc.) in favour of the main `custom-server` example, ~~and left behind a helpful `README....
[ { "path": "docs/advanced-features/custom-server.md", "patch": "@@ -7,9 +7,7 @@ description: Start a Next.js app programmatically using a custom server.\n <details>\n <summary><b>Examples</b></summary>\n <ul>\n- <li><a href=\"https://github.com/vercel/next.js/tree/canary/examples/custom-server-express...
2022-11-07T01:08:51
huggingface/transformers
2829013d2d00e63d75a1f6f7a3f003bc60cc69af
89f6956015a42ab32b35de2a6055ea65b5ca53d4
fix block mask typing (#36661) * fix block mask typing * updated Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com> * gemma * fix --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1,16 +1,14 @@\n-- title: Get started\n- sections:\n+- sections:\n - local: index\n title: Transformers\n - local: installation\n title: Installation\n - local: quicktour\n title: Quickstart\n-- title: Base classes\n- isExpanded: Fals...
2025-03-12T10:29:11
nodejs/node
a60ab57c3cf35bf29dfec2837cf072085f13783b
f781758d41a2fe76d3c8060accea77917bc29812
deps: cherry-pick 6989b3f6d7 from V8 upstream Original commit message: Fix default Intl language tag handling With certain ICU data bundles (such as the Node.js "small-icu"), %GetDefaultICULocale() may return a more specific language tag (e.g. "en-US") than what's available (e.g. "en"). In those cases, consid...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.6',\n+ 'v8_embedder_string': '-node.7',\n \n # Enable disassembler for `--print-code...
2018-05-18T18:36:50
golang/go
69262d48717771cedb1da86563eb3f1b094b4e92
48531da9e706a9f3cf5e08319202e97022fb6813
cmd/compile,cmd/link: resolve cgo symbols to the correct Go ABI Currently, Go functions exported to cgo have some confusion around ABIs that leads to crashes. The cmd/cgo-generated C code references an exported Go wrapper function (which calls the underlying exported user function). The linker resolves this reference ...
[ { "path": "src/cmd/compile/internal/ssagen/abi.go", "patch": "@@ -108,12 +108,20 @@ func (s *SymABIs) ReadSymABIs(file string) {\n // GenABIWrappers applies ABI information to Funcs and generates ABI\n // wrapper functions where necessary.\n func (s *SymABIs) GenABIWrappers() {\n-\t// The linker expects an ...
2021-04-11T19:44:25
vercel/next.js
a9f79980dbbbf7f3d3d40c151c97417232dea760
de18a9badc6161d75bef9c66eea0d3002c2364f4
Example: fixed tailwind ver in readme (#42551) - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
[ { "path": "examples/with-tailwindcss/README.md", "patch": "@@ -1,6 +1,6 @@\n # Next.js + Tailwind CSS Example\n \n-This example shows how to use [Tailwind CSS](https://tailwindcss.com/) [(v3.0)](https://tailwindcss.com/blog/tailwindcss-v3) with Next.js. It follows the steps outlined in the official [Tailwin...
2022-11-07T01:03:03
huggingface/transformers
89f6956015a42ab32b35de2a6055ea65b5ca53d4
50d3530aa04e7a7d003e6b255a98f79fd0447357
HPU support (#36424) * test * fix * fix * skip some and run some first * test fsdp * fix * patches for generate * test distributed * copy * don't test distributed loss for hpu * require fp16 and run first * changes from marc's PR fixing zero3 * better alternative * return True when fp16 support on gaudi w...
[ { "path": "setup.py", "patch": "@@ -152,6 +152,7 @@\n \"pytest-asyncio\",\n \"pytest-timeout\",\n \"pytest-xdist\",\n+ \"pytest-order\",\n \"python>=3.9.0\",\n \"ray[tune]>=2.7.0\",\n \"regex!=2019.12.17\",\n@@ -324,6 +325,7 @@ def run(self):\n \"pytest-asyncio\",\n ...
2025-03-12T08:08:12
nodejs/node
f781758d41a2fe76d3c8060accea77917bc29812
109ba58b5f6fe42a4a22b990eb5fb21946012727
deps: backport 91ddb65d from upstream V8 Original commit message: Revert promises optimizations due to regressions in async hooks Revert "[async-await] Eliminate throwaway promise in async functions." This reverts commit a840f1f8f7e6c9ab32dec456a954612619855093. Revert "[async-generators] Also avoi...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-05-14T08:55:07
golang/go
7b19fb1d560908a848e07e091fb5df61f4848389
39dd96ca5a60502d66494bff83257379df660eea
mime: in globs2 file only keep first time extension is seen Fixes #45534 Change-Id: I9855607e845951f26ab85cb179ec6dea40d92156 Reviewed-on: https://go-review.googlesource.com/c/go/+/309574 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Tobias Klauser <tobias.klaus...
[ { "path": "src/mime/testdata/test.types.globs2", "patch": "@@ -6,3 +6,4 @@\n # mime package test for globs2\n 50:document/test:*.t3\n 50:example/test:*.t4\n+30:example/do-not-use:*.t4", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "src/mime/type_unix.go", "patch...
2021-04-13T05:26:37
vercel/next.js
af3c5063a68f37b6ecb2c94a3a92d10b72afc5a5
98106ba8d2d6b6231f1ce6e4f9b1e3ead2d40913
Fix replaceAll usage in font loader (#42550) This removes usage of `replaceAll` as it wasn't introduced [until Node.js v15](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll#browser_compatibility) although we support v14 still. x-ref: https://dev.azure.com/nextjs...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -17,6 +17,18 @@ import {\n const cssCache = new Map<string, Promise<string>>()\n const fontCache = new Map<string, any>()\n \n+// regexp is based on https://github.com/sindresorhus/escape-string-regexp\n+const reHasRegExp = /[|\\\\{}()[\\]^$+*?.-]...
2022-11-06T23:23:02
electron/electron
7735d8fbfd2a678a5a501af0cb86d0358a01bcf7
20e368eb89aec03de7c5daa95f5b7f197807887c
Update default crash report submission URL.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -4,9 +4,9 @@ class CrashReporter\n start: (options={}) ->\n {productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra} = options\n \n- productName ?= 'Atom-Shell'\n+ productName ?= 'atom-shell'\n companyNa...
2013-11-19T04:27:20
rust-lang/rust
e5e5fb9d805dacdd5ceaf73254d61726d75f455a
94015d3cd4b48d098abd0f3e44af97dab2b713b4
Fix drop handling in `hint::select_unpredictable` This intrinsic doesn't drop the value that is not selected so this is manually done in the public function that wraps the intrinsic.
[ { "path": "library/core/src/hint.rs", "patch": "@@ -4,6 +4,7 @@\n //!\n //! Hints may be compile time or runtime.\n \n+use crate::mem::MaybeUninit;\n use crate::{intrinsics, ub_checks};\n \n /// Informs the compiler that the site which is calling this function is not\n@@ -735,9 +736,9 @@ pub const fn cold_p...
2025-04-17T15:29:32
golang/go
444d28295b81c62dc40180a59aeb480bed43ca3a
13a4e8c41cd1d242a435d44e7f66f370e5306a8c
test: make codegen/memops.go work with both ABIs Following CL 309335, this fixes memops.go. Change-Id: Ia2458b5267deee9f906f76c50e70a021ea2fcb5b Reviewed-on: https://go-review.googlesource.com/c/go/+/309552 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot ...
[ { "path": "test/codegen/memops.go", "patch": "@@ -36,50 +36,34 @@ func compMem1() int {\n \treturn 0\n }\n \n-//go:noinline\n-func f(x int) bool {\n-\treturn false\n+type T struct {\n+\tx bool\n+\tx8 uint8\n+\tx16 uint16\n+\tx32 uint32\n+\tx64 uint64\n+\ta [2]int // force it passed in memory\n }\n \n-/...
2021-04-12T22:56:25
huggingface/transformers
50d3530aa04e7a7d003e6b255a98f79fd0447357
81aa9b2e07b359cd3555c118010fd9f26c601e54
Gemma3 (#36658) * Fix converter * [Broken] Adds Gemma 3 to Hugging Face Transformers * Consolidating Config and Processor params across impls * Sorting out configuration parameters. Adds qk_norm before RoPE. Still not sure if RoPE is right. * Additional plumbing for CausalLM and ConditionalGeneration variants * i...
[ { "path": "docs/source/en/model_doc/gemma3.md", "patch": "@@ -0,0 +1,203 @@\n+\n+<!--Copyright 2025 The HuggingFace Team. All rights reserved.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n+the License. You may obtain a copy of th...
2025-03-12T08:06:17
vercel/next.js
98106ba8d2d6b6231f1ce6e4f9b1e3ead2d40913
48dbdf930fcfeb4f23b92690ead3475f2bb387a5
Re-enable sandbox cache and update AsyncLocalStorage usage (#42547) Follow-up to https://github.com/vercel/next.js/pull/41402 this re-enables the sandbox cache and updates to leverage our global `AsyncLocalStorage` for isolating request meta in both the edge and Node.js runtime. Closes: https://github.com/vercel...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -59,6 +59,10 @@ if (process.env.NEXT_PREBUNDLED_REACT) {\n overrideBuiltInReactPackages()\n }\n \n+// expose AsyncLocalStorage on global for react usage\n+const { AsyncLocalStorage } = require('async_hooks')\n+;(global as any).AsyncLocalStorage = Asyn...
2022-11-06T22:56:48
nodejs/node
109ba58b5f6fe42a4a22b990eb5fb21946012727
1fb0b2cb92bdfb0b73cd4d333436794775d4630d
deps: cherry-pick ff0a9793334 from upstream V8 Original commit message: [api] Expose PreviewEntries as public API Turn `debug::EntriesPreview` into a public API. This is a straightforward approach to addressing nodejs/node#20409 (not relying on functionality behind `--allow-natives-syntax`) i...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.4',\n+ 'v8_embedder_string': '-node.5',\n \n # Enable disassembler for `--print-code...
2018-05-18T16:49:41
golang/go
13a4e8c41cd1d242a435d44e7f66f370e5306a8c
3e5bba0a44b880541fb72220a883e259d0f34a83
all: simplify the spelling of Linux The prefix didn't help clarify anything. Change-Id: I897fd4022ce9df42a548b15714e4b592618ca547 Reviewed-on: https://go-review.googlesource.com/c/go/+/309573 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Filippo Valsor...
[ { "path": "misc/cgo/test/setgid_linux.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-// Test that setgid does not hang on GNU/Linux.\n+// Test that setgid does not hang on Linux.\n // See https://golang.org/issu...
2021-04-13T02:05:01
huggingface/transformers
81aa9b2e07b359cd3555c118010fd9f26c601e54
cb384dcd7a3a9ea7e024eb1870a312cb70c959ac
fix typos in the docs directory (#36639) * chore: fix typos in the docs directory * chore: fix typos in the docs directory * chore: fix typos in the docs directory
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -271,7 +271,7 @@ tokenizer.batch_decode(outputs, skip_special_tokens=True)\n \n ## DoLa\n \n-[Decoding by Contrasting Layers (DoLa)](https://hf.co/papers/2309.03883) is a contrastive decoding strategy for improving factuality and reducing hal...
2025-03-11T16:41:41
vercel/next.js
257835569cd0580d0f9f8391af45c411eb9a898a
27159d07e37cf257bb31e65343d1b504ef49cded
fix: correctly mention `generateStaticParams` in error (#42524) Fixes #42517 Not sure if it warrants a test case, but let me know if I should add one. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature ...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -828,13 +828,15 @@ export async function buildStaticPaths({\n configFileName,\n locales,\n defaultLocale,\n+ appDir,\n }: {\n page: string\n getStaticPaths?: GetStaticPaths\n staticPathsResult?: UnwrapPromise<ReturnType<GetStaticPaths>>\n ...
2022-11-06T06:02:24
electron/electron
d181ff4e7f51f6783ac12e7e27b79529b88a7dce
f8f09eb974f7030d443eed187dbcda9a2bce6d19
Enable customing upload parameters for sending crash report.
[ { "path": "common/api/atom_api_crash_reporter.cc", "patch": "@@ -17,12 +17,13 @@ namespace api {\n v8::Handle<v8::Value> CrashReporter::Start(const v8::Arguments& args) {\n std::string product_name, company_name, submit_url;\n bool auto_submit, skip_system;\n+ std::map<std::string, std::string> dict;\n...
2013-11-18T10:27:50
nodejs/node
ff06cdba1b9d496b14d621f5f60dd84ae522b699
f7cc975d4ed0f46eecfa7f76ec99fbe98c864d09
v8: backport 9fb02b526f1cd3b859a530a01adb08bc0d089f4f Refs: https://github.com/v8/v8/commit/9fb02b526f1cd3b859a530a01adb08bc0d089f4f Original commit message: Allow function callbacks to have Proxy as receiver. R=verwaest@chromium.org Bug: v8:5773 Change-Id: Ifd29a1116ee8c86b8d8d24485bbfd19e260ab66b...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.2',\n+ 'v8_embedder_string': '-node.3',\n \n # Enable disassembler for `--print-code...
2018-05-07T13:36:43
huggingface/transformers
cb384dcd7a3a9ea7e024eb1870a312cb70c959ac
1e4286fd5962438d15af0257fa5feb9f2b2e58be
Fix gguf docs (#36601) * update * doc * update * Update docs/source/en/gguf.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * fix --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
[ { "path": "docs/source/en/gguf.md", "patch": "@@ -24,21 +24,23 @@ rendered properly in your Markdown viewer.\n \n The GGUF format also supports many quantized data types (refer to [quantization type table](https://hf.co/docs/hub/en/gguf#quantization-types) for a complete list of supported quantization types...
2025-03-11T14:29:14
golang/go
3e5bba0a44b880541fb72220a883e259d0f34a83
d948b8633d4ae3d4501d0a5382b24431a96c0cba
cmd/link: support 32b TLS_LE offsets on PPC64 When using the GCC thread sanitizer, it links in additional code which uses TLS, which causes us to exceed the range of the 16 bit TLS relocation used by statically compiled go code. Rewrite objabi.R_POWER_TLS_LE to handle 32b offsets when linking internally or externally...
[ { "path": "src/cmd/internal/obj/ppc64/asm9.go", "patch": "@@ -229,8 +229,8 @@ var optab = []Optab{\n \t{as: AMOVD, a1: C_LACON, a6: C_REG, type_: 26, size: 8},\n \t{as: AMOVD, a1: C_SOREG, a6: C_REG, type_: 8, size: 4},\n \t{as: AMOVD, a1: C_LOREG, a6: C_REG, type_: 36, size: 8},\n-\t{as: AMOVD, a1: C_TLS_L...
2021-03-15T20:21:57
rust-lang/rust
f9091e24a0af713378ee705c86689c1435d0b157
e0883a2a6c8e4afcb6e26a182885f687ba63a7f5
Ignore zero-sized types in wasm future-compat warning This commit fixes a false positive of the warning triggered for #138762 and the fix is to codify that zero-sized types are "safe" in both the old and new ABIs.
[ { "path": "compiler/rustc_monomorphize/src/mono_checks/abi_check.rs", "patch": "@@ -111,6 +111,11 @@ fn wasm_abi_safe<'tcx>(tcx: TyCtxt<'tcx>, arg: &ArgAbi<'tcx, Ty<'tcx>>) -> bool\n }\n }\n \n+ // Zero-sized types are dropped in both ABIs, so they're safe\n+ if arg.layout.is_zst() {\n+ ...
2025-04-07T19:35:02
vercel/next.js
192dc6bad6603d54851c282b2b8291a76afa54a0
00e416bf7c190da277f40d1d87f951a4fae4df57
Ensure RSC is detecting correctly during revalidate (#42508) Fixes: https://github.com/vercel/next.js/issues/42504 Patch tested against provided reproduction here https://portfolio-pcmtikvrv-ijjk-testing.vercel.app/ ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ...
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -484,13 +484,9 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n if (typeof parsedUrl.query === 'string') {\n parsedUrl.query = parseQs(parsedUrl.query)\n }\n- // in minimal mode we dete...
2022-11-04T23:37:00
electron/electron
28b692aeaa6512d1a9ad159346b5c077fb2eb28e
aef6d44a01a20c87d1c5a1e91be12ed0bd487e10
Always use atom-shell's verion when uploading crash report.
[ { "path": "common/crash_reporter/crash_reporter.cc", "patch": "@@ -25,29 +25,17 @@ void CrashReporter::Start(std::string product_name,\n const std::string& submit_url,\n bool auto_submit,\n bool skip_system_crash_handler) {\n- st...
2013-11-18T10:03:41
huggingface/transformers
b1a51ea4642f120ed693a24671215aa3f9929dd5
d126f354277f9e6a54d8f8ccecb687cffd6672e4
Fix AriaForConditionalGeneration flex attn test (#36604) AriaForConditionalGeneration depends on idefics3 vision transformer which does not support flex attn
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -1380,6 +1380,7 @@ class AriaCausalLMOutputWithPast(ModelOutput):\n class AriaForConditionalGeneration(AriaPreTrainedModel, GenerationMixin):\n config_class = AriaConfig\n _supports_flash_attn_2 = False\n+ _supports_flex_attn...
2025-03-11T10:05:49
nodejs/node
dcecfb75080dc98176119a81f0afca5805649e75
e60eed19bee59f7dd171929f3bd3623ccaa91839
doc: fix typo in n-api.md just replaced `than` with `that`. - wrong: the N-API functions than can be used to change - correct: the N-API functions that can be used to change Fixes: https://github.com/nodejs/node/issues/21049 PR-URL: https://github.com/nodejs/node/pull/21060 Reviewed-By: Trivikram Kamat <trivikr.dev...
[ { "path": "doc/api/n-api.md", "patch": "@@ -580,7 +580,7 @@ held live for the lifespan of the native method call.\n \n In many cases, however, it is necessary that the handles remain valid for\n either a shorter or longer lifespan than that of the native method.\n-The sections which follow describe the N-AP...
2018-05-31T15:29:52
golang/go
d948b8633d4ae3d4501d0a5382b24431a96c0cba
49e933fc57c2f858e19c26f4a2e56ba94fc54989
cmd/go: fix 'go help mod edit' JSON documentation The object representing a module directive may have a "Deprecated" field but not a "Version" field. Other objects representing module versions have "Path" and "Version" fields but not "Deprecated". For #40357 Change-Id: Iad8063dfa6f7ceea22981a8a8f99e65fa3b7ffa0 Revie...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1134,19 +1134,24 @@\n // writing it back to go.mod. The JSON output corresponds to these Go types:\n //\n // \ttype Module struct {\n-// \t\tPath string\n-// \t\tDeprecated string\n+// \t\tPath string\n+// \t\tVersion string\n // \t}\n //\n // \ttype GoMod...
2021-04-12T18:50:57
electron/electron
3d8b636f9e506261c3993a8d716a68fbe5c1d095
07de5ef46251f478a67017b9e6fe274c3afd07e7
Fix remaining cpplint errors in inspectable_web_contents_view_linux.cc
[ { "path": "brightray/browser/linux/inspectable_web_contents_view_linux.cc", "patch": "@@ -31,7 +31,7 @@ static void dump_one(GtkWidget *wat, int indent) {\n gtk_widget_get_allocation(wat, &alloc);\n fprintf(stderr, \"%*s[%p] %s @%d,%d %dx%d\",\n indent, \"\", wat,\n- g_type_name_from_instance((GT...
2013-11-18T00:21:50
vercel/next.js
00e416bf7c190da277f40d1d87f951a4fae4df57
ee7c5aa0ec206560502022ef035d7a959b577a17
Fix undici warning in Node.js 18 (#42477) - Remove warn for undici in Node.js 18 - Add node about the type being wrong Follow-up to #42444. The other day I noticed that the type is incorrect. This just removes the warning. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your...
[ { "path": "packages/next/server/config.ts", "patch": "@@ -57,17 +57,15 @@ const experimentalWarning = execOnce(\n }\n )\n \n-export function setHttpClientAndAgentOptions(config: NextConfig) {\n+export function setHttpClientAndAgentOptions(config: {\n+ httpAgentOptions?: NextConfig['httpAgentOptions']\n+ ...
2022-11-04T22:46:50
huggingface/transformers
d8663cb8c50322f351b73132cf8f02f14cf5aeea
1c4b62b219323a31011bac3bd3cece7675d9e4c3
Fix bugs in mllama image processing (#36156) * fix: handle input_channel_dim == channels_last Signed-off-by: Travis Johnson <tsjohnso@us.ibm.com> * fix: default PIL images to channels_last Signed-off-by: Travis Johnson <tsjohnso@us.ibm.com> * Apply suggestions from code review Co-authored-by: Pavel Iakubovskii <q...
[ { "path": "src/transformers/models/mllama/image_processing_mllama.py", "patch": "@@ -93,7 +93,7 @@ def get_image_size_fit_to_canvas(\n canvas_height and canvas_width, while ensuring that the image dimensions are not smaller than\n tile_size. If the image is larger than the canvas, the returned size ...
2025-03-11T09:22:48
rust-lang/rust
7bfb15cd11d21c0edf0d60fb8419f0736e10937f
30e9cd5a260969786802b864380b642db6e7bf8a
Fix `new_lint` clippy command
[ { "path": "clippy_dev/src/new_lint.rs", "patch": "@@ -448,7 +448,7 @@ fn setup_mod_file(path: &Path, lint: &LintData<'_>) -> io::Result<&'static str>\n \n let mut file_contents = fs::read_to_string(path)?;\n assert!(\n- !file_contents.contains(&lint_name_upper),\n+ !file_contents.conta...
2025-04-17T14:31:48
nodejs/node
0baad8f0eb718e7a359922b861bc99e7ab17913f
694ac6de5ba2591c8d3d56017b2423bd3e39f769
doc: better font stack for monospace in docs There appear to be rendering issues with inconsistent glyph width when using the Monaco font on non-macOS machines. This change updates the native CSS font stack to use the same font stack as Boostrap does, minus the Monaco font. PR-URL: https://github.com/nodejs/node/pull...
[ { "path": "doc/api_assets/style.css", "patch": "@@ -35,7 +35,7 @@ h1, h2, h3, h4, h5, h6 {\n }\n \n pre, tt, code, .pre, span.type, a.type {\n- font-family: Monaco, Consolas, \"Lucida Console\", monospace;\n+ font-family: SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n ...
2018-05-30T15:03:04
golang/go
841bc142160aacde729a983243a0231c8612903d
263e13d1f7d2d13782c5a63799c9979b9bbfd853
os: restore testErrNotExist's working directory on os.Chdir success The existing implementation calls os.Chdir expecting the call not to succeed. This change restores the original working directory in the case that the call does succeed. Fixes #45407 Change-Id: I61c57f6858b9a9058226e45e24276c7af8913048 Reviewed-on: ...
[ { "path": "src/os/error_test.go", "patch": "@@ -33,7 +33,12 @@ func TestErrIsExist(t *testing.T) {\n \t}\n }\n \n-func testErrNotExist(name string) string {\n+func testErrNotExist(t *testing.T, name string) string {\n+\toriginalWD, err := os.Getwd()\n+\tif err != nil {\n+\t\tt.Fatal(err)\n+\t}\n+\n \tf, err...
2021-04-09T05:49:22
electron/electron
cdbfff2fcf0f89cc9ccd27db50f1ed30c63eb053
654f415a49e39ca6833cb21a1328edc4140be2d4
Fix backwards typedef
[ { "path": "brightray/browser/notification_presenter_mac.h", "patch": "@@ -30,8 +30,8 @@ class NotificationPresenterMac : public NotificationPresenter {\n int notification_id) OVERRIDE;\n \n private:\n- typedef NotificationMap std::map<std::string,\n- base::scoped_ns...
2013-11-18T00:15:26
vercel/next.js
ee7c5aa0ec206560502022ef035d7a959b577a17
4cc2afbb20613d9878beb7ba2d21bbae89262a6f
Include app directory in Tailwind config (#42407) Updated with-tailwindcss example to include new _app_ directory according to [Tailwind docs](https://tailwindcss.com/docs/guides/nextjs) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached...
[ { "path": "examples/with-tailwindcss/tailwind.config.js", "patch": "@@ -3,6 +3,7 @@ module.exports = {\n content: [\n './pages/**/*.{js,ts,jsx,tsx}',\n './components/**/*.{js,ts,jsx,tsx}',\n+ './app/**/*.{js,ts,jsx,tsx}',\n ],\n theme: {\n extend: {},", "additions": 1, "deletion...
2022-11-04T22:44:33
rust-lang/rust
7a5a884275b0bdbd28397c814b45f71d10b45439
f433fa46b0fd27d35219357ad75f54d294081bc4
Make C string merging test work on MIPS Assembly for MIPS uses, by convention, a different prefix for local anonymous variables.
[ { "path": "tests/assembly/cstring-merging.rs", "patch": "@@ -1,3 +1,5 @@\n+// MIPS assembler uses the label prefix `$anon.` for local anonymous variables\n+// other architectures (including ARM and x86-64) use the prefix `.Lanon.`\n //@ only-linux\n //@ assembly-output: emit-asm\n //@ compile-flags: --crate...
2025-04-17T14:07:12
huggingface/transformers
1c4b62b219323a31011bac3bd3cece7675d9e4c3
e9756cdbc7dcec91ea0dde55c165d6276bd08252
Refactor some core stuff (#36539) * some config changes * update * current state * update * update * updates and cleanup * something that works * fixup * fixes * nits * nit * nits and fix * Update src/transformers/integrations/tensor_parallel.py Co-authored-by: Lysandre Debut <hi@lysand.re> * Update src/...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -824,25 +824,27 @@ def to_diff_dict(self) -> Dict[str, Any]:\n \n serializable_config_dict = {}\n \n- # only serialize values that differ from the default config\n+ # Only serialize values that differ from the default co...
2025-03-11T08:26:28
nodejs/node
c1012b440203b2ab42b350b0300eb3bc8ec36381
c2c9c0c3d3199453cb74f64432fb76237d6f4ec4
stream: ensure Stream.pipeline re-throws errors without callback Fixes an issue where Stream.pipeline wouldn't re-throw errors on a stream if no callback was specified, thus swallowing said errors. Fixes: https://github.com/nodejs/node/issues/20303 PR-URL: https://github.com/nodejs/node/pull/20437 Reviewed-By: Anna ...
[ { "path": "lib/internal/streams/pipeline.js", "patch": "@@ -19,7 +19,10 @@ function once(callback) {\n };\n }\n \n-function noop() {}\n+function noop(err) {\n+ // Rethrow the error if it exists to avoid swallowing it\n+ if (err) throw err;\n+}\n \n function isRequest(stream) {\n return stream.setHeade...
2018-04-26T20:49:12
golang/go
263e13d1f7d2d13782c5a63799c9979b9bbfd853
3d5e3a15f65f1dd622c87ffba58914c877c8112c
test: make codegen tests work with both ABIs Some codegen tests were written with the assumption that arguments and results are in memory, and with a specific stack layout. With the register ABI, the assumption is no longer true. Adjust the tests to work with both cases. - For tests expecting in memory arguments/resu...
[ { "path": "test/codegen/arithmetic.go", "patch": "@@ -139,7 +139,7 @@ func MergeMuls1(n int) int {\n }\n \n func MergeMuls2(n int) int {\n-\t// amd64:\"IMUL3Q\\t[$]23\",\"ADDQ\\t[$]29\"\n+\t// amd64:\"IMUL3Q\\t[$]23\",\"(ADDQ\\t[$]29)|(LEAQ\\t29)\"\n \t// 386:\"IMUL3L\\t[$]23\",\"ADDL\\t[$]29\"\n \treturn 5...
2021-04-12T18:00:49
electron/electron
654f415a49e39ca6833cb21a1328edc4140be2d4
7b47a6152de7bac94f137f655077fabe2f044a25
Fix cpplint errors in common/mac/foundation_util.h
[ { "path": "brightray/common/mac/foundation_util.h", "patch": "@@ -6,8 +6,8 @@\n \n #import <Foundation/Foundation.h>\n \n-// base/mac/foundation_util.h contains an incompatible declaration of NSSearchPathDirectory,\n-// so here we #define it to be something else.\n+// base/mac/foundation_util.h contains an ...
2013-11-18T00:14:24
vercel/next.js
4cc2afbb20613d9878beb7ba2d21bbae89262a6f
7fd0f7752a7392343a141ca2dc8aca8211054de8
Edit Upgrade docs to correct new-link codemod (#42501) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been acce...
[ { "path": "docs/upgrading.md", "patch": "@@ -65,7 +65,7 @@ import Link from 'next/link'\n </Link>\n ```\n \n-To upgrade your links to Next.js 13, you can use the [`next-link` codemod](/docs/advanced-features/codemods.md#remove-a-from-links-next-link).\n+To upgrade your links to Next.js 13, you can use the [...
2022-11-04T20:56:55
rust-lang/rust
5a1dbea052abee0326e0878beae671fbbf19cbe1
ac88357f83ddc9efb3b05032ed822d18d0fd38f9
fix: `unnecessary_lazy_evaluations` suggests wrongly for async closure
[ { "path": "clippy_lints/src/methods/unnecessary_lazy_eval.rs", "patch": "@@ -24,7 +24,12 @@ pub(super) fn check<'tcx>(\n let is_bool = cx.typeck_results().expr_ty(recv).is_bool();\n \n if (is_option || is_result || is_bool)\n- && let hir::ExprKind::Closure(&hir::Closure { body, fn_decl, .. })...
2025-04-17T13:16:44
huggingface/transformers
e9756cdbc7dcec91ea0dde55c165d6276bd08252
af9b2eaa54c150741f298d6db939af6328e1dc38
[docs] Serving LLMs (#36522) * initial * fix * model-impl
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -74,6 +74,8 @@\n title: Optimizing inference\n - local: kv_cache\n title: KV cache strategies\n+ - local: serving\n+ title: Serving\n - local: cache_explanation\n title: Caching\n - local: llm_tutorial_optimization",...
2025-03-10T20:14:19
nodejs/node
c2c9c0c3d3199453cb74f64432fb76237d6f4ec4
15c7a49bfca1db23f4f7a3a79aea04a0075fbd62
src: restore stdio on program exit Record the state of the stdio file descriptors on start-up and restore them to that state on exit. This should prevent issues where node.js sometimes leaves stdio in raw or non-blocking mode. Co-authored-by: Krzysztof Taborski <taborskikrzysztof@gmail.com> PR-URL: https://github.co...
[ { "path": "src/node.cc", "patch": "@@ -100,6 +100,7 @@ typedef int mode_t;\n #else\n #include <pthread.h>\n #include <sys/resource.h> // getrlimit, setrlimit\n+#include <termios.h> // tcgetattr, tcsetattr\n #include <unistd.h> // setuid, getuid\n #endif\n \n@@ -173,6 +174,9 @@ using v8::Value;\n static M...
2017-12-12T20:59:57