repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vercel/next.js
fa42c3461fdc8f02b6abf9037bfa658ad523f5a1
b653942050962e1ab0f70bd5b42c03d61d7c338f
perf: disable prefetching for links in viewport in development for app routes (#43730) There has been a few complaints about memory usage of the Next.js 13 dev server. One of the reasons why is that prefetching is always enabled when a link is visible on app routes (and not on pages). Disabling this behaviour, whilst ...
[ { "path": "packages/next/client/link.tsx", "patch": "@@ -522,6 +522,11 @@ const Link = React.forwardRef<HTMLAnchorElement, LinkPropsReal>(\n \n // Prefetch the URL if we haven't already and it's visible.\n React.useEffect(() => {\n+ // in dev, we only prefetch on hover to avoid wasting resource...
2022-12-05T13:49:37
rust-lang/rust
bffb7608ce727d61cb1d9d3bb58d5461375f59a5
d3508a8ad0163fab0c9b2188b3adf43c87200788
Fix error message for static references or mutable references
[ { "path": "compiler/rustc_lint/messages.ftl", "patch": "@@ -757,7 +757,7 @@ lint_single_use_lifetime = lifetime parameter `{$ident}` only used once\n \n lint_span_use_eq_ctxt = use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`\n \n-lint_static_mut_refs_lint = creating a {$shared_label}reference to mutable st...
2025-04-20T01:51:19
golang/go
da7496d84128be85a4db5b6fdf9029c48c867211
d83baa1aa22d074b44d8b705e1d8dafa30ecceb1
os/signal: increase test timeouts on ppc64*/linux TestSignalTrace can take a bit longer to run on some ppc64{,le} machines. I was only able to reproduce the timeout reliably on a POWER8/ppc64le ubuntu 16.04 host. Bump the timeout to 5 seconds. This should be more than sufficient for a test which occasionally takes a...
[ { "path": "src/os/signal/signal_test.go", "patch": "@@ -18,6 +18,7 @@ import (\n \t\"runtime\"\n \t\"runtime/trace\"\n \t\"strconv\"\n+\t\"strings\"\n \t\"sync\"\n \t\"syscall\"\n \t\"testing\"\n@@ -47,6 +48,13 @@ func init() {\n \t\t//\n \t\t// See https://golang.org/issue/33174.\n \t\tsettleTime = 11 * ti...
2021-04-28T21:47:41
huggingface/transformers
442d356aa5a32bc90ac78132e0dd95207409ed1e
7e9b57ce62ba37a60930b43b7f2b71a69a66af4f
Add moe kernels (#37376) * the fix that did not get in * add kernels * full graph does not work * simpler is better * Update src/transformers/integrations/hub_kernels.py Co-authored-by: Daniël de Kok <me@danieldk.eu> * Update src/transformers/integrations/fbgemm_fp8.py Co-authored-by: Daniël de Kok <me@danieldk...
[ { "path": "src/transformers/integrations/hub_kernels.py", "patch": "@@ -32,6 +32,13 @@\n layer_name=\"MultiScaleDeformableAttention\",\n )\n },\n+ \"Llama4TextMoe\": {\n+ \"cuda\": LayerRepository(\n+ # Move to kernels-community/moe once w...
2025-04-11T09:56:22
nodejs/node
42bded83e8b71dda885c173d33b0190cdee3d0da
c7707a1ccaf4cb17e18f4bf11fb04a242d34bdff
fs: throw ERR_INVALID_ARG_VALUE when buffer being written is empty Fixes: https://github.com/nodejs/node/issues/21193 PR-URL: https://github.com/nodejs/node/pull/21262 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -47,6 +47,7 @@ const { Buffer, kMaxLength } = require('buffer');\n const errors = require('internal/errors');\n const {\n ERR_FS_FILE_TOO_LARGE,\n+ ERR_INVALID_ARG_VALUE,\n ERR_INVALID_ARG_TYPE,\n ERR_INVALID_CALLBACK\n } = errors.codes;\n@@ -457,6 +458,11 @@ funct...
2018-06-11T13:44:52
vercel/next.js
b653942050962e1ab0f70bd5b42c03d61d7c338f
0bd3422b6cd7c52a02aee48f04fcaed93d536c9b
Disable jest autorun in this repo (#43727) When someone installs jest extension it will run all the tests that is not possible in this repo because there is so many <!-- 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 fo...
[ { "path": ".vscode/settings.json", "patch": "@@ -6,6 +6,7 @@\n { \"language\": \"typescriptreact\", \"autoFix\": true }\n ],\n \"debug.javascript.unmapMissingSources\": true,\n+ \"jest.autoRun\": \"off\",\n \"files.exclude\": {\n \"**/node_modules\": false,\n \"node_modules\": true,", ...
2022-12-05T12:11:43
rust-lang/rust
0084862cd3c739cd850d1e757b7059e154c1fb08
555e1d0386f024a8359645c3217f4b3eae9be042
Grammar fixes for BufRead::has_data_left docs
[ { "path": "library/std/src/io/mod.rs", "patch": "@@ -2319,9 +2319,9 @@ pub trait BufRead: Read {\n /// Checks if there is any data left to be `read`.\n ///\n /// This function may fill the buffer to check for data,\n- /// so this functions returns `Result<bool>`, not `bool`.\n+ /// so this...
2025-04-26T05:21:40
nodejs/node
cee8677ac4715ef365dbb128c7cdde28427119c3
8b0c6d83220fc4be0f2a6f412cd7849af7f54c72
test: improve console table error output The former error output was not readable in case of an error. This improves it by splitting the lines and therefore creating a nice and readable diff. PR-URL: https://github.com/nodejs/node/pull/20960 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat ...
[ { "path": "test/parallel/test-console-table.js", "patch": "@@ -17,7 +17,10 @@ function test(data, only, expected) {\n only = undefined;\n }\n console.table(data, only);\n- assert.strictEqual(queue.shift(), expected.trimLeft());\n+ assert.deepStrictEqual(\n+ queue.shift().split('\\n'),\n+ exp...
2018-05-25T10:12:40
vercel/next.js
324de6bf7a1639d53feeaf9da66dc02fa07d4ee9
e085fd6f8f37e41a9c3489442020e269e57562ea
Fix typos in 1.bug_report.yml (#43697) Found some tiny typos when using the bug template. ## Documentation / Examples - [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/co...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -33,13 +33,13 @@ body:\n - 'ESLint (eslint-config-next)'\n - 'Font optimization (@next/font)'\n - 'Head component/file (next/head / head.js)'\n- - 'Internationalzation (i18n)'\n- - 'Image optmization (nex...
2022-12-04T21:35:10
golang/go
10d625d5b41f17c118da18a592c683e60fcdcb3b
371ea545c015627ffac2139338ea63acda4c1523
database/sql: add NullInt16 and NullByte Fixes #40082 Change-Id: I01cd4d0e23c0376a6ee6e0b196c9f840cd662325 Reviewed-on: https://go-review.googlesource.com/c/go/+/311572 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Daniel Theophanes <kardianos@gmail.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtec...
[ { "path": "src/database/sql/fakedb_test.go", "patch": "@@ -1186,9 +1186,11 @@ func converterForType(typ string) driver.ValueConverter {\n \t\treturn driver.Bool\n \tcase \"nullbool\":\n \t\treturn driver.Null{Converter: driver.Bool}\n+\tcase \"byte\", \"int16\":\n+\t\treturn driver.NotNull{Converter: driver...
2021-04-20T13:15:29
huggingface/transformers
54a123f068c57abe8bc27a507d05d5674f5862bf
931126b929ee573c2bb951db87bdbaea51567cea
Simplify soft dependencies and update the dummy-creation process (#36827) * Reverse dependency map shouldn't be created when test_all is set * [test_all] Remove dummies * Modular fixes * Update utils/check_repo.py Co-authored-by: Pablo Montalvo <39954772+molbap@users.noreply.github.com> * [test_all] Better docs ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1078,6 +1078,8 @@\n title: Utilities for Audio processing\n - local: internal/file_utils\n title: General Utilities\n+ - local: internal/import_utils\n+ title: Importing Utilities\n - local: internal/time_series_utils\n ...
2025-04-11T09:08:36
nodejs/node
7c2925e60956019fa4ca7bbcafcb98ea79022710
19e10ec2e2cb3bf5dbe3110ee49e32dcb3d0fdea
worker: exit after uncaught exception Previously even after uncaught exception the worker would continue to execute until there is no more work to do. PR-URL: https://github.com/nodejs/node/pull/21739 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/internal/worker.js", "patch": "@@ -467,6 +467,8 @@ function setupChild(evalScript) {\n else\n port.postMessage({ type: messageTypes.COULD_NOT_SERIALIZE_ERROR });\n clearAsyncIdStack();\n+\n+ process.exit();\n }\n }\n }", "additions": 2, "deletions": 0, ...
2018-07-13T15:45:18
golang/go
fe8c0e9467d8628138d54951ebb8e166c086c80b
dd7529408412ec94a454d8455f7547327ee0d64d
[dev.fuzz] cmd/go/internal/test: don't set default timeout when fuzzing The -timeout flag is not used when the fuzzing engine is running, but there was another backup alarm that would stop the test binary after 11 minutes by default. This change disables that backup alarm when the -fuzz flag is set. Note: unfortunate...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -618,7 +618,9 @@ func runTest(ctx context.Context, cmd *base.Command, args []string) {\n \t// to that timeout plus one minute. This is a backup alarm in case\n \t// the test wedges with a goroutine spinning and its background\n \t// timer does not g...
2021-04-23T18:06:51
huggingface/transformers
931126b929ee573c2bb951db87bdbaea51567cea
c7064cdba11e9447fd1f64ec34e23c8b37113cb4
Fixes: Corrects file path for CUDA kernels (#37438) Corrects the file path used to locate the CUDA kernels for the Deformable Attention module. This ensures that the kernels are loaded correctly, resolving potential errors during module initialization and usage.
[ { "path": "src/transformers/models/deprecated/deta/modeling_deta.py", "patch": "@@ -57,7 +57,7 @@ def load_cuda_kernels():\n \n global MultiScaleDeformableAttention\n \n- root = Path(__file__).resolve().parent.parent.parent / \"kernels\" / \"deta\"\n+ root = Path(__file__).resolve().parent.parent....
2025-04-11T08:41:46
vercel/next.js
e085fd6f8f37e41a9c3489442020e269e57562ea
c51af7cab52f39ae40e79a89e79311a9cb3d9b9e
Fix typo in comment (#43685) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or RF...
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -358,7 +358,7 @@ function Router({\n return\n }\n \n- // This case happens when when the history entry was pushed by the `pages` router.\n+ // This case happens when the history entry was pushed by the `pages` r...
2022-12-04T21:34:15
electron/electron
90538d0e16c6adc6a539477543dc67035e9e09f9
2b5a0e28e33c7cf1ab1664c002c7052f1c0b1f39
Update "app" to "your-app" to avoid module collision with require('app') If you name your app's folder `app/` and if you run the atom-shell from the directory above that, it will result in an error, which I believe is caused by resolving `require('app')` to your `app/` folder. So just to avoid confusion where someo...
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -43,10 +43,10 @@ use the easy [remote](../api/remote.md) module.\n \n ## Write your first atom-shell app\n \n-Generally, an atom-shell app would be like this:\n+Generally, an atom-shell app would be like this (see this repo for reference [hello-atom](ht...
2014-05-07T19:21:13
nodejs/node
35326f27fd9693fcf02a2eab5e22c78b0b702508
998f9ffd429e10b712b06ea57e598d4b1a55fe64
process: fix process.exitCode handling for fatalException * set process.exitCode before calling 'exit' handlers so that there will not be a situation where process.exitCode !== code in 'exit' callback during uncaughtException handling * don't ignore process.exitCode set in 'exit' callback when failed with uncaug...
[ { "path": "doc/api/process.md", "patch": "@@ -151,9 +151,13 @@ added: v0.1.18\n \n The `'uncaughtException'` event is emitted when an uncaught JavaScript\n exception bubbles all the way back to the event loop. By default, Node.js\n-handles such exceptions by printing the stack trace to `stderr` and exiting....
2018-07-10T15:44:16
huggingface/transformers
c7064cdba11e9447fd1f64ec34e23c8b37113cb4
371c44d0efb2ac552bbfed9a65baea4d4d83747c
enhance require_deterministic_for_xpu (#37437) * enhance require_deterministic_for_xpu Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style Signed-off-by: YAO Matrix <matrix.yao@intel.com> --------- Signed-off-by: YAO Matrix <matrix.yao@intel....
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -139,7 +139,6 @@\n is_torch_available,\n is_torch_bf16_available_on_device,\n is_torch_bf16_gpu_available,\n- is_torch_deterministic,\n is_torch_fp16_available_on_device,\n is_torch_greater_or_equal,\n is_torch_hpu_availa...
2025-04-11T06:06:08
golang/go
371ea545c015627ffac2139338ea63acda4c1523
62d424d794e7543e84f4b6ddd7acc8e39c6c6380
net/url: avoid string concatenation in resolvePath ame old time/op new time/op delta String-12 8.09µs ± 7% 8.20µs ± 5% ~ (p=0.347 n=20+19) ResolvePath-12 223ns ± 8% 170ns ± 7% -23.84% (p=0.000 n=20+19) QueryEscape/#00-12 72.9ns ± 5% 73.6ns ± 6% ...
[ { "path": "src/net/url/url.go", "patch": "@@ -1015,6 +1015,8 @@ func resolvePath(base, ref string) string {\n \t)\n \tfirst := true\n \tremaining := full\n+\t// We want to return a leading '/', so write it now.\n+\tdst.WriteByte('/')\n \tfor i >= 0 {\n \t\ti = strings.IndexByte(remaining, '/')\n \t\tif i < ...
2021-01-08T20:21:08
vercel/next.js
4d60d684e6bf6f9752e9125c84f3971058ce5db7
45079f3afd5e70ab8a01ac913141b4e6c6baa310
update chromiumoxide (vercel/turbo#2916) updating in hope that this fixes the random errors in test runs
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -53,7 +53,7 @@ url = \"2.3.0\"\n webbrowser = \"0.7.1\"\n \n [dev-dependencies]\n-chromiumoxide = { version = \"0.3.5\", features = [\n+chromiumoxide = { version = \"0.4.0\", features = [\n \"tokio-runtime\",\n ], default-features = fa...
2022-12-03T21:11:10
nodejs/node
1062ea4555e21e7e24bb01a04840843979b7df45
61cd101e128238ba52b333e99fc5b0e948e13de5
src: add comment on CallbackScope exception behaviour PR-URL: https://github.com/nodejs/node/pull/21743 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "src/node.h", "patch": "@@ -683,6 +683,10 @@ class InternalCallbackScope;\n *\n * This object should be stack-allocated to ensure that it is contained in a\n * valid HandleScope.\n+ *\n+ * Exceptions happening within this scope will be treated like uncaught\n+ * exceptions. If this behaviour is...
2018-07-10T23:28:30
huggingface/transformers
371c44d0efb2ac552bbfed9a65baea4d4d83747c
7ff896c0f22227ae999f991cff500e70452d5dcc
Remove old code for PyTorch, Accelerator and tokenizers (#37234) * Remove unneeded library version checks Signed-off-by: cyy <cyyever@outlook.com> * Remove PyTorch condition Signed-off-by: cyy <cyyever@outlook.com> * Remove PyTorch condition Signed-off-by: cyy <cyyever@outlook.com> * Fix ROCm get_device_capabi...
[ { "path": "src/transformers/activations.py", "patch": "@@ -16,7 +16,6 @@\n from collections import OrderedDict\n \n import torch\n-from packaging import version\n from torch import Tensor, nn\n \n from .utils import logging\n@@ -34,14 +33,6 @@ class PytorchGELUTanh(nn.Module):\n match due to rounding er...
2025-04-10T18:54:21
vercel/next.js
54069b7d83587fe044aa4757f7a56c52a871eb62
9b66fa301aeedd94a4fabc152432904a2ba0e82b
update chromiumoxide (vercel/turbo#2916) updating in hope that this fixes the random errors in test runs
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -53,7 +53,7 @@ url = \"2.3.0\"\n webbrowser = \"0.7.1\"\n \n [dev-dependencies]\n-chromiumoxide = { version = \"0.3.5\", features = [\n+chromiumoxide = { version = \"0.4.0\", features = [\n \"tokio-runtime\",\n ], default-features = false }\n criterion ...
2022-12-03T21:11:10
golang/go
86e42c2fbfe14c41746fe5cfc5c8bda94bb4bc4e
5e4f9b077f27c79a69677b7c15dbfd157b1698a4
cmd/go: suppress SSH password prompts when fetching modules or repos We were already setting GIT_SSH_COMMAND (if unset) to explicitly include 'ControlMaster=no' in order to disable connection pooling. Now we also set 'BatchMode=yes' to suppress password prompts for password-protected keys. While we're here, we also s...
[ { "path": "doc/go1.17.html", "patch": "@@ -138,6 +138,17 @@ <h4 id=\"vendor\"><code>vendor</code> contents</h4>\n module root when invoked within the <code>vendor</code> tree.\n </p>\n \n+<h4 id=\"password-prompts\">Password prompts</h4>\n+\n+<p><!-- golang.org/issue/44904 -->\n+ The <code>go</code> comm...
2021-03-10T04:27:48
electron/electron
1bce2ec0e9f681dabba5aeab658a532c3da9c101
1b3658171f04bacd0c926c99df04d803ef99ba70
Fixed typos
[ { "path": "docs/tutorial/application-distribution.md", "patch": "@@ -23,7 +23,7 @@ atom-shell/resources/app\n └── index.html\n ```\n \n-Then execute `Atom.app` (or `atom` on Linux, and `atom.exe` on Window), and\n+Then execute `Atom.app` (or `atom` on Linux, and `atom.exe` on Windows), and\n atom-shell will...
2014-05-07T11:04:14
huggingface/transformers
7d768764980ae093419d1b2bdc82bd1934b09bf2
dac443414ee99aeddf7c2a4b86ee5ff901cdd183
(Part 2) feat: allow for tp_size attr for tplizing the model (#37054) * feat: custom tp_size, new transformers tp interface Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> * fix: review cmt - error when tp_plan not set for tp_size Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> * fi...
[ { "path": "docs/source/ar/trainer.md", "patch": "@@ -674,29 +674,7 @@ use_cpu: false\n ```\n \n </hfoption>\n-<hfoption id=\"Tensor Parallelism with PyTorch 2\">\n \n-```yml\n-compute_environment: LOCAL_MACHINE\n-tp_config:\n- tp_size: 4\n-distributed_type: TP\n-downcast_bf16: 'no'\n-machine_rank: 0\n-main...
2025-04-10T15:44:09
nodejs/node
8c305e1c2fc94e3d0b3e6a016f5635970e287df7
39977db7c015e94d33885249f50e62fa8b1f1bb9
test: fix flaky watchFile() The regression that test-fs-watch-file-enoent-after-deletion was written to test for involves whether or not the callback runs or not. Checking what the file watcher reports unfortunately is subject to race conditions on Windows (and possibly elsewhere) because the file watcher returns cont...
[ { "path": "test/parallel/test-fs-watch-file-enoent-after-deletion.js", "patch": "@@ -32,7 +32,6 @@ const common = require('../common');\n // stopped it from getting emitted.\n // https://github.com/nodejs/node-v0.x-archive/issues/4027\n \n-const assert = require('assert');\n const path = require('path');\n ...
2018-07-12T03:04:28
vercel/next.js
2fcc1e2c2caff739595d1f1d2e353fd7845a1314
93297437445a4932dc674c6324a014bc1270f8d0
Remove resolved `app` directory todos (#43672) All of these todos have been handled right before Next.js conf / shortly after, this PR is cleaning them up. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -561,7 +561,6 @@ export class FlightClientEntryPlugin {\n return shouldInvalidate\n }\n \n- // TODO-APP: make sure dependsOn is added for layouts/pages\n addEntry(\n compilation: any,\n context: stri...
2022-12-03T20:34:53
golang/go
5e4f9b077f27c79a69677b7c15dbfd157b1698a4
0921211403731b5a8a38e2d2c647c288240e5b29
cmd/compile: when compiling with -N, avoid entry block Lots of constant SSA values we put in the entry block so that CSE can easily combine them. With -N, however, we don't run CSE, so putting values in the entry block only serves to extend their lifetime for no benefit. Fixes #45897. The number of live SSA values pe...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -1161,39 +1161,51 @@ func (s *state) newValue4I(op ssa.Op, t *types.Type, aux int64, arg0, arg1, arg2\n \treturn s.curBlock.NewValue4I(s.peekPos(), op, t, aux, arg0, arg1, arg2, arg3)\n }\n \n+func (s *state) entryBlock() *ssa.Block {\n+\tb :=...
2021-05-03T15:55:57
huggingface/transformers
dac443414ee99aeddf7c2a4b86ee5ff901cdd183
6daec12d0b2f922c8ad27b1cb0d51446d00d8016
fix: use mtime by default in Trainer._rotate_checkpoints with automatic fallback (#37260) Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3224,9 +3224,8 @@ def _save_checkpoint(self, model, trial):\n \n # Maybe delete some older checkpoints.\n if self.args.should_save:\n- # Solely rely on numerical checkpoint id for rotation.\n- # mtime is not reliabl...
2025-04-10T15:42:06
vercel/next.js
45079f3afd5e70ab8a01ac913141b4e6c6baa310
122983cf3965ca6c99ef9c3a0d046db840e93645
chore(deps): update rust crate futures to 0.3.25 (vercel/turbo#2915) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [futures](https://rust-lang.github.io/futures-rs) ([source](...
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -33,7 +33,7 @@ profile = []\n anyhow = \"1.0.47\"\n clap = { version = \"4.0.18\", features = [\"derive\", \"env\"] }\n console-subscriber = { version = \"0.1.8\", optional = true }\n-futures = \"0.3.21\"\n+futures = \"0.3.25\"\n mime = ...
2022-12-03T08:54:50
golang/go
0921211403731b5a8a38e2d2c647c288240e5b29
830e63a7a330577bfb51404f38beb1b47ceae6b6
cmd/compile: preserve/translate names for parameters This is part of getting debugging into good shape with the register ABI. (This may generate a backport for 1.16, there was some regression there as well.) This is not necessarily fully-baked yet; my goal is to make it work "well enough" for actual debugging, then ...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -575,6 +575,77 @@ func (x *expandState) rewriteDereference(b *Block, base, a, mem *Value, offset,\n \treturn mem\n }\n \n+var indexNames [1]string = [1]string{\"[0]\"}\n+\n+// pathTo returns the selection path to the leaf type at offset ...
2021-04-20T03:00:24
nodejs/node
39977db7c015e94d33885249f50e62fa8b1f1bb9
9374a83d6983710844c5436f32c14242ba600a20
inspector: split main thread interface from transport Workers debugging will require interfacing between the "main" inspector and per-worker isolate inspectors. This is consistent with what WS interface does. This change is a refactoring change and does not change the functionality. PR-URL: https://github.com/nodejs/...
[ { "path": "node.gyp", "patch": "@@ -493,12 +493,14 @@\n 'src/inspector_js_api.cc',\n 'src/inspector_socket.cc',\n 'src/inspector_socket_server.cc',\n- 'src/inspector/tracing_agent.cc',\n+ 'src/inspector/main_thread_interface.cc',\n 'src/i...
2018-05-21T23:59:04
huggingface/transformers
6daec12d0b2f922c8ad27b1cb0d51446d00d8016
0ea1151222b0ba4bf8e509e5e7ae73b57359d296
Add GGUF support to Gemma3 Text backbone (#37424) * add gemma3 gguf support Signed-off-by: Isotr0py <2037008807@qq.com> * fix typo and add gguf limit Signed-off-by: Isotr0py <2037008807@qq.com> * fix a typo Signed-off-by: Isotr0py <2037008807@qq.com> * add vision conversion test Signed-off-by: Isotr0py <2037008...
[ { "path": "src/transformers/integrations/ggml.py", "patch": "@@ -204,6 +204,23 @@\n \"attention.head_count\": \"num_attention_heads\",\n \"attention.head_count_kv\": \"num_key_value_heads\",\n \"attention.layer_norm_rms_epsilon\": \"rms_norm_eps\",\n+ \"attention.sliding_windo...
2025-04-10T15:15:43
electron/electron
831c7f5924122cff794c4b6c35b96276cd79f824
c12ba5d221afa0854703808be913e83e88e01df1
Fixed typos
[ { "path": "atom/browser/api/lib/browser-window.coffee", "patch": "@@ -33,7 +33,7 @@ BrowserWindow::_init = ->\n id = BrowserWindow.windows.add this\n \n # Remove the window from weak map immediately when it's destroyed, since we\n- # could be iterating windows before GC happended.\n+ # could be iterat...
2014-05-07T06:34:53
vercel/next.js
9b66fa301aeedd94a4fabc152432904a2ba0e82b
3bff42bb68ac01dd02a8cc7aa75a18f3bbf3b8fe
chore(deps): update rust crate futures to 0.3.25 (vercel/turbo#2915) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [futures](https://rust-lang.github.io/futures-rs) ([source](...
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -33,7 +33,7 @@ profile = []\n anyhow = \"1.0.47\"\n clap = { version = \"4.0.18\", features = [\"derive\", \"env\"] }\n console-subscriber = { version = \"0.1.8\", optional = true }\n-futures = \"0.3.21\"\n+futures = \"0.3.25\"\n mime = \"0.3.16\"\n next-...
2022-12-03T08:54:50
nodejs/node
2d950701a14638480d0e375180e6dff4b50a709b
57e301539bff2599974b7269a56377330c9b730e
test: fix weird string error Previously getting this error when running `tap2junit` (what parses our `.tap` files in CI): ``` Traceback (most recent call last): File "/usr/local/bin/tap2junit", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/site-packages/tap2junit/__main__.py", line 46, ...
[ { "path": "test/parallel/test-stdio-pipe-access.js", "patch": "@@ -1,7 +1,7 @@\n 'use strict';\n const common = require('../common');\n if (!common.isMainThread)\n- common.skip('Workers don’t have process-like stdio');\n+ common.skip(\"Workers don't have process-like stdio\");\n \n // Test if Node handles...
2018-07-13T14:45:42
rust-lang/rust
4b309c67c6fc3c5d6ff51a417af453380348c2eb
be181dd75c83d72fcc95538e235768bc367b76b9
Simply try to unpeel AsyncFnKindHelper goal in emit_specialized_closure_kind_error
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs", "patch": "@@ -813,38 +813,17 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n obligation: &PredicateObligation<'tcx>,\n mut trait_pred: ty::PolyTraitPredicate<'tcx>,\n ) -> Option<ErrorGuaranteed> {\n...
2025-04-26T01:42:48
huggingface/transformers
0ea1151222b0ba4bf8e509e5e7ae73b57359d296
9c0c323e12640a46090d2d13d135a1d84321feda
Llama Kernel integration (#37092) * initial commit * style * update * change approach attention * clean up * fix import * update * update * fix style * change method * attention * add mlp back * change name * update name * fix copies * fix config * fix
[ { "path": "src/transformers/integrations/hub_kernels.py", "patch": "@@ -31,7 +31,20 @@\n repo_id=\"kernels-community/deformable-detr\",\n layer_name=\"MultiScaleDeformableAttention\",\n )\n- }\n+ },\n+ \"RMSNorm\": {\n+ \"cuda\": La...
2025-04-10T15:13:25
vercel/next.js
0c756bee15a39e50256247757cdb9c4f00da3772
3a7c35a92671b616294931cb9a8900478a0b788d
Update cache handling for app (#43659) This updates the app directory caching. x-ref: [slack thread ](https://vercel.slack.com/archives/C042LHPJ1NX/p1669231119199339) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`co...
[ { "path": "packages/next/client/components/app-router-headers.ts", "patch": "@@ -1,6 +1,7 @@\n export const RSC = 'RSC' as const\n export const NEXT_ROUTER_STATE_TREE = 'Next-Router-State-Tree' as const\n export const NEXT_ROUTER_PREFETCH = 'Next-Router-Prefetch' as const\n+export const FETCH_CACHE_HEADER =...
2022-12-03T07:32:49
rust-lang/rust
ae0c2fe3d8173f03878671e0bba38a03efa44c93
3c877f6a477380ed61155d3bf816df09c9e05b9e
transmutability: Support char, NonZeroXxx Note that `NonZero` support is not wired up, as the author encountered bugs while attempting this. A future commit will wire up `NonZero` support.
[ { "path": "compiler/rustc_transmute/src/layout/mod.rs", "patch": "@@ -65,7 +65,12 @@ impl fmt::Debug for Byte {\n }\n }\n \n-#[cfg(test)]\n+impl From<RangeInclusive<u8>> for Byte {\n+ fn from(src: RangeInclusive<u8>) -> Self {\n+ Self::new(src)\n+ }\n+}\n+\n impl From<u8> for Byte {\n f...
2025-04-22T22:43:34
nodejs/node
36cc5f5caf52af895079d153a9131fe2b0c6b8f9
32cad739b12c3f1b24dff9a24e8321927e9b2eb2
test: fix timeouts when running worker tests with `--worker` These tests have been added after the original workers PR and time out when run inside a worker by themselves. This is needed for enabling `--worker` tests in our regular CI. Refs: https://github.com/nodejs/build/issues/1318 PR-URL: https://github.com/node...
[ { "path": "test/parallel/test-worker-exit-code.js", "patch": "@@ -7,9 +7,11 @@ const common = require('../common');\n \n const assert = require('assert');\n const worker = require('worker_threads');\n-const { Worker, isMainThread, parentPort } = worker;\n+const { Worker, parentPort } = worker;\n \n-if (isMa...
2018-07-13T13:07:23
huggingface/transformers
9c0c323e12640a46090d2d13d135a1d84321feda
bde41d69b47c37e0dc1704cb4cd1a2a4709a4136
Fix require_read_token (#37422) * nit * fix * fix
[ { "path": "src/transformers/models/donut/modeling_donut_swin.py", "patch": "@@ -156,7 +156,7 @@ class DonutSwinImageClassifierOutput(ModelOutput):\n \"\"\"\n \n loss: Optional[torch.FloatTensor] = None\n- logits: torch.FloatTensor = None\n+ logits: Optional[torch.FloatTensor] = None\n hidd...
2025-04-10T15:01:40
electron/electron
a69c312389c506cc29d49e69e4d3dabe1a95910c
f280590adfb05b0eb30a716183d737c24c6b39da
Fixes auto updater regression, closes atom/atom#1949.
[ { "path": "atom/browser/api/atom_api_auto_updater.cc", "patch": "@@ -7,6 +7,7 @@\n #include \"base/time/time.h\"\n #include \"base/values.h\"\n #include \"atom/browser/auto_updater.h\"\n+#include \"atom/browser/browser.h\"\n #include \"native_mate/dictionary.h\"\n #include \"native_mate/object_template_buil...
2014-05-07T03:32:06
golang/go
138d2c9b88d9e3d5adcebf9cb7c356b43d6a9782
e3769299cd3484e018e0e2a6e1b95c2b18ce4f41
strconv: fix a typo Change-Id: I17911dc95fb2126b41dc95f8839c4b3fa8f35d12 GitHub-Last-Rev: 88e120329301bd73db39e1081737a83f49a5672b GitHub-Pull-Request: golang/go#45933 Reviewed-on: https://go-review.googlesource.com/c/go/+/316689 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang...
[ { "path": "src/strconv/atoi.go", "patch": "@@ -143,7 +143,7 @@ func ParseUint(s string, base int, bitSize int) (uint64, error) {\n \n \t\tn1 := n + uint64(d)\n \t\tif n1 < n || n1 > maxVal {\n-\t\t\t// n+v overflows\n+\t\t\t// n+d overflows\n \t\t\treturn maxVal, rangeError(fnParseUint, s0)\n \t\t}\n \t\tn ...
2021-05-04T01:00:37
huggingface/transformers
bde41d69b47c37e0dc1704cb4cd1a2a4709a4136
7ecc5b88c0328aea91a3c9f8763f56b3b1e26767
Correctly drop tokens in SwitchTransformer (#37123) Previously, the identity function was used for dropped tokens with a weight from the expert that was not applied to the hidden states. This was misleading, because dropping means, the expert weight is zero. Instead of trying to fix the weight, we take an easier appro...
[ { "path": "src/transformers/models/switch_transformers/modeling_switch_transformers.py", "patch": "@@ -301,10 +301,8 @@ def forward(self, hidden_states):\n router_mask, router_probs, router_logits = self.router(hidden_states)\n expert_index = torch.argmax(router_mask, dim=-1)\n \n- # ...
2025-04-10T14:58:57
vercel/next.js
3a7c35a92671b616294931cb9a8900478a0b788d
bb770ca4f3f3e81641b18335f1e52283534a144e
@next/font fallback fonts order fix (#43633) The fallback fonts are applied in the wrong order which can cause the generated fallback font not to get applied. ref: [slack](https://vercel.slack.com/archives/C03S8ED1DKM/p1669834408302339?thread_ts=1669765718.933099&cid=C03S8ED1DKM) ## Bug - [ ] Related issues...
[ { "path": "packages/next/build/webpack/loaders/next-font-loader/postcss-font-loader.ts", "patch": "@@ -115,8 +115,8 @@ const postcssFontLoaderPlugn = ({\n const isRange = (value: string) => value.trim().includes(' ')\n const formattedFontFamilies = [\n formatFamily(fontFamily),\n- ...
2022-12-03T06:09:38
nodejs/node
4d42083d1a2a5632589e79aa3b780a7d7c93a2e1
949e8851484c016c07f6cc9e5889f0f2e56baf2a
repl: make own properties shadow prototype properties Previously, the code displayed properties backwards (e.g., showing prototype properties before own properties). It also did uniqueness checks during this processing, so these checks were done backwards. After this change, the properties continue to be displayed b...
[ { "path": "lib/repl.js", "patch": "@@ -1229,20 +1229,20 @@ function complete(line, callback) {\n // Completion group 0 is the \"closest\"\n // (least far up the inheritance chain)\n // so we put its completions last: to be closest in the REPL.\n- for (i = completionGroups.length - 1; ...
2018-06-29T16:49:36
huggingface/transformers
7ecc5b88c0328aea91a3c9f8763f56b3b1e26767
5ae9b2cac0b5b015e41eae328df56b97e8205262
Add image classifier donut & update loss calculation for all swins (#37224) * add classifier head to donut * add to transformers __init__ * add to auto model * fix typo * add loss for image classification * add checkpoint * remove no needed import * reoder import * format * consistency * add test of classif...
[ { "path": "docs/source/en/model_doc/donut.md", "patch": "@@ -226,3 +226,8 @@ print(answer)\n \n [[autodoc]] DonutSwinModel\n - forward\n+\n+## DonutSwinForImageClassification\n+\n+[[autodoc]] transformers.DonutSwinForImageClassification\n+ - forward\n\\ No newline at end of file", "additions": 5,...
2025-04-10T13:00:42
golang/go
e3769299cd3484e018e0e2a6e1b95c2b18ce4f41
2422c5eae5dc6539b4b7657ef7bfe58a65acb61d
strconv: add QuotedPrefix QuotedPrefix is similar to Unquote, but returns the quoted string verbatim and ignores any data after the quoted string. Fixes #45033 Change-Id: I9f69fe9e3e45cbe9e63581cf1b457facb625045d Reviewed-on: https://go-review.googlesource.com/c/go/+/314775 Trust: Joe Tsai <joetsai@digital-static.ne...
[ { "path": "src/strconv/bytealg.go", "patch": "@@ -9,7 +9,7 @@ package strconv\n \n import \"internal/bytealg\"\n \n-// contains reports whether the string contains the byte c.\n-func contains(s string, c byte) bool {\n-\treturn bytealg.IndexByteString(s, c) != -1\n+// index returns the index of the first in...
2021-04-29T00:39:46
vercel/next.js
bb770ca4f3f3e81641b18335f1e52283534a144e
d464ef8f1852ce4af4af03b1e265d9ab7ed737d5
fix: properly handle `trailingSlash: true` and `rewrites` (#43641) Fixes #43623 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature...
[ { "path": "packages/next/shared/lib/router/adapters.tsx", "patch": "@@ -117,7 +117,14 @@ export function PathnameContextProviderAdapter({\n // any query strings), so it should have that stripped. Read more about the\n // `asPath` option over at:\n // https://nextjs.org/docs/api-reference/next/ro...
2022-12-03T06:04:36
nodejs/node
949e8851484c016c07f6cc9e5889f0f2e56baf2a
d462f8cfe34019ab8bf1d57d33bf16e64c8fb815
http: fix request with option timeout and agent When request with both timeout and agent, timeout not work. This patch will fix it, socket timeout will set to request timeout before socket is connected, and socket timeout will reset to agent timeout after response end. Fixes: https://github.com/nodejs/node/issues/211...
[ { "path": "doc/api/http.md", "patch": "@@ -126,6 +126,8 @@ added: v0.3.4\n * `maxFreeSockets` {number} Maximum number of sockets to leave open\n in a free state. Only relevant if `keepAlive` is set to `true`.\n **Default:** `256`.\n+ * `timeout` {number} Socket timeout in milliseconds.\n+ This...
2018-06-08T04:42:27
electron/electron
779e7765ae3dd617658c5a452c236f6bbbdb360c
f25480dec51e41411078fc962f0255b534bd3bca
:lipstick: Fix format.
[ { "path": "docs/api/browser-window.md", "patch": "@@ -488,6 +488,7 @@ app.on('ready', function() {\n ```\n \n **Note:**\n+\n 1. The IPC message handler in web pages do not have a `event` parameter, which\n is different from the handlers on browser side.\n 2. There is no way to send synchronous messages f...
2014-05-07T01:47:58
huggingface/transformers
5ae9b2cac0b5b015e41eae328df56b97e8205262
d9e76656aea65c08e5cdd32470111f5883702155
Quark Quantization gated repo (#37412) * fix * empty commit * empty * nit * fix maybe ?
[ { "path": "tests/quantization/quark_integration/test_quark.py", "patch": "@@ -19,6 +19,7 @@\n is_torch_available,\n require_accelerate,\n require_quark,\n+ require_read_token,\n require_torch_gpu,\n require_torch_multi_gpu,\n slow,\n@@ -56,6 +57,7 @@ class QuarkTest(unittest.TestC...
2025-04-10T12:57:15
golang/go
2422c5eae5dc6539b4b7657ef7bfe58a65acb61d
496d7c691481966fd6ea806205aa025698a172af
sync/atomic: add (*Value).Swap and (*Value).CompareAndSwap The functions SwapPointer and CompareAndSwapPointer can be used to interact with unsafe.Pointer, however generally it is prefered to work with Value, due to its safer interface. As such, they have been added along with glue logic to maintain invariants Value g...
[ { "path": "src/sync/atomic/value.go", "patch": "@@ -25,29 +25,29 @@ type ifaceWords struct {\n \n // Load returns the value set by the most recent Store.\n // It returns nil if there has been no call to Store for this Value.\n-func (v *Value) Load() (x interface{}) {\n+func (v *Value) Load() (val interface{...
2020-07-09T07:06:46
nodejs/node
d462f8cfe34019ab8bf1d57d33bf16e64c8fb815
45732c7c19672869a7e517e252c83b371a863bee
doc: add OS X to instead of only macOS The last OS X version is 10.11 El Captian, and the first macOS version is 10.12 Sierra. So >= 10.8 < 10.10 is called OS X and >= 10.10 is called OS X or macOS. Refs: https://en.wikipedia.org/wiki/MacOS#Release_history PR-URL: https://github.com/nodejs/node/pull/21033 Reviewed-B...
[ { "path": "BUILDING.md", "patch": "@@ -41,14 +41,14 @@ platforms in production.\n |--------------|--------------|----------------------------------|----------------------|------------------|\n | GNU/Linux | Tier 1 | kernel >= 2.6.32, glibc >= 2.12 | x64, arm | |\n | GN...
2018-05-30T10:21:20
vercel/next.js
d464ef8f1852ce4af4af03b1e265d9ab7ed737d5
d41afd71525c85002ffeefaedce3bd7343c4739e
Update create-next-app template (#43482) Refreshes `create-next-app` template designed by @evilrabbit. Credits to members of Vercel's Design team @dizzyup + @emilkowalski for support on CSS optimizations + code clean up. The refreshed template includes one new dependency: `@next/font`. The main script + related ...
[ { "path": "packages/create-next-app/templates/app/js/README-template.md", "patch": "@@ -12,9 +12,9 @@ yarn dev\n \n Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n \n-You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the ...
2022-12-03T06:01:04
electron/electron
70194d2632fdda72455d22369aa4527618052863
c841d9052979cef9b9462000dd4e9212634dcbe2
minor spelling fix and grammar
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -15,8 +15,8 @@ browser, controlled by JavaScript.\n \n If you had experience with node.js web applications, you would notice that there\n are types of JavaScript scripts: the server side scripts and the client side\n-scripts. The server side JavaScript,...
2014-05-07T01:30:58
huggingface/transformers
d9e76656aea65c08e5cdd32470111f5883702155
1ae8d54b0456867c83e28ecb1fde2e1dcd480e60
Fix new failure reports not including anything other than `tests/models/` (#37415) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/notification_service.py", "patch": "@@ -544,8 +544,11 @@ def payload(self) -> str:\n if \"https://github.com/huggingface/transformers/actions/runs\" in line:\n pattern = r\"<(https://github.com/huggingface/transformers/actions/runs/.+?/job/.+?)\\|(.+?)>\"...
2025-04-10T12:47:23
golang/go
496d7c691481966fd6ea806205aa025698a172af
731a015ab8c8f44c7196123fd65b184a63d6835a
text/template: add lock for Template.tmpl to fix data race This adds a new lock protecting "tmpl". This is a copy of https://golang.org/cl/257817 by Andreas Fleig, updated for current tip, and updated to start running the html/template TestEscapeRace test. Thanks to @bep for providing the test case. Fixes #39807 C...
[ { "path": "src/html/template/exec_test.go", "patch": "@@ -1720,8 +1720,6 @@ var v = \"v\";\n `\n \n func TestEscapeRace(t *testing.T) {\n-\tt.Skip(\"this test currently fails with -race; see issue #39807\")\n-\n \ttmpl := New(\"\")\n \t_, err := tmpl.New(\"templ.html\").Parse(raceText)\n \tif err != nil {",...
2021-05-03T23:32:52
nodejs/node
d2ee7d64aa3afd593ec8c0b14f497244403c5589
3950a3e0b1319c6cae49f674b7f82a491ea09093
crypto: remove deprecated legacy API The `crypto.Credentials` legacy API has been Runtime deprecated since v0.11.13 and users had been adviced to use `tls.SecureContext` instead. PR-URL: https://github.com/nodejs/node/pull/21153 Fixes: https://github.com/nodejs/node/issues/20793 Reviewed-By: Matteo Collina <matteo.co...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1415,25 +1415,6 @@ something has to be unpredictable and unique, but does not have to be secret;\n it is important to remember that an attacker must not be able to predict ahead\n of time what a given IV will be.\n \n-### crypto.createCredentials(details)\n-<!-- ...
2018-06-25T21:31:43
vercel/next.js
d41afd71525c85002ffeefaedce3bd7343c4739e
c6ec490eb1e3886c6406d82ab6693d73b7388f5a
Revert: 'Minimized runtime errors in app dir' (#43648) Reverts: #43511 It incorrectly shows render errors minimized although it should only be for uncaught errors/rejections. Keep old behaviour for now. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have...
[ { "path": "packages/next/client/components/react-dev-overlay/internal/container/Errors.tsx", "patch": "@@ -139,7 +139,7 @@ export const Errors: React.FC<ErrorsProps> = function Errors({ errors }) {\n \n const [displayState, setDisplayState] = React.useState<\n 'minimized' | 'fullscreen' | 'hidden'\n- ...
2022-12-02T19:51:23
electron/electron
a67c54869fca3865bd0553bc63e14873790e4d7d
c841d9052979cef9b9462000dd4e9212634dcbe2
Make sure the job factory is created when initializing protocol module. Fixes atom/atom#1963, the regression came when moving to use native-mate to reimplment the APIs.
[ { "path": "atom/browser/api/atom_api_protocol.cc", "patch": "@@ -322,6 +322,10 @@ mate::Handle<Protocol> Protocol::Create(v8::Isolate* isolate) {\n namespace {\n \n void Initialize(v8::Handle<v8::Object> exports) {\n+ // Make sure the job factory has been created.\n+ atom::AtomBrowserContext::Get()->url_r...
2014-05-07T01:16:45
golang/go
e8eb1d82690c5c70df770df41ca237e5756f21d5
ed5ebd32b3b8f66515522e8f09bc9dc023c0901c
math: add MaxUint, MinInt, MaxInt Since we have int8 to int64 min max and uint8 to uint64 max constants, we should probably have some for the word size types too. This change also adds tests to validate the correctness of all integer limit values. Fixes #28538 Change-Id: Idd25782e98d16c2abedf39959b7b66e9c4c0c98b Rev...
[ { "path": "src/math/const.go", "patch": "@@ -37,6 +37,10 @@ const (\n \n // Integer limit values.\n const (\n+\tintSize = 32 << (^uint(0) >> 63) // 32 or 64\n+\n+\tMaxInt = 1<<(intSize-1) - 1\n+\tMinInt = -1 << (intSize - 1)\n \tMaxInt8 = 1<<7 - 1\n \tMinInt8 = -1 << 7\n \tMaxInt16 = 1<<15 - 1\n@...
2020-08-06T02:57:15
nodejs/node
3950a3e0b1319c6cae49f674b7f82a491ea09093
f9b739ebbcb77bc5a0fc8e3d20ad2eae3285b039
errors: fix undefined HTTP2 and tls errors Includes implementation of tls, HTTP2 error with documentation. PR-URL: https://github.com/nodejs/node/pull/21564 Refs: https://github.com/nodejs/node/issues/21440 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1014,6 +1014,11 @@ provided.\n \n The `Http2Session` closed with a non-zero error code.\n \n+<a id=\"ERR_HTTP2_SETTINGS_CANCEL\"></a>\n+### ERR_HTTP2_SETTINGS_CANCEL\n+\n+The `Http2Session` settings canceled.\n+\n <a id=\"ERR_HTTP2_SOCKET_BOUND\"></a>\n ### ERR_H...
2018-06-27T14:05:32
vercel/next.js
122983cf3965ca6c99ef9c3a0d046db840e93645
b1eb3ea7a68a57c1c897a1a0f17b474d2369354f
fix dynamic paths (vercel/turbo#2884)
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/server-renderer.tsx", "patch": "@@ -130,6 +130,9 @@ async function runOperation(\n },\n };\n \n+ if (\"getStaticPaths\" in otherExports) {\n+ renderOpts.getStaticPaths = otherExports.getStaticPaths;\n+ }\n if (\"getStaticProps\" in othe...
2022-12-02T17:27:02
electron/electron
c841d9052979cef9b9462000dd4e9212634dcbe2
d0b8b478fc7d90ee420510ac37e7563fdeeae74a
linux: Be quiet when uploading crash report.
[ { "path": "atom/common/crash_reporter/linux/crash_dump_handler.cc", "patch": "@@ -347,10 +347,9 @@ void ExecUploadProcessOrTerminate(const BreakpadInfo& info,\n post_file,\n // TODO(zcbenz): Enabling custom upload url.\n info.upload_url,\n- \"--timeout=10\", // Set a timeout so we don't hang...
2014-05-07T01:05:00
golang/go
ddb648fdf6c21e7e56a2252df3e3913a212ca4ab
9f347035ef46c5f275fedf23893e0883b3b24035
archive/zip: add File.OpenRaw, Writer.CreateRaw, Writer.Copy These new methods provide support for cases where performance is a primary concern. For example, copying files from an existing zip to a new zip without incurring the decompression and compression overhead. Using an optimized, external compression method and...
[ { "path": "src/archive/zip/reader.go", "patch": "@@ -52,12 +52,9 @@ type File struct {\n \tFileHeader\n \tzip *Reader\n \tzipr io.ReaderAt\n-\tzipsize int64\n \theaderOffset int64\n-}\n-\n-func (f *File) hasDataDescriptor() bool {\n-\treturn f.Flags&0x8 != 0\n+\tzip64 bool // z...
2021-04-21T17:11:02
rust-lang/rust
9059f8cd7c312d55a78cbf32ddf0729032993a9d
5e5ad10bc6eea1d7ff23e9f49e42e39a6c2873f1
Fix test
[ { "path": "tests/run/ptr_cast.rs", "patch": "@@ -5,6 +5,7 @@\n // stdout: 10\n // 10\n // 42\n+// 1\n \n #![feature(no_core)]\n #![no_std]", "additions": 1, "deletions": 0, "language": "Rust" } ]
2025-04-25T14:18:12
nodejs/node
f9b739ebbcb77bc5a0fc8e3d20ad2eae3285b039
19bc893c7559ed53d17b9cdc372fc9614f2deda9
http: allow url and options to be passed to http*.request and http*.get Fixes: https://github.com/nodejs/node/issues/20795 PR-URL: https://github.com/nodejs/node/pull/21616 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ron Korving <ron@ronkorving.nl> Reviewed-By: James M Snell <jasnell@gmail...
[ { "path": "doc/api/http.md", "patch": "@@ -1796,15 +1796,20 @@ The `requestListener` is a function which is automatically\n added to the [`'request'`][] event.\n \n ## http.get(options[, callback])\n+## http.get(url[, options][, callback])\n <!-- YAML\n added: v0.3.6\n changes:\n+ - version: REPLACEME\n+ ...
2018-07-01T15:00:24
vercel/next.js
ee21f7fbcf8512f2ed2e62c2b988629dd7d300d2
d246dc9e878220be6677c3751a7b7784a00618be
fix dynamic paths (vercel/turbo#2884)
[ { "path": "crates/next-core/js/src/entry/server-renderer.tsx", "patch": "@@ -130,6 +130,9 @@ async function runOperation(\n },\n };\n \n+ if (\"getStaticPaths\" in otherExports) {\n+ renderOpts.getStaticPaths = otherExports.getStaticPaths;\n+ }\n if (\"getStaticProps\" in otherExports) {\n ...
2022-12-02T17:27:02
electron/electron
abe4b73d4385c2f3794a34f763b0b46b34115e61
d0e255816d4db5c4a1df137bc95c9363ee082892
Update README.md Fixed a small typo
[ { "path": "README.md", "patch": "@@ -7,7 +7,7 @@ editor](https://github.com/atom/atom).\n \n ## Downloads\n \n-Prebuilt binaries of atom-shell for Linux, Window and Mac can be found on the\n+Prebuilt binaries of atom-shell for Linux, Windows and Mac can be found on the\n [releases](https://github.com/atom/a...
2014-05-06T18:34:02
golang/go
9f347035ef46c5f275fedf23893e0883b3b24035
791854700db17ad11f75a61176967e35196714ed
cmd/api: disallow silent API additions after api/go1.n.txt is created At this time, the golang.org/s/release process arranges such that the api/go1.n.txt file is created when a Go 1.N Beta 1 release is being cut. The API check is currently configured so that tests don't fail visibly even if api/go1.n.txt becomes a sub...
[ { "path": "src/cmd/api/goapi.go", "patch": "@@ -215,8 +215,7 @@ func main() {\n \t}\n \toptional := fileFeatures(*nextFile)\n \texception := fileFeatures(*exceptFile)\n-\tfail = !compareAPI(bw, features, required, optional, exception,\n-\t\t*allowNew && strings.Contains(runtime.Version(), \"devel\"))\n+\tfa...
2021-04-29T20:44:58
rust-lang/rust
5e5ad10bc6eea1d7ff23e9f49e42e39a6c2873f1
79339104b1cc2e0cce8eb4e74e0184e00e872782
Fix clippy warnings
[ { "path": "src/asm.rs", "patch": "@@ -165,10 +165,10 @@ impl<'a, 'gcc, 'tcx> AsmBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {\n let mut input_registers = vec![];\n \n for op in rust_operands {\n- if let InlineAsmOperandRef::In { reg, .. } = *op {\n- if let Cons...
2025-04-25T14:10:50
vercel/next.js
c6ec490eb1e3886c6406d82ab6693d73b7388f5a
482fccb92234bb017cdc0d376724d678aa306e53
Fixed broken Cloudinary example (#43646) Adding TypeScript as a dependency to fix the Cloudinary example
[ { "path": "examples/with-cloudinary/package.json", "patch": "@@ -26,6 +26,7 @@\n \"postcss\": \"^8.4.18\",\n \"prettier\": \"^2.7.1\",\n \"prettier-plugin-tailwindcss\": \"^0.1.13\",\n- \"tailwindcss\": \"^3.2.1\"\n+ \"tailwindcss\": \"^3.2.1\",\n+ \"typescript\": \"4.8.4\"\n }\n }", ...
2022-12-02T17:12:54
huggingface/transformers
1ae8d54b0456867c83e28ecb1fde2e1dcd480e60
10144ff116497878d1d82aabf0a84c16944786f1
[chat-template] Unify tests and clean up 🧼 (#37275) * fix tests and some clean up * make one general test for each modality * remove redundant merging of kwargs * edge cases * dont enforce slow when reloading * fix gemma3 tests * has to adapt llama 4 after rebase * remove also from overriden tests * should b...
[ { "path": "docs/source/en/chat_templating_multimodal.md", "patch": "@@ -181,35 +181,6 @@ processed_chat = processor.apply_chat_template(\n print(processed_chat.keys())\n ```\n \n-</hfoption>\n-<hfoption id=\"custom frame sampling\">\n-\n-Some models don't sample frames *uniformly* and require more complex l...
2025-04-10T12:42:32
electron/electron
444a094edad5dc2d9c4eac6a37d480fdc9b9f434
d2f3d83678701ef5f9886d058ece8b253334c0e6
Fix subtitle
[ { "path": "docs/development/atom-shell-vs-node-webkit.md", "patch": "@@ -7,7 +7,7 @@ system in web pages.\n But there are also fundamental differences between the two projects that making\n atom-shell a completely product from node-webkit:\n \n-1. Entry of application\n+**1. Entry of application**\n \n In n...
2014-05-06T07:22:29
golang/go
8a4b7294af226f2628edc0ef2a7c45ecff6e06ff
7f9febd4a19a02bd25e40c63289268e9c062701e
cmd/compile: fix possible nil deref added in CL 270943 In the event allocSpan returned a nil, this would crash. Cleaned up the code and comments slightly, too. Change-Id: I6231d4b4c14218e6956b4a97a205adc3206f59ec Reviewed-on: https://go-review.googlesource.com/c/go/+/316429 Trust: David Chase <drchase@google.com> Run...
[ { "path": "src/runtime/mheap.go", "patch": "@@ -897,7 +897,8 @@ func (s spanAllocType) manual() bool {\n // spanclass indicates the span's size class and scannability.\n //\n // If needzero is true, the memory for the returned span will be zeroed.\n-// The boolean returned indicates whether the returned spa...
2021-05-03T17:24:27
rust-lang/rust
c07054bdd1f8927fef5b1665debff9cb27452cc0
077cedc2afa8ac0b727b7a6cbe012940ba228deb
Retry if creating temp fails with access denied On Windows, if creating a temporary directory fails with permission denied then use a retry/backoff loop. This hopefully fixes a recuring error in our CI.
[ { "path": "Cargo.lock", "patch": "@@ -3740,6 +3740,9 @@ dependencies = [\n [[package]]\n name = \"rustc_fs_util\"\n version = \"0.0.0\"\n+dependencies = [\n+ \"tempfile\",\n+]\n \n [[package]]\n name = \"rustc_graphviz\"\n@@ -4052,7 +4055,6 @@ dependencies = [\n \"rustc_session\",\n \"rustc_span\",\n \"r...
2025-04-20T15:29:17
huggingface/transformers
aa478567f824986e2ea0fab9739b409123824bef
ae5ce226644c8576c9047987e6b1d2e9bdeaed24
Allow rocm systems to run these tests (#37278) * Allow rocm systems to run these tests * Fix skipTest logic * Use get_device_properties to check system capabilities
[ { "path": "tests/models/musicgen/test_modeling_musicgen.py", "patch": "@@ -31,6 +31,7 @@\n T5Config,\n )\n from transformers.testing_utils import (\n+ get_device_properties,\n is_torch_available,\n require_flash_attn,\n require_torch,\n@@ -1093,12 +1094,15 @@ def test_sdpa_can_dispatch_on...
2025-04-10T11:33:01
vercel/next.js
482fccb92234bb017cdc0d376724d678aa306e53
166e5fb9b92f64c4b5d1f6560a05e2b9778c16fb
Adding head element checking for root layout (#43597) ### Update We removed the `<head>` element checking for root layout in #41621. Since we also need `<head>` for preload in the future, and also css-in-js will require that. We're adding back the `head` element checking to make sure user always provide valid root la...
[ { "path": "packages/next/client/components/react-dev-overlay/internal/container/RootLayoutError.tsx", "patch": "@@ -14,7 +14,7 @@ export type RootLayoutErrorProps = { missingTags: string[] }\n export const RootLayoutError: React.FC<RootLayoutErrorProps> =\n function BuildError({ missingTags }) {\n con...
2022-12-02T16:41:46
electron/electron
5eb2b33018069be29a4cf8518eebbd0fcb3ffa87
5b5651882ebff802499f412b218e68f586206f80
:memo: Add technical differences to node-webkit, fixes #242.
[ { "path": "README.md", "patch": "@@ -1,7 +1,5 @@\n # Atom Shell [![Build Status](https://travis-ci.org/atom/atom-shell.svg?branch=master)](https://travis-ci.org/atom/atom-shell)\n \n-## Overview\n-\n The Atom Shell framework lets you write cross-platform desktop applications\n using JavaScript, HTML and CSS...
2014-05-06T07:16:54
golang/go
7f9febd4a19a02bd25e40c63289268e9c062701e
90ec25773523ac2c5e075f1e5d7519ee08201b8c
cmd/compile: fix linux-amd64-noopt builder CL 312214 added unsafe.{Add,Slice}, which may appears in expression that evaluating requires function calls. "mayCall" does not handle that case, causing linux-amd64-noopt builder failed. Fixes #45917 Change-Id: I900aefb702122480be621355def3d2c20eadbe70 Reviewed-on: https:/...
[ { "path": "src/cmd/compile/internal/walk/walk.go", "patch": "@@ -308,7 +308,8 @@ func mayCall(n ir.Node) bool {\n \t\tdefault:\n \t\t\tbase.FatalfAt(n.Pos(), \"mayCall %+v\", n)\n \n-\t\tcase ir.OCALLFUNC, ir.OCALLMETH, ir.OCALLINTER:\n+\t\tcase ir.OCALLFUNC, ir.OCALLMETH, ir.OCALLINTER,\n+\t\t\tir.OUNSAFEA...
2021-05-03T07:10:23
rust-lang/rust
64867c68f4eb537215e65268903803f44f1fe6b6
44232a67c320c8df31e2b82ae15d2ec7c83ec759
Check if format argument is identifier to avoid error err-emit Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "compiler/rustc_parse_format/src/lib.rs", "patch": "@@ -100,6 +100,30 @@ pub struct Argument<'a> {\n pub format: FormatSpec<'a>,\n }\n \n+impl<'a> Argument<'a> {\n+ pub fn is_identifier(&self) -> bool {\n+ matches!(self.position, Position::ArgumentNamed(_))\n+ && matches!(...
2025-04-25T09:53:40
huggingface/transformers
6d8b0b33786f6cf41791077624bf731f8c78e36b
f5865d32a2f56b3a83eb3349327abc2a9f16f3be
Fix Llama4 offset (#37414) * add +1 * Update modeling_llama4.py
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -731,7 +731,6 @@ def _update_causal_mask(\n attention_chunk_size = self.config.attention_chunk_size\n \n first_cache_position = cache_position[0]\n- last_cache_position = cache_position[-1]\n \n if pas...
2025-04-10T09:40:58
golang/go
90ec25773523ac2c5e075f1e5d7519ee08201b8c
b5842308892e0c4f9e772a42d5826f6f62f57be3
cmd/compile: make the stack allocator more careful about register args. Assignment between input parameters causes them to have more than one "Name", and running this backwards from names to values can end up confusing (conflating) parameter spill slots. Around 105a6e9518, this cases a stack overflow running go test ...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -6,6 +6,7 @@ package ssa\n \n import (\n \t\"cmd/compile/internal/abi\"\n+\t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/src\"\n@@ -1601,7 +1602,10 @@ func (x *expand...
2021-04-24T01:49:08
rust-lang/rust
8604d0fd341d953226564d937320519beb8700c7
862156d6f25ccb0d915d2a0c8ebab520d05e4f72
rustdoc: fix typo change from equivelent to equivalent
[ { "path": "src/doc/rustdoc/src/read-documentation/search.md", "patch": "@@ -89,7 +89,7 @@ the standard library and functions that are included in the results list:\n \n ### Non-functions in type-based search\n Certain items that are not functions are treated as though they\n-were a semantically equivelent f...
2025-04-25T10:03:08
electron/electron
3c0ec73d750f6d72a62626ba2f828ad5505e07d9
de0be312be97ca567d939a7394be85e28479352c
win: Fix dumping symbols.
[ { "path": "script/bootstrap.py", "patch": "@@ -25,6 +25,8 @@ def main():\n bootstrap_brightray(args.url)\n if sys.platform == 'cygwin':\n update_win32_python()\n+ if sys.platform in ['win32', 'cygwin']:\n+ install_runas()\n \n touch_config_gypi()\n update_atom_shell()\n@@ -72,6 +74,13 @@ def...
2014-04-29T04:33:20
nodejs/node
d4164ca559f5d458384b379852972c84ff918ab4
85b0f1649d07294afea6cfbb3082c18a3dc2079a
console: console.countReset() should emit warning The Console Standard specifies that console.countReset() should emit some type of a warning when given a label that has no previous account associated with it. This PR brings node's implementation of console.countReset() up-to-spec and adds a test asserting that a warn...
[ { "path": "lib/console.js", "patch": "@@ -107,6 +107,7 @@ function Console(options /* or: stdout, stderr, ignoreErrors = true */) {\n if (typeof colorMode !== 'boolean' && colorMode !== 'auto')\n throw new ERR_INVALID_ARG_VALUE('colorMode', colorMode);\n \n+ // Corresponds to https://console.spec.wha...
2018-06-18T05:38:36
huggingface/transformers
e032d12e8a402d3ec1ab7ec26b92d917f447af29
f834ca2c19215f1e4fb0959cc3faafeaf56cd4f7
the fix that did not get in (#37370) * debugging improvements * add debugging details * add more debugging details * debug more * the fix that did not get in * First fix flex * fix query offset * fix flex first * fix device mask creation for speed * small mask creation sdpa * Update flex_attention.py * remo...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1913,37 +1913,38 @@ def initialise_cache_layer(self, layer_idx, key_states):\n self.value_cache.append(new_layer_value_cache)\n \n def _sliding_update(self, cache_position, layer_idx, key_states, value_states, k_out, v_out, max_cache_len...
2025-04-09T18:15:33
electron/electron
dc9778f0f2dfe037778410bc36cf55a05946023a
4addd8d227e997a99c204fd82b51e14154791726
Fix compilation error on Windows.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -198,7 +198,7 @@ void WebContents::OnRendererMessageSync(const string16& channel,\n // static\n mate::Handle<WebContents> WebContents::Create(\n v8::Isolate* isolate, content::WebContents* web_contents) {\n- return CreateHandle(isolate...
2014-04-29T03:39:31
golang/go
b5842308892e0c4f9e772a42d5826f6f62f57be3
169155d61ede128caa8452bdff3ce9995287c138
net/http: use relative path in Location redirect If the cleaned path did not match the requested path, ServeMux.Handler would return a Location header which reflected the hostname in the request, possibly leading to an incorrect redirect. Instead the Location header should be relative, like the other cases in ServeMux...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -6507,3 +6507,20 @@ func TestDisableKeepAliveUpgrade(t *testing.T) {\n \t\tt.Fatalf(\"unexpected value read from body:\\ngot: %q\\nwant: %q\", b, \"hello\")\n \t}\n }\n+\n+func TestMuxRedirectRelative(t *testing.T) {\n+\tsetParallel(t)\n+\treq, err := Rea...
2021-04-27T03:10:56
nodejs/node
85b0f1649d07294afea6cfbb3082c18a3dc2079a
144c1b7e98e2fd629371cbbd37f51b6a980b531d
crypto: handle OpenSSL error queue in CipherBase This handles all errors produced by OpenSSL within the CipherBase class. API functions ensure that they do not add any new errors to the error queue. Also adds a couple of CHECKs and throws under certain conditions. PR-URL: https://github.com/nodejs/node/pull/21288 Fix...
[ { "path": "src/node_crypto.cc", "patch": "@@ -2591,6 +2591,7 @@ void CipherBase::Init(const char* cipher_type,\n int key_buf_len,\n unsigned int auth_tag_len) {\n HandleScope scope(env()->isolate());\n+ MarkPopErrorOnReturn mark_pop_error_on_return;\n \n #ifdef...
2018-06-12T12:15:38
huggingface/transformers
f834ca2c19215f1e4fb0959cc3faafeaf56cd4f7
c5c648dd74b711992a6af114c3b1524aece99b97
Attention Quantization with FBGemm & TP (#37384) * fix * keep fused * contiguous * rm print * update * update * rm print
[ { "path": "src/transformers/integrations/fbgemm_fp8.py", "patch": "@@ -50,7 +50,7 @@ def forward(self, x):\n # x_quantized and x_scale are not necessarily on the same device as x, this is an issue.\n # https://github.com/pytorch/FBGEMM/blob/e08af8539c391437f447173863df0f3f6f6f1855/fbgemm_gpu...
2025-04-09T16:45:42
golang/go
169155d61ede128caa8452bdff3ce9995287c138
472f519fe26652af2fcef6121e259d7f193b27cf
cmd/compile: preserve argument order in debug_info When regabi is used sorting by stack offset will not preserve the order of function arguments. Trust that variables are already ordered correctly when creating debug_info entries. Fixes #45720 Change-Id: I1dbdd185975273f70244a23302d34f082347603d Reviewed-on: https:/...
[ { "path": "src/cmd/compile/internal/dwarfgen/scope.go", "patch": "@@ -36,16 +36,20 @@ func assembleScopes(fnsym *obj.LSym, fn *ir.Func, dwarfVars []*dwarf.Var, varSco\n \t\tdwarfScopes[i+1].Parent = int32(parent)\n \t}\n \n-\tscopeVariables(dwarfVars, varScopes, dwarfScopes)\n+\tscopeVariables(dwarfVars, va...
2021-05-01T16:45:57
electron/electron
4addd8d227e997a99c204fd82b51e14154791726
b6fa1141fe027b5da708f8f2d180e83f8a6ba8ec
win: Fix executing apm.
[ { "path": "script/bootstrap.py", "patch": "@@ -60,7 +60,8 @@ def update_atom_modules(dirname):\n with scoped_cwd(dirname):\n apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm')\n if sys.platform in ['win32', 'cygwin']:\n- apm += '.cmd'\n+ apm = os.path.join(SOURCE_ROOT, 'node_...
2014-04-29T03:12:41
huggingface/transformers
c5c648dd74b711992a6af114c3b1524aece99b97
71b35387fd6d71487bd29e694ed10d925203e031
Fix some failing AWQ tests (#37383) * update AwqQuantizer * fix style * add an arg to get_modules_to_not_convert to add get_keys_to_not_convert(model)
[ { "path": "src/transformers/quantizers/base.py", "patch": "@@ -263,14 +263,17 @@ def get_modules_to_not_convert(\n model: \"PreTrainedModel\",\n skip_modules: Optional[List[str]] = None,\n keep_in_fp32_modules: Optional[List[str]] = None,\n+ add_default_skips: bool = False,\n ...
2025-04-09T16:24:57
nodejs/node
fcfd3e1bac0c3c62360829aeac4c63a62a2f02f5
8174d0c8cae857296c45b2c448348f2c781f6ace
src: make Environment::is_stopping_worker inline Fixes a TODO comment. PR-URL: https://github.com/nodejs/node/pull/21720 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/env-inl.h", "patch": "@@ -33,6 +33,7 @@\n #include \"node_perf_common.h\"\n #include \"node_context_data.h\"\n #include \"tracing/agent.h\"\n+#include \"node_worker.h\"\n \n #include <stddef.h>\n #include <stdint.h>\n@@ -623,6 +624,11 @@ inline void Environment::remove_sub_worker_context(work...
2018-07-09T15:02:11
vercel/next.js
2063ff33380978d3e2fc7a5154d6808d93e1c3d8
5fb243d2ad412f50da31b3436a03b8a4bd3342f8
fix(jest): pattern when detecting packages to transpile in next/jest (#43546) <!-- 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 m...
[ { "path": "packages/next/build/jest/jest.ts", "patch": "@@ -157,7 +157,7 @@ export default function nextJest(options: { dir?: string } = {}) {\n // To match Next.js behavior node_modules is not transformed, only `transpiledPackages`\n ...(transpiled\n ? [\n- `/...
2022-12-02T04:55:22
huggingface/transformers
71b35387fd6d71487bd29e694ed10d925203e031
ad340908e441246f59462ee4f3450085569e4f8f
Apply torchfix to replace deprecated functions: `_pytree._register_pytree_node` and `torch.cpu.amp.autocast` (#37372) fix: apply torchfix
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3689,7 +3689,7 @@ def autocast_smart_context_manager(self, cache_enabled: Optional[bool] = True):\n arguments, depending on the situation.\n \"\"\"\n if self.use_cpu_amp:\n- ctx_manager = torch.cpu.amp.autocast(cache_e...
2025-04-09T15:11:18