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
aac5fb037719a39fbe6e5e8b2bc62bb5d3084519
690ca7ec2aa31c2897ad53cd7ddd998258944680
fixes paint toggling, for real tho hopefully
[ { "path": "atom/browser/osr_render_widget_host_view.cc", "patch": "@@ -431,11 +431,6 @@ void OffScreenRenderWidgetHostView::SendBeginFrame(base::TimeTicks frame_time,\n vsync_period, cc::BeginFrameArgs::NORMAL)));\n }\n \n-void OffScreenRenderWidgetHostView::SetPaintCallback...
2016-07-31T22:47:53
vercel/next.js
bc76784bcbe4debbf1fcbfbedaaccb11e53c3ef8
d60690e2bd799707256fa99d4ee0c24a3f372e4e
Update `swc_core` to `v0.79.59` (#54082) ### What? Update swc crates to https://github.com/swc-project/swc/commit/023042dfb9c941e95f2fc0e1cd9b245d0cc64aa5 ### Why? To apply https://github.com/swc-project/swc/pull/7813 ### How? Closes WEB-1396 Fixes #54054
[ { "path": "Cargo.lock", "patch": "@@ -539,9 +539,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.53.52\"\n+version = \"0.53.56\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"e03769a02fbae78c9eb429cec1089cd4ccf244f18cd3a616096245f6be37...
2023-08-16T13:07:57
nodejs/node
7484a3863e6d98bfef759bcae260e67637542fe2
d56f9a9b86b051c64709e80b6ec0e34198de4890
deps: V8: cherry-pick bba5f1f Original commit message: [api] Add API functions for constructing standalone BackingStores These are useful for the cases when an embedder works with backing stores without creating JS ArrayBuffer objects. Bug: v8:9380 Change-Id: I452bd911e7b20fb38568f18f9d15ea1a7ff...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.11',\n+ 'v8_embedder_string': '-node.12',\n \n ##### V8 defaults for Node.js #####\n...
2019-10-24T11:48:16
golang/go
ad5eaa8c4cd952df0d4894f11ee0158a9a33a0f3
17d7983b29ba633708a9d7b18f90ab5bc029502d
os/exec: make skipStdinCopyError a function instead of a variable This makes clearer that skipStdinCopyError is always defined and never overridden in tests. Secondarily, it may also help reduce init-time work and allow the linker and/or inliner to better optimize this package. (Noticed while prototyping #50436.) C...
[ { "path": "src/os/exec/exec.go", "patch": "@@ -230,10 +230,6 @@ func (c *Cmd) argv() []string {\n \treturn []string{c.Path}\n }\n \n-// skipStdinCopyError optionally specifies a function which reports\n-// whether the provided stdin copy error should be ignored.\n-var skipStdinCopyError func(error) bool\n-\...
2022-04-23T02:00:16
vercel/next.js
d60690e2bd799707256fa99d4ee0c24a3f372e4e
a6415c62979db59fecc49086de8d7d241670f0dd
Update Docker example to remove HOSTNAME (#54102) With the latest changes in stable Next.js setting HOSTNAME is not longer required for the image to function correctly 👍 Fixes #54093
[ { "path": "examples/with-docker/Dockerfile", "patch": "@@ -55,6 +55,5 @@ USER nextjs\n EXPOSE 3000\n \n ENV PORT 3000\n-ENV HOSTNAME localhost\n \n CMD [\"node\", \"server.js\"]", "additions": 0, "deletions": 1, "language": "Unknown" } ]
2023-08-16T10:08:38
electron/electron
1cd1c5e01c871a6bd75bddc12484d6017a03d149
0098d5bca7dc6a1d65ca221e87c4437a4d4a8ea4
fixes paint toggling
[ { "path": "atom/browser/osr_output_device.cc", "patch": "@@ -70,8 +70,9 @@ void OffScreenOutputDevice::SetActive(bool active) {\n return;\n active_ = active;\n \n- if (!active_ && !pending_damage_rect_.IsEmpty())\n- OnPaint(pending_damage_rect_);\n+ if (active_)\n+ OnPaint(gfx::Rect(0, 0, view...
2016-07-31T20:05:36
huggingface/transformers
1ed9eaec6c1a2cad640db8762865fb0e443804e9
8e663c73ece9d451a1b78c6da69e1efd6d1e1a6a
Fix: use `TokenizersBackend` for Olmo3 to preserve custom `pre_tokenizer` (#44294) fix: use TokenizersBackend for olmo3 to preserve custom pre_tokenizer GPT2Tokenizer.__init__ unconditionally overwrites the pre_tokenizer with a generic ByteLevel, discarding the custom Sequence pre_tokenizer defined in the model's tok...
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -233,7 +233,7 @@\n (\"nystromformer\", \"AlbertTokenizer\" if is_tokenizers_available() else None),\n (\"olmo\", \"GPTNeoXTokenizer\" if is_tokenizers_available() else None),\n (\"olmo2\", \"GPTNeoXTokenizer\...
2026-02-26T10:35:44
nodejs/node
d751952c48325563cbdcd7d263db9ba112f3acc9
f15559a8918edcc001c69e321eb71a6e75cc741c
deps: V8: cherry-pick 3e82c8d Original commit message: Fix check for V8_TARGET_OS_WIN macro On Windows with MSVC, the current code triggers a fatal error C1017 (invalid integer constant expression). Change-Id: I41c371a1d7909737052c03c830bb62c41154a192 Reviewed-on: https://chromium-review.googles...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.9',\n+ 'v8_embedder_string': '-node.10',\n \n ##### V8 defaults for Node.js #####\n ...
2019-10-21T13:43:41
electron/electron
0098d5bca7dc6a1d65ca221e87c4437a4d4a8ea4
35ee99265ebcc81dac65411e44bd446ae4df6745
Hide when not painting + cursor event fix
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -1322,6 +1322,8 @@ void WebContents::OnCursorChange(const content::WebCursor& cursor) {\n if (cursor.IsCustom()) {\n Emit(\"cursor-changed\", CursorTypeToString(info),\n gfx::Image::CreateFrom1xBitmap(info.custom_image),\n+ ...
2016-07-31T16:40:35
huggingface/transformers
8e663c73ece9d451a1b78c6da69e1efd6d1e1a6a
014cef86e9c2fb64083b143b6e7cc51ae35bbc72
Fix special token maps BC (#44281) fix
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1840,6 +1840,7 @@ def _from_pretrained(\n if key in kwargs and kwargs[key]:\n continue # User-provided kwargs take precedence\n if isinstance(value, dict) and key != \"extr...
2026-02-26T10:34:15
golang/go
17d7983b29ba633708a9d7b18f90ab5bc029502d
09ada1af8f54584e46deb0d643713393a9d83b10
time: fix quickcheck test to avoid wraparounds When we call time.Unix(s, ns), the internal representation is s + 62135596800, where 62135596800 is the number of seconds from Jan 1 1 to Jan 1 1970. If quickcheck generates numbers too close to 2^63, the addition can wraparound to make a very negative internal 64-bit v...
[ { "path": "src/time/time_test.go", "patch": "@@ -281,6 +281,8 @@ func TestTruncateRound(t *testing.T) {\n \tb1e9.SetInt64(1e9)\n \n \ttestOne := func(ti, tns, di int64) bool {\n+\t\tt.Helper()\n+\n \t\tt0 := Unix(ti, int64(tns)).UTC()\n \t\td := Duration(di)\n \t\tif d < 0 {\n@@ -367,6 +369,13 @@ func TestT...
2022-04-25T18:06:10
vercel/next.js
77acd164d33b52bb4a46184f2d0c3d1dcb76f164
61e1858241edc8d46cea7a9c61a0bb33a119e2c0
fix(47299): allow testing pages with metadata in jsdom test environment (#53578) ### 🧐 What's in there? This is another attempt to allow testing server-only code with Jest. ### 🧪 How to test? There's an integration tests which can be triggered with `pnpm testheadless server-only` Here is a more comprehensive set...
[ { "path": "packages/next/package.json", "patch": "@@ -242,7 +242,6 @@\n \"image-size\": \"1.0.0\",\n \"is-docker\": \"2.0.0\",\n \"is-wsl\": \"2.2.0\",\n- \"jest-docblock\": \"29.4.3\",\n \"jest-worker\": \"27.0.0-next.5\",\n \"json5\": \"2.2.3\",\n \"jsonwebtoken\": \"9.0.0\",", ...
2023-08-16T07:14:27
nodejs/node
f15559a8918edcc001c69e321eb71a6e75cc741c
d776cebbfb1e4e4e878076d0c5af4f099a9f9354
deps: V8: cherry-pick f2d92ec Original commit message: [base] Add missing include of <type_traits> The missing include causes compilation failures for node.js, see https://github.com/nodejs/node/pull/30020. It's not great to have includes in a file called "macros.h", but we define several functi...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.8',\n+ 'v8_embedder_string': '-node.9',\n \n ##### V8 defaults for Node.js #####\n "...
2019-10-18T15:56:48
huggingface/transformers
014cef86e9c2fb64083b143b6e7cc51ae35bbc72
b425734c2be5259849b1ce23e3787e7d97b63455
[`Modular`] Fix file type regression (#44283) fix modular
[ { "path": "utils/modular_model_converter.py", "patch": "@@ -522,7 +522,7 @@ def augmented_dependencies_for_class_node(\n \"image_processing.*_fast\",\n \"image_processing\",\n \"video_processing\",\n- \"feature-extraction\",\n+ \"feature_extraction\",\n )\n \n ", "additions": 1, "d...
2026-02-25T20:04:35
electron/electron
db671702df352bfc68c3b0bc2fcb9999c9bdfcea
a769996b8d381515f09fbc293e4e576f041e85aa
fix maximize restore issue caused by restore window size change
[ { "path": "atom/browser/native_window_views.h", "patch": "@@ -214,6 +214,16 @@ class NativeWindowViews : public NativeWindow,\n // fullscreen), so we restore it correctly.\n gfx::Rect last_normal_bounds_;\n \n+ // last_normal_bounds_ may or may not require update on WM_MOVE. When a window \n+ // is ma...
2016-07-31T13:49:54
golang/go
09ada1af8f54584e46deb0d643713393a9d83b10
e845750744b648b8b348bbcebe2ff85d4e6247c5
cmd/compile/internal/syntax: parser to accept ~x as unary expression Accept ~x as ordinary unary expression in the parser but recognize such expressions as invalid in the type checker. This change opens the door to recognizing complex type constraint literals such as `*E|~int` in `[P *E|~int]` and parse them correctl...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -827,7 +827,7 @@ func (p *parser) unaryExpr() Expr {\n \tswitch p.tok {\n \tcase _Operator, _Star:\n \t\tswitch p.op {\n-\t\tcase Mul, Add, Sub, Not, Xor:\n+\t\tcase Mul, Add, Sub, Not, Xor, Tilde:\n \t\t\tx := new(Operation)\n \t\t\tx.pos ...
2022-04-25T23:26:10
vercel/next.js
61e1858241edc8d46cea7a9c61a0bb33a119e2c0
42227559c65e33d83d82e0d7d7c053626243337b
chore(ci): small notes for the build steps (#54073) <!-- 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: ## For Contrib...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -145,6 +145,13 @@ jobs:\n - 'metal'\n \n target: 'x86_64-unknown-linux-gnu'\n+ # [NOTE] If you want to update / modify build steps, check these things:\n+ # - We use docker images to pin the glib...
2023-08-15T22:26:25
nodejs/node
d776cebbfb1e4e4e878076d0c5af4f099a9f9354
d0f2b1701e69997f062d0cb2de6cc7b43210c68f
deps: make v8.h compatible with VS2015 There is a bug in the most recent version of VS2015 that affects v8.h and therefore prevents compilation of addons. Refs: https://stackoverflow.com/q/38378693 PR-URL: https://github.com/nodejs/node/pull/30020 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.7',\n+ 'v8_embedder_string': '-node.8',\n \n ##### V8 defaults for Node.js #####\n "...
2019-11-01T07:39:18
huggingface/transformers
b425734c2be5259849b1ce23e3787e7d97b63455
11051368649236c2a7da0934ab27befaf3c4a84a
[auto_docstring] Improve typing parsing and add tests (#43748) * Fix tied weight keys sam2 video * add tests + fix parameter type parsing * nit less verbose * fix style * fix imports * debug * improve return section handling (use auto_docstring parsing/formatting methods) * fix import errors * improve how kwar...
[ { "path": "src/transformers/models/auto/image_processing_auto.py", "patch": "@@ -22,7 +22,6 @@\n from ...configuration_utils import PreTrainedConfig\n from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code\n from ...image_processing_utils import ImageProcessingMixin\n-f...
2026-02-25T18:42:38
golang/go
e845750744b648b8b348bbcebe2ff85d4e6247c5
a5d61be040ed20b5774bff1b6b578c6d393ab332
cmd/compile: fix the missing size for FuncInfoSym Change-Id: I46543e188bf25384e529a9d5a3095033ac618bbd Reviewed-on: https://go-review.googlesource.com/c/go/+/402057 Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian...
[ { "path": "src/cmd/internal/obj/objfile.go", "patch": "@@ -726,11 +726,13 @@ func genFuncInfoSyms(ctxt *Link) {\n \t\t}\n \n \t\to.Write(&b)\n+\t\tp := b.Bytes()\n \t\tisym := &LSym{\n \t\t\tType: objabi.SDATA, // for now, I don't think it matters\n \t\t\tPkgIdx: goobj.PkgIdxSelf,\n \t\t\tSymIdx: symidx,\...
2022-04-25T08:36:01
electron/electron
1d5a12613550bfc734e78a1fdccd695f129dcb4b
a769996b8d381515f09fbc293e4e576f041e85aa
Typo fix
[ { "path": "docs-translations/zh-CN/api/browser-window.md", "patch": "@@ -47,7 +47,7 @@ win.show();\n * `maximizable` Boolean - 窗口是否可以最大化. 在 Linux 上无效. 默认为 `true`.\n * `closable` Boolean - 窗口是否可以关闭. 在 Linux 上无效. 默认为 `true`.\n * `alwaysOnTop` Boolean - 窗口是否总是显示在其他窗口之前. 在 Linux 上无效. 默认为 `false`.\n- * `f...
2016-07-31T08:11:03
vercel/next.js
42227559c65e33d83d82e0d7d7c053626243337b
47e6b180f42374d9d0b7b0547594eb71fa81690e
fix: don't add forceConsistentCasingInFileNames to tsconfig when ts version >= 5.0 (#51564) Currently, Next.js enforces that `forceConsistentCasingInFileNames: true` is added to a user's `tsconfig.json`. This PR removes that behavior for CNA templates, and when the typescript version is >= 5.0.0, because since ts 5...
[ { "path": "packages/create-next-app/templates/app-tw/ts/tsconfig.json", "patch": "@@ -5,7 +5,6 @@\n \"allowJs\": true,\n \"skipLibCheck\": true,\n \"strict\": true,\n- \"forceConsistentCasingInFileNames\": true,\n \"noEmit\": true,\n \"esModuleInterop\": true,\n \"module\": \"esne...
2023-08-15T19:12:40
nodejs/node
d020a2bcc1e1555d97720583f41ce627c825b80b
4b16d8376765ef092edabbe29b1315a9013ccf5e
deps: V8: patch register-arm64.h Fixes a compilation issue on some platforms PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.coll...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.5',\n+ 'v8_embedder_string': '-node.6',\n \n ##### V8 defaults for Node.js #####\n "...
2019-05-22T15:33:02
huggingface/transformers
695ce98f5a8c0ee68454e2ccf67c9740d1c9b998
d33971c635dcb6e39c3daa3bb204f6d22a932c11
Use associative scan HOP mamba recurrentgemma (#43737) * use associative scan in mamba * use associative scan in recurrentgemma * add compile guards for hop * add compile guard for hop in mamba * style fix * add tests * check torch version * fix style * use is_tracing * add opt-out flag * make opt-out local ...
[ { "path": "src/transformers/models/falcon_mamba/configuration_falcon_mamba.py", "patch": "@@ -82,6 +82,11 @@ class FalconMambaConfig(PreTrainedConfig):\n use_falcon_mambapy (`bool`, *optional*, defaults to `False`):\n This argument corresponds to `use_mambapy` in MambaConfig.\n ...
2026-02-25T17:06:19
golang/go
a5d61be040ed20b5774bff1b6b578c6d393ab332
892cd0b63638ec856e6fef1bdaaa20a177695fea
net/http: add MaxBytesError Fixes #30715 Change-Id: Ia3712d248b6dc86abef71ccea6e705a571933d53 GitHub-Last-Rev: 6ae68402a5a7c57f7f18e945d48c69ba2b134078 GitHub-Pull-Request: golang/go#49359 Reviewed-on: https://go-review.googlesource.com/c/go/+/361397 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lan...
[ { "path": "api/next/30715.txt", "patch": "@@ -0,0 +1,3 @@\n+pkg net/http, type MaxBytesError struct #30715\n+pkg net/http, type MaxBytesError struct, Limit int64 #30715\n+pkg net/http, method (*MaxBytesError) Error() string #30715", "additions": 3, "deletions": 0, "language": "Plain Text" }, ...
2022-03-28T17:02:43
electron/electron
af80b9a7dfc146604b0a3144d274b44af2974540
015516497c31967fcbbc9baea42ebc08eb87e372
Fixes not being able to send UTF8 characters anymore
[ { "path": "atom/common/keyboard_util.cc", "patch": "@@ -159,7 +159,8 @@ ui::KeyboardCode KeyboardCodeFromKeyIdentifier(const std::string& s,\n return ui::VKEY_UNKNOWN;\n }\n } else {\n- LOG(WARNING) << \"Invalid accelerator token: \" << str;\n+ if (str.size() > 2)\n+ LOG(WARNING) << \...
2016-07-31T03:10:14
vercel/next.js
47e6b180f42374d9d0b7b0547594eb71fa81690e
36602e7fdd8c94bba817cde0ae2e3e138608a673
fix(next-swc): coerce mdxrs default options (#54068) ### What? wasm-bindgen's serde deserialization is more strict to not automatically coerce non-optionable default values for the mdx configurations. Since these are required options anyway, consolidate to construct default options. Closes WEB-1384
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -1135,9 +1135,9 @@ async function loadWasm(importPath = '', isCustomTurbopack: boolean) {\n },\n mdx: {\n compile: (src: string, options: any) =>\n- bindings.mdxCompile(src, options),\n+ bindings.m...
2023-08-15T18:19:16
huggingface/transformers
d33971c635dcb6e39c3daa3bb204f6d22a932c11
94e51ee367bae004230270f6612f2b13dfb1d11f
chore: fixes in `Trainer` class docs (`compute_loss` & `hyperparameter_search`) (#44268) * Fix docstring formatting in trainer.py Fix formatting issues in docstring for hyperparameter search function. * Fix typo in hyperparameters * Fix truncated doc for trainer's `compute_loss` Clarify the description of num_item...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -297,7 +297,7 @@ class Trainer:\n from a new instance of the model as given by this function.\n \n The function may have zero argument, or a single one containing the optuna/Ray Tune trial object, to\n- be able to choos...
2026-02-25T16:55:59
nodejs/node
c587bb7ddf7559c8c3d6a44d1c2bfadd9634402f
b55557bc437154cf2e84b6c8dccece9467d9a922
deps: V8: un-cherry-pick bd019bd Original commit message: [testrunner] delete ancient junit compatible format support Testrunner has ancient support for JUnit compatible XML output. This CL removes this old feature. R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org CC=​mach...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,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.0',\n+ 'v8_embedder_string': '-node.1',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-27T14:32:10
golang/go
892cd0b63638ec856e6fef1bdaaa20a177695fea
35f2aba2830483270249d4f34250e38af88bd33d
reflect: support Len and Cap on pointer-to-array Value Fixes #52411 Change-Id: I2fd13a453622992c52d49aade7cd058cfc8a77ca GitHub-Last-Rev: d5987c2ec817ebd01d9e1adb3bd2e75274dbbabd GitHub-Pull-Request: golang/go#52423 Reviewed-on: https://go-review.googlesource.com/c/go/+/400954 Reviewed-by: Keith Randall <khr@golang.o...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -7913,3 +7913,69 @@ func BenchmarkSliceCap(b *testing.B) {\n \t\tsinkAll.RawInt = sourceAll.SliceAny.Cap()\n \t}\n }\n+\n+func TestValue_Cap(t *testing.T) {\n+\ta := &[3]int{1, 2, 3}\n+\tv := ValueOf(a)\n+\tif v.Cap() != cap(a) {\n+\t\tt.Errorf(\"Cap = %d wa...
2022-04-25T05:21:35
electron/electron
94e52f07389fe11e262580691cb406fbfbf09d07
6486d80f87d4742e7d7af37cb9a76795fb3ca4af
Fixes not being able to send UTF8 characters anymore
[ { "path": "atom/common/keyboard_util.cc", "patch": "@@ -159,7 +159,8 @@ ui::KeyboardCode KeyboardCodeFromKeyIdentifier(const std::string& s,\n return ui::VKEY_UNKNOWN;\n }\n } else {\n- LOG(WARNING) << \"Invalid accelerator token: \" << str;\n+ if (str.size() > 2)\n+ LOG(WARNING) << \...
2016-07-31T03:10:14
vercel/next.js
36602e7fdd8c94bba817cde0ae2e3e138608a673
baef523fb08e1a7d588026ba784247ebcfd07740
Debug tracing: add updated modules and page to HMR span (#53698) This adds tags for `updatedModules` (an array of relative paths to changed modules that caused the hmr update) and `page` (the path to the updated page) to the `client-hmr-latency` event. Test Plan: Ran `next dev` in a test app, changed a source file, a...
[ { "path": "packages/next/src/client/dev/error-overlay/hot-dev-client.ts", "patch": "@@ -188,17 +188,17 @@ function handleErrors(errors: any) {\n \n let startLatency: any = undefined\n \n-function onBeforeFastRefresh(hasUpdates: any) {\n- if (hasUpdates) {\n+function onBeforeFastRefresh(updatedModules: stri...
2023-08-15T17:20:13
huggingface/transformers
94e51ee367bae004230270f6612f2b13dfb1d11f
a344fed057aa3c36f2014c35337ca8dbd3d757c5
fix(trainer): pass optim_args to SGD, Adagrad, and RMSprop optimizers (#44203) SGD, Adagrad, and RMSprop ignored optim_args from TrainingArguments, unlike AdamW variants which properly parse and apply them. This adds optim_args support so users can customize optimizer hyperparameters via --optim_args for these optimiz...
[ { "path": "src/transformers/trainer_optimizer.py", "patch": "@@ -314,17 +314,36 @@ def _get_adamw_anyprecision(ctx: OptimizerContext) -> tuple[Any, dict[str, Any]]\n \n def _get_sgd(ctx: OptimizerContext) -> tuple[Any, dict[str, Any]]:\n \"\"\"Get SGD optimizer.\"\"\"\n- return torch.optim.SGD, ctx.o...
2026-02-25T16:03:17
nodejs/node
1eee0b8bf8bba39b600fb16a9223e545e3bac2bc
632caddf2ca9b9c9c3a9834482fd25395e12075f
module: fix for empty object in InternalModuleReadJSON Fixes: https://github.com/nodejs/node/issues/30245 PR-URL: https://github.com/nodejs/node/pull/30256 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
[ { "path": "src/env.h", "patch": "@@ -217,6 +217,7 @@ constexpr size_t kFsStatsBufferLength =\n V(done_string, \"done\") \\\n V(duration_string, \"duration\") \\\n V(emit_warning_string, \"emitWarning\")...
2019-11-05T00:40:11
golang/go
35f2aba2830483270249d4f34250e38af88bd33d
22a00f2b5c56211427530da4bfe0bac1a06fdf7c
os: skip TestRemoveAllRace on dragonfly This test occasionally fails on the dragonfly-amd64 builder with "directory not empty". Since that is the only platform on which we observe these failures, and since the test had a different (and also invalid-looking) failure mode prior to this one (in #50716), we suspect that i...
[ { "path": "src/os/os_test.go", "patch": "@@ -2429,6 +2429,9 @@ func TestRemoveAllRace(t *testing.T) {\n \t\t// like it does on Unix.\n \t\tt.Skip(\"skipping on windows\")\n \t}\n+\tif runtime.GOOS == \"dragonfly\" {\n+\t\ttestenv.SkipFlaky(t, 52301)\n+\t}\n \n \tn := runtime.GOMAXPROCS(16)\n \tdefer runtime...
2022-04-25T15:14:48
huggingface/transformers
a344fed057aa3c36f2014c35337ca8dbd3d757c5
c58e711a8c688d5a154f6dbbfae54da2f31328bb
fix(utils): Make torch_compilable_check compatible with torch.export strict mode (#44266) fix: Make torch_compilable_check support torch.export strict mode
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -1444,7 +1444,9 @@ def msg_callable():\n if isinstance(cond, torch.Tensor):\n torch._check_tensor_all_with(error_type, cond, msg_callable)\n else:\n- torch._check_with(error_type, cond, msg_callable)\n+ if not con...
2026-02-25T15:39:38
vercel/next.js
baef523fb08e1a7d588026ba784247ebcfd07740
cb432eb42d31313aacf9301a4bdf1a80173df329
[Docs] fix missing `'` in data-fetching/fetching-caching-and-revalidating (#54058) In https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#opting-out-of-data-caching a single quote (`'`) is missing. ![CleanShot 2023-08-15 at 17 08 58](https://github.com/vercel/next.js/...
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx", "patch": "@@ -240,7 +240,7 @@ If an error is thrown while attempting to revalidate data, the last successfully\n \n `fetch` requests are **not** cached if:\n \n-- The `cache: 'no-store` is added t...
2023-08-15T14:12:56
nodejs/node
96db5a271c859eabbf81565e4ce82a93fd037fb9
6072e01c938e22498cd46c3d8a2c21a16a632456
test: deflake test-tls-close-notify.js This test occasionally fails on macOS with the following error ``` events.js:187 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) Emitted 'error' event on TLSSocket instance at: at...
[ { "path": "test/parallel/test-tls-close-notify.js", "patch": "@@ -35,19 +35,18 @@ const server = tls.createServer({\n key: fixtures.readKey('agent1-key.pem'),\n cert: fixtures.readKey('agent1-cert.pem')\n }, function(c) {\n- // Send close-notify without shutting down TCP socket\n- const req = new Shut...
2019-11-01T06:08:00
huggingface/transformers
c58e711a8c688d5a154f6dbbfae54da2f31328bb
b71de73468429eb02da18caa50e9b5200400a4ed
Fix TypeError in convert_rope_params_to_dict when ignore_keys is a list (#44272) Fix TypeError when ignore_keys_at_rope_validation is a list In `convert_rope_params_to_dict`, the `ignore_keys_at_rope_validation` parameter is expected to be a set but can arrive as a list when model configs are deserialized from JSON (...
[ { "path": "src/transformers/modeling_rope_utils.py", "patch": "@@ -646,7 +646,7 @@ def convert_rope_params_to_dict(self, ignore_keys_at_rope_validation: set | None\n if partial_rotary_factor is not None:\n self.rope_parameters.setdefault(\"partial_rotary_factor\", partial_rotary_factor)\...
2026-02-25T14:37:49
golang/go
22a00f2b5c56211427530da4bfe0bac1a06fdf7c
415e3fd8a6e62d7e9cf7d0c995518179dc0b7723
os/exec: in TestImplicitPWD, explicitly request the logical path Fixes #52537 Change-Id: I70959881a31f425e940e7adf86b36be2596aafb7 Reviewed-on: https://go-review.googlesource.com/c/go/+/402158 Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot...
[ { "path": "src/os/exec/exec_posix_test.go", "patch": "@@ -129,7 +129,7 @@ func TestImplicitPWD(t *testing.T) {\n \t\t\t// (We could perhaps refactor helperCommand to use a flag or switch on the\n \t\t\t// value of argv[0] instead, but that doesn't seem worth the trouble at\n \t\t\t// the moment.)\n-\t\t\tcm...
2022-04-25T14:23:45
vercel/next.js
cb432eb42d31313aacf9301a4bdf1a80173df329
ec6d2c7825f2d8742ea1bb5743e819cb48913e9c
Fix scroll bailout logic when targeting fixed/sticky elements (#53873) ### What? When navigating to a new page with fixed or sticky positioned element as the first element, we were bailing on scroll to top behavior, which often isn't expected. ### Why? Currently, we decide to bail on scroll to top behavior on navigat...
[ { "path": "packages/next/src/client/components/layout-router.tsx", "patch": "@@ -116,9 +116,22 @@ const rectProperties = [\n 'y',\n ] as const\n /**\n- * Check if a HTMLElement is hidden.\n+ * Check if a HTMLElement is hidden or fixed/sticky position\n */\n-function elementCanScroll(element: HTMLElement)...
2023-08-15T13:31:39
nodejs/node
115792dfde436354c82f38361cbff75ad226b8d0
99e874e545b7c69bbd22c93b7546037290a727d3
dgram: remove listeners on bind error This avoids piling up `'listening'` event listeners if `.bind()` fails repeatedly. Fixes: https://github.com/nodejs/node/issues/30209 PR-URL: https://github.com/nodejs/node/pull/30210 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Re...
[ { "path": "lib/dgram.js", "patch": "@@ -211,8 +211,21 @@ Socket.prototype.bind = function(port_, address_ /* , callback */) {\n \n state.bindState = BIND_STATE_BINDING;\n \n- if (arguments.length && typeof arguments[arguments.length - 1] === 'function')\n- this.once('listening', arguments[arguments.le...
2019-11-01T18:50:40
golang/go
415e3fd8a6e62d7e9cf7d0c995518179dc0b7723
60178e6240d6d0e52ca0556fcab29a1d3effef4d
slices: use !{{Less}} instead of {{GreaterOrEqual}} In CL 371574 PatchSet 18, we replaced all !{{Less}} with {{GreaterOrEqual}} to fix a problem(handle NaNs when sorting float64 slice) in exp/slices. We don't actually need this change, because we don't guarantee that the slice will be sorted eventually if there are N...
[ { "path": "src/sort/gen_sort_variants.go", "patch": "@@ -84,9 +84,6 @@ func main() {\n \t\t\tExtraArg: \"\",\n \t\t\tDataType: \"[]E\",\n \t\t\tFuncs: template.FuncMap{\n-\t\t\t\t\"GreaterOrEqual\": func(name, i, j string) string {\n-\t\t\t\t\treturn fmt.Sprintf(\"(%s[%s] >= %s[%s])\", name, i, name, j)...
2022-04-15T07:45:17
huggingface/transformers
b71de73468429eb02da18caa50e9b5200400a4ed
05151523e0bca7f7d2bb56a2c84e81049ef41cb6
Fix generation integration tests (#44225) * check this first * fix some of the failing tests * oh it was working, revert * fix the rest * fix test fetcher now * oh skip also this one, annoying test * delete * comments * typo
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -178,14 +178,13 @@ def __init__(\n # avoid unnecessary warnings that min_length is larger than max_new_tokens\n # remove the `MinLengthLogitsProcessor` if exists (NOTE: no need to check for `MinNewTokensLogitsProces...
2026-02-25T09:19:38
vercel/next.js
c9fef184fddfa78332325ea9aed4ead1506a971a
e02397d26473ac41a3d6dd6a396769b584dd0e49
Revert "Move USER and remove redundant --chown from Dockerfile (#53441)" (#54046) This reverts commit 39c06ae95ecb8ae503ecb0b314d2089460b5d7e8. Based on https://github.com/vercel/next.js/pull/53441#pullrequestreview-1578047015 <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure yo...
[ { "path": "examples/with-docker/Dockerfile", "patch": "@@ -43,14 +43,14 @@ ENV NODE_ENV production\n RUN addgroup --system --gid 1001 nodejs\n RUN adduser --system --uid 1001 nextjs\n \n-USER nextjs\n-\n COPY --from=builder /app/public ./public\n \n # Automatically leverage output traces to reduce image siz...
2023-08-15T08:37:17
electron/electron
ab69ae07b70180547e0b9ef38e66254facaf118e
34f33c3b45865a4321950ede3403170f82dbaebd
:memo: Add debugging instructions for macOS I already wrote up debugging instructions for Windows, but never got around to writing them for macOS - until now! This adds a very basic introduction to LLDB from the command line, which should empower people to figure out what’s happening inside Electron when they call an ...
[ { "path": "docs/README.md", "patch": "@@ -93,5 +93,6 @@ an issue:\n * [Build Instructions (macOS)](development/build-instructions-osx.md)\n * [Build Instructions (Windows)](development/build-instructions-windows.md)\n * [Build Instructions (Linux)](development/build-instructions-linux.md)\n-* [Debug Instruc...
2016-07-28T19:54:03
nodejs/node
99e874e545b7c69bbd22c93b7546037290a727d3
d4b2cc7ead4ffdbe8091c7cb0e6a621be712a79b
dgram: reset bind state before emitting error This was previously done inconsistently, sometimes before, sometimes after emitting the event. PR-URL: https://github.com/nodejs/node/pull/30210 Fixes: https://github.com/nodejs/node/issues/30209 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cj...
[ { "path": "lib/dgram.js", "patch": "@@ -240,8 +240,8 @@ Socket.prototype.bind = function(port_, address_ /* , callback */) {\n }, (err) => {\n // Callback to handle error.\n const ex = errnoException(err, 'open');\n- this.emit('error', ex);\n state.bindState = BIND_STATE...
2019-11-01T18:50:16
huggingface/transformers
f2ba01971f37a13ec7ed5b05e9a8cd6cb01e2274
0133a75cd28b3a481e3d4b94fc5cb89f01fbbefb
[docs] trainer part 1 (#44185) * trainer part 1 * feedback * fix title * fix title
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -142,14 +142,26 @@\n - isExpanded: false\n sections:\n - local: trainer\n- title: Trainer\n+ title: Trainer overview\n - local: training\n title: Fine-tuning\n+ title: Get started\n+ - isExpanded: false\n+ sections:\n...
2026-02-24T21:18:37
golang/go
8619d3b2ec5d23d39acb4968ce7938230e0728ad
12763d141d9eb83b401e847e2ba91704b8cbb32e
runtime: fix stack-move sensitivity in some tests There are a few tests of the scheduler run queue API that allocate a local []g and test using those G's. However, the run queue API frequently converts between *g and guintptr, which is safe for "real" Gs because they're heap-allocated and hence don't move, but if thes...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -85,6 +85,7 @@ func GCMask(x any) (ret []byte) {\n func RunSchedLocalQueueTest() {\n \t_p_ := new(p)\n \tgs := make([]g, len(_p_.runq))\n+\tescape(gs) // Ensure gs doesn't move, since we use guintptrs\n \tfor i := 0; i < len(_p_.runq); i++ {\n \t\tif g, _...
2022-04-25T16:25:59
vercel/next.js
e02397d26473ac41a3d6dd6a396769b584dd0e49
210053b151d6595588f801830e713fec470428f2
fix: pages not visible in dev when named `children` (#54007) `getEntryKey` had some logic to remove `children` if it was part of the entry (originally it was intended to fix an issue with parallel slots that were used in place of a page, but wasn't working as intended). However, this breaks pages that are named `child...
[ { "path": "packages/next/src/server/dev/on-demand-entry-handler.ts", "patch": "@@ -100,7 +100,10 @@ export function getEntryKey(\n ) {\n // TODO: handle the /children slot better\n // this is a quick hack to handle when children is provided as children/page instead of /page\n- return `${compilerType}@$...
2023-08-15T03:50:37
nodejs/node
d26a74dca0d04a827140a33a43c38a55f12c7296
0673dfc0d8944a37e17fbaa683022f4b9e035577
http,async_hooks: keep resource object alive from socket If `asyncReset()` is used to specify an alternative resource object to mark a re-used socket in the HTTP Agent implementation, store that object and keep it alive, because domains rely on GC tracking for resource objects to manage their own lifetimes, and previo...
[ { "path": "lib/_http_agent.js", "patch": "@@ -44,10 +44,18 @@ const {\n // ClientRequest.onSocket(). The Agent is now *strictly*\n // concerned with managing a connection pool.\n \n+const kReusedHandle = Symbol('kReusedHandle');\n class ReusedHandle {\n constructor(type, handle) {\n this.type = type;\...
2019-10-31T14:48:16
golang/go
94f25ec94920beee5fb2dd4c0cbf4cbff28f14e6
6b1d9aefa8fce9f9c83f46193bec43b9b70068ce
debug/pe: fix off by one error in valid symbol index test Fix an off-by-one error in COFFSymbolReadSectionDefAux, specifically the code that tests whether a symbol index is valid. Fixes #52525. Change-Id: I1b6e5dacfd99249c694bef5ae606e90fdb2ef521 Reviewed-on: https://go-review.googlesource.com/c/go/+/402156 Run-TryB...
[ { "path": "src/debug/pe/symbol.go", "patch": "@@ -136,10 +136,9 @@ const (\n // auxiliary symbols: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#auxiliary-symbol-records\n // COMDAT sections: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#comdat-sections-object-only\n // aux...
2022-04-25T15:22:10
vercel/next.js
210053b151d6595588f801830e713fec470428f2
88b8d15f41f894011cf33af0b1f4a3fb24aed46b
fix(ci): deploy examples (#54024) Deploy all examples for each release (canary or stable, but not PRs). Right now we only have one example that we deploy so we don't need to determine which ones changed.
[ { "path": "scripts/deploy-examples.sh", "patch": "@@ -1,7 +1,10 @@\n #!/usr/bin/env bash\n set -euo pipefail\n \n-CHANGED_EXAMPLES=$(node scripts/run-for-change.js --type deploy-examples --listChangedDirectories)\n+#CHANGED_EXAMPLES=$(node scripts/run-for-change.js --type deploy-examples --listChangedDirect...
2023-08-15T03:23:57
electron/electron
e428d5db4f994901a4afe6b809fc2624eacd9ec5
ea6e6dab8c45eff0cb061f0cbc2c068814de3418
docs: fix argument types
[ { "path": "docs/api/browser-window.md", "patch": "@@ -627,7 +627,7 @@ Returns a boolean, whether the window is in fullscreen mode.\n \n #### `win.setAspectRatio(aspectRatio[, extraSize])` _macOS_\n \n-* `aspectRatio` The aspect ratio to maintain for some portion of the\n+* `aspectRatio` Float - The aspect r...
2016-07-29T09:53:01
huggingface/transformers
0133a75cd28b3a481e3d4b94fc5cb89f01fbbefb
0ff46c9015474ec2da5e364273bd393d8b5176e0
🚨 More V5 pipeline cleanup (#43325) * Rename the feature extraction pipelines and remove question-answering * make style * Remove more refs to the question-answering pipelines * Remove more refs to the question-answering pipelines * More migration guide * make fix-repo * Correct the name imports in init.py * C...
[ { "path": "MIGRATION_GUIDE_V5.md", "patch": "@@ -600,9 +600,11 @@ Linked PRs:\n \n ## Pipelines\n \n-`Text2TextGenerationPipeline`, as well as the related `SummarizationPipeline` and `TranslationPipeline`, were deprecated and will now be removed.\n-`pipeline` classes are intended as a high-level beginner-fr...
2026-02-24T17:22:39
nodejs/node
0673dfc0d8944a37e17fbaa683022f4b9e035577
b6201abacf36cc49500647f25b604d2216c1d006
tools: pull xcode_emulation.py from node-gyp PR-URL: https://github.com/nodejs/node/pull/30272 Fixes: https://github.com/nodejs/node/issues/30129 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Daniel Bevenius ...
[ { "path": "tools/gyp/pylib/gyp/mac_tool.py", "patch": "@@ -24,6 +24,8 @@\n import sys\n import tempfile\n \n+PY3 = bytes != str\n+\n \n def main(args):\n executor = MacTool()\n@@ -263,6 +265,8 @@ def ExecFilterLibtool(self, *cmd_list):\n env['ZERO_AR_DATE'] = '1'\n libtoolout = subprocess.Popen(cm...
2019-11-05T19:20:04
golang/go
6b1d9aefa8fce9f9c83f46193bec43b9b70068ce
8140a605feee9058e28195fcb047d3f1906e77e5
crypto/ed25519: test fixup Fix up TestEd25519Vectors to download files into its own temporary mod cache, as opposed relying on whatever GOPATH or GOMODCACHE setting is in effect when the test is run. Change-Id: I523f1862f5874b0635a6c0fa83d35a6cfac6073b Reviewed-on: https://go-review.googlesource.com/c/go/+/402154 Rev...
[ { "path": "src/crypto/ed25519/ed25519vectors_test.go", "patch": "@@ -74,11 +74,22 @@ func TestEd25519Vectors(t *testing.T) {\n func downloadEd25519Vectors(t *testing.T) []byte {\n \ttestenv.MustHaveExternalNetwork(t)\n \n+\t// Create a temp dir and modcache subdir.\n+\td := t.TempDir()\n+\t// Create a spot ...
2022-04-25T14:27:34
vercel/next.js
c1fa78bf6c1b737f9337bda37711433673047d31
c5fb04663a2f232e336db457ded4e985177105a0
fix(next/image): empty blur image when animated (#54028) Partial fix for #54012: do not generate a blur image in the image loader when the image is detected to be animated, rather than returning the *entire* animated image as the blur image.
[ { "path": "docs/02-app/02-api-reference/01-components/image.mdx", "patch": "@@ -243,7 +243,7 @@ placeholder = 'empty' // \"empty\" | \"blur\" | \"data:image/...\"\n \n A placeholder to use while the image is loading. Possible values are `blur`, `empty`, or `data:image/...`. Defaults to `empty`.\n \n-When `b...
2023-08-15T02:17:40
huggingface/transformers
69fd225a38c5eda95bf7b37a27e6f44aa77e34a7
5dd090d7d5814a785864fc171df0e901ab8eb153
Enable mxfp4 model on CPU (#43512) * enable mxfp4 on CPU Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * test mxfp4 Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * revert error change Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix mxfp4 device check Signed-off-by: jiqing-feng <jiqing.feng@in...
[ { "path": "src/transformers/integrations/hub_kernels.py", "patch": "@@ -158,6 +158,12 @@ def use_kernel_func_from_hub(func_name: str):\n layer_name=\"MegaBlocksMoeMLP\",\n )\n },\n+ \"cpu\": {\n+ Mode.INFERENCE: LayerRepository(\n+ ...
2026-02-24T15:22:00
nodejs/node
3b124e0a7342ebbeb09a922586f8291d88cadc0e
f734ba9d6f0feb785c9154ddb99ae4cd3a7bc77f
tools: make doctool work if no internet available Allow doctool to fallback to use local files if not building a release build. PR-URL: https://github.com/nodejs/node/pull/30214 Fixes: https://github.com/nodejs/node/issues/29918 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed...
[ { "path": "tools/doc/versions.js", "patch": "@@ -1,21 +1,33 @@\n 'use strict';\n \n+const { readFileSync } = require('fs');\n+const path = require('path');\n+const srcRoot = path.join(__dirname, '..', '..');\n+\n let _versions;\n \n+const isRelease = () => {\n+ const re = /#define NODE_VERSION_IS_RELEASE 0...
2019-11-02T07:48:47
golang/go
8140a605feee9058e28195fcb047d3f1906e77e5
96c8cc7fea94dca8c9e23d9653157e960f2ff472
go/types, types2: add loong64 to gcArchSizes Values are taken from cmd/internal/sys/arch.go. Also fix some incorrect alphabetical sorting to put arm > amd. Updates #46229 Fixes #52495 Change-Id: If7d2c675238093692060358003915f1649792cf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/401576 Run-TryBot: Robert...
[ { "path": "src/cmd/compile/internal/types2/sizes.go", "patch": "@@ -166,10 +166,11 @@ func (s *StdSizes) Sizeof(T Type) int64 {\n // common architecture word sizes and alignments\n var gcArchSizes = map[string]*StdSizes{\n \t\"386\": {4, 4},\n-\t\"arm\": {4, 4},\n-\t\"arm64\": {8, 8},\n \t\"amd...
2022-04-22T15:47:11
vercel/next.js
380c17f75fd628ff8dfd734b4cdc50039bb94a6a
4d0aaafdef95abb7db9b95a01733ba34090a4f78
ci(next-swc): print glibc version when build (#54026) <!-- 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: ## For Contr...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -159,7 +159,8 @@ jobs:\n npm i -g \"@napi-rs/cli@${NAPI_CLI_VERSION}\" \"turbo@${TURBO_VERSION}\" && corepack enable && pnpm -v && node -v &&\n unset CC_x86_64_unknown_linux_gnu && unset CC &&\n turbo ...
2023-08-14T23:03:41
huggingface/transformers
5dd090d7d5814a785864fc171df0e901ab8eb153
45b62bcd18242af01aa2aef1eccdc98329ce5d87
Fix image processors `from_dict` backward compatibility with old remote code (#44245) * Improve bc with remote code in image_processing_base * add warning and fancy reversed loop on kwargs
[ { "path": "src/transformers/image_processing_base.py", "patch": "@@ -369,10 +369,18 @@ def from_dict(cls, image_processor_dict: dict[str, Any], **kwargs):\n image_processor_dict.update({k: v for k, v in kwargs.items() if k in cls.valid_kwargs.__annotations__})\n image_processor = cls(**image...
2026-02-24T15:17:37
electron/electron
5982e3a75ebc1578e60729d8ced873c65637aa11
bd2ce5327c4c3d295832c2cdd8a8a6ee9b1ab0ff
Fix typo in comment
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -743,7 +743,7 @@ bool WebContents::OnMessageReceived(const IPC::Message& message) {\n }\n \n // There are three ways of destroying a webContents:\n-// 1. call webContents.destory();\n+// 1. call webContents.destroy();\n // 2. garbage collec...
2016-07-28T22:48:01
golang/go
96c8cc7fea94dca8c9e23d9653157e960f2ff472
e6dfdbd11d5dcc9f918150552f50ca6cd524b89b
runtime: add ABIInternal to strhash and memhash on riscv64 This CL fixes regression of strhash and memhash on riscv64 Change-Id: Icc10431a8199c8b1eb7b440cb42be4e53420e171 Reviewed-on: https://go-review.googlesource.com/c/go/+/362134 Run-TryBot: mzh <mzh@golangcn.org> TryBot-Result: Gopher Robot <gobot@golang.org> Rev...
[ { "path": "src/runtime/asm_riscv64.s", "patch": "@@ -213,14 +213,14 @@ TEXT runtime·morestack_noctxt(SB),NOSPLIT|NOFRAME,$0-0\n \tJMP\truntime·morestack(SB)\n \n // AES hashing not implemented for riscv64\n-TEXT runtime·memhash(SB),NOSPLIT|NOFRAME,$0-32\n-\tJMP\truntime·memhashFallback(SB)\n-TEXT runtime·st...
2021-11-07T13:37:25
nodejs/node
973f324463a91721cc8a1158a5ab10ad0dd69019
f17e414dc4b5d80dd5b5c7ee7107659ec5ebeb1a
child_process,cluster: allow using V8 serialization API Add an `serialization` option that allows child process IPC to use the (typically more powerful) V8 serialization API. Fixes: https://github.com/nodejs/node/issues/10965 PR-URL: https://github.com/nodejs/node/pull/30162 Reviewed-By: Colin Ihrig <cjihrig@gmail.c...
[ { "path": "benchmark/cluster/echo.js", "patch": "@@ -7,16 +7,25 @@ if (cluster.isMaster) {\n workers: [1],\n payload: ['string', 'object'],\n sendsPerBroadcast: [1, 10],\n+ serialization: ['json', 'advanced'],\n n: [1e5]\n });\n \n- function main({ n, workers, sendsPerBroadcast, payloa...
2019-10-29T14:15:36
huggingface/transformers
45b62bcd18242af01aa2aef1eccdc98329ce5d87
d4c50c5dee9296a3a360129cd57c1c5c352ce437
Fix local dataset loading priority in run_image_classification_no_tra… (#44199) * Fix local dataset loading priority in run_image_classification_no_trainer.py * Apply ruff formatting * Gitignore File Removed * Space Removed
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -291,8 +291,9 @@ def main():\n \n # In distributed training, the load_dataset function guarantees that only one local process can concurrently\n # download the dataset.\n- if args.dataset_name i...
2026-02-24T15:09:21
electron/electron
7dc95671cda1b35fdf28fe3b1d051b23a0196a85
675a47b42c1ce86995b93ae2a85f1c0fc6b083cc
Tweak unknown platform error message
[ { "path": "npm/install.js", "patch": "@@ -29,7 +29,7 @@ var paths = {\n win32: 'dist/electron.exe'\n }\n \n-if (!paths[platform]) throw new Error('Unknown platform: ' + platform)\n+if (!paths[platform]) throw new Error('Electron builds are not available on platform: ' + platform)\n \n if (installedVersion...
2016-07-28T20:47:03
golang/go
e6dfdbd11d5dcc9f918150552f50ca6cd524b89b
9717e8f80f973e747a6c6e4a938c7f2a091a9b50
os: use a lower file count for TestOpenFileLimit on openbsd OpenBSD has a default soft limit of 512 and hard limit of 1024 - as such, attempting to open 1200 files is always going to fail unless the defaults have been changed. On this platform use 768 instead such that it passes without requiring customisation. Fixes...
[ { "path": "src/os/rlimit_test.go", "patch": "@@ -11,18 +11,21 @@ import (\n )\n \n func TestOpenFileLimit(t *testing.T) {\n-\tif runtime.GOOS == \"openbsd\" && (runtime.GOARCH == \"arm\" || runtime.GOARCH == \"arm64\" || runtime.GOARCH == \"mips64\") {\n-\t\tt.Skip(\"broken on openbsd/arm, openbsd/arm64, op...
2022-04-21T17:30:42
nodejs/node
237be2ed9e25e4d56deaf3935be0c217913e5a75
afd29c9502449121aacba37b253dc39e159aae03
encoding: make TextDecoder handle BOM correctly Do not accept the BOM if it comes from a different encoding, and only discard the BOM after it has actually been read (including when it is spread over multiple chunks in streaming mode). Fixes: https://github.com/nodejs/node/issues/25315 PR-URL: https://github.com/nod...
[ { "path": "lib/internal/encoding.js", "patch": "@@ -484,25 +484,22 @@ function makeTextDecoderJS() {\n this[kFlags] |= CONVERTER_FLAGS_FLUSH;\n }\n \n- if (!this[kBOMSeen] && !(this[kFlags] & CONVERTER_FLAGS_IGNORE_BOM)) {\n- if (this[kEncoding] === 'utf-8') {\n- if (input...
2019-10-26T14:27:51
huggingface/transformers
49067bc9ddb17e7e97aa82f4e9327f750add0fc4
f56522d79e70e19eebad7eb58b651d538ae9330c
Add Four Over Six quantization integration (#43970) * Add fouroversix integration and docs * Small fix * Update quantized modules outside of FourOverSixQuantize * Delete high-precision parameters during conversion and before weight loading * Update year Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.n...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -77,6 +77,9 @@ RUN python3 -m pip uninstall -y flash-attn\n # this line must be added in order for python to be aware of transformers.\n RUN cd transformers && python3 setup.py develop\n \n+# Add fouroversix for quantization te...
2026-02-24T14:29:49
rust-lang/rust
df529eb8cc6182a1e2bf0d80be7426d68c6d071e
e1be06240d2be922d7cd20226ebb9b6d0051d311
fix: `ptr_as_ptr` suggests wrongly with turbo fish
[ { "path": "clippy_lints/src/casts/ptr_as_ptr.rs", "patch": "@@ -4,10 +4,9 @@ use clippy_utils::source::snippet_with_applicability;\n use clippy_utils::sugg::Sugg;\n use rustc_errors::Applicability;\n use rustc_hir::{Expr, ExprKind, Mutability, QPath, TyKind};\n-use rustc_hir_pretty::qpath_to_string;\n use r...
2025-07-16T14:56:49
electron/electron
97b153fce658023b1c71291539d847cf9b7dab1a
c00dfcdd6aa143caa5b5bfe9b8f6b6cf6cc22fb5
fix for offscreen and added khronos
[ { "path": "brightray/brightray.gyp", "patch": "@@ -29,6 +29,7 @@\n '<(libchromiumcontent_src_dir)/third_party/skia/include/config',\n '<(libchromiumcontent_src_dir)/third_party/icu/source/common',\n '<(libchromiumcontent_src_dir)/third_party/mojo/src',\n+ '<(libchromiu...
2016-07-28T00:11:57
golang/go
9717e8f80f973e747a6c6e4a938c7f2a091a9b50
7c680974c66ca23f837cb4bee5587df8b05418c7
runtime: support for debugger function calls on linux/arm64 This CL adds support for debugger function calls on linux arm64 platform. The protocol is basically the same as in CL 109699, except for the following differences: 1, The abi difference which affect parameter passing and frame layout. 2, Stores communication ...
[ { "path": "src/runtime/asm_arm64.s", "patch": "@@ -96,6 +96,10 @@ nocgo:\n \t// start this M\n \tBL\truntime·mstart(SB)\n \n+\t// Prevent dead-code elimination of debugCallV2, which is\n+\t// intended to be called by debuggers.\n+\tMOVD\t$runtime·debugCallV2<ABIInternal>(SB), R0\n+\n \tMOVD\t$0, R0\n \tMOVD...
2022-03-22T07:04:35
huggingface/transformers
f56522d79e70e19eebad7eb58b651d538ae9330c
efdcbc77ea10f4eb5106b9a4d6df80c541f10a07
fix: add missing return type annotations to type-checking utilities in generic.py (#44241) Adds missing `-> bool`, `-> int`, and `-> str | None` return type annotations to public utility functions in `utils/generic.py`, making them consistent with the newer `is_timm_config_dict` and `is_timm_local_checkpoint` function...
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -60,7 +60,7 @@\n \n \n # vendored from distutils.util\n-def strtobool(val):\n+def strtobool(val) -> int:\n \"\"\"Convert a string representation of truth to true (1) or false (0).\n \n True values are 'y', 'yes', 't', 'true', 'on', and '1';...
2026-02-24T13:25:11
nodejs/node
309e1eae797d3060126ef2e13ee0ab124808f575
837fe533f7d2cc824f7f6f08ccab74969c46f886
2019-11-05, Version 13.1.0 (Current) Notable changes: * cli: * Added a new flag (`--trace-uncaught`) that makes Node.js print the stack trace at the time of throwing uncaught exceptions, rather than at the creation of the `Error` object, if there is any. This is disabled by default because it affects GC...
[ { "path": "CHANGELOG.md", "patch": "@@ -30,7 +30,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.0.1\">13.0.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.1.0\">13.1.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V13.md#13.0.1\"...
2019-11-05T09:55:13
electron/electron
ecef83f8f570fd051175358cd85d3d0ca5813adf
f3b85e915d7b0181a92c1f63468a67e04263da41
added khronos and fix for offscreen
[ { "path": "brightray/brightray.gyp", "patch": "@@ -29,6 +29,7 @@\n '<(libchromiumcontent_src_dir)/third_party/skia/include/config',\n '<(libchromiumcontent_src_dir)/third_party/icu/source/common',\n '<(libchromiumcontent_src_dir)/third_party/mojo/src',\n+ '<(libchromiu...
2016-07-28T00:07:37
golang/go
8e1a9c34ab7ae73f6c7d6fad10a37f1738a1e86a
3e732411e5e0679af5375a3cbd84c41ef5cd2430
net: eliminate a deadlock on the failure path in TestNotTemporaryRead This fixes a deadlock-on-failure that I probably introduced in CL 385314. This doesn't explain why the failure observed in #52492 occurred, but it will at least give us more information to diagnose the failure if it happens again. (The deadlock cur...
[ { "path": "src/net/net_test.go", "patch": "@@ -529,17 +529,19 @@ func TestNotTemporaryRead(t *testing.T) {\n \t\t<-dialed\n \t\tcs.(*TCPConn).SetLinger(0)\n \t\tcs.Close()\n-\n+\t}()\n+\tdefer func() {\n \t\tln.Close()\n+\t\t<-serverDone\n \t}()\n-\tdefer func() { <-serverDone }()\n \n \tss, err := Dial(\"t...
2022-04-22T14:39:04
huggingface/transformers
efdcbc77ea10f4eb5106b9a4d6df80c541f10a07
503aff221f2c2285883e18e3921c0ba188fa6f26
Fix return value - fixes #44238 (#44240)
[ { "path": "utils/check_bad_commit.py", "patch": "@@ -231,7 +231,8 @@ def find_bad_commit(target_test, start_commit, end_commit):\n if \"error: bisect run failed\" in bash_result.stderr:\n error_msg = f\"Error when running git bisect:\\nbash error: {bash_result.stderr}\\nbash output:\\n{bash_resu...
2026-02-24T13:02:57
rust-lang/rust
0d9d2094178fcaa1cae5b71d18198859bdaa40bf
2aaa584094638c68509a30169037b3c66f288911
fix space in generated loongarch
[ { "path": "library/stdarch/crates/stdarch-gen-loongarch/src/main.rs", "patch": "@@ -280,7 +280,7 @@ fn gen_bind_body(\n let fn_output = if out_t.to_lowercase() == \"void\" {\n String::new()\n } else {\n- format!(\"-> {}\", type_to_rst(out_t, is_store))\...
2025-07-16T14:27:51
nodejs/node
1f2fdc9538f2ee9d9fad68137798c49113e96274
ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd
build: fix detection of Visual Studio 2017 When run in a Visual Studio 2017 command prompt the `VCINSTALLDIR` environment variable will be already set and is not cleared by the `tools/msvs/vswhere_usability_wrapper.cmd` utility when it fails to find Visual Studio 2019. This causes `vcbuild.bat` to incorrectly assume V...
[ { "path": "vcbuild.bat", "patch": "@@ -240,6 +240,10 @@ if %target_arch%==x86 if %msvs_host_arch%==x86 set vcvarsall_arg=x86\n :vs-set-2019\n if defined target_env if \"%target_env%\" NEQ \"vs2019\" goto vs-set-2017\n echo Looking for Visual Studio 2019\n+@rem VCINSTALLDIR may be set if run from a VS Comman...
2019-10-25T16:13:49
vercel/next.js
e4f845b4b59cab02801d0b4fe2d77ab3f5ab7f8a
3d245facea9f9551659698ba3f06ed21f2973b98
chore: mark build folder indexable (#54029) x-ref: https://github.com/vercel/next.js/pull/51647 follow up for the code indexing issue for "build/**" folder, previous solution seem not working, trying just "build/**" without prefix
[ { "path": ".gitattributes", "patch": "@@ -2,4 +2,4 @@ packages/next/bundles/** -text\n packages/next/compiled/** -text\n \n # Make next/src/build folder indexable for github search\n-packages/next/src/build/** linguist-generated=false\n+build/** linguist-generated=false", "additions": 1, "deletions"...
2023-08-14T22:17:34
huggingface/transformers
503aff221f2c2285883e18e3921c0ba188fa6f26
c281a2de8998e66e93fac30a236225528531df9b
fix regression report_to "all" (#44250) * fix regression * rm comment
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1515,7 +1515,11 @@ def __post_init__(self):\n if self.greater_is_better is None and self.metric_for_best_model is not None:\n self.greater_is_better = not self.metric_for_best_model.endswith(\"loss\")\n \n- if self.repor...
2026-02-24T12:55:05
rust-lang/rust
8d941d22bae62f4f6ab08733d034ff0f21f1411b
041a0f633d676f5b2136ecd5cd12f05978f9b059
fix: `never_loop` forget to remove break in suggestion
[ { "path": "clippy_lints/src/loops/never_loop.rs", "patch": "@@ -6,9 +6,11 @@ use clippy_utils::macros::root_macro_call_first_node;\n use clippy_utils::source::snippet;\n use clippy_utils::visitors::{Descend, for_each_expr_without_closures};\n use rustc_errors::Applicability;\n-use rustc_hir::{Block, Destina...
2025-06-16T16:48:01
electron/electron
322fe36dea4a5b949ce63abc9b2d4cf21f20a5b7
4823b5582feac182c6a5b1d6206d4e6943ccef99
docs: Fix undefined variables
[ { "path": "docs/api/tray.md", "patch": "@@ -198,6 +198,10 @@ by toggling between `'never'` and `'always'` modes when the window visibility\n changes.\n \n ```js\n+const {BrowserWindow, Tray} = require('electron')\n+\n+const win = new BrowserWindow({width: 800, height: 600})\n+const tray = new Tray('/path/to...
2016-07-27T22:23:26
golang/go
3e732411e5e0679af5375a3cbd84c41ef5cd2430
808d40d7809a46703f43fc2d6911957135f4563c
runtime/internal/syscall: use ABIInternal for Syscall6 on amd64 This is an exact copy of CL 401096 after fixing #52472 in CL 401654. For #51087 For #52472 Change-Id: Ib3c914949a15517aacdca2d72e69e1c7b217e430 Reviewed-on: https://go-review.googlesource.com/c/go/+/401656 Run-TryBot: Michael Pratt <mpratt@google.com> T...
[ { "path": "src/runtime/internal/syscall/asm_linux_amd64.s", "patch": "@@ -6,28 +6,42 @@\n \n // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)\n //\n-// Syscall # in AX, args in DI SI DX R10 R8 R9, return in AX DX.\n+// We need to convert to the syscall ABI.\n+//\n+// arg | ABIIn...
2022-04-19T20:27:57
vercel/next.js
bd8ab094e5bef0e386996eb210e665ec1d6551fc
b4d5ddb834076aed7f25481c74d0e5f71f9eb23e
Turbopack: fix hiding node_modules warnings in error overlay. (#54022) This regressed in vercel/turbo#5661 when `context` was renamed `file_path`.
[ { "path": "Cargo.lock", "patch": "@@ -412,7 +412,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230811.2#a964d782cc17594a37d9ac5305c0b7e6aef1312d\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-08-14T21:38:52
nodejs/node
ed2c3ca6e2bde619e57afbd6f17ccc276e02b1fd
22799be7a9a87ec32b438b22090622f9884baeb4
build: add workaround for WSL Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: https://github.com/nodejs/node/pull/30221 Fixes: https://github.com/nodejs/node/issues/30189 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "BUILDING.md", "patch": "@@ -282,6 +282,11 @@ $ ./configure\n $ make -j4\n ```\n \n+If you run into a `No module named 'distutils.spawn'` error when executing\n+`./configure`, please try `python3 -m pip install --upgrade setuptools` or\n+`sudo apt install python3-distutils -y`.\n+For more informat...
2019-11-02T15:27:48
rust-lang/rust
ecd958f4802bfead8a35a1fcdbb1c17467ad727c
83fbcabd92dd62198a1275d0d5cf7925150d1d6a
Fix LTO errors
[ { "path": ".github/workflows/release.yml", "patch": "@@ -78,7 +78,8 @@ jobs:\n - name: Run tests\n run: |\n # FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros.\n- printf '[profile.release]\\nlto = \"fat\"\\n' >> buil...
2025-07-16T13:33:08
electron/electron
f90e62a7a5c554bca48cc72d98d72060522fd6e5
6e1db86a777a97dc87616052d11642e43499823c
apply fixes
[ { "path": "atom/browser/api/atom_api_web_contents.h", "patch": "@@ -281,6 +281,8 @@ class WebContents : public mate::TrackableObject<WebContents>,\n private:\n AtomBrowserContext* GetBrowserContext() const;\n \n+ atom::OnPaintCallback paint_callback_;\n+\n uint32_t GetNextRequestId() {\n return ++...
2016-07-27T17:59:01
golang/go
808d40d7809a46703f43fc2d6911957135f4563c
534a911338a05b74b5c419080d563c6ae06d6dc8
syscall: define Syscall6 in terms of RawSyscall6 on linux This is an exact copy of CL 388478 after fixing #52472 in CL 401654. For #51087 For #52472 Change-Id: I6c6bd7ddcab1512c682e6b44f61c7bcde97f5c58 Reviewed-on: https://go-review.googlesource.com/c/go/+/401655 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-...
[ { "path": "src/syscall/asm_linux_386.s", "patch": "@@ -13,32 +13,6 @@\n // instead of the glibc-specific \"CALL 0x10(GS)\".\n #define INVOKE_SYSCALL\tINT\t$0x80\n \n-// func Syscall6(trap uintptr, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr);\n-TEXT ·Syscall6(SB),NOSPLIT,$0-40\n-\tCALL\truntime·ent...
2022-02-24T22:00:12
vercel/next.js
b4d5ddb834076aed7f25481c74d0e5f71f9eb23e
2e67454ae565ac443d100841d400d411d65df0ef
Update opengraph-image.mdx: Fix typo (#54020) This commit fixes a typo in the `<head> output` (twitter-image.alt.txt) code block
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx", "patch": "@@ -68,7 +68,7 @@ About Acme\n ```\n \n ```html filename=\"<head> output\"\n-<meta property=\"og:image:alt\" content=\"About Acme\" />\n+<meta property=\"twitter:image:alt\" content=\"About Acme\" />\n ``...
2023-08-14T21:05:22
nodejs/node
bdee976d541696122eaa5e9b877c0d52e26df010
93ab623c5589d810c850c70c4be05a6ed3adfaaf
tools: fix Python 3 deprecation warning in test.py PR-URL: https://github.com/nodejs/node/pull/30208 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
[ { "path": "tools/test.py", "patch": "@@ -29,7 +29,6 @@\n \n \n from __future__ import print_function\n-import imp\n import logging\n import optparse\n import os\n@@ -45,6 +44,27 @@\n import errno\n import copy\n \n+\n+if sys.version_info >= (3, 5):\n+ from importlib import machinery, util\n+ def get_modul...
2019-11-01T16:28:15
huggingface/transformers
c281a2de8998e66e93fac30a236225528531df9b
3c52b78ac083cd98e794105c7e822fdaeb6d37cd
:rotating_light: Unify 3D position ids (#43972) * draft before I lose it * dump and come back after position ids PR is merged * fix fast tests * let qwen-vl return `mm-token-type-ids` always! * fix repo * fix fast tests * this should be it! * fix style * oops fix this one is swapped * glm uses the same token ...
[ { "path": "src/transformers/models/ernie4_5_vl_moe/modeling_ernie4_5_vl_moe.py", "patch": "@@ -1106,52 +1106,97 @@ def get_input_embeddings(self):\n def set_input_embeddings(self, value):\n self.language_model.set_input_embeddings(value)\n \n+ def get_vision_position_ids(\n+ self,\n+ ...
2026-02-24T11:41:33
rust-lang/rust
8f854d9cb2d108a2d4f980ccb4d5909e214e6ef0
fd48b7b8dd911229b635f7969e6213b5af337b7d
const heap: fix ICE on forgotten make_global
[ { "path": "compiler/rustc_const_eval/src/const_eval/eval_queries.rs", "patch": "@@ -18,7 +18,7 @@ use tracing::{debug, instrument, trace};\n use super::{CanAccessMutGlobal, CompileTimeInterpCx, CompileTimeMachine};\n use crate::const_eval::CheckAlignment;\n use crate::interpret::{\n- CtfeValidationMode, ...
2025-07-16T13:11:11
electron/electron
6e1db86a777a97dc87616052d11642e43499823c
221714e141e208c1257133000a48ea661b2f90ec
fixes software output device rendering
[ { "path": "atom/browser/api/atom_api_web_contents.h", "patch": "@@ -281,8 +281,6 @@ class WebContents : public mate::TrackableObject<WebContents>,\n private:\n AtomBrowserContext* GetBrowserContext() const;\n \n- atom::OnPaintCallback paint_callback_;\n-\n uint32_t GetNextRequestId() {\n return ++...
2016-07-27T17:44:41
golang/go
32275013645aa3d5dc0fa9f2ed529bc201b79759
65d7345e8ba77bea9dd3d694d0015308416e3280
go/types: use error_.errorf for reporting related error information Use error_.errorf for reporting related error information rather than inlining the "\n\t". This aligns go/types with types2 in cases where the related information has no position information. In other cases, go/types needs to report a "continuation er...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -9,6 +9,7 @@ package types\n import (\n \t\"fmt\"\n \t\"go/ast\"\n+\t\"go/token\"\n \t\"strings\"\n )\n \n@@ -339,11 +340,10 @@ func (check *Checker) initVars(lhs []*Var, origRHS []ast.Expr, returnStmt ast.St\n \t\t\t} else if len(rhs) > 0 {\n \t\t\t\tat...
2022-04-18T22:14:51
vercel/next.js
3d569bd92a393e4cfe5d0d16aa3e018a93d98dd8
88ad471e33afdf657d7ec129b7e939043861a6f8
Open Graph Image font declaration moved to correct place (#53998) When implementing `opengraph-image` in my [personal-site-project](https://github.com/kylemcd/personal-site). I was consistently running into issues where custom fonts would either only work locally or only work on vercel. To me it seemed like difference...
[ { "path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/opengraph-image.mdx", "patch": "@@ -104,13 +104,13 @@ export const size = {\n \n export const contentType = 'image/png'\n \n-// Font\n-const interSemiBold = fetch(\n- new URL('./Inter-SemiBold.ttf', import.meta.url)\n-).then((res) => r...
2023-08-14T19:36:13
nodejs/node
d7452b7140929835f4032099106fc9d14e668210
fc02cf586a4b146195a5f09a21fb34269657c484
module: warn on using unfinished circular dependency Warn when a non-existent property of an unfinished module.exports object is being accessed, as that very often indicates the presence of a hard-to-detect and hard-to-debug problem. This mechanism is only used if `module.exports` is still a regular object at the poi...
[ { "path": "benchmark/module/module-loader-circular.js", "patch": "@@ -0,0 +1,34 @@\n+'use strict';\n+const fs = require('fs');\n+const path = require('path');\n+const common = require('../common.js');\n+\n+const tmpdir = require('../../test/common/tmpdir');\n+const benchmarkDirectory =\n+ path.resolve(tmpd...
2019-10-11T16:38:50
huggingface/transformers
3c52b78ac083cd98e794105c7e822fdaeb6d37cd
22b40e67338e7735e7e62720a74d8c1562601b76
[generate] Always pass full input_ids in `prepare_inputs_for_generation` (#44226) * send full input_ids, slice after * fix xlm * fix * improve * fix * make sure * finally get it... they are modified in-place and clone was saving us... * all the same * fix * fix * finally * doc * higgs * add comment
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -493,6 +493,7 @@ def load_custom_generate(\n def prepare_inputs_for_generation(\n self,\n input_ids: torch.LongTensor,\n+ next_sequence_length: int | None = None,\n past_key_values: Cache | None = None,\n ...
2026-02-24T10:45:47