repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
63469ed15cb35cdc0f53ef413ea349a8a75d4ffb
b5e9086c5a6553d0d7ad6006ac83ed881c35fcdd
doc: fix order of events when request is aborted PR-URL: https://github.com/nodejs/node/pull/24779 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -2075,9 +2075,9 @@ will be emitted in the following order:\n * `'socket'`\n * (`req.abort()` called here)\n * `'abort'`\n-* `'close'`\n * `'error'` with an error with message `'Error: socket hang up'` and code\n `'ECONNRESET'`\n+* `'close'`\n \n If `req.abort()` i...
2018-12-02T08:24:47
golang/go
fa5c5043bca5264fabbdc47d780cfb53b1f5d9a3
13aa0d8f578e9c293970fe462f79655899959093
encoding/xml: truncate generic type names xml names can't have any of '[],' in them, which might appear in generic type names. Truncate at the first '[' so the names are still valid. Fixes #48318 Change-Id: I110ff4269f763089467e7cf84b0f0c5075fb44b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/349349 Trust:...
[ { "path": "src/encoding/xml/marshal.go", "patch": "@@ -494,6 +494,10 @@ func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, startTemplat\n \t}\n \tif start.Name.Local == \"\" {\n \t\tname := typ.Name()\n+\t\tif i := strings.IndexByte(name, '['); i >= 0 {\n+\t\t\t// Truncate generic instantia...
2021-09-11T13:50:06
rust-lang/rust
8645ef7d8e4053562f621578d3fe44460ccfa8c0
b1723fc83be899ba084fb31935352cf5393956b4
Fix npm install error
[ { "path": "src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile", "patch": "@@ -30,7 +30,6 @@ ENV PATH=\"/node/bin:${PATH}\"\n \n # Install eslint\n COPY host-x86_64/mingw-check-tidy/eslint.version /tmp/\n-RUN npm install eslint@$(head -n 1 /tmp/eslint.version)\n \n COPY scripts/sccache.sh /scripts/\n RUN ...
2025-05-29T13:32:52
huggingface/transformers
dedcbd6e3d52b9e49031df7ade1eafe75fca2f60
20ce210ab77b2d18d9fb34a42b913e2e68feba7f
run model debugging with forward arg (#39905) * run model debugging a lot simpler * fixup * Update src/transformers/utils/generic.py * fixup * mode syle? * guard a bit
[ { "path": "src/transformers/model_debugging_utils.py", "patch": "@@ -21,26 +21,23 @@\n from io import StringIO\n from typing import Optional\n \n-from safetensors.torch import save_file\n-\n-from transformers.utils.import_utils import requires\n-\n-from .utils import is_torch_available\n+from .utils.import_...
2025-08-05T13:46:19
vercel/next.js
139e573da2fff9c3da0975cc0a26fbb566b2a362
745efd2812f6fec4b317b1c3c395e9ce34bc3825
Fix redundant TS plugin warning (#46769) When the project's TS config extends another base configuration, and the Next.js TS plugin was configured there, we always output this message: ![CleanShot-2023-03-04-F5TcATto@2x](https://user-images.githubusercontent.com/3676859/222918715-6c2026f4-a96a-4c6b-9440-fc3d6075...
[ { "path": "packages/next/src/lib/typescript/writeConfigurationDefaults.ts", "patch": "@@ -196,10 +196,19 @@ export async function writeConfigurationDefaults(\n // Enable the Next.js typescript plugin.\n if (isAppDirEnabled) {\n if (userTsConfig.compilerOptions) {\n+ // Check if the config or th...
2023-03-05T00:58:15
golang/go
13aa0d8f578e9c293970fe462f79655899959093
901ac46df8e742369e4b79c41e739eb3d7ffc7e5
runtime: fix output for bad pcHeader With print, the output all runs together. Take this opportunity to clean up and label all the fields. Print pluginpath unilaterally; no reason not to. Wrap long lines. Remove pointless newline from throw. Change-Id: I37af15dc8fcb3dbdbc6da8bbea2c0ceaf7b5b889 Reviewed-on: https://go...
[ { "path": "src/runtime/symtab.go", "patch": "@@ -568,13 +568,11 @@ const debugPcln = false\n func moduledataverify1(datap *moduledata) {\n \t// Check that the pclntab's format is valid.\n \thdr := datap.pcHeader\n-\tif hdr.magic != 0xfffffffa || hdr.pad1 != 0 || hdr.pad2 != 0 || hdr.minLC != sys.PCQuantum |...
2021-09-17T23:21:43
huggingface/transformers
2589a52c5cf60de8b96016f3267c98f0a1faa100
6e4a9a5b431f09f4a853ad1808b89315e09b972c
Fix aria tests (#39879) * fix aria tests * awful bug * fix copies * fix tests * fix style * revert this
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -1014,18 +1014,9 @@ def forward(\n past_key_values: Optional[Cache] = None,\n inputs_embeds: Optional[torch.FloatTensor] = None,\n use_cache: Optional[bool] = None,\n- output_attentions: Optional[bool] = N...
2025-08-05T11:48:47
nodejs/node
a9a595657651cd5c66a1d0ee8749ace8fb6b51c3
bcef949c931f54e3d8ae2a1701f2538262e6bec9
src: fix warning for potential snprintf truncation gcc 8+ recognizes that space has not been left for the pid and that the return value of snprintf() isn't checked. Leave a little space for the pid to prevent `-Wformat-truncation`. PR-URL: https://github.com/nodejs/node/pull/24810 Reviewed-By: Richard Lau <riclau@uk....
[ { "path": "src/util.cc", "patch": "@@ -116,7 +116,8 @@ std::string GetHumanReadableProcessName() {\n }\n \n void GetHumanReadableProcessName(char (*name)[1024]) {\n- char title[1024] = \"Node.js\";\n+ // Leave room after title for pid, which can be up to 20 digits for 64 bit.\n+ char title[1000] = \"Node...
2018-12-03T17:07:53
huggingface/transformers
6e4a9a5b431f09f4a853ad1808b89315e09b972c
98a3c49135276ff44ecfc7e72a832fd19a391150
Fix eval thread fork bomb (#39717)
[ { "path": "src/transformers/trainer.py", "patch": "@@ -1034,17 +1034,16 @@ def _get_dataloader(\n seed_worker, num_workers=self.args.dataloader_num_workers, rank=self.args.process_index\n )\n \n- dataloader = DataLoader(dataset, **dataloader_params)\n+ datal...
2025-08-05T10:50:32
rust-lang/rust
5290b1ee0d746d1231fe498d6e70d05365756c87
3927a61a546b0f134b3790d66ef73f1960e8bc8b
fix: `collapsible_else_if` FP on conditionally compiled stmt
[ { "path": "clippy_lints/src/collapsible_if.rs", "patch": "@@ -2,12 +2,13 @@ use clippy_config::Conf;\n use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_then};\n use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::{IntoSpan as _, SpanRangeExt, snippet, snippet_block, snippet_b...
2025-05-28T07:45:22
vercel/next.js
745efd2812f6fec4b317b1c3c395e9ce34bc3825
8d9b0b111f4c38c670d6e2fd00b1a0a603ad4136
Support mdx-components file in src directory (#46763) Adds additional alias for `/src/mdx-components` which makes the resolving: - `/src/mdx-components` - `/mdx-components` - `@mdx-js/react` (this one doesn't support server components) Fixes NEXT-515 Fixes #45748 <!-- Thanks for opening a PR! Your contri...
[ { "path": "packages/next-mdx/index.js", "patch": "@@ -22,6 +22,7 @@ module.exports =\n return Object.assign({}, nextConfig, {\n webpack(config, options) {\n config.resolve.alias['next-mdx-import-source-file'] = [\n+ 'private-next-root-dir/src/mdx-components',\n 'private-...
2023-03-05T00:46:27
nodejs/node
379bf1aa8ee602a38209b525cb6a25a804ee334e
3d6d9749c273d8bbd19508a9f294cfedf44d01e2
test: update postmortem metadata test for V8 7.1 The V8 7.1 update requires the following adjustments to the postmortem debugging metadata constants: - v8dbg_class_JSArrayBuffer__byte_length__Object Use: v8dbg_class_JSArrayBuffer__byte_length__size_t - v8dbg_class_JSArrayBufferView__raw_byte_length__Object Use: ...
[ { "path": "test/v8-updates/test-postmortem-metadata.js", "patch": "@@ -69,10 +69,10 @@ function getExpectedSymbols() {\n 'v8dbg_class_HeapObject__map__Map',\n 'v8dbg_class_JSArray__length__Object',\n 'v8dbg_class_JSArrayBuffer__backing_store__Object',\n- 'v8dbg_class_JSArrayBuffer__byte_lengt...
2018-10-08T03:27:08
golang/go
9ab6af9837f924869cd2213ce028b3f4d49c487c
7d67f8d4354d864fcbe6b218b7f80bcdfde851c9
runtime, cmd/link: fix comment typos Change-Id: I33a10417939bfcfec117d6ad49c42312731ac30f Reviewed-on: https://go-review.googlesource.com/c/go/+/350733 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry M...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -51,7 +51,7 @@ type pclntab struct {\n }\n \n // addGeneratedSym adds a generator symbol to pclntab, returning the new Sym.\n-// It is the caller's responsibility to save they symbol in state.\n+// It is the caller's responsibility to save the symbo...
2021-09-17T20:45:12
rust-lang/rust
0cba7fb6f665300ba0febeff18f34cc74ff44224
8afd71079a729ac002298239f5010ccaac5807ca
Remove `i128` and `u128` from `improper_ctypes_definitions` Rust's 128-bit integers have historically been incompatible with C [1]. However, there have been a number of changes in Rust and LLVM that mean this is no longer the case: * Incorrect alignment of `i128` on x86 [1]: adjusting Rust's alignment proposed at h...
[ { "path": "compiler/rustc_lint/messages.ftl", "patch": "@@ -374,8 +374,6 @@ lint_improper_ctypes = `extern` {$desc} uses type `{$ty}`, which is not FFI-safe\n .label = not FFI-safe\n .note = the type is defined here\n \n-lint_improper_ctypes_128bit = 128-bit integers don't currently have a known sta...
2025-02-20T05:46:52
huggingface/transformers
1af10710817e7aeb8e5019f1a0f299bf76722cfa
78ef84921bcacb31f130ae0cb880911c4aad07f6
Fix misleading WandB error when WANDB_DISABLED is set (#39891) When users set `report_to="wandb"` but also have `WANDB_DISABLED=true` in their environment, the previous error message was misleading: "WandbCallback requires wandb to be installed. Run pip install wandb." This was confusing because wandb was actually in...
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -806,6 +806,19 @@ class WandbCallback(TrainerCallback):\n def __init__(self):\n has_wandb = is_wandb_available()\n if not has_wandb:\n+ # Check if wandb is actually installed but disabled via WANDB_DI...
2025-08-05T10:18:18
nodejs/node
3d6d9749c273d8bbd19508a9f294cfedf44d01e2
d08800799f487c2ab02cf567dca2e4ecfb589b63
deps: cherry-pick 88f8fe1 from upstream V8 Original commit message: Fix collection iterator preview with deleted entries We used to assume that we know the remaining entries returned by the iterator based on the current index. However, that is not accurate, since entries skipped by the current index ...
[ { "path": "common.gypi", "patch": "@@ -38,7 +38,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 ##### V8 defaults for Node.js #####\n "...
2018-11-20T07:59:38
golang/go
7d67f8d4354d864fcbe6b218b7f80bcdfde851c9
39e08c6cd75da72059a58f05eb500b48124d563e
text/template: implement short-circuit and, or Making the builtin and and or functions use short-circuit evaluation was accepted as a proposal in April 2019, but we never got around to implementing it. Do that. Fixes #31103. Change-Id: Ia43d4a9a6b0ab814f2dd3471ebaca3e7bb1505cf Reviewed-on: https://go-review.googleso...
[ { "path": "src/text/template/doc.go", "patch": "@@ -307,9 +307,10 @@ Predefined global functions are named as follows.\n \n \tand\n \t\tReturns the boolean AND of its arguments by returning the\n-\t\tfirst empty argument or the last argument, that is,\n-\t\t\"and x y\" behaves as \"if x then y else x\". All...
2021-05-20T15:33:36
electron/electron
bdbb994c7221167e6f0cfdd8f5df881df410bdbb
ffb173260743477572f940e9f61a383ec4d9ac11
Fix pylint warning
[ { "path": "script/upload.py", "patch": "@@ -191,8 +191,8 @@ def upload_atom_shell(github, release, file_path):\n break\n except Exception:\n pass\n- return\n \n+ # Upload the file.\n params = {'name': os.path.basename(file_path)}\n headers = {'Content-Type': 'application/zip'}\n ...
2015-07-03T07:31:55
huggingface/transformers
392be3b282de8ff693dfd250fbff6e7b973cc268
cc5de364543f1c516911bdcf31e828afb56b1278
fix test_working_of_tp failure of accelerate ut (#39828) Signed-off-by: Yao, Matrix <matrix.yao@intel.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -1019,7 +1019,7 @@ def shard_and_distribute_module(\n \"\"\"\n param_name, param_type = parameter_name.rsplit(\".\", 1) if \".\" in parameter_name else parameter_name\n tp_plan = model._tp_plan or {}\n- tp_plan.update(...
2025-08-05T08:52:57
rust-lang/rust
087cfe3c9f31b50f120d662c767ad85748192595
f06e37674d2930bf176ebdd1be23e75fef50d6c7
fix: Fix import insertion not being fully cfg aware
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/auto_import.rs", "patch": "@@ -128,11 +128,7 @@ pub(crate) fn auto_import(acc: &mut Assists, ctx: &AssistContext<'_>) -> Option<\n format!(\"Import `{import_name}`\"),\n range,\n |builder| {\n- ...
2025-05-28T12:24:02
nodejs/node
e36e9dde38caf3517890da2265e6dd9f127abe72
0e090768de1844c493013d5e99bd903928aff2ab
deps: cherry-pick b87d408 from upstream V8 Original commit message: [heap-profiler] Fix a use-after-free when snapshots are deleted If a caller starts the sampling heap profiler and takes a snapshot, and then deletes the snapshot before the sampling has completed, a use-after-free will occur on the S...
[ { "path": "common.gypi", "patch": "@@ -38,7 +38,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 ##### V8 defaults for Node.js #####\n "...
2018-11-09T12:06:07
golang/go
39e08c6cd75da72059a58f05eb500b48124d563e
9cbdc1d48f75188f6816259e5f6cbd9ae8458bf9
io: relax documented Seeker invariants that do not hold in practice Use “or” instead of “and” to describe error behavior. On error, nearly all Seeker implementations in the Go repo return 0 instead of “the new offset”. (Arguably on error “the new offset” is the same as the previous offset, but some Seeker implementati...
[ { "path": "src/io/io.go", "patch": "@@ -113,11 +113,12 @@ type Closer interface {\n // SeekCurrent means relative to the current offset, and\n // SeekEnd means relative to the end.\n // Seek returns the new offset relative to the start of the\n-// file and an error, if any.\n+// file or an error, if any.\n ...
2021-09-10T14:47:03
electron/electron
02f3d7a25e98bd716760693b60e04a5d1d57ae76
518ec36511254bf78b0e64bf7a7044a1fff31069
Just ignore all OSError for rm_rf
[ { "path": "script/lib/util.py", "patch": "@@ -133,9 +133,8 @@ def make_zip(zip_file_path, files, dirs):\n def rm_rf(path):\n try:\n shutil.rmtree(path)\n- except OSError as e:\n- if e.errno != errno.ENOENT and e.errno != errno.EIO:\n- raise\n+ except OSError:\n+ pass\n \n \n def safe_unli...
2015-07-03T07:07:11
rust-lang/rust
0d9f25bb4f1aada1f77649d96f72cc645c7d6754
38081f22c2d7380f272aa1d7fa9b935637701c2d
resolve target-libdir directly from rustc Leaving stage0 target-libdir resolution to rustc. This should also fix the issue with hard-coding `$sysroot/lib` which fails on systems that use `$sysroot/lib64` or `$sysroot/lib32`. Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/lib.rs", "patch": "@@ -363,19 +363,35 @@ impl Build {\n let in_tree_llvm_info = config.in_tree_llvm_info.clone();\n let in_tree_gcc_info = config.in_tree_gcc_info.clone();\n \n- let initial_target_libdir_str =\n- config.initial_sysroot.join(\"li...
2025-05-29T10:08:33
huggingface/transformers
cc5de364543f1c516911bdcf31e828afb56b1278
00d47757bf266848deaf79a561ffa71792240021
[`Exaone4`] Fixes the attn implementation! (#39906) * fix * fix config
[ { "path": "src/transformers/models/exaone4/configuration_exaone4.py", "patch": "@@ -212,7 +212,7 @@ def __init__(\n for i in range(self.num_hidden_layers)\n ]\n if \"sliding_window\" in self.layer_types:\n- self._attn_implementation = \"hybrid\"\n+ s...
2025-08-05T07:29:16
nodejs/node
5620727f30e5867671d9ec03b77a36fb7ca7ff4f
23603447adfd0f1109f664ca5755b67b228da05c
deps: sync V8 gypfiles with 7.1 Enable v8_enable_embedded_builtins. Reorder conditions proccessing for `run_mksnapshot`. deps,v8: link with `atomic` for platforms lacking CAS Fixes: https://github.com/nodejs/node-v8/issues/81 Co-authored-by: Michaël Zasso <targos@protonmail.com> PR-URL: https://github.com/nodejs/nod...
[ { "path": "common.gypi", "patch": "@@ -29,26 +29,53 @@\n \n 'openssl_fips%': '',\n \n+ # Some STL containers (e.g. std::vector) do not preserve ABI compatibility\n+ # between debug and non-debug mode.\n+ 'disable_glibcxx_debug': 1,\n+\n+ # Don't use ICU data file (icudtl.dat) from V8, we use...
2018-08-29T06:29:55
electron/electron
518ec36511254bf78b0e64bf7a7044a1fff31069
12233d704be176b7ba1003ffbf7fe114d09f4537
WindowsError is undefined on POSIX
[ { "path": "script/lib/util.py", "patch": "@@ -133,10 +133,8 @@ def make_zip(zip_file_path, files, dirs):\n def rm_rf(path):\n try:\n shutil.rmtree(path)\n- except WindowsError: # pylint: disable=E0602\n- pass\n except OSError as e:\n- if e.errno != errno.ENOENT:\n+ if e.errno != errno.ENO...
2015-07-03T06:54:32
huggingface/transformers
8c4ea670dceace8d9b1bac8310bc62146b7134cd
0bd91cc822816c67eb9b7afbaf84ecac25d6c622
chore: update DETR model card (#39822) * Update model card for DETR * fix: applied suggested changes * fix: simplified pipeline and modified notes and resources * Update detr.md --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
[ { "path": "docs/source/en/model_doc/detr.md", "patch": "@@ -14,132 +14,122 @@ rendered properly in your Markdown viewer.\n \n -->\n \n+<div style=\"float: right;\">\n+\t<div class=\"flex flex-wrap space-x-1\">\n+\t\t<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytor...
2025-08-04T19:25:53
vercel/next.js
1c54c4f666bd04f518440e8441eed0d71ea6714f
3e9a99c8b034053da933a4bdcb424d7a4ec9926a
Only check app/ for no-head-element-rule (#46773) The reported issue has a `pages` directory above the application directory. We can't detect that in eslint but this rule can just be disabled if the file is in a directory called `app/` which in the worst case disables this rule instead of opts the rule in as with the ...
[ { "path": "packages/eslint-plugin-next/src/rules/no-head-element.ts", "patch": "@@ -20,10 +20,8 @@ export = defineRule({\n const paths = context.getFilename()\n \n const isInAppDir = () =>\n- (paths.includes(`app${path.sep}`) ||\n- paths.includes(`app${path.posix.sep}`)) ...
2023-03-04T21:26:04
golang/go
c7543e5db95d80205d1a0be3b4e946fac244601c
986f8ea6b4fe5d479b9f3a05868bdf8266cf3467
go/types: fixes for pointer receivers of instantiated methods Backported changes from CL 349998 that were not already in go/types. Change-Id: I0341f76c080b4e73567b3e917a4cbbe2e82d3703 Reviewed-on: https://go-review.googlesource.com/c/go/+/351149 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <g...
[ { "path": "src/go/types/instantiate_test.go", "patch": "@@ -86,7 +86,7 @@ var X T[int]\n \t}{\n \t\t{\"func (r T[P]) m() P\", \"func (T[int]).m() int\"},\n \t\t{\"func (r T[P]) m(P)\", \"func (T[int]).m(int)\"},\n-\t\t{\"func (r T[P]) m() func() P\", \"func (T[int]).m() func() int\"},\n+\t\t{\"func (r *T[P]...
2021-09-21T00:56:35
huggingface/transformers
0bd91cc822816c67eb9b7afbaf84ecac25d6c622
801e869b6768a43cb72872974d8aa6a630761652
Add support for `ModernBertForMultipleChoice` (#39232) * implement ModernBertForMultipleChoice * fixup, style, repo consistency * generate modeling_modernbert * add tests + docs * fix test
[ { "path": "docs/source/en/model_doc/modernbert.md", "patch": "@@ -115,6 +115,11 @@ echo -e \"Plants create [MASK] through a process known as photosynthesis.\" | tran\n [[autodoc]] ModernBertForTokenClassification\n - forward\n \n+## ModernBertForMultipleChoice\n+\n+[[autodoc]] ModernBertForMultipleChoic...
2025-08-04T18:45:43
electron/electron
2717556a92a3d54969107c85fdbb2bc0acaab00e
7288581393f672d04103aebebff6cbcaad5d4b28
WindowsError is a subclass of OSError
[ { "path": "script/lib/util.py", "patch": "@@ -133,11 +133,11 @@ def make_zip(zip_file_path, files, dirs):\n def rm_rf(path):\n try:\n shutil.rmtree(path)\n+ except WindowsError: # pylint: disable=E0602\n+ pass\n except OSError as e:\n if e.errno != errno.ENOENT:\n raise\n- except Win...
2015-07-03T06:46:26
rust-lang/rust
f80e3ac4ed1e1df2c337cbf7b231cb72ec4e3b7a
642e49bfed2481e54e252732be20d3c24cbec9e8
Use `cfg_attr` AST placeholder AST `cfg_attr_trace` for diagnostics PR 138515, we insert a placeholder attribute so that checks for attributes can still know about the placement of `cfg` attributes. When we suggest removing items with `cfg_attr`s (fix Issue 56328) and make them verbose. We tweak the wording of the exi...
[ { "path": "compiler/rustc_lint/messages.ftl", "patch": "@@ -953,7 +953,8 @@ lint_unused_doc_comment = unused doc comment\n .help = to document an item produced by a macro, the macro must produce the documentation as part of its expansion\n \n lint_unused_extern_crate = unused extern crate\n- .suggest...
2024-12-03T21:18:24
vercel/next.js
3e9a99c8b034053da933a4bdcb424d7a4ec9926a
6357de012c6fc744ba8fb8dfdb282391a8e98530
Fix middleware notFound: true handling (#46759) This ensures we properly handle rendering the `404` page when `notFound: true` is returned and middleware is present. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contrib...
[ { "path": "packages/next/src/shared/lib/router/router.ts", "patch": "@@ -535,7 +535,7 @@ function fetchNextData({\n return { dataHref, response, text, json: {}, cacheKey }\n }\n \n- if (!hasMiddleware && response.status === 404) {\n+ if (response.status === 40...
2023-03-04T20:35:45
golang/go
d7e3e442febea1d4ba7b6b456f46b2fd9c3b69e6
ba1c52d7d77724de4407572bd02421c36df3d78a
internal/buildcfg: fix test for GOAMD64=v3 ./all.bash If GOAMD64 is set to a bogus value, goamd64() will return the default value, which may not necessarily be 1. Instead, just test that it sets Error. Change-Id: Ibbc26608c1ae24e645c7753ef5765b9c2fdc089e Reviewed-on: https://go-review.googlesource.com/c/go/+/351129 T...
[ { "path": "src/internal/buildcfg/cfg_test.go", "patch": "@@ -18,8 +18,9 @@ func TestConfigFlags(t *testing.T) {\n \tif goamd64() != 4 {\n \t\tt.Errorf(\"Wrong parsing of GOAMD64=v4\")\n \t}\n+\tError = nil\n \tos.Setenv(\"GOAMD64\", \"1\")\n-\tif goamd64() != 1 {\n+\tif goamd64(); Error == nil {\n \t\tt.Err...
2021-09-20T21:59:54
huggingface/transformers
801e869b6768a43cb72872974d8aa6a630761652
ee7eb2d0b11a7db5fb9003ba410aa14c7c791923
send some feedback when manually building doc via comment (#39889) * fix * fix * fix * Update .github/workflows/pr_build_doc_with_comment.yml Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Joao Gante <joaofranc...
[ { "path": ".github/workflows/pr_build_doc_with_comment.yml", "patch": "@@ -46,6 +46,49 @@ jobs:\n exit -1;\n fi\n \n+ create_run:\n+ name: Create run\n+ needs: [get-pr-number, get-pr-info]\n+ if: ${{ needs.get-pr-number.outputs.PR_NUMBER != '' }}\n+ permissions:\n+ st...
2025-08-04T18:20:48
rust-lang/rust
8e5d57902fdf167cf97c1cbd7a4dab1115874a7b
38081f22c2d7380f272aa1d7fa9b935637701c2d
Fix false documentation
[ { "path": "compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs", "patch": "@@ -81,7 +81,7 @@ pub(crate) struct FnCtxt<'a, 'tcx> {\n /// you get indicates whether any subexpression that was\n /// evaluating up to and including `X` diverged.\n ///\n- /// We currently use this flag only for diagnostic ...
2025-05-29T10:03:00
electron/electron
7288581393f672d04103aebebff6cbcaad5d4b28
f87a4b9a04729e9100c914855f4d2665ac00ee46
Fix path to requests library
[ { "path": "script/lib/github.py", "patch": "@@ -5,9 +5,10 @@\n import re\n import sys\n \n-sys.path.append(os.path.abspath(os.path.join(__file__, '..', '..', '..',\n- 'vendor', 'requests', 'build',\n- 'lib')))\n+REQUESTS...
2015-07-03T06:43:58
vercel/next.js
6357de012c6fc744ba8fb8dfdb282391a8e98530
9a768d5e626ce9d2657a1a5e1568f29c25f3283f
Use set to track CSS imports (#46772) Noticed some duplicated CSS resources in a large application and confirmed that this fixes it. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next...
[ { "path": "packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -474,7 +474,7 @@ export class FlightClientEntryPlugin {\n const visitedBySegment: { [segment: string]: Set<string> } = {}\n const clientComponentImports: ClientComponentImports = []\n const actionImpo...
2023-03-04T19:35:33
golang/go
ba1c52d7d77724de4407572bd02421c36df3d78a
6e81f78c0f1653ea140e6c8d008700ddad1fa0a5
text/template: initialize template before locking it For #39807 Fixes #48436 Change-Id: I75f82fd8738dd2f11f0c69b1230e1be1abc36024 Reviewed-on: https://go-review.googlesource.com/c/go/+/350730 Trust: Ian Lance Taylor <iant@golang.org> Trust: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Ian Lance Taylor <iant@golang.org> ...
[ { "path": "src/text/template/multi_test.go", "patch": "@@ -452,3 +452,13 @@ func TestIssue19294(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+// Issue 48436\n+func TestAddToZeroTemplate(t *testing.T) {\n+\ttree, err := parse.Parse(\"c\", cloneText3, \"\", \"\", nil, builtins())\n+\tif err != nil {\n+\t\tt.Fatal(er...
2021-09-17T19:27:23
huggingface/transformers
ee7eb2d0b11a7db5fb9003ba410aa14c7c791923
3bafa128dc3d159be554b9ae19cbeb5114ea3113
Update cohere2 vision test (#39888) * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/cohere2_vision/test_modeling_cohere2_vision.py", "patch": "@@ -180,40 +180,35 @@ def test_initialization(self):\n @require_read_token\n @require_torch\n class Cohere2IntegrationTest(unittest.TestCase):\n- @classmethod\n- def setUpClass(cls):\n- cls.model_checkpoint = \"C...
2025-08-04T18:08:18
electron/electron
e95ee4775e2063602b05927e2f8ca28d7fc4b8ba
f5ae3111bae2585566983df0fab61c1589678e61
Ignore Windows errors in clean.py
[ { "path": "script/clean.py", "patch": "@@ -11,11 +11,14 @@\n \n def main():\n os.chdir(SOURCE_ROOT)\n- rm_rf('node_modules')\n- rm_rf('dist')\n- rm_rf('out')\n- rm_rf('spec/node_modules')\n- rm_rf('vendor/brightray/vendor/download/libchromiumcontent')\n+ try:\n+ rm_rf('node_modules')\n+ rm_rf(...
2015-07-03T05:59:02
vercel/next.js
5aa9bc8bac1c2617c02574f195e5588e0a6c74ed
f2989f747f75e143d1dd2c5d89156aedfde23e6a
Use browser navigation when RSC payload fails to fetch (#46674) Fixes #43605 Fixes NEXT-325 Fixes NEXT-193 This ensures that when the `fetch()` for the RSC payload gets redirected server-side to a URL that fails CORS (e.g. an external url). This catches the error and returns the url that was fetches to be hard...
[ { "path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts", "patch": "@@ -34,24 +34,35 @@ export async function fetchServerResponse(\n headers[NEXT_ROUTER_PREFETCH] = '1'\n }\n \n- const res = await fetch(url.toString(), {\n- // Backwards compat for older browsers. `sa...
2023-03-04T14:47:12
huggingface/transformers
192acc2d0fc761c478fab0da551057547162c713
7dca2ff8cfd6102430acd3af3fdc3831b9779884
Fix link to models in README (#39880) Update README.md
[ { "path": "README.md", "patch": "@@ -280,8 +280,8 @@ Expand each modality below to see a few example models for various use cases.\n - Automatic mask generation with [SAM](https://huggingface.co/facebook/sam-vit-base)\n - Depth estimation with [DepthPro](https://huggingface.co/apple/DepthPro-hf)\n - Image c...
2025-08-04T16:34:41
electron/electron
f5ae3111bae2585566983df0fab61c1589678e61
6b7d3a070ae3a45138384711bd1026b3c90233f9
Fix calling clean.py
[ { "path": "script/cibuild", "patch": "@@ -48,7 +48,7 @@ def main():\n if PLATFORM == 'linux':\n os.environ['DISPLAY'] = ':99.0'\n \n- execute(['clean.py'])\n+ run_script('clean.py')\n \n # CI's npm is not reliable.\n npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'\n@@ -84,4 +84,5 @@ if __name_...
2015-07-03T05:54:29
nodejs/node
ef0c178c35e131c33e6e8c1cf1c69eba52210d91
2a55e7116ed18a30ffec443fd0d90588b4eb2dc6
url: support LF, CR and TAB in pathToFileURL Fixes: https://github.com/nodejs/node/issues/23696 PR-URL: https://github.com/nodejs/node/pull/23720 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rube...
[ { "path": "lib/internal/url.js", "patch": "@@ -1339,11 +1339,22 @@ function fileURLToPath(path) {\n return isWindows ? getPathFromURLWin32(path) : getPathFromURLPosix(path);\n }\n \n-// We percent-encode % character when converting from file path to URL,\n-// as this is the only character that won't be pe...
2018-10-17T20:05:37
rust-lang/rust
d2bc36821f103cc33a668abc9e49f8e7e9d943de
8231d888cfc8d4b8b2e47c0489d17d7f0bbbb169
fix: Recognize salsa cycles in `thread_result_to_response`
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/dispatch.rs", "patch": "@@ -6,7 +6,7 @@ use std::{\n \n use ide_db::base_db::{\n DbPanicContext,\n- salsa::{self, Cancelled},\n+ salsa::{self, Cancelled, UnexpectedCycle},\n };\n use lsp_server::{ExtractError, Response, ResponseE...
2025-05-28T12:24:02
huggingface/transformers
7dca2ff8cfd6102430acd3af3fdc3831b9779884
3edd14610e4155dd2b44cfcad35182c5f4343994
[typing] better return type hint for `AutoModelForCausalLM` and `AutoModelForImageTextToText` (#39881) * Better return type hint for AutoModelForCausalLM and AutoModelForImageTextToText * fix imports * fix
[ { "path": "src/transformers/models/auto/modeling_auto.py", "patch": "@@ -14,8 +14,10 @@\n # limitations under the License.\n \"\"\"Auto Model class.\"\"\"\n \n+import os\n import warnings\n from collections import OrderedDict\n+from typing import TYPE_CHECKING, Union\n \n from ...utils import logging\n from...
2025-08-04T15:03:53
golang/go
b0fa2f5b09acfa5604e78cafc2183f3e1eac061b
af72ddfcd7826df9aefb2207b8ac270bb91fea2f
cmd/compile: fix ExampleInfo output Move the "TODO" to outside of the function so that the "Output" comment block is the last comment block. Output is only checked when it is the last comment block. See golang/go#48362 for this issue. Fixes: golang/go#48494 Change-Id: I7a31d7c13710e58fa876c96240a927a9bb8273ad Review...
[ { "path": "src/cmd/compile/internal/types2/example_test.go", "patch": "@@ -216,36 +216,36 @@ func fib(x int) int {\n \t// var x int:\n \t// defined at fib.go:8:10\n \t// used at 10:10, 12:13, 12:24, 9:5\n-\n-\t// TODO(gri) Enable once positions are updated/verified\n-\t// Types and Values of each expres...
2021-09-20T17:04:49
vercel/next.js
f0ee0426aeb23be2e92965eda8ffed20d86b027c
5f76b5d9e4cb9778ff8699df33740036ebdec64b
inject swc helpers (vercel/turbo#4060) ### Description This fixed the `_extends` is not defined issue.
[ { "path": "packages/next-swc/crates/next-dev-tests/tests/integration/next/basic/swc-helpers/input/pages/index.js", "patch": "@@ -0,0 +1,25 @@\n+import { useEffect } from \"react\";\n+\n+export default function Page() {\n+ useEffect(() => {\n+ // Only run on client\n+ import(\"@turbo/pack-test-harness...
2023-03-04T06:51:31
electron/electron
1212e45a6eece3536f4081437eaa6195ea4cdde1
82153eb75f00f2ce9d6172abf3158435b67ae524
Fix pylint warning
[ { "path": "script/upload.py", "patch": "@@ -154,7 +154,6 @@ def get_text_with_editor(name):\n return text\n \n def create_or_get_release_draft(github, releases, tag, tag_exists):\n- name = '{0} {1}'.format(PROJECT_NAME, tag)\n # Search for existing draft.\n for release in releases:\n if release['...
2015-07-03T05:45:29
huggingface/transformers
3edd14610e4155dd2b44cfcad35182c5f4343994
e3505cd4dcaad8d49e47b2cd61cfaee6b47cced4
Set `torch.backends.cudnn.allow_tf32 = False` for CI (#39885) * fix * fix * [test all] --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "conftest.py", "patch": "@@ -23,7 +23,7 @@\n import _pytest\n import pytest\n \n-from transformers.testing_utils import HfDoctestModule, HfDocTestParser\n+from transformers.testing_utils import HfDoctestModule, HfDocTestParser, is_torch_available\n \n \n NOT_DEVICE_TESTS = {\n@@ -127,3 +127,9 @@ d...
2025-08-04T14:55:16
nodejs/node
76afdffdf4aed0ce944867d32545505d25b77118
bb01597a7706c9378c280b628e64e68558969d8f
win: do not use Boxstarter to install tools Use Chocolatey directly in the tools installation script. PR-URL: https://github.com/nodejs/node/pull/24677 Fixes: https://github.com/nodejs/node/issues/23838 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "tools/msvs/install_tools/install_tools.bat", "patch": "@@ -1,31 +1,33 @@\n @echo off\n \n setlocal\n+title Install Additional Tools for Node.js\n \n cls\n+\n echo ====================================================\n echo Tools for Node.js Native Modules Installation Script\n echo ==============...
2018-11-27T02:18:11
vercel/next.js
a08f758c0450aa65a0aff4c243d39fe2e2d5ecfc
ce084170304c1e55da709aa3201383e8d6de7526
inject swc helpers (vercel/turbo#4060) ### Description This fixed the `_extends` is not defined issue.
[ { "path": "crates/next-dev-tests/tests/integration/next/basic/swc-helpers/input/pages/index.js", "patch": "@@ -0,0 +1,25 @@\n+import { useEffect } from \"react\";\n+\n+export default function Page() {\n+ useEffect(() => {\n+ // Only run on client\n+ import(\"@turbo/pack-test-harness\").then(runTests)...
2023-03-04T06:51:31
electron/electron
fe877da61fa73b94cd404dc0023efcec425287fa
a1bb0d4d66679d2b49733a74aee15f82d995803e
Do debug build on Windows CI for non-release
[ { "path": "script/cibuild", "patch": "@@ -70,7 +70,7 @@ def main():\n if is_release:\n run_script('build.py', ['-c', 'R'])\n run_script('create-dist.py')\n- elif target_arch == 'x64':\n+ elif PLATFORM == 'win32' or target_arch == 'x64':\n run_script('build.py', ['-c', 'D'])\n if PLATFORM...
2015-07-03T03:17:58
nodejs/node
bb01597a7706c9378c280b628e64e68558969d8f
63b06551f4c51d8868f36b184a6539ebc51cf0b4
doc: add authority and scheme psuedo headers This pull request adds the request psuedo headers authority and scheme to the http2 documentation PR-URL: https://github.com/nodejs/node/pull/24777 Fixes: https://github.com/nodejs/node/issues/23825 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Beven...
[ { "path": "doc/api/http2.md", "patch": "@@ -2654,6 +2654,16 @@ added: v10.1.0\n The `request.aborted` property will be `true` if the request has\n been aborted.\n \n+#### request.authority\n+<!-- YAML\n+added: v8.4.0\n+-->\n+\n+* {string}\n+\n+The request authority pseudo header field. It can also be access...
2018-12-02T03:24:22
huggingface/transformers
380b2a031761e444a169f4d3379b30b718c16df6
5fb5b6cfaf6a60a8984390cea525d101b9c7b60e
Rework add-new-model-like with modular and make test filenames coherent (#39612) * remove tf/flax * fix * style * Update add_new_model_like.py * work in progress * continue * more cleanup * simplify and first final version * fixes -> it works * add linter checks * Update add_new_model_like.py * fix * add m...
[ { "path": "conftest.py", "patch": "@@ -29,7 +29,6 @@\n NOT_DEVICE_TESTS = {\n \"test_tokenization\",\n \"test_tokenization_mistral_common\",\n- \"test_processor\",\n \"test_processing\",\n \"test_beam_constraints\",\n \"test_configuration_utils\",", "additions": 0, "deletions"...
2025-08-04T12:41:09
vercel/next.js
25efdfad361e7e096e9b113e5d0d8cbccaa706f0
ef685e8fb19d6b8b9cecabdf84f8ecade4065161
Add support for `output: export` config (#46744) ## Background In the early days, `next export` was created when Next.js was SSR-only in order to statically export your pages for self hosting where no server was available. However, around the time `getStaticProps()` and `getStaticPaths()` were introduced, Next.js beg...
[ { "path": "docs/advanced-features/static-html-export.md", "patch": "@@ -17,7 +17,20 @@ If you're looking to build a hybrid site where only _some_ pages are prerendered\n \n ## `next export`\n \n-Update your build script in `package.json` to use `next export`:\n+Update your `next.config.js` file to include `...
2023-03-04T00:46:20
electron/electron
33109a27182a393f25beef3690dbf0c479113dc0
cab1b75c41f721ecc7f2ddaf58e79aeeb34dcea3
Ignore npm install errors when running in CI
[ { "path": "script/bootstrap.py", "patch": "@@ -99,16 +99,24 @@ def update_node_modules(dirname, env=None):\n if env is None:\n env = os.environ\n if PLATFORM == 'linux':\n+ # Use prebuilt clang for building native modules.\n llvm_dir = os.path.join(SOURCE_ROOT, 'vendor', 'llvm-build',\n ...
2015-07-03T01:43:09
huggingface/transformers
5fb5b6cfaf6a60a8984390cea525d101b9c7b60e
16d6faef9a3d7cb6c002d3af4f0dc566195bff93
Fix quant docker for fp-quant (#39641) * fix quant docker * Apply style fixes --------- Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -79,7 +79,8 @@ RUN git clone https://github.com/NetEase-FuXi/EETQ.git && cd EETQ/ && git submod\n # RUN python3 -m pip install --no-cache-dir git+https://github.com/Dao-AILab/fast-hadamard-transform.git\n \n # Add fp-quant for ...
2025-08-04T11:57:08
nodejs/node
6ccc80c82a7e21bc9315d6fdccea62ce8e2712a7
06e5afa9485c29301ec622be0487afe8d9c597d7
build: fix check-xz for platforms defaulting to sh 5e80a9a160 introduced check-xz, using `[[ .. ]]` syntax, but this is a bash builtin and some platforms default to `sh` when doing `$(shell ...)` in Makefiles. Fix is to make it sh friendly. Ref: https://github.com/nodejs/node/pull/24551 PR-URL: https://github.com/n...
[ { "path": "Makefile", "patch": "@@ -851,10 +851,10 @@ BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)\n endif\n BINARYTAR=$(BINARYNAME).tar\n # OSX doesn't have xz installed by default, http://macpkg.sourceforge.net/\n-HAS_XZ ?= $(shell which xz > /dev/null 2>&1; [[ $$? = 0 ]] && echo 1 || echo 0)\n+HAS_XZ ?= $(s...
2018-12-04T23:56:02
vercel/next.js
ef685e8fb19d6b8b9cecabdf84f8ecade4065161
33827ede54dd7c7f59579289a6a90a884055b61f
Adjust API route loader (#46726 Similar to #46328 but with `hasServerComponents: false` for the compiler so RSC syntax constrains don't apply here. Note that since we don’t bundle external modules in API routes, we can't resolve to `react-server` so that one will be tricky. Fixes NEXT-625 ## Bug - [ ] Re...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -89,6 +89,18 @@ const reactPackagesRegex = /^(react(?:$|\\/)|react-dom(?:$|\\/))/\n const staticGenerationAsyncStorageRegex =\n /next[\\\\/]dist[\\\\/]client[\\\\/]components[\\\\/]static-generation-async-storage/\n \n+const mainFieldsPer...
2023-03-04T00:18:07
golang/go
af72ddfcd7826df9aefb2207b8ac270bb91fea2f
3c764babe7b5e01a4e04b1a2c7975cdb5c5651a0
cmd/compile: extend dump-to-file to handle "genssa" (asm) case. Extend the existing dump-to-file to also do assembly output to make it easier to write debug-information tests that check for line-numbering in particular orders. Includes POC test (which is silent w/o -v): go test -v -run TestDebugLines cmd/compile/int...
[ { "path": "src/cmd/compile/internal/ssa/compile.go", "patch": "@@ -10,9 +10,11 @@ import (\n \t\"fmt\"\n \t\"hash/crc32\"\n \t\"internal/buildcfg\"\n+\t\"io\"\n \t\"log\"\n \t\"math/rand\"\n \t\"os\"\n+\t\"path/filepath\"\n \t\"regexp\"\n \t\"runtime\"\n \t\"sort\"\n@@ -59,7 +61,7 @@ func Compile(f *Func) {...
2021-09-09T20:34:02
huggingface/transformers
16d6faef9a3d7cb6c002d3af4f0dc566195bff93
2a9febd632dde21d3f873ebce176d2ac4edc24b8
[core] Fix attn_implementation setter with missing `sub_configs` (#39855) * fix * add sub_configs * remove case for attention setter * fix None * Add test * Fix sub-configs * fix tests_config * fix consistency * fix fsmt * fix
[ { "path": "src/transformers/models/conditional_detr/configuration_conditional_detr.py", "patch": "@@ -253,6 +253,14 @@ def num_attention_heads(self) -> int:\n def hidden_size(self) -> int:\n return self.d_model\n \n+ @property\n+ def sub_configs(self):\n+ return (\n+ {\"b...
2025-08-04T10:35:09
electron/electron
ddaf005c2be151bfa53d5f899c8d5760d5097119
558a612d37153d0a80798fb5755763e4517e57a6
Fix calling npm on win32
[ { "path": "script/cibuild", "patch": "@@ -46,7 +46,8 @@ def main():\n execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])\n \n # CI's npm is not reliable.\n- execute(['npm', 'install', 'npm'])\n+ npm = 'npm.cmd' if sys.platform == 'win32' else 'npm'\n+ execute([npm, 'install', 'npm'])\n \n rm_rf(o...
2015-07-02T14:35:41
nodejs/node
585380d2333e95763a9e8adea57c272297b15e8b
447b3907c7b19bf53236538cb53968a7c2aca4b2
test: fix `common.mustNotCall()` usage in HTTP test The argument to `common.mustNotCall()` is a message, not a function. PR-URL: https://github.com/nodejs/node/pull/24750 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-...
[ { "path": "test/sequential/test-http-max-http-headers.js", "patch": "@@ -94,7 +94,7 @@ function test1() {\n \n server.listen(0, common.mustCall(() => {\n const port = server.address().port;\n- const client = http.get({ port: port }, common.mustNotCall(() => {}));\n+ const client = http.get({ por...
2018-11-30T13:56:11
vercel/next.js
5f76b5d9e4cb9778ff8699df33740036ebdec64b
ad12551513e86555a082324a9dba07dfc76bc2d9
next/font: Align with Next.js integration test suite (vercel/turbo#4039) This: * Adds a compile-time feature, `__internal_nextjs_integration_test`, which is set when building Turbopack for the Next.js integration test suite. * When built with `__internal_nextjs_integration_test`, expects the environment variable ...
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -40,3 +40,5 @@ turbo-tasks-build = { workspace = true }\n next-font-local = []\n native-tls = [\"turbo-tasks-fetch/native-tls\"]\n rustls-tls = [\"turbo-tasks-fetch/rustls-tls\"]\n+# Internal only. Enabled when building for the Next.js ...
2023-03-04T00:12:36
huggingface/transformers
2a9febd632dde21d3f873ebce176d2ac4edc24b8
0d511f7a771c24acc2400a0b83c225eb16afe47d
Add support for including in-memory videos (not just files/urls) in apply_chat_template (#39494) * added code for handling video object ,as dictionary of frames and metadata, in chat template * added new test where videos are passed as objects (dict of frames, metadata) in the chat template * modified hardcoded vide...
[ { "path": "docs/source/en/chat_templating_multimodal.md", "patch": "@@ -111,6 +111,7 @@ Some vision models also support video inputs. The message format is very similar\n \n - The content `\"type\"` should be `\"video\"` to indicate the content is a video.\n - For videos, it can be a link to the video (`\"u...
2025-08-04T09:49:42
golang/go
3c764babe7b5e01a4e04b1a2c7975cdb5c5651a0
6268468e024ce7fa063611b98a2f11f17fd4bad8
cmd/go: write go.mod requirements more consistently for go 1.17+ If go.mod declares 1.17 or higher, when the go command rewrites go.mod (for example, after 'go mod tidy'), it will be more consistent about moving requirements in two blocks, one containing only direct requirements, and one containing only indirect requi...
[ { "path": "src/cmd/go.mod", "patch": "@@ -4,12 +4,15 @@ go 1.18\n \n require (\n \tgithub.com/google/pprof v0.0.0-20210827144239-02619b876842\n-\tgithub.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect\n \tgolang.org/x/arch v0.0.0-20210901143047-ebb09ed340f1\n-\tgolang.org/x/crypto...
2021-09-09T16:38:55
electron/electron
9bdefa6f1ffd10e49a4331c05b09f711d6055a76
b261c5f87c21ace53f157f8398cce7b7d174311c
Use clang's integrated as The system as is throwing error when compiling atom_api_web_contents.cc: /tmp/xxx.s: Assembler messages: /tmp/xxx.s:23559: Internal error! Assertion failure in get_line_subseg at ../../gas/dwarf2dbg.c line 262.
[ { "path": "toolchain.gypi", "patch": "@@ -175,11 +175,6 @@\n }],\n ],\n }],\n- ['clang==1', {\n- 'cflags': [\n- '-no-integrated-as',\n- ],\n- }],\n ['arm_tune!=\"\"', {\n ...
2015-07-02T06:31:10
nodejs/node
447b3907c7b19bf53236538cb53968a7c2aca4b2
841caef9db88347e5c61668a814ccd5b99fc00a1
doc: add a note on usage scope of AliasedBuffer Explain usage context and scope of AliasedBuffer API and its function in the C++ style guide. Provide an example code. Fixes: https://github.com/nodejs/node/issues/22977 PR-URL: https://github.com/nodejs/node/pull/24724 Reviewed-By: Anna Henningsen <anna@addaleax.net> ...
[ { "path": "CPP_STYLE_GUIDE.md", "patch": "@@ -21,6 +21,7 @@\n * [Use explicit pointer comparisons](#use-explicit-pointer-comparisons)\n * [Ownership and Smart Pointers](#ownership-and-smart-pointers)\n * [Avoid non-const references](#avoid-non-const-references)\n+ * [Use AliasedBuffers to manipulate ...
2018-11-29T14:23:28
vercel/next.js
ce084170304c1e55da709aa3201383e8d6de7526
fa845efc5909d4bf2509694e0f2c01259fd7ae14
next/font: Align with Next.js integration test suite (vercel/turbo#4039) This: * Adds a compile-time feature, `__internal_nextjs_integration_test`, which is set when building Turbopack for the Next.js integration test suite. * When built with `__internal_nextjs_integration_test`, expects the environment variable ...
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -40,3 +40,5 @@ turbo-tasks-build = { workspace = true }\n next-font-local = []\n native-tls = [\"turbo-tasks-fetch/native-tls\"]\n rustls-tls = [\"turbo-tasks-fetch/rustls-tls\"]\n+# Internal only. Enabled when building for the Next.js integration test s...
2023-03-04T00:12:36
golang/go
6268468e024ce7fa063611b98a2f11f17fd4bad8
6acac8b6856b2531f4ac7ee0eb37048d588d98c7
cmd/link: generate DIE for types referenced only through dictionaries Generate debug_info entries for types that are only referenced through dictionaries. Change-Id: Ic36c2e6d9588ec6746793bb213c2dc0e17a8a850 Reviewed-on: https://go-review.googlesource.com/c/go/+/350532 Run-TryBot: Alessandro Arzilli <alessandro.arzil...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1479,6 +1479,7 @@ func markTypeUsed(t *types.Type, lsym *obj.LSym) {\n \t} else {\n \t\t// TODO: This is somewhat overkill, we really only need it\n \t\t// for types that are put into interfaces.\n+\t\t// Note: this relocation is also used...
2021-09-03T15:00:41
nodejs/node
0c65314e0e8602f4a7e0ace43ebd63de233eac62
02cd7069a8631a324298be9f24771fb0faf23639
src: fix type mismatch warnings from missing priv Registration initialization functions are expected to have a 4th argument, a void*, so add them where necessary to fix the warnings. PR-URL: https://github.com/nodejs/node/pull/24737 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gm...
[ { "path": "src/async_wrap.cc", "patch": "@@ -440,7 +440,8 @@ Local<FunctionTemplate> AsyncWrap::GetConstructorTemplate(Environment* env) {\n \n void AsyncWrap::Initialize(Local<Object> target,\n Local<Value> unused,\n- Local<Context> context) {\n+ ...
2018-11-30T01:24:47
vercel/next.js
33827ede54dd7c7f59579289a6a90a884055b61f
35d8e8379ea0a3248bf9ea1a76c9a7a7ee0c3e96
Update client router filter to separate redirects handling (#46752) x-ref: [slack thread](https://vercel.slack.com/archives/C017QMYC5FB/p1677875647422339) x-ref: [slack thread](https://vercel.slack.com/archives/C049YV4U2F6/p1677875992732789) ## Bug - [x] Related issues linked using `fixes #number` - [x] Inte...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -850,7 +850,9 @@ export default async function build(\n )\n const clientRouterFilters = createClientRouterFilter(\n appPageKeys,\n- nonInternalRedirects\n+ config.experimental.clientRouterFilterRedirects\n...
2023-03-04T00:02:02
golang/go
b6dddaccd7e8c9c6768943918d03f455385294b9
9e60c371473ff15eb4b13981721b29f62e1d862c
cmd/compile: fix transform.AssignOp to deal with tricky case When going to dictionary formats derived from the function instantiations, I had broken out noder.Assignop() to deal specially with shape types, but didn't quite get the tricky case right. We still need to allow conversion between shape types, but if the des...
[ { "path": "src/cmd/compile/internal/noder/transform.go", "patch": "@@ -431,9 +431,18 @@ func Assignop(src, dst *types.Type) (ir.Op, string) {\n \t\treturn ir.OXXX, \"\"\n \t}\n \n-\t// 1. src type is identical to dst.\n-\tif types.IdenticalStrict(src, dst) {\n-\t\treturn ir.OCONVNOP, \"\"\n+\t// 1. src type...
2021-09-20T00:17:31
nodejs/node
ff7d053ae6b7f620516049e5c9bd1b6ab348835f
9159fb733cfc7858ab59558db12686a5f13baaf1
http: destroy the socket on parse error Destroy the socket if the `'clientError'` event is emitted and there is no listener for it. Fixes: https://github.com/nodejs/node/issues/24586 PR-URL: https://github.com/nodejs/node/pull/24757 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo...
[ { "path": "lib/_http_server.js", "patch": "@@ -512,8 +512,7 @@ function socketOnError(e) {\n \n if (!this.server.emit('clientError', e, this)) {\n if (this.writable) {\n- this.end(badRequestResponse);\n- return;\n+ this.write(badRequestResponse);\n }\n this.destroy(e);\n }", ...
2018-11-30T18:27:26
vercel/next.js
35d8e8379ea0a3248bf9ea1a76c9a7a7ee0c3e96
61eee15f68a53a8d459c2e0b93ef8483a811e72b
Ensure app chunk URLs are encoded properly (#46749 This ensures we properly encode chunks for app dir the same we do for pages. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/n...
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -24,7 +24,7 @@ const chunkFilenameMap: any = {}\n \n // eslint-disable-next-line no-undef\n __webpack_require__.u = (chunkId: any) => {\n- return chunkFilenameMap[chunkId] || getChunkScriptFilename(chunkId)\n+ return encodeURI(chunkFilenameM...
2023-03-03T22:17:07
golang/go
5e9c1fedb69b405b75a0c499e2f32d35f294fd5c
5ed7dd0650cf32edd000d2268df961e2b825aab4
[dev.fuzz] internal/fuzz: warn if fuzzing begins with empty corpus Fixes golang/go#46219 Change-Id: I7b32707d490c046d15324a3d297ec8d9f45b6e36 Reviewed-on: https://go-review.googlesource.com/c/go/+/350269 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Go Bot <gobot@...
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -641,6 +641,7 @@ func newCoordinator(opts CoordinateFuzzingOpts) (*coordinator, error) {\n \t}\n \n \tif len(c.corpus.entries) == 0 {\n+\t\tfmt.Fprintf(c.opts.Log, \"warning: starting with empty corpus\\n\")\n \t\tvar vals []interface{}\n \t\tfor _, t := r...
2021-09-16T14:34:46
electron/electron
c01a79de6b2b8de601c553b032611692a7819d4f
09c2317ae62e367027592da84db749e87fba4df2
Fix the wrong reverse `pageup` and `pagedown` keys.
[ { "path": "atom/browser/ui/accelerator_util.cc", "patch": "@@ -152,9 +152,9 @@ bool StringToAccelerator(const std::string& description,\n key = ui::VKEY_HOME;\n } else if (tokens[i] == \"end\") {\n key = ui::VKEY_END;\n- } else if (tokens[i] == \"pagedown\") {\n- key = ui::VKEY_PRIOR...
2015-07-01T13:24:51
nodejs/node
9159fb733cfc7858ab59558db12686a5f13baaf1
edcb9500902437a7edf912b27f259c173ce14767
doc: hide undocumented object artifacts in async_hooks The examples show `process.stdout.fd` as a means to use synchronous writes in async_hooks context. However this is an undocumented field, so showcase a file write example instead. Fixes: https://github.com/nodejs/node/issues/22873 PR-URL: https://github.com/node...
[ { "path": "doc/api/async_hooks.md", "patch": "@@ -150,17 +150,17 @@ Because printing to the console is an asynchronous operation, `console.log()`\n will cause the AsyncHooks callbacks to be called. Using `console.log()` or\n similar asynchronous operations inside an AsyncHooks callback function will thus\n ...
2018-11-30T09:06:14
huggingface/transformers
6dfd561d9cd722dfc09f702355518c6d09b9b4e3
b727c2b20e5784c4d6245bcd6903d298e0e89478
remove dtensors, not explicit (#39840) * remove dtensors, not explicit Co-authored-by: 3outeille <3outeille@users.noreply.github.com> * style * fix test * update * as we broke saving try to fix * output layouts should exit * nit * devicemesh exists if it was distributed * use _device_mesh of self * update *...
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -150,6 +150,7 @@ def _get_parameter_tp_plan(parameter_name: str, tp_plan: dict[str, str], is_weig\n \"F64\": torch.float64,\n \"I64\": torch.int64,\n \"F8_E4M3\": torch.float8_e4m3fn,\n+ \"F8_E5M2\": torch.float8_e5m2,...
2025-08-01T20:02:47
vercel/next.js
61eee15f68a53a8d459c2e0b93ef8483a811e72b
bca80141d12e0f0ad7ce949250a9145c0e1cc2ef
Fix Web app manifests docs (#46617) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: --> This PR fixes a incorrec...
[ { "path": "packages/next/src/lib/metadata/types/metadata-interface.ts", "patch": "@@ -258,7 +258,7 @@ interface Metadata extends DeprecatedMetadataFields {\n icons?: null | IconURL | Array<Icon> | Icons\n \n /**\n- * The manifest.json file is the only file that every extension using WebExtension APIs ...
2023-03-03T20:48:56
golang/go
79159f2e83662dac4089e2f5231ec23de9da10b9
eff27e858b771bf5e0b5e7e836827c7d2941e6d4
cmd/compile: fix simplification rules on arm/arm64 Fixes #48473 Change-Id: Ic1e918f916eae223a3b530a51a58f03031924670 Reviewed-on: https://go-review.googlesource.com/c/go/+/350913 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cher...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM.rules", "patch": "@@ -1239,24 +1239,24 @@\n (AND x (MVN y)) => (BIC x y)\n \n // simplification with *shift ops\n-(SUBshiftLL x (SLLconst x [c]) [d]) && c==d => (MOVWconst [0])\n-(SUBshiftRL x (SRLconst x [c]) [d]) && c==d => (MOVWconst [0])\n-(SUBshiftRA x (S...
2021-09-19T21:20:56
electron/electron
b1db947def76a77d8ab9150d4b9c9645d48a5784
3d88d569650940593820bfbf200046d932433a00
Fix compilation errors due to compiler change
[ { "path": "atom/common/id_weak_map.cc", "patch": "@@ -23,7 +23,7 @@ int32_t IDWeakMap::Add(v8::Isolate* isolate, v8::Local<v8::Object> object) {\n \n auto global = make_linked_ptr(new v8::Global<v8::Object>(isolate, object));\n global->SetWeak(this, &WeakCallback);\n- map_.emplace(id, global);\n+ map_...
2015-07-01T07:56:29
huggingface/transformers
1ec0feccdd7423fb99f13ead4a7e79fdea0a1890
7b4d9843ba867e33ceb3106dd026a4dbeeed6fb1
[image-processing] deprecate `plot_keypoint_matching`, make `visualize_keypoint_matching` as a standard (#39830) * fix: deprecate plot_keypoint_matching and make visualize_keypoint_matching for all Keypoint Matching models * refactor: added copied from * fix: make style * fix: repo consistency * fix: make style *...
[ { "path": "docs/source/en/model_doc/lightglue.md", "patch": "@@ -107,7 +107,7 @@ processed_outputs = processor.post_process_keypoint_matching(outputs, image_size\n \n ```py\n # Easy visualization using the built-in plotting method\n- processor.plot_keypoint_matching(images, processed_outputs)\n+ ...
2025-08-01T16:29:57
vercel/next.js
bca80141d12e0f0ad7ce949250a9145c0e1cc2ef
45492eacc0601bdee9a7c5578f958c7e9b1afdfe
Fix require cache conflict between app and pages (#46736) Related NEXT-472 When you have `app/page.js` and `pages/page.js`, the `pagePath` are the same, which is `/page`. This will result require cache conflicts. When you visit the `app/` page first, then the `pages/` page, the 2nd request will still get the app...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -2400,7 +2400,7 @@ export default async function build(\n \n // remove server bundles that were exported\n for (const page of staticPages) {\n- const serverBundle = getPagePath(page, distDir)\n+ const server...
2023-03-03T20:24:09
nodejs/node
edcb9500902437a7edf912b27f259c173ce14767
fa19ce92339edb0d741bfe1855ac39d4bc80e1d2
src: use NativeModuleLoader to compile all the bootstrappers This patch moves all the bootstrapper compilation to use NativeModuleLoader::CompileAndCall(). With this we no longer need to mess with the error decoration and handling any more - there is no point in handling the JS error occurred during bootstrapping by o...
[ { "path": "lib/internal/bootstrap/loaders.js", "patch": "@@ -39,335 +39,336 @@\n \n 'use strict';\n \n-(function bootstrapInternalLoaders(process, getBinding, getLinkedBinding,\n- getInternalBinding, debugBreak) {\n- if (debugBreak)\n- debugger; // eslint-disable-line n...
2018-11-26T17:50:41
electron/electron
3826e8864a2a5f4bb535d2d775e013756ce1024e
d440a3c21d25aa9f2a003523a3909bf7fd5bb543
Fix a compiler warning
[ { "path": "brightray/browser/views/inspectable_web_contents_view_views.cc", "patch": "@@ -45,7 +45,7 @@ class DevToolsWindowDelegate : public views::ClientView,\n views::Widget* GetWidget() override { return widget_; }\n const views::Widget* GetWidget() const override { return widget_; }\n views::View...
2015-07-01T06:49:43
golang/go
eff27e858b771bf5e0b5e7e836827c7d2941e6d4
9ebe7c8ec6e95b73a7b0e480fe10f2188ef4928a
cmd/compile: ensure constant shift amounts are in range for arm Ensure constant shift amounts are in the range [0-31]. When shift amounts are out of range, bad things happen. Shift amounts out of range occur when lowering 64-bit shifts (we take an in-range shift s in [0-63] and calculate s-32 and 32-s, both of which m...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM.rules", "patch": "@@ -498,9 +498,9 @@\n (XOR x (MOVWconst [c])) => (XORconst [c] x)\n (BIC x (MOVWconst [c])) => (BICconst [c] x)\n \n-(SLL x (MOVWconst [c])) => (SLLconst x [c&31]) // Note: I don't think we ever generate bad constant shifts (i.e. c>=32)\n-(SR...
2021-09-20T04:09:57
huggingface/transformers
7b4d9843ba867e33ceb3106dd026a4dbeeed6fb1
88ead3f51806405f88b12fbad46e935e5ae13873
Add fast image processor Janus, Deepseek VL, Deepseek VL hybrid (#39739) * add fast image processor Janus, deepseek_vl, deepseek_vl_hybrid * fix after review
[ { "path": "docs/source/en/model_doc/deepseek_vl.md", "patch": "@@ -209,6 +209,10 @@ model = DeepseekVLForConditionalGeneration.from_pretrained(\n \n [[autodoc]] DeepseekVLImageProcessor\n \n+## DeepseekVLImageProcessorFast\n+\n+[[autodoc]] DeepseekVLImageProcessorFast\n+\n ## DeepseekVLModel\n \n [[autodoc]...
2025-08-01T16:20:08
nodejs/node
fa19ce92339edb0d741bfe1855ac39d4bc80e1d2
2e03b76bcf9e8d84862942a557a09af47d105d5f
doc: fix added version of randomFill+randomFillSync PR-URL: https://github.com/nodejs/node/pull/24812 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-B...
[ { "path": "doc/api/crypto.md", "patch": "@@ -2204,7 +2204,9 @@ request.\n \n ### crypto.randomFillSync(buffer[, offset][, size])\n <!-- YAML\n-added: v7.10.0\n+added:\n+ - v7.10.0\n+ - v6.13.0\n changes:\n - version: v9.0.0\n pr-url: https://github.com/nodejs/node/pull/15231\n@@ -2248,7 +2250,9 @@ c...
2018-12-03T17:13:42
vercel/next.js
45492eacc0601bdee9a7c5578f958c7e9b1afdfe
dda9be09f0e5f0cc6d26cc455fc5a049bfe483c1
Fix originalRequest not available for edge requests (#46741) For requests made via the edge runtime, they will not contain the `originalRequest` object used by the request storage to enable headers/cookie access. This uses the request object passed when in the edge runtime.
[ { "path": "packages/next/src/server/async-storage/request-async-storage-wrapper.ts", "patch": "@@ -10,6 +10,7 @@ import {\n } from '../app-render'\n import { AsyncStorageWrapper } from './async-storage-wrapper'\n import type { tryGetPreviewData } from '../api-utils/node'\n+import type { BaseNextRequest, Bas...
2023-03-03T18:14:49
electron/electron
565a500320ae673508eb72cb11dfb6ed44c182df
ebfbbc08012de94ecfb25d72e1e39a08e498fd50
Fix `window.open` with wrong name When calling `window.open` the newly created window would have the name of the last option in the `features` argument as the title. I think it's supposed to be pointed to `frameName`.
[ { "path": "atom/renderer/lib/override.coffee", "patch": "@@ -45,7 +45,7 @@ window.open = (url, frameName='', features='') ->\n value\n options.x ?= options.left if options.left\n options.y ?= options.top if options.top\n- options.title ?= name\n+ options.title ?= frameName\n options.width ?=...
2015-06-29T17:32:27
golang/go
9ebe7c8ec6e95b73a7b0e480fe10f2188ef4928a
6f35430faa622bad63a527c97e87b9291e480688
go/test: add a test for issue 48344 This was fixed by https://go-review.googlesource.com/c/go/+/349613 and https://go-review.googlesource.com/c/go/+/349614 Fixes #48344 Change-Id: I4c62109fd34b20566b07fcca87fb3946a5702fef Reviewed-on: https://go-review.googlesource.com/c/go/+/350309 Run-TryBot: Dan Scales <danscales...
[ { "path": "test/typeparam/issue48344.go", "patch": "@@ -0,0 +1,26 @@\n+// run -gcflags=-G=3\n+\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package main\n+\n+type G[T any] interface {...
2021-09-16T16:42:06
rust-lang/rust
244ea125f11ae7ea4a643fe20f62a6500b4b1a52
96be6effa41880fbe8be4069433244c40dcb7fbe
Mark all optimize methods and the codegen method as safe There is no safety contract and I don't think any of them can actually cause UB in more ways than passing malicious source code to rustc can. While LtoModuleCodegen::optimize says that the returned ModuleCodegen points into the LTO module, the LTO module has alr...
[ { "path": "src/lib.rs", "patch": "@@ -391,7 +391,7 @@ impl WriteBackendMethods for GccCodegenBackend {\n unimplemented!()\n }\n \n- unsafe fn optimize(\n+ fn optimize(\n _cgcx: &CodegenContext<Self>,\n _dcx: DiagCtxtHandle<'_>,\n module: &mut ModuleCodegen<Self::Mod...
2025-01-09T18:41:19
huggingface/transformers
88ead3f51806405f88b12fbad46e935e5ae13873
6ea646a03ab6f7ac330218815dfe0941a799c343
Fix responses add tests (#39848) * Quick responses fix * [serve] Fix responses API and add tests * Remove typo * Remove typo * Tests
[ { "path": "src/transformers/commands/serving.py", "patch": "@@ -396,6 +396,9 @@ class ServeArguments:\n log_level: str = field(\n default=\"info\", metadata={\"help\": \"Logging level as a string. Example: 'info' or 'warning'.\"}\n )\n+ default_seed: Optional[int] = field(\n+ defau...
2025-08-01T16:06:08
vercel/next.js
dda9be09f0e5f0cc6d26cc455fc5a049bfe483c1
ff2159d4d88d0c65f914b47a6712964d96605042
Failing test for SWC `shakeExports` and JSX (#35735) <!-- Thanks for opening a PR! Your contribution is much appreciated. In order 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-swc/crates/core/tests/fixture.rs", "patch": "@@ -216,6 +216,7 @@ fn shake_exports_fixture(input: PathBuf) {\n String::from(\"keep2\").into(),\n String::from(\"keep3\").into(),\n String::from(\"keep4\").into(),\n+ ...
2023-03-03T17:06:27
nodejs/node
5202b70fecd3cedb752ffccdb12fc7ac9a472340
f084e06de7b03750a80925a7aa1aefe3aed47504
doc: fix REPLACEME for tls min/max protocol option Fill in correct pr-url: value in the YAML changelog that was missing from f512f5ea. The stanza was also sorted in the wrong order, most recent is supposed to be in the beginning of the changes, not the end. PR-URL: https://github.com/nodejs/node/pull/24759 Reviewed-B...
[ { "path": "doc/api/tls.md", "patch": "@@ -1054,6 +1054,10 @@ argument.\n <!-- YAML\n added: v0.11.13\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/24405\n+ description: The `minVersion` and `maxVersion` can be used to restrict\n+ the allowed TLS pro...
2018-11-30T18:53:30
huggingface/transformers
6ea646a03ab6f7ac330218815dfe0941a799c343
3951d4ad5d426b3e062e81fb71bf747cdfb357c1
Update ux cb (#39845) * clenaup * nits * updates * fix logging * push updates? * just passexception * update * nits * fix * add tokencount * style
[ { "path": "examples/pytorch/continuous_batching.py", "patch": "@@ -10,26 +10,27 @@\n torch.set_float32_matmul_precision(\"high\")\n \n model_id = \"meta-llama/Llama-3.2-3b-Instruct\"\n-model = AutoModelForCausalLM.from_pretrained(\n- model_id, attn_implementation=\"sdpa_paged\", torch_dtype=torch.bfloat1...
2025-08-01T14:50:28