repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
electron/electron
72fc1e8dc62512feb9edac7ca508f4905bf70b92
724cae7de1fff5fae9077314239a66212f346648
Increase node_module_version, fixes #533
[ { "path": "common.gypi", "patch": "@@ -1,6 +1,7 @@\n {\n 'variables': {\n 'clang': 0,\n+ 'node_module_version': 15,\n 'conditions': [\n ['OS==\"mac\" or OS==\"linux\"', {\n 'clang': 1,\n@@ -100,6 +101,10 @@\n 'include_dirs': [\n 'vendor/brightray/vendor/download/...
2014-09-30T12:30:52
golang/go
e7451f661665e406889094b9d1471c7991dfefaa
54f854fb4150dfe5bc156abf57c46e9931d55ee5
[dev.typeparams] go/types: accept embedded interface elements This is a port of CL 321689 to go/types. It differs from that CL in the uses of the position, AST and error APIs, and in not factoring out an unimplemented() helper (this helper didn't already exist in go/types, so it seemed cleaner to defer adding it). Ch...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -783,7 +783,7 @@ func (check *Checker) applyTypeFunc(f func(Type) Type, x Type) Type {\n \t\ttpar := NewTypeName(token.NoPos, nil /* = Universe pkg */, \"<type parameter>\", nil)\n \t\tptyp := check.newTypeParam(tpar, 0, &emptyInterface) // assigns type to ...
2021-06-08T14:21:51
huggingface/transformers
d0c9c66d1c09df3cd70bf036e813d88337b20d4c
31f8a0fe8a7e2db1ee30bf32ed5976cd11f3283c
new failure CI reports for all jobs (#38298) * new failures * report_repo_id * report_repo_id * report_repo_id * More fixes * More fixes * More fixes * ruff --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/check_failed_tests.yml", "patch": "@@ -9,6 +9,18 @@ on:\n start_sha:\n required: true\n type: string\n+ job:\n+ required: true\n+ type: string\n+ slack_report_channel:\n+ required: true\n+ type: string\n+ ci_event:...
2025-05-24T17:15:02
vercel/next.js
125d3224efaa123e5d04cc5cfd08ae39eca0e602
a571d712f5c3c43e7b81c75cdbd598eb7829e080
NodeProcessPool: implement debug mode for a single-process passing --inspect-brk (vercel/turbo#3385) This implements a debug mode for spawning Node processes across multiple surfaces including `evaluate` and `get_renderer_pool`. It: * automatically limits concurrency to 1 process per pool * passes `--inspect-brk` to...
[ { "path": "crates/next-core/src/next_config.rs", "patch": "@@ -478,6 +478,7 @@ pub async fn load_next_config(execution_context: ExecutionContextVc) -> Result<N\n intermediate_output_path,\n runtime_entries,\n vec![],\n+ /* debug */ false,\n )\n .await?;\n match &*c...
2023-01-20T01:58:11
electron/electron
915c1b19d3badabdea00b1d7ba76cf1550b3b442
b87dfb964cd8121e551009f24a95aeb4afa3f017
asar: Fix fs.realpath on package's root
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -118,7 +118,7 @@ fs.realpathSync = (p) ->\n throw new Error(\"Invalid package #{asarPath}\") unless archive\n \n real = archive.realpath filePath\n- throw createNotFoundError(asarPath, filePath) unless real\n+ throw createNotFoundError(asarPath, fi...
2014-09-30T07:09:50
golang/go
ab4b3c4b15838e3eb5888b96c7965e31973b25cd
7c5d7a4caffdb72ce252fb465ff4f7fd62a46c8a
[dev.typeparams] go/parser: accept "~" and "|" interface elements This is a port of CL 307371 to go/parser, adding support for the new embedded type expressions. As in that CL, type lists continue to be accepted. This CL also revealed a pre-existing bug related to embedded instances: the parser was failing to parse e...
[ { "path": "src/go/parser/error_test.go", "patch": "@@ -186,16 +186,18 @@ func TestErrors(t *testing.T) {\n \t}\n \tfor _, d := range list {\n \t\tname := d.Name()\n-\t\tif !d.IsDir() && !strings.HasPrefix(name, \".\") && (strings.HasSuffix(name, \".src\") || strings.HasSuffix(name, \".go2\")) {\n-\t\t\tmode...
2021-06-07T14:04:12
nodejs/node
80076cb1c779bb9e40479ea8831815dea3d1eb25
23f8b0251335f46aaf54b45e9370b374c1c238d2
tracing: remove shutdown-on-signal This feature cannot be reasonably implemented this way without inherently being susceptible to race conditions that lead to hangs, crashes, etc. What’s more, implementing this for some signals only (and it can only be implemented for some signals at all) may lead to the impression t...
[ { "path": "src/node.cc", "patch": "@@ -2053,7 +2053,6 @@ void SetupProcessObject(Environment* env,\n \n void SignalExit(int signo) {\n uv_tty_reset_mode();\n- v8_platform.StopTracingAgent();\n #ifdef __FreeBSD__\n // FreeBSD has a nasty bug, see RegisterSignalHandler for details\n struct sigaction sa...
2018-09-06T20:31:07
rust-lang/rust
f88c990b89e392c5f8289b0d1cfb5641e8aabaab
b1ad50f1e0d8f18968cc4ad15a43479838a528d7
Fix segfault in cirrus CI
[ { "path": "library/stdarch/.cirrus.yml", "patch": "@@ -2,6 +2,10 @@ task:\n name: x86_64-unknown-freebsd\n freebsd_instance:\n image_family: freebsd-13-4\n+ env:\n+ # FIXME(freebsd): FreeBSD has a segfault when `RUST_BACKTRACE` is set\n+ # https://github.com/rust-lang/rust/issues/132185\n+ ...
2025-04-23T10:23:33
huggingface/transformers
31f8a0fe8a7e2db1ee30bf32ed5976cd11f3283c
36f97ae15b7d70a590ce3a33e23ed0faa506c292
[docs]: update roformer.md model card (#37946) * Update roformer model card * fix example purpose description * fix model description according to the comments * revert changes for autodoc * remove unneeded tags * fix review issues * fix hfoption --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.no...
[ { "path": "docs/source/en/model_doc/roformer.md", "patch": "@@ -14,46 +14,78 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# RoFormer\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\"...
2025-05-23T23:27:56
vercel/next.js
a571d712f5c3c43e7b81c75cdbd598eb7829e080
ec1b63547230079250b747d9c579197b0a1e1610
Dev server: only log requests with status >=400 (vercel/turbo#3366) Fixes WEB-433. This adjusts the devserver to only log requests that have response status >=400. Previously, it logged responses with status between 200-299 (and long requests, if enabled). This change prevents it from logging responses in the 3xx ran...
[ { "path": "crates/turbopack-dev-server/src/lib.rs", "patch": "@@ -293,9 +293,10 @@ impl DevServerBuilder {\n )\n .await?;\n let status = response.status().as_u16();\n- let success = response.status...
2023-01-20T01:06:19
golang/go
132ea56d292eac0226eef4bc32d784b0300c3bce
8f95eaddd334e61b1832628741b97462ddc84975
[dev.typeparams] cmd/compile: fix crawling of embeddable types In reflectdata, we have a hack to only apply inlining for (*T).M wrappers generated around T.M. This was a hack because I didn't understand at the time why other cases were failing. But I understand now: during export, we generally skip exporting the inli...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -1795,20 +1795,24 @@ func methodWrapper(rcvr *types.Type, method *types.Field, forItab bool) *obj.LSy\n \t\treturn lsym\n \t}\n \n-\t// Only generate (*T).M wrappers for T.M in T's own package, except for\n-\t// instantiated methods.\...
2021-06-15T02:21:14
huggingface/transformers
33d23c39ed50d26270337919181e65b7273835aa
dffb118013931d1e7b7904062815f42271f1854d
Update BioGPT model card (#38214) * Update BioGPT model card * Update docs/source/en/model_doc/biogpt.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/model_doc/biogpt.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/...
[ { "path": "docs/source/en/model_doc/biogpt.md", "patch": "@@ -14,79 +14,121 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# BioGPT\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\n...
2025-05-23T20:03:47
nodejs/node
23f8b0251335f46aaf54b45e9370b374c1c238d2
9c9c01f1839e931b27993439ae7076aba8f25c01
src: fix `--prof-process` CLI argument handling Make sure that options after `--prof-process` are not treated as Node.js options. Fixes: https://github.com/nodejs/node/issues/22786 PR-URL: https://github.com/nodejs/node/pull/22790 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.co...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -694,9 +694,11 @@\n for (const [ from, expansion ] of aliases) {\n let isAccepted = true;\n for (const to of expansion) {\n- if (!to.startsWith('-')) continue;\n+ if (!to.startsWith('-') || to === '--') continue...
2018-09-10T10:06:45
rust-lang/rust
9e1832998d0c47ee11cd28e0458e68d9e7186b0f
7cd1da4a1646d1db3d409d6c2ff682b8f03ba14b
Factor out `resolve_type_relative_path` IMPORTANT: This leads to a tiny diagnostic regression that will be fixed in the next commit!
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs", "patch": "@@ -4,9 +4,9 @@ use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};\n use rustc_errors::codes::*;\n use rustc_errors::struct_span_code_err;\n use rustc_hir as hir;\n+use rustc_hir::AmbigArg;\n use rustc_hir::def::{DefKind,...
2025-04-23T18:43:59
vercel/next.js
c648f9d413ab311da0bc189e5eb20395e8d51c2a
0faedd9e1e710acd4d8ff170b81dc590f9a09e24
Fix next/dynamic non ssr in pages when appDir is enabled (#45066) When `appDir` is enabled, `next/dynamic` with `ssr: false` didn't get correctly compiled with swc. The `server_components` condition in next_dynamic transform should respect to the server components compilation, but it was accidently turned on when s...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -189,7 +189,13 @@ where\n next_dynamic::next_dynamic(\n opts.is_development,\n opts.is_server,\n- opts.server_components.is_some(),\n+ match &opts.server_components {\n+ So...
2023-01-19T23:25:46
golang/go
8f95eaddd334e61b1832628741b97462ddc84975
a4121d7dd66b0bca91cc1619721f69e9027af041
[dev.typeparams] cmd/compile: fix missing sync implicit types CL 328051 introduced new syncImplicitTypes, but forgot to add a sync after syncAddBody in linker.relocFuncExt, cause the compiler crashes when reading in package data. Adding missing w.sync(syncImplicitTypes) call fixes this. While at it, also run go gene...
[ { "path": "src/cmd/compile/internal/noder/linker.go", "patch": "@@ -210,6 +210,7 @@ func (l *linker) relocFuncExt(w *encoder, name *ir.Name) {\n \t\tpri, ok := bodyReader[name.Func]\n \t\tassert(ok)\n \t\tw.sync(syncAddBody)\n+\t\tw.sync(syncImplicitTypes)\n \t\tw.reloc(relocBody, l.relocIdx(pri.pr, relocBo...
2021-06-16T16:00:23
rust-lang/rust
7cd1da4a1646d1db3d409d6c2ff682b8f03ba14b
bda903ed8ab07fe1e67b138f191a37c1b61a6914
Rename and move several error reporting methods Name them more consistently, descriptively and appropriately. Move large error reporting methods into the dedicated error module to make the happy paths in HIR ty lowering more legible.
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs", "patch": "@@ -675,7 +675,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n \n // Good error for `where Trait::method(..): Send`.\n let Some(self_ty) = opt_self_ty else {\n- let guar = self...
2025-04-23T14:16:24
electron/electron
6c9769999b2a0f5760a8b832a90277060300f37b
50ea0f0b454ade6be10b54867a297b42b8e9decd
win: Fix total value in SetProgressBar API.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -499,7 +499,7 @@ void NativeWindowViews::SetProgressBar(double progress) {\n } else if (progress >= 0) {\n taskbar->SetProgressValue(frame,\n static_cast<int>(progress * 100),\n- pr...
2014-09-29T10:50:51
huggingface/transformers
e0aad278fe5cd6feba126e37c4514a1e5a6377ba
e64ed0304c53798af2a3c4c5882473a0b3d28e37
Never fallback to eager implicitly (#38327) * remove arg everywhere * Update warnings * add more models * Update sdpa_attention.py * fix style * fix * readd warnings but not for flex * Update test_modeling_common.py * skip * fix --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.co...
[ { "path": "docs/source/en/modular_transformers.md", "patch": "@@ -243,13 +243,7 @@ class Olmo2Attention(OlmoAttention):\n \n attention_interface: Callable = eager_attention_forward\n if self.config._attn_implementation != \"eager\":\n- if self.config._attn_implementation == \"sdpa...
2025-05-23T17:48:01
nodejs/node
dadd6e16888baac8fd110432b81f3fd1237be3e1
16210cad093519b756f2ce8025b29eb9f8d2d046
util: use a shared symbol for util.inspect.custom Define `util.inspect.custom` as `Symbol.for("nodejs.util.inspect.custom")` rather than `Symbol("util.inspect.custom")`. This allows `inspect` hooks to easily/safely be defined in non-Node.js environments. Fixes: https://github.com/nodejs/node/issues/20821 Refs: https:...
[ { "path": "doc/api/util.md", "patch": "@@ -574,9 +574,10 @@ terminals.\n \n <!-- type=misc -->\n \n-Objects may also define their own `[util.inspect.custom](depth, opts)` function\n-that `util.inspect()` will invoke and use the result of when inspecting the\n-object:\n+Objects may also define their own\n+[`...
2018-05-20T20:27:34
vercel/next.js
0faedd9e1e710acd4d8ff170b81dc590f9a09e24
0a5097c46626b38cc00ea4086463ff1caf2ab43f
Fix error when CSS @import fails to resolve (#45010)
[ { "path": "packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.ts", "patch": "@@ -45,21 +45,17 @@ function getModuleTrace(input: any, compilation: any) {\n return moduleTrace\n }\n \n-export async function getNotFoundError(\n- compilation: webpack.Compilation,\n+async funct...
2023-01-19T22:43:32
golang/go
a6a853f94cf00d8f581d0e6fbcc28898e39557b2
785a8f677fbba9432ee67b14d41004ba7fd35ddb
cmd/asm: restore supporting of *1 scaling on ARM64 On ARM64, instruction like "MOVD (R1)(R2*1), R3" is accepted and assembles correctly with Go 1.16, but errors out on tip with "arm64 doesn't support scaled register format", since CL 289589. "MOVD (R1)(R2), R3" is the preferred form. But the *1 form works before and ...
[ { "path": "src/cmd/asm/internal/asm/parse.go", "patch": "@@ -1003,7 +1003,8 @@ func (p *Parser) registerIndirect(a *obj.Addr, prefix rune) {\n \t\t\t\tp.errorf(\"unimplemented two-register form\")\n \t\t\t}\n \t\t\ta.Index = r1\n-\t\t\tif scale != 0 && p.arch.Family == sys.ARM64 {\n+\t\t\tif scale != 0 && s...
2021-06-15T16:47:57
electron/electron
e24976c59fecb53cd5f9c86aa7ce157b5b2a3057
e3ae062c5c173046572a0e7506312516fe5589a5
Fix overriding async node API
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -221,7 +221,7 @@ fs.readdirSync = (p) ->\n files\n \n # Override APIs that rely on passing file path instead of content to C++.\n-overrideAPI = (module, name, arg = 0) ->\n+overrideAPISync = (module, name, arg = 0) ->\n old = module[name]\n module[...
2014-09-29T08:28:51
huggingface/transformers
53fb245eb60364c7377c5f37fc37807a00e9b2e2
d5f992f5e67e8ced64a90fe01dfc50796fd2933d
:rotating_light: :rotating_light: Inherited CausalLM Tests (#37590) * stash commit * Experiment 1: Try just Gemma * Experiment 1: Just try Gemma * make fixup * Trigger tests * stash commit * Try adding Gemma3 as well * make fixup * Correct attrib names * Correct pipeline model mapping * Add in all_model_clas...
[ { "path": "tests/causal_lm_tester.py", "patch": "@@ -0,0 +1,479 @@\n+# Copyright 2025 HuggingFace Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+# http:/...
2025-05-23T17:29:31
nodejs/node
16210cad093519b756f2ce8025b29eb9f8d2d046
de37ba34c5d6f3a2d18daf482f850be8fddb4621
fs: fix promisified fs.readdir withFileTypes PR-URL: https://github.com/nodejs/node/pull/22832 Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@g...
[ { "path": "lib/internal/fs/promises.js", "patch": "@@ -317,7 +317,8 @@ async function readdir(path, options) {\n path = toPathIfFileURL(path);\n validatePath(path);\n const result = await binding.readdir(pathModule.toNamespacedPath(path),\n- options.encoding, !!op...
2018-09-13T03:47:56
vercel/next.js
0a5097c46626b38cc00ea4086463ff1caf2ab43f
72d35d0524751d7f959c43c437a3578cd7cdc559
Add shiki and vscode-oniguruma to default server-external packages (#44968) fixes https://github.com/vercel/next.js/issues/44316 fixes https://github.com/shikijs/shiki/issues/398 Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/src/lib/server-external-packages.json", "patch": "@@ -18,9 +18,11 @@\n \"prisma\",\n \"rimraf\",\n \"sharp\",\n+ \"shiki\",\n \"sqlite3\",\n \"tailwindcss\",\n \"ts-node\",\n \"typescript\",\n+ \"vscode-oniguruma\",\n \"webpack\"\n ]", "additions": 2, "dele...
2023-01-19T21:50:59
huggingface/transformers
d5f992f5e67e8ced64a90fe01dfc50796fd2933d
1ed19360b1400bd849164e0b9be940e8342af6b1
Enhance Model Loading By Providing Parallelism, Uses Optional Env Flag (#36835) * Get parallel loader working. Include tests. * Update the tests for parallel loading * Rename env variables. * Add docs for parallel model weight loading. * Touch up parallel model loading docs. * Touch up parallel model loading docs...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1121,4 +1121,9 @@\n - local: internal/time_series_utils\n title: Utilities for Time Series\n title: Internal helpers\n+ - sections:\n+ - local: reference/environment_variables\n+ title: Environment Variables\n+ title: Reference...
2025-05-23T16:39:47
electron/electron
3c412e1cb8dc064d17d3b8f547cb619f6b5a3476
a579f5845485082e4e4847889351e666392ca04b
Fix readdir on a linked directory
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -22,9 +22,8 @@ bool GetNodeFromPath(std::string path,\n const base::DictionaryValue* root,\n const base::DictionaryValue** out);\n \n-// Gets sub-file \"name\" from \"dir\".\n-bool GetChildNode(const base::Dictio...
2014-09-29T07:23:28
nodejs/node
70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63
eaaee92d9b0be82d7f40b2abb67f30ce525d4bc4
doc: fix typo in dns docs PR-URL: https://github.com/nodejs/node/pull/22866 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "doc/api/dns.md", "patch": "@@ -1078,7 +1078,7 @@ implications for some applications, see the [`UV_THREADPOOL_SIZE`][]\n documentation for more information.\n \n Note that various networking APIs will call `dns.lookup()` internally to resolve\n-host names. If that is an issue, consider resolving t...
2018-09-14T18:17:14
vercel/next.js
72d35d0524751d7f959c43c437a3578cd7cdc559
3d56dcf45bd3154b5a28825464e22f5227120c6c
Fix typescript plugin (#44128) Co-authored-by: Shu Ding <g@shud.in> Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/src/server/next-typescript.ts", "patch": "@@ -403,8 +403,12 @@ export function createTSPlugin(modules: {\n isDefaultFunctionExport(node) &&\n isPositionInsideNode(position, node)\n ) {\n- const paramNode = (node as ts.FunctionDeclaration).paramet...
2023-01-19T21:18:41
huggingface/transformers
bb567d85a4d74909cae015ed3ae8d79c5e4c6340
3c289e2104bf16b60607d626c6fc2e3eceb84f45
refactor can_save_slow_tokenizer (#37722) * refactor to rm property can_save_slow_tokenizer, it can be done within the if of save_vocab * move property to fast * revert if * check if vocab_file is attr * fix check for sp * fix if condition * fix if condition * fix if condition
[ { "path": "src/transformers/models/albert/tokenization_albert_fast.py", "patch": "@@ -130,10 +130,6 @@ def __init__(\n self.keep_accents = keep_accents\n self.vocab_file = vocab_file\n \n- @property\n- def can_save_slow_tokenizer(self) -> bool:\n- return os.path.isfile(self.voca...
2025-05-23T15:29:38
golang/go
785a8f677fbba9432ee67b14d41004ba7fd35ddb
a752bc07462f01a4c1ee1940c3ea316b270af146
cmd/compile: better error message for invalid untyped operation For typed vs un-typed operation, the compiler do the conversion un-conditionally, so if the operation is invalid, the error report is pointed to the conversion, instead of the invalid operation itself. To fix this, only do the conversion when the operati...
[ { "path": "src/cmd/compile/internal/typecheck/const.go", "patch": "@@ -633,6 +633,17 @@ func defaultlit2(l ir.Node, r ir.Node, force bool) (ir.Node, ir.Node) {\n \tif l.Type() == nil || r.Type() == nil {\n \t\treturn l, r\n \t}\n+\n+\tif !l.Type().IsInterface() && !r.Type().IsInterface() {\n+\t\t// Can't mi...
2021-06-15T14:40:49
electron/electron
a757c62da50f871ffcd7b8f8d187b7d09413ea59
370dd26745310ab72f739ec8292dcbaa798dcbfc
Use "null" instead of "undefined" as no error
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -80,7 +80,7 @@ fs.lstat = (p, callback) ->\n stats = getOrCreateArchive(asarPath).stat filePath\n return callback createNotFoundError(asarPath, filePath) unless stats\n \n- callback undefined, asarStatsToFsStats stats\n+ callback null, asarStatsToF...
2014-09-29T06:57:10
nodejs/node
eaaee92d9b0be82d7f40b2abb67f30ce525d4bc4
efd4796fa905747985d6de215d5e64b4701cf347
src: move DebugPortGetter/Setter to node_process.cc PR-URL: https://github.com/nodejs/node/pull/22758 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "src/node.cc", "patch": "@@ -160,7 +160,6 @@ using v8::Object;\n using v8::ObjectTemplate;\n using v8::Promise;\n using v8::PropertyAttribute;\n-using v8::PropertyCallbackInfo;\n using v8::ReadOnly;\n using v8::Script;\n using v8::ScriptCompiler;\n@@ -1672,32 +1671,6 @@ static Local<Object> GetFea...
2018-09-07T23:19:03
vercel/next.js
9b39c79d2c41fa3cbd3e4f6f22815389f553fd5d
d363e6f2b3b8daa616233d3df71354f9c76c8ee3
Display the reason of hydration error in error overlay (#44857)
[ { "path": "packages/next/src/client/app-index.tsx", "patch": "@@ -254,6 +254,17 @@ export function hydrate() {\n onRecoverableError,\n }\n const isError = document.documentElement.id === '__next_error__'\n+\n+ if (process.env.NODE_ENV !== 'production') {\n+ // Patch console.error to collect info...
2023-01-19T12:45:34
huggingface/transformers
f5d45d89c4f1d3282fc216a96dc6830b88d41249
896833c183a168befcade879c1fca1889e20052d
🚨Early-error🚨 config will error out if `output_attentions=True` and the attn implementation is wrong (#38288) * Protect ParallelInterface * early error out on output attention setting for no wraning in modeling * modular update * fixup * update model tests * update * oups * set model's config * more cases *...
[ { "path": "docs/source/en/model_doc/jamba.md", "patch": "@@ -99,7 +99,7 @@ quantization_config = BitsAndBytesConfig(load_in_8bit=True,\n device_map = {'model.embed_tokens': 0, 'model.layers.0': 0, 'model.layers.1': 0, 'model.layers.2': 0, 'model.layers.3': 0, 'model.layers.4': 0, 'model.layers.5': 0, 'model...
2025-05-23T15:17:38
golang/go
a752bc07462f01a4c1ee1940c3ea316b270af146
d77f4c0c5c966c37960cd691656fba184ae770ff
syscall: fix TestGroupCleanupUserNamespace test failure on Fedora Fixes #46752 Change-Id: I2eaa9d15fac4e859e18191fcf1372e5be94899df GitHub-Last-Rev: 8a2672d8dc6713ec6cbd207d870e893062c8fe5b GitHub-Pull-Request: golang/go#46753 Reviewed-on: https://go-review.googlesource.com/c/go/+/328109 Run-TryBot: Tobias Klauser <t...
[ { "path": "src/syscall/exec_linux_test.go", "patch": "@@ -318,6 +318,7 @@ func TestGroupCleanupUserNamespace(t *testing.T) {\n \t\t\"uid=0(root) gid=0(root) groups=0(root),65534\",\n \t\t\"uid=0(root) gid=0(root) groups=0(root),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobody),65534(nobo...
2021-06-15T13:23:10
nodejs/node
df7ebfab4e9575eeeb133826c54907053115a0b7
246f6332e5a5f395d1e39a3594ee5d6fe869d622
worker: correct (de)initialization order - Initialize `thread_exit_async_` only once the thread has been started. This is done since it is only triggered from the thread when it is exiting. - Move the final `uv_run` to the `Worker` destructor. This makes sure that it is always run, regardless of whether the th...
[ { "path": "src/node_worker.cc", "patch": "@@ -71,14 +71,6 @@ Worker::Worker(Environment* env, Local<Object> wrap)\n isolate_ = NewIsolate(array_buffer_allocator_.get(), &loop_);\n CHECK_NE(isolate_, nullptr);\n \n- thread_exit_async_.reset(new uv_async_t);\n- thread_exit_async_->data = this;\n- CHECK...
2018-09-09T13:38:48
vercel/next.js
d363e6f2b3b8daa616233d3df71354f9c76c8ee3
06ed494480f5ef55f15407dc819f97b45ba93cbb
Don't dispaly "Error: " twice when router isn't mounted (#45038) Before ![image](https://user-images.githubusercontent.com/25056922/213422675-d2865012-ea23-4ee7-b984-4021e698bce0.png) After ![image](https://user-images.githubusercontent.com/25056922/213422561-5730efea-82da-4e13-aac6-a1e84b098605.png) Fixes...
[ { "path": "packages/next/src/client/router.ts", "patch": "@@ -133,7 +133,7 @@ export function useRouter(): NextRouter {\n const router = React.useContext(RouterContext)\n if (!router) {\n throw new Error(\n- 'Error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mo...
2023-01-19T12:12:36
golang/go
cf1ae5fc364eb7f2ee5203e4c5e30411c3cfe01f
79cd1687e6abf8c565281d310b4c2b44a8d4bb84
[dev.typeparams] cmd/compile: add -d=unified flag to enable unified IR This CL adds a new -d=unified debug flag, which controls whether unified IR mode is used. Change-Id: Iaa5f3cc0a24b9881aeec5317cd6b462b4a7b6fc9 Reviewed-on: https://go-review.googlesource.com/c/go/+/327054 Trust: Matthew Dempsky <mdempsky@google.co...
[ { "path": "src/cmd/compile/internal/base/debug.go", "patch": "@@ -46,6 +46,7 @@ type DebugFlags struct {\n \tSoftFloat int `help:\"force compiler to emit soft-float code\"`\n \tTypeAssert int `help:\"print information about type assertion inlining\"`\n \tTypecheckInl int ...
2021-06-11T10:54:25
nodejs/node
0827c80920311fa9d1e6989c8a73aaaeca962eb7
cf340fe0f5201b77a6e9af7f3b3b82d0d4868fc3
inspector: implemented V8InspectorClient::resourceNameToUrl This method is required by inspector to report normalized urls over the protocol. Fixes https://github.com/nodejs/node/issues/22223 PR-URL: https://github.com/nodejs/node/pull/22251 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Tianche...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -6,6 +6,7 @@\n #include \"inspector/tracing_agent.h\"\n #include \"node/inspector/protocol/Protocol.h\"\n #include \"node_internals.h\"\n+#include \"node_url.h\"\n #include \"v8-inspector.h\"\n #include \"v8-platform.h\"\n \n@@ -369,6 +370,25 @@ void NotifyCl...
2018-08-30T21:59:34
huggingface/transformers
896833c183a168befcade879c1fca1889e20052d
a63bc1741645a2bc5a52edba1c8c68c2b053c484
Fix some tests (especially compile with fullgraph=True on Python<3.11) (#38319) * fix tests * better fix for python<3.11 * fixes * style
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -2232,7 +2232,7 @@ def _prefetch_next_layer(self, layer_idx: int) -> None:\n \n def _prefetch_layer_in_context(self, layer_idx: int) -> None:\n \"\"\"Performs the actual copy of the layer to device cache.\"\"\"\n- if len(self.key_c...
2025-05-23T15:11:40
vercel/next.js
f9dbb5d90a31ccdf78380dbe55be43221518c97c
dc45f2d460ab95b254044379043b839cd1128f09
Install AsyncLocalStorage for appDir rendering (vercel/turbo#3374) https://github.com/vercel/next.js/pull/44668 refactored Next's use of `AsyncLocalStorage`, and installs a "polyfill" of the API by patching the node import onto `globalThis.` Importantly, it's then used in the module scope during imports, so we need to...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -29,6 +29,7 @@ import type { RenderData } from \"types/turbopack\";\n \n import \"next/dist/server/node-polyfill-fetch\";\n import \"next/dist/server/node-polyfill-web-streams\";\n+import \"@vercel/turbopack-next/poly...
2023-01-19T07:32:42
electron/electron
4d01aa27722f982366d346b80549d52b25a2e72c
4a485f9819f6cf0ff6bc5d8f4ba9652b50b9f18f
Fix shifting args in fs.readFile
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -135,16 +135,16 @@ fs.readFile = (p, options, callback) ->\n [isAsar, asarPath, filePath] = splitPath p\n return readFile.apply this, arguments unless isAsar\n \n+ if typeof options is 'function'\n+ callback = options\n+ options = undefined\n+...
2014-09-28T15:36:12
huggingface/transformers
a6b51e7341d702127a4a45f37439640840b5abf0
3e960e032db8d288698b783f3d7199dd99b5135f
[Whisper + beam search] fix usage of `beam_indices` (#38259) * tmp * fix test_tiny_token_timestamp_batch_generation * better comments * test * comments * Apply suggestions from code review Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> --------- Co-authored-by: Anton Vlasjuk <73884904+...
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -231,42 +231,52 @@ def _extract_token_timestamps(\n tensor containing the timestamps in seconds for each predicted token\n \"\"\"\n # Create a list with `decoder_layers` elements, each a tensor of sha...
2025-05-23T10:05:44
golang/go
79cd1687e6abf8c565281d310b4c2b44a8d4bb84
ea438bda85ed473ecee215b098eba1f19113bc24
[dev.typeparams] cmd/compile: unified IR construction This CL adds a new unified IR construction mode to the frontend. It's purely additive, and all files include "UNREVIEWED" at the top, like how types2 was initially imported. The next CL adds a -d=unified flag to actually enable unified IR mode. See below for more...
[ { "path": "src/cmd/compile/internal/noder/codes.go", "patch": "@@ -0,0 +1,126 @@\n+// UNREVIEWED\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 noder\n+\n+type code interface...
2021-05-14T03:23:13
nodejs/node
ab150160f8149063865729e52c6a7597133f9057
90c93682d13ed4edf150d9c8c61ad9a0eb2c0b26
deps: cherry-pick dbfcc48 from upstream V8 Original commit message: ``` [inspector] added V8InspectorClient::resourceNameToUrl Some clients (see Node.js) use platform path as ScriptOrigin. Reporting platform path in protocol makes using protocol much harder. This CL introduced V8InspectorClient::resourceNameToUrl met...
[ { "path": "common.gypi", "patch": "@@ -29,7 +29,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.10',\n+ 'v8_embedder_string': '-node.11',\n \n # Enable disassembler for `--print-co...
2018-08-10T20:09:49
rust-lang/rust
546065a3150d4ae438e01c751bfcda6875e141d0
bb584e87550e000a577a44f9a34bd71e07581e9e
fix: resolve doc path if outer comments exist on module and replace from cfg_attr bit to doc_place bit Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/hir-expand/src/attrs.rs", "patch": "@@ -129,9 +129,8 @@ impl RawAttrs {\n .cloned()\n .chain(b.slice.iter().map(|it| {\n let mut it = it.clone();\n- it.id.id = (it.id.ast_index() ...
2025-03-28T14:50:26
vercel/next.js
2d28bce2fd97e77e66c34842c0d9c9e25dde22d8
d9136701efe45683431b486f9696e135ecdcadc5
Install AsyncLocalStorage for appDir rendering (vercel/turbo#3374) https://github.com/vercel/next.js/pull/44668 refactored Next's use of `AsyncLocalStorage`, and installs a "polyfill" of the API by patching the node import onto `globalThis.` Importantly, it's then used in the module scope during imports, so we need to...
[ { "path": "crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -29,6 +29,7 @@ import type { RenderData } from \"types/turbopack\";\n \n import \"next/dist/server/node-polyfill-fetch\";\n import \"next/dist/server/node-polyfill-web-streams\";\n+import \"@vercel/turbopack-next/polyfill/async-local-s...
2023-01-19T07:32:42
electron/electron
cebafeae400bd34a26e4488f23a9c3faae8f94e7
150739e19ee0e8fa1dd58c7e7a8cb0545e4d7ef9
Fix getting file from symbol linked directory.
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -18,14 +18,31 @@ namespace asar {\n \n namespace {\n \n-bool GetChildNode(const std::string& name,\n- const base::DictionaryValue* root,\n+bool GetNodeFromPath(std::string path,\n+ const base::DictionaryValue* root,\n...
2014-09-28T14:46:29
huggingface/transformers
3e960e032db8d288698b783f3d7199dd99b5135f
9eb0a37c9e31870d5288d437479d81fcded21b79
[tf/flax] handle `forced_decoder_ids` deletion (#38316) fix tf/flax, attr checks
[ { "path": "src/transformers/generation/flax_utils.py", "patch": "@@ -531,13 +531,16 @@ def _get_logits_processor(\n if (input_ids_seq_length > 1 or generation_config.forced_bos_token_id is None)\n else begin_index + 1\n )\n- if generation_config.forced_...
2025-05-23T09:44:58
golang/go
219fe9d547d09d3de1b024c6c8b8314dd0bf12e4
723f199edd8619c8eedc1c4e8df1e5f96599d51a
cmd/go: ignore UTF8 BOM when reading source code Fix the problem that UTF8 BOM can cause the parsing of import path and directives to fail. Fixes #46198 Fixes #46290 Fixes #35726 Change-Id: I2d9995ee82b094bcfa5583f0cb4e8547cb973077 GitHub-Last-Rev: 98abf91377f155266fa60505c0c12beccad38eeb GitHub-Pull-Request: golang...
[ { "path": "src/cmd/go/internal/imports/read.go", "patch": "@@ -8,6 +8,7 @@ package imports\n \n import (\n \t\"bufio\"\n+\t\"bytes\"\n \t\"errors\"\n \t\"io\"\n \t\"unicode/utf8\"\n@@ -22,6 +23,19 @@ type importReader struct {\n \tnerr int\n }\n \n+var bom = []byte{0xef, 0xbb, 0xbf}\n+\n+func newImportReade...
2021-06-15T17:11:05
nodejs/node
466cda05484c612769effb8c61a9a8ea8379bef2
a93f0352126ebc5917c4913d19b3ce5cd420f930
fs: ensure readdir() callback is only called once This commit ensures that the readdir() callback can only be called once when the withFileTypes parameter is supplied. PR-URL: https://github.com/nodejs/node/pull/22793 Fixes: https://github.com/nodejs/node/issues/22778 Reviewed-By: Bryan English <bryan@bryanenglish.co...
[ { "path": "lib/internal/fs/utils.js", "patch": "@@ -10,6 +10,7 @@ const {\n ERR_OUT_OF_RANGE\n } = require('internal/errors').codes;\n const { isUint8Array, isArrayBufferView } = require('internal/util/types');\n+const { once } = require('internal/util');\n const pathModule = require('path');\n const util...
2018-09-10T13:57:15
rust-lang/rust
1ed416de0388493ed9d604522399af5f9fd4eab6
2e7b86d4b66b6c6a1ea39b1ccb97015424553979
Don't panic on some weird code
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower/path.rs", "patch": "@@ -232,6 +232,14 @@ pub(super) fn lower_path(\n .with_borrow_mut(|map| map.extend(ast_segments.into_iter().zip(ast_segments_offset..)));\n }\n \n+ if let Some(last_segment_args @ Some(GenericArgs {...
2025-05-06T07:54:35
vercel/next.js
98a2448e5e71351f5cdc85af69107b44dd3bbc7d
a4d9373bd0e6942c5228bab53a892811b9121687
Fix release stats (#45027)
[ { "path": ".github/actions/next-stats-action/src/constants.js", "patch": "@@ -5,8 +5,8 @@ const benchTitle = 'Page Load Tests'\n const workDir = path.join(os.tmpdir(), 'next-stats')\n const mainRepoName = 'main-repo'\n const diffRepoName = 'diff-repo'\n-const mainRepoDir = path.join(os.tmpdir(), mainRepoNam...
2023-01-19T04:17:11
huggingface/transformers
9eb0a37c9e31870d5288d437479d81fcded21b79
38f9c5b15b71243a9f4befee6f20b0fd55a9ba30
Adds use_repr to model_addition_debugger_context (#37984) * Adds use_repr to model_addition_debugger_context * Updating docs for use_repr option
[ { "path": "docs/source/en/internal/model_debugging_utils.md", "patch": "@@ -16,7 +16,8 @@ rendered properly in your Markdown viewer.\n \n # Model debugging toolboxes\n \n-This page lists all the debugging and model adding tools used by the library, as well as the utility functions it provides for it.\n+This...
2025-05-23T09:35:13
electron/electron
150739e19ee0e8fa1dd58c7e7a8cb0545e4d7ef9
38f83cacf90ae778cab517dc5c3d9c865d4ba6de
Fix calling fs.open in fs.readFile wrapper
[ { "path": "atom/common/lib/asar.coffee", "patch": "@@ -129,6 +129,7 @@ fs.existsSync = (p) ->\n \n archive.stat(filePath) isnt false\n \n+open = fs.open\n readFile = fs.readFile\n fs.readFile = (p, options, callback) ->\n [isAsar, asarPath, filePath] = splitPath p\n@@ -155,12 +156,13 @@ fs.readFile = (p...
2014-09-28T14:45:29
rust-lang/rust
d0af404b19ebde51add8862b561a91edb53c7add
50e0bf1b71b802d51b4de8343ed3f4b48d0782b5
fix: `manual_let_else` FN when diverges on simple enum variant
[ { "path": "clippy_lints/src/manual_let_else.rs", "patch": "@@ -4,11 +4,14 @@ use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::higher::IfLetOrMatch;\n use clippy_utils::source::snippet_with_context;\n use clippy_utils::ty::is_type_diagnostic_item;\n-use clippy_utils::{is_lint_allowed, i...
2025-05-06T06:42:18
golang/go
723f199edd8619c8eedc1c4e8df1e5f96599d51a
4d2d89ff42ca07eac5e600a3f5bba8fb137b6e99
cmd/link: set correct flags in .dynamic for PIE buildmode For internal linking, when generating a PIE binary, set the proper .dynamic section flags to mark the binary as position-independent. Fixes #46747. Change-Id: I2b899148c6d06f92c9d12257a9761278b4236dfc Reviewed-on: https://go-review.googlesource.com/c/go/+/328...
[ { "path": "src/cmd/link/internal/ld/elf.go", "patch": "@@ -950,6 +950,11 @@ func elfdynhash(ctxt *Link) {\n \t}\n \n \ts = ldr.CreateSymForUpdate(\".dynamic\", 0)\n+\tif ctxt.BuildMode == BuildModePIE {\n+\t\t// https://github.com/bminor/glibc/blob/895ef79e04a953cac1493863bcae29ad85657ee1/elf/elf.h#L986\n+\...
2021-06-15T12:01:54
nodejs/node
08d983c3b9c8c47ad3cf2b8f8ba0ffdfcaf875f6
9c6f59ed3a145de489d467be886bb9c5f5c62613
util: fix indentationLvl when exceeding max call stack size The inspection indentation level was not always reset to it's former value in case the maximum call stack size was exceeded. PR-URL: https://github.com/nodejs/node/pull/22787 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/util.js", "patch": "@@ -880,6 +880,7 @@ function formatRaw(ctx, value, recurseTimes) {\n \n ctx.seen.push(value);\n let output;\n+ const indentationLvl = ctx.indentationLvl;\n try {\n output = formatter(ctx, value, recurseTimes, keys);\n if (skip === false) {\n@@ -889,7 +890,7 ...
2018-09-10T06:16:12
huggingface/transformers
38f9c5b15b71243a9f4befee6f20b0fd55a9ba30
11b670a2824accf1b22b33694ab42e2f17ad8af2
Fix typo: change 'env' to 'environment' in .circleci/config.yml (#38273) * Fix typo: change 'env' to 'environment' in .circleci/config.yml * Remove CIRCLE_TOKEN environment variable from artifact retrieval step --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": ".circleci/config.yml", "patch": "@@ -122,8 +122,6 @@ jobs:\n \n - run:\n name: \"Retrieve Artifact Paths\"\n- env:\n- CIRCLE_TOKEN: ${{ secrets.CI_ARTIFACT_TOKEN }}\n command: |\n project_slug=\"gh/$...
2025-05-23T08:45:27
vercel/next.js
dc45f2d460ab95b254044379043b839cd1128f09
ee6ad2e08133d06eb5e4cdd648c9d826e664aaa5
fix error overlay sometimes now showing (vercel/turbo#3331)
[ { "path": "packages/next-swc/crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -107,7 +107,7 @@ type AggregatedUpdates = {\n };\n \n // we aggregate all updates until the issues are resolved\n-const chunksWithUpdates: Map<ChunkPath, AggregatedUpdates> = new Map();\n+const chunksWithUpdates: Map<Resou...
2023-01-19T01:15:44
electron/electron
fa287c24224c9b1c480e87bd9ed597be51334ab2
b6cded379e6454fa09a038aa472f2eb0effd643a
Fix getting information for root.
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -28,6 +28,11 @@ bool GetChildNode(const std::string& name,\n bool GetNodeFromPath(std::string path,\n const base::DictionaryValue* root,\n const base::DictionaryValue** out) {\n+ if (path == \"\") {\n+ *out =...
2014-09-24T05:42:04
golang/go
4d2d89ff42ca07eac5e600a3f5bba8fb137b6e99
033d885315dd67c509d6f7f12f3e3a26bb1ca127
cmd/go, go/build: update docs to use //go:build syntax Fixes #46124. Change-Id: I6b8179032102a14befc37719f64ddace98397c97 Reviewed-on: https://go-review.googlesource.com/c/go/+/326931 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by:...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1568,38 +1568,28 @@\n //\n // A build constraint, also known as a build tag, is a line comment that begins\n //\n-// \t// +build\n+// \t//go:build\n //\n // that lists the conditions under which a file should be included in the package.\n // Constraints may a...
2021-06-02T21:39:53
nodejs/node
eb61127c48ba59e52d7cea293ad80fa54000939c
1cee08536794b6d7bc8d3b9ace2b494c74985f7d
util: limit inspection output size to 128 MB The maximum hard limit that `util.inspect()` could theoretically handle is the maximum string size. That is ~2 ** 28 on 32 bit systems and ~2 ** 30 on 64 bit systems. Due to the recursive algorithm a complex object could easily exceed that limit without throwing an error r...
[ { "path": "doc/api/util.md", "patch": "@@ -360,6 +360,10 @@ stream.write('With ES6');\n <!-- YAML\n added: v0.3.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/22756\n+ description: The inspection output is now limited to about 128 MB. Data\n+ above...
2018-05-16T16:10:08
huggingface/transformers
11b670a2824accf1b22b33694ab42e2f17ad8af2
b01984a51daa00337c6f0b7018f9569f51517e1b
Fix run_slow (#38314) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "tests/generation/test_paged_attention.py", "patch": "@@ -4,7 +4,7 @@\n from parameterized import parameterized\n \n from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig\n-from transformers.testing_utils import require_flash_attn, require_torch_gpu, run_slow\n+from transf...
2025-05-23T08:18:30
vercel/next.js
d9136701efe45683431b486f9696e135ecdcadc5
e4b3c0328238eabb22426658234ae71d265a93c8
fix error overlay sometimes now showing (vercel/turbo#3331)
[ { "path": "crates/next-core/js/src/dev/hmr-client.ts", "patch": "@@ -107,7 +107,7 @@ type AggregatedUpdates = {\n };\n \n // we aggregate all updates until the issues are resolved\n-const chunksWithUpdates: Map<ChunkPath, AggregatedUpdates> = new Map();\n+const chunksWithUpdates: Map<ResourceKey, Aggregated...
2023-01-19T01:15:44
electron/electron
b6cded379e6454fa09a038aa472f2eb0effd643a
8199ad2ae6d38bc25c95a9b3b47a28a7dcebccec
Fix __dirname and __filename in asar: protocol.
[ { "path": "atom/renderer/lib/init.coffee", "patch": "@@ -24,8 +24,8 @@ require path.resolve(__dirname, '..', '..', 'common', 'lib', 'init.js')\n global.require = require\n global.module = module\n \n-# Set the __filename to the path of html file if it's file:// protocol.\n-if window.location.protocol is 'fi...
2014-09-24T05:23:37
golang/go
033d885315dd67c509d6f7f12f3e3a26bb1ca127
ea8612ef42bfbf837e22aef669e9f715100e532a
doc/go1.17: document go run pkg@version Fixes #46687 Change-Id: I6c311f15d3871a9824306b901fa0b81818ed2df8 Reviewed-on: https://go-review.googlesource.com/c/go/+/326870 Trust: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bry...
[ { "path": "doc/go1.17.html", "patch": "@@ -292,6 +292,18 @@ <h4 id=\"build-lines\"><code>//go:build</code> lines</h4>\n <a href=\"https://golang.org/design/draft-gobuild\">https://golang.org/design/draft-gobuild</a>.\n </p>\n \n+<h4 id=\"go run\"><code>go</code> <code>run</code></h4>\n+\n+<p><!-- golang.o...
2021-06-10T21:02:44
nodejs/node
1cee08536794b6d7bc8d3b9ace2b494c74985f7d
cf0e881b33c841d2f89a23be281e1aaf061a58a3
test: checks on napi factory wrap’s finalization Fixes: https://github.com/nodejs/node/issues/22396 PR-URL: https://github.com/nodejs/node/pull/22612 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
[ { "path": "test/addons-napi/7_factory_wrap/binding.cc", "patch": "@@ -15,9 +15,14 @@ napi_value CreateObject(napi_env env, napi_callback_info info) {\n napi_value Init(napi_env env, napi_value exports) {\n NAPI_CALL(env, MyObject::Init(env));\n \n- NAPI_CALL(env,\n- // NOLINTNEXTLINE (readability/nu...
2018-08-31T03:57:33
huggingface/transformers
b01984a51daa00337c6f0b7018f9569f51517e1b
2b585419b422c91f08badab96b59c6779a9ea6a0
[emu3] fix conversion script (#38297) * fix conversion script and update weights * fixup * remove commented line
[ { "path": "src/transformers/models/emu3/convert_emu3_weights_to_hf.py", "patch": "@@ -211,14 +211,13 @@ def convert_tiktoken(tokenizer, output_dir):\n \n \n KEYS_TO_MODIFY_MAPPING = {\n+ \"^model\": \"model.text_model\",\n \"^encoder\": \"model.vqmodel.encoder\",\n \"^decoder\": \"model.vqmodel.d...
2025-05-23T07:49:56
vercel/next.js
27b95ffb1f8700de52c9560043441b6fba317101
4dfe831bbb04ca601d14ab4c1f76be128c942a59
chore: open dev overlay error links in new tab (#45018)
[ { "path": "packages/react-dev-overlay/src/internal/container/Errors.tsx", "patch": "@@ -57,7 +57,9 @@ const HotlinkedText: React.FC<{\n if (linkRegex.test(word)) {\n return (\n <React.Fragment key={`link-${index}`}>\n- <a href={word}>{word}</a>\n+ ...
2023-01-18T22:45:17
electron/electron
c5b39126ee7388acc61a25ac6b5fefb7a2cd6262
12f4e9b7ea0038e58e52839142eff0a4d17069bf
Make throwing exception when parsing args easier
[ { "path": "native_mate/arguments.cc", "patch": "@@ -32,17 +32,25 @@ v8::Handle<v8::Value> Arguments::PeekNext() const {\n return (*info_)[next_];\n }\n \n-void Arguments::ThrowError() const {\n+v8::Handle<v8::Value> Arguments::ThrowError() const {\n if (insufficient_arguments_)\n return ThrowTypeErr...
2014-09-23T15:28:52
golang/go
ea8612ef42bfbf837e22aef669e9f715100e532a
abc56fd1a0505d4fc27943cbcda81ac783fb2d2f
syscall: disable c-shared test when no cgo, for windows/arm The windows/arm port does not yet support cgo, so disable a test that requires it. This fixes a regression from CL 327969, which added support for arm64, but errantly dropped the t.Skip for both arm and arm64, rather than just for arm64. With this commit, we ...
[ { "path": "src/syscall/syscall_windows_test.go", "patch": "@@ -78,6 +78,7 @@ func TestTOKEN_ALL_ACCESS(t *testing.T) {\n \n func TestStdioAreInheritable(t *testing.T) {\n \ttestenv.MustHaveGoBuild(t)\n+\ttestenv.MustHaveCGO(t)\n \ttestenv.MustHaveExecPath(t, \"gcc\")\n \n \ttmpdir := t.TempDir()", "addi...
2021-06-15T15:04:01
huggingface/transformers
211f2b08751cdee4bd6b84892b91f4a18dbfe305
73286d8e294f8c56677e73e318a4605f773a6090
Add CB (#38085) * stash for now * initial commit * small updated * up * up * works! * nits and fixes * don't loop too much * finish working example * update * fix the small freeblocks issue * feat: stream inputs to continuous batch * fix: update attn from `eager` to `sdpa` * refactor: fmt * refactor: cle...
[ { "path": "examples/metrics-monitoring/README.md", "patch": "@@ -0,0 +1,4 @@\n+# Metrics Monitoring\n+\n+## Continuous Batching Metrics in Transformers\n+", "additions": 4, "deletions": 0, "language": "Markdown" }, { "path": "examples/metrics-monitoring/continuous-batching-dashboard.json...
2025-05-22T15:43:48
nodejs/node
cf0e881b33c841d2f89a23be281e1aaf061a58a3
82b752a302f1bb1fb2e82baeabfb8627de0b159f
n-api: add generic finalizer callback Add `napi_add_finalizer()`, which provides the ability to attach data to an arbitrary object and be notified when that object is garbage- collected so as to have an opportunity to delete the data previously attached. This differs from `napi_wrap()` in that it does not use up the ...
[ { "path": "doc/api/n-api.md", "patch": "@@ -3238,6 +3238,11 @@ JavaScript functions from native code. One can either call a function\n like a regular JavaScript function call, or as a constructor\n function.\n \n+Any non-`NULL` data which is passed to this API via the `data` field of the\n+`napi_property_de...
2018-08-10T15:43:39
vercel/next.js
d7307cffb753e7151a3ec02d27a6d3e100a5cad4
ad4820243246306a1a2ab9344557b13f43f4f4cd
Fix turbo usage in tests (#44715)
[ { "path": ".github/actions/next-stats-action/package.json", "patch": "@@ -3,6 +3,7 @@\n \"main\": \"src/index.js\",\n \"dependencies\": {\n \"async-sema\": \"^3.1.0\",\n+ \"execa\": \"2.0.3\",\n \"fs-extra\": \"^8.1.0\",\n \"get-port\": \"^5.0.0\",\n \"glob\": \"^7.1.4\",", "addit...
2023-01-18T19:35:28
golang/go
4061d3463bb02def972e24aff173b0e5f98c0c3d
cf4e3e3d3b3a713ec4df7e995d5bf5caef045a09
syscall: rewrite handle inheritance test to use C rather than Powershell In CL 327210, we disabled this test on arm platforms, because the powershell shipped with those systems isn't native, which means it'd refuse to load native DLLs. This commit rewrites the test to simply not use Powershell, and instead compiles a ...
[ { "path": "src/syscall/syscall_windows_test.go", "patch": "@@ -10,7 +10,6 @@ import (\n \t\"os\"\n \t\"os/exec\"\n \t\"path/filepath\"\n-\t\"runtime\"\n \t\"strings\"\n \t\"syscall\"\n \t\"testing\"\n@@ -80,9 +79,6 @@ func TestTOKEN_ALL_ACCESS(t *testing.T) {\n func TestStdioAreInheritable(t *testing.T) {\n...
2021-06-14T23:55:50
huggingface/transformers
73286d8e294f8c56677e73e318a4605f773a6090
d95c864a254ae93c6b34d18b3a7e9ec36322549f
Fix HybridChunedCache & Llama4 (#38299) * Update cache_utils.py * Update cache_utils.py
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1967,7 +1967,8 @@ def __init__(\n else:\n self.sliding_window = config.sliding_window\n self.max_cache_len = max_cache_len\n- self._sliding_window_max_len = min(self.sliding_window, max_cache_len)\n+ # Slidi...
2025-05-22T15:25:51
nodejs/node
711445b4190da40ec4aba694a1e09a1ab8dc8a1e
0ade10df7946c40ef9b8d7284927f4cf1b9a408d
crypto: fix public key encryption internals Coincidentally, the old version works as well since the padding parameter is never null, but it is semantically incorrect. PR-URL: https://github.com/nodejs/node/pull/22780 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>...
[ { "path": "src/node_crypto.cc", "patch": "@@ -3887,7 +3887,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo<Value>& args) {\n bool r = Cipher<operation, EVP_PKEY_cipher_init, EVP_PKEY_cipher>(\n kbuf,\n klen,\n- args.Length() >= 3 && !args[2]->IsNull() ? *passphrase : nullptr,...
2018-09-09T19:54:55
vercel/next.js
6b7c69fa4d773d76730272158e2fe7fed12e03aa
cefb30b32bc05fcb46058a6e8b1ff545fb9ddf1d
Add proper error when app path switches static to dynamic (#44989)
[ { "path": "errors/app-static-to-dynamic-error.md", "patch": "@@ -0,0 +1,18 @@\n+# &#x60;app/&#x60; Static to Dynamic Error\n+\n+#### Why This Error Occurred\n+\n+Inside of one of your `app/` pages, the page was initially generated statically at build time and then during runtime either a fallback path or pa...
2023-01-18T18:24:35
electron/electron
fa8e158587de7c2887c92df0dd286a75a7cd83ca
2768b1ff643fccb7205c43892d4eb0c747ac81bd
mac: Fix dock progress bar doesn't show after hiding, fixes #658.
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -576,8 +576,11 @@ - (void)drawRect:(NSRect)dirtyRect {\n if (progress < 0) {\n [progress_indicator setHidden:YES];\n } else if (progress > 1) {\n+ [progress_indicator setHidden:NO];\n [progress_indicator setIndeterminate:YES];\n+ ...
2014-09-21T10:56:03
golang/go
cf4e3e3d3b3a713ec4df7e995d5bf5caef045a09
7841cb14d95cf64c29b865c8a761a9e00fbbb37c
reflect: explain why convertible or comparable types may still panic Conversions of slices to arrays may panic since the slice is too short. Comparibility of interfaces may panic since the underlying value is incomparable. This is a follow-up to CL 301652 Change-Id: Ia5d84a6e556a7b82c39add4be93ed7463e63cc8d Reviewed...
[ { "path": "src/reflect/type.go", "patch": "@@ -107,10 +107,14 @@ type Type interface {\n \n \t// ConvertibleTo reports whether a value of the type is convertible to type u.\n \t// Even if ConvertibleTo returns true, the conversion may still panic.\n+\t// For example, a slice of type []T is convertible to *[...
2021-06-12T19:25:12
nodejs/node
2c43da8347132e0850ce0514b5c3e5373664999a
93925353f8af7f6d5c99537a71f9a3fe9cf5f795
doc: add history for withFileTypes in fs.readdir[Sync]() PR-URL: https://github.com/nodejs/node/pull/22794 Fixes: https://github.com/nodejs/node/issues/22777 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/fs.md", "patch": "@@ -2400,6 +2400,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.\n <!-- YAML\n added: v0.1.8\n changes:\n+ - version: v10.10.0\n+ pr-url: https://github.com/nodejs/node/pull/22020\n+ description: New option `withFileTypes` was added.\n ...
2018-09-10T14:20:42
vercel/next.js
e4b3c0328238eabb22426658234ae71d265a93c8
416ec590898398f34ca018f471b583b4617cf957
Fix mdx test on Windows (vercel/turbo#3363)
[ { "path": "crates/turbopack/tests/node-file-trace.rs", "patch": "@@ -110,7 +110,11 @@ static ALLOC: turbo_malloc::TurboMalloc = turbo_malloc::TurboMalloc;\n #[case::mailgun(\"integration/mailgun.js\")]\n #[case::mariadb(\"integration/mariadb.js\")]\n #[case::memcached(\"integration/memcached.js\")]\n-#[case...
2023-01-18T17:27:04
golang/go
7841cb14d95cf64c29b865c8a761a9e00fbbb37c
8a5a6f46dc51597174d0044dcd3bdffa950ae65e
doc/go1.17: assorted fixes Change-Id: I64235ad920240de9e2414b9ee6f4cfc4006b2862 Reviewed-on: https://go-review.googlesource.com/c/go/+/327709 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.17.html", "patch": "@@ -59,7 +59,7 @@ <h2 id=\"language\">Changes to the language</h2>\n </ul>\n \n <p>\n- These enhancements were added to simplify writing code that conforms\n+ The package unsafe enhancements were added to simplify writing code that conforms\n to <code>unsafe.Pointe...
2021-06-13T23:00:28
huggingface/transformers
d95c864a254ae93c6b34d18b3a7e9ec36322549f
98958195147f6bfe45256f85b7309547afc705b7
🔴🔴🔴 [`Attention`] Refactor Attention Interface for Bart-based Models (#38108) * starting attn refactor for encoder decoder models via bart (eager + sdpa) * flash attention works, remove unnecessary code * flex attention support for bart!, gotta check if the renaming is not too aggressive * some comments * skip ...
[ { "path": "docs/source/en/model_doc/biogpt.md", "patch": "@@ -18,6 +18,7 @@ rendered properly in your Markdown viewer.\n \n <div class=\"flex flex-wrap space-x-1\">\n <img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\n+<img alt=\"FlashAttention...
2025-05-22T15:12:58
nodejs/node
93925353f8af7f6d5c99537a71f9a3fe9cf5f795
ed130d2e2c3422451915f89b73894b2abc822880
doc: `node debug` → `node inspect` in CLI docs PR-URL: https://github.com/nodejs/node/pull/22774 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Richard Lau...
[ { "path": "doc/api/cli.md", "patch": "@@ -12,13 +12,13 @@ To view this documentation as a manual page in a terminal, run `man node`.\n \n `node [options] [V8 options] [script.js | -e \"script\" | -] [--] [arguments]`\n \n-`node debug [script.js | -e \"script\" | <host>:<port>] …`\n+`node inspect [script.js ...
2018-09-09T14:57:37
electron/electron
2768b1ff643fccb7205c43892d4eb0c747ac81bd
b3770bc4074cc639e167333d8bcaa8102d06f476
Fix creating empty chromedriver archive.
[ { "path": "script/create-dist.py", "patch": "@@ -147,6 +147,10 @@ def copy_binaries():\n def copy_chromedriver():\n build = os.path.join(SOURCE_ROOT, 'script', 'build.py')\n execute([sys.executable, build, '-c', 'Release', '-t', 'copy_chromedriver'])\n+ binary = 'chromedriver'\n+ if TARGET_PLATFORM ==...
2014-09-20T15:24:10
vercel/next.js
b05c0bcdbd12398c06a4ca8647b7658462f0404a
9d679f570beb65ab82d13c086f1fcc9cc0461336
fix(prettier): format (vercel/turbo#3353) Fix prettier
[ { "path": "crates/turbopack/tests/node-file-trace/integration/mdx/example.mdx", "patch": "@@ -1,5 +1,5 @@\n-import {Chart} from './snowfall.jsx'\n-export const year = 2018\n+import { Chart } from \"./snowfall.jsx\";\n+export const year = 2018;\n \n # Last year’s snowfall\n ", "additions": 2, "deleti...
2023-01-18T01:45:16
golang/go
8a5a6f46dc51597174d0044dcd3bdffa950ae65e
9d13f8d43e88a349762c61aee84614ac83dab521
debug/elf: don't apply DWARF relocations for ET_EXEC binaries Some ET_EXEC binaries might have relocations for non-loadable sections like .debug_info. These relocations must not be applied, because: * They may be incorrect * The correct relocations were already applied at link time Binaries in Linux Kernel debug pack...
[ { "path": "src/debug/elf/file.go", "patch": "@@ -1164,6 +1164,13 @@ func (f *File) DWARF() (*dwarf.Data, error) {\n \t\t\tb = dbuf\n \t\t}\n \n+\t\tif f.Type == ET_EXEC {\n+\t\t\t// Do not apply relocations to DWARF sections for ET_EXEC binaries.\n+\t\t\t// Relocations should already be applied, and .rela s...
2021-06-11T05:44:00
huggingface/transformers
dfbee79ca3fde6411ec06628f1080a69e9f41092
1234683309cec4696ae99f8ff2686dafef7d8840
refine `transformers env` output (#38274) * refine `transformers env` output Signed-off-by: Matrix Yao <matrix.yao@intel.com> * fix style Signed-off-by: Matrix Yao <matrix.yao@intel.com> --------- Signed-off-by: Matrix Yao <matrix.yao@intel.com>
[ { "path": "src/transformers/commands/env.py", "patch": "@@ -32,6 +32,7 @@\n is_torch_available,\n is_torch_hpu_available,\n is_torch_npu_available,\n+ is_torch_xpu_available,\n )\n from . import BaseTransformersCLICommand\n \n@@ -89,15 +90,25 @@ def run(self):\n \n pt_version = \"not ...
2025-05-22T13:22:18
nodejs/node
1f5261b7c844ea17cf6235d2f1b33190a4f64db1
b36c581d5bd7e6087aab794af222e122e5a32f03
tools: fix doc tool behavior for version arrays Even though the doc tool supports version arrays in theory, it fails to sort them properly causing the tool to crash. PR-URL: https://github.com/nodejs/node/pull/22766 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mo...
[ { "path": "tools/doc/common.js", "patch": "@@ -43,4 +43,4 @@ function extractAndParseYAML(text) {\n return meta;\n }\n \n-module.exports = { isYAMLBlock, extractAndParseYAML };\n+module.exports = { arrify, isYAMLBlock, extractAndParseYAML };", "additions": 1, "deletions": 1, "language": "JavaS...
2018-09-08T09:40:05
electron/electron
8f44046f9aed3d4f8440de71d82b15076231a932
a717235212b7f7cac8bc9cc8b0ad28878846aa50
Fix chromedriver's version in archive.
[ { "path": "script/create-dist.py", "patch": "@@ -11,7 +11,7 @@\n from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, TARGET_PLATFORM, \\\n DIST_ARCH\n from lib.util import scoped_cwd, rm_rf, get_atom_shell_version, make_zip, \\\n- safe_mkdir, execute\n+ ...
2014-09-20T15:09:49
huggingface/transformers
1234683309cec4696ae99f8ff2686dafef7d8840
03a4c024dcc25b0668f11228ba6dd83b8d63655c
More typing in src/transformers/training_args.py (#38106) * Annotate `framework` in src/transformers/training_args.py Signed-off-by: cyy <cyyever@outlook.com> * Fix typing Signed-off-by: cyy <cyyever@outlook.com> * Revert framework change Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cy...
[ { "path": "src/transformers/training_args.py", "patch": "@@ -807,8 +807,8 @@ class TrainingArguments:\n \"gradient_checkpointing_kwargs\",\n \"lr_scheduler_kwargs\",\n ]\n-\n framework = \"pt\"\n+\n output_dir: Optional[str] = field(\n default=None,\n metadata={\n...
2025-05-22T11:14:33
vercel/next.js
3a9bfe60d228fc2fd8fe65b76d49a0d21df4ecc7
b04fc99e6ada9c4fe09165c6a924526057afa57a
Fix CSS imports being tracked multiple times (#44938) Currently the way our renderer injects CSS is to first track CSS imports on the module level, and then render these links on each layer. However, in a complex application it's possible that one CSS being imported in many modules, and in multiple layouts. This cause...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -49,7 +49,9 @@ async function createTreeCodeFromPath({\n \n async function createSubtreePropsFromSegmentPath(\n segments: string[]\n- ): Promise<string> {\n+ ): Promise<{\n+ treeCode: string\n+ }> {\n const ...
2023-01-17T18:36:00
golang/go
0fd20ed5b67a950c7085b20c36dbfd9a70d2bfda
6bbb0a9d4a086af04d8eb16e17d1b144622a86f5
reflect: use same conversion panic in reflect and runtime Consistently say "pointer to array", not "array pointer". Fixes #46743 Change-Id: I2388ec5c16f96e82a3a383b9b462b350686ddc5e Reviewed-on: https://go-review.googlesource.com/c/go/+/327870 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <i...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -4371,7 +4371,7 @@ func TestConvertPanic(t *testing.T) {\n \tif !v.Type().ConvertibleTo(pt) {\n \t\tt.Errorf(\"[]byte should be convertible to *[8]byte\")\n \t}\n-\tshouldPanic(\"reflect: cannot convert slice with length 4 to array pointer with length 8\", f...
2021-06-14T21:30:46
nodejs/node
b36c581d5bd7e6087aab794af222e122e5a32f03
39937938d705413ea438c9d4695953b5164557ef
module: accept Windows relative path Before this change, require('.\\test.js') failed while require('./test.js') succeeded. This changes _resolveLookupPaths so that both ways are accepted on Windows. Fixes: https://github.com/nodejs/node/issues/21918 PR-URL: https://github.com/nodejs/node/pull/22186 Reviewed-By: Phil...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -80,6 +80,8 @@ const {\n CHAR_9,\n } = require('internal/constants');\n \n+const isWindows = process.platform === 'win32';\n+\n function stat(filename) {\n filename = path.toNamespacedPath(filename);\n const cache = stat.cache;\n@@ -310,7 +3...
2018-08-08T02:58:06
huggingface/transformers
03a4c024dcc25b0668f11228ba6dd83b8d63655c
dcaf47dde547697166f20559ebb1cfb2b310db36
Fix tp error when torch distributed is already initialized (#38294) fix tp error
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -52,6 +52,7 @@ def initialize_tensor_parallelism(tp_plan, tp_size=None):\n \n # Detect the accelerator on the machine. If no accelerator is available, it returns CPU.\n device_type = torch._C._get_accelerator().type\n+ cur...
2025-05-22T10:34:05
vercel/next.js
b6d2b05d5efb8584657b52ff90a51624197e9fa1
b5267059e595ed4fc085ebb3edaeb0d1e6981834
Disable mdx parsing in turbotrace (vercel/turbo#3304) It's not necessary to enable `MDX` parsing in turbotrace, and there was a parsing error that caused the build to fail when I was trying to enable turbotrace in `verce/site`: https://vercel.com/vercel/vercel-site/7pFWUVMWVAv3jC44WD2nBnwrbJpM Co-authored-by: ko...
[ { "path": "crates/node-file-trace/src/lib.rs", "patch": "@@ -125,6 +125,11 @@ pub struct CommonArgs {\n #[cfg_attr(feature = \"cli\", clap(short, long))]\n #[cfg_attr(feature = \"node-api\", serde(default))]\n exact: bool,\n+\n+ /// Whether to enable mdx parsing while tracing dependencies\n+ ...
2023-01-17T17:15:06