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 | fc2e069efe6b29a38ee7f36823ee9a486954853f | 58d4ec55874f8cab14c43a201851f1b6e1c4dcbb | Fix warnings of openssl-cli. | [
{
"path": "common.gypi",
"patch": "@@ -35,7 +35,7 @@\n # Settings to compile node under Windows.\n 'target_defaults': {\n 'target_conditions': [\n- ['_target_name in [\"libuv\", \"http_parser\", \"cares\", \"openssl\", \"node_lib\", \"zlib\"]', {\n+ ['_target_name in [\"libuv\", \"http_par... | 2014-01-13T10:41:40 |
nodejs/node | 2237a8e45d5043e89cc126f7a7546f3a62f30e59 | ef1f13004114df9a01d26b22d8e4c090b9833c4f | build: stop distclean from deleting v8 files
Stop `make distclean` from deleting files in the `deps/v8/testing/gmock`
folder, thus avoiding deleting version-controlled files important for
v8.
Fixes: https://github.com/nodejs/node/issues/21163
PR-URL: https://github.com/nodejs/node/pull/21164
Reviewed-By: Michaël Zas... | [
{
"path": "Makefile",
"patch": "@@ -131,7 +131,6 @@ distclean:\n \t$(RM) -r deps/icu\n \t$(RM) -r deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmp\n \t$(RM) $(BINARYTAR).* $(TARBALL).*\n-\t$(RM) -r deps/v8/testing/gmock\n \n .PHONY: check\n check: test",
"additions": 0,
"deletions": 1,
"language": "... | 2018-06-06T06:40:24 |
rust-lang/rust | cab8700e84dd49d30cf7a4331a7269c36edf6ae9 | ca5c4ed8d7db731470395055d8f438f0abe7a18a | libm: Fix crate compilation
Update paths and submodules to fix `libm-test` and `util` building so we
will be able to add them to the workspace. | [
{
"path": "library/compiler-builtins/.gitmodules",
"patch": "@@ -1,4 +1,4 @@\n-[submodule \"musl\"]\n-\tpath = libm/crates/musl-math-sys/musl\n+[submodule \"crates/musl-math-sys/musl\"]\n+\tpath = crates/musl-math-sys/musl\n \turl = https://git.musl-libc.org/git/musl\n \tshallow = true",
"additions": 2,... | 2025-04-19T22:15:43 |
golang/go | e5bc4f2a77e497f30dce08014bc6addd8a7d9982 | daee726a0b7c932ed418e623ef29697c77d113a8 | cmd/compile: reenable name preservation on copies in expand_calls
This reverts CL 311829, and reenables CL 309330. The issue
should be fixed in the previous CL.
Change-Id: I69db0565c72470a1814f135d8f8ec62c781bfc5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/312094
Trust: Cherry Zhang <cherryyz@google.com>
... | [
{
"path": "src/cmd/compile/internal/ssa/expand_calls.go",
"patch": "@@ -1452,17 +1452,15 @@ func expandCalls(f *Func) {\n \n \t// Step 6: elide any copies introduced.\n \t// Update named values.\n-\tif false { // TODO: reeanable. It caused compiler OOMing on large input.\n-\t\tfor _, name := range f.Names {... | 2021-04-21T01:07:23 |
vercel/next.js | 0d2a3de336824bbe0c1c427540dd1a17bb2a8f86 | ad61e84101552445edd6fc869eb161b5a6143710 | Convert blog cover images to next/image (#42908)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted f... | [
{
"path": "examples/blog-starter/components/cover-image.tsx",
"patch": "@@ -1,5 +1,6 @@\n import cn from 'classnames'\n import Link from 'next/link'\n+import Image from 'next/image'\n \n type Props = {\n title: string\n@@ -9,12 +10,14 @@ type Props = {\n \n const CoverImage = ({ title, src, slug }: Props)... | 2022-11-14T17:29:54 |
huggingface/transformers | 26c83490d2fef4b6622bd69c80beae14f2626cbf | 0adbc873d0de14efdeedc9dfb8b5b619783efddb | chore: fix typos in the tests directory (#36813)
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chore: fix typos in the tests
* chor... | [
{
"path": "tests/deepspeed/test_deepspeed.py",
"patch": "@@ -628,7 +628,7 @@ def model_init():\n with CaptureStd() as cs:\n trainer.hyperparameter_search(direction=\"maximize\", n_trials=n_trials)\n self.assertIn(\"DeepSpeed info\", cl.out, \"expected DeepSpee... | 2025-03-21T09:20:05 |
rust-lang/rust | 648653824bf8704685d45ef465a115d3dcae4ae4 | 077cedc2afa8ac0b727b7a6cbe012940ba228deb | docs: fix typo change from inconstants to invariants | [
{
"path": "library/core/src/slice/mod.rs",
"patch": "@@ -2814,7 +2814,7 @@ impl<T> [T] {\n let half = size / 2;\n let mid = base + half;\n \n- // SAFETY: the call is made safe by the following inconstants:\n+ // SAFETY: the call is made safe by the following inv... | 2025-04-19T21:57:06 |
nodejs/node | ef1f13004114df9a01d26b22d8e4c090b9833c4f | 872c331a930df3e44e8f5db5a90a0383e8d0491b | test: improve assert error messages
Improve the assert error message so it includes actual value in
the error message.
PR-URL: https://github.com/nodejs/node/pull/21160
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Triv... | [
{
"path": "test/parallel/test-stream-pipe-await-drain.js",
"patch": "@@ -23,8 +23,12 @@ writer1._write = common.mustCall(function(chunk, encoding, cb) {\n }, 1);\n \n writer1.once('chunk-received', function() {\n- assert.strictEqual(reader._readableState.awaitDrain, 0,\n- 'initial value... | 2018-06-06T03:02:16 |
electron/electron | b0c23294fe91ef1db8346ee9912107b375aaedba | 290dd36bb0b916db62f5af217e837d171b6273e2 | Also use uv loop fixes in browser process. | [
{
"path": "atom.gyp",
"patch": "@@ -30,6 +30,7 @@\n 'common/api/lib/id-weak-map.coffee',\n 'common/api/lib/screen.coffee',\n 'common/api/lib/shell.coffee',\n+ 'common/lib/init.coffee',\n 'renderer/lib/init.coffee',\n 'renderer/api/lib/ipc.coffee',\n 'renderer/api/lib... | 2014-01-13T05:57:08 |
golang/go | 5f1df260a91183c605c08af7b00741d2761b84e4 | 7735ec96c17f0aa8b27c64d82115755e29214164 | cmd/compile: allow export/import OSLICE2ARRPTR
Updates #395
Fixes #45665
Change-Id: Iaf053c0439a573e9193d40942fbdb22ac3b4d3bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/312070
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsk... | [
{
"path": "src/cmd/compile/internal/typecheck/iexport.go",
"patch": "@@ -1677,7 +1677,7 @@ func (w *exportWriter) expr(n ir.Node) {\n \t\t\tw.op(ir.OEND)\n \t\t}\n \n-\tcase ir.OCONV, ir.OCONVIFACE, ir.OCONVNOP, ir.OBYTES2STR, ir.ORUNES2STR, ir.OSTR2BYTES, ir.OSTR2RUNES, ir.ORUNESTR:\n+\tcase ir.OCONV, ir.O... | 2021-04-21T08:42:05 |
huggingface/transformers | 6bb8565f0c7342dcd14cc1ccededc663dba58787 | 949cca4061149050d603e87861b2937e2d9da2c4 | FIX FSDP plugin update for QLoRA (#36720)
The _fsdp_qlora_plugin_updates checks for LoraConfig but other PEFT
methods can also support quantized models, e.g. VeRA. Therefore, the
isinstance check is now looking for PeftConfig in general.
Moreover, the fsdp_plugin variable may be undefined in the 2nd if
condition, lea... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -5202,18 +5202,17 @@ def propagate_args_to_deepspeed(self, auto_find_batch_size=False):\n \n def _fsdp_qlora_plugin_updates(self):\n if self.is_fsdp_enabled and _is_peft_model(self.model):\n- from peft import LoraConfig\n+ ... | 2025-03-21T09:11:47 |
vercel/next.js | 9faba368bd864bec51e8c751b4d4f141c20dd9e2 | 230571cd583b9480f61645ff6140aa75423e8db6 | docs(edge-api-routes): fixes example (#42903)
## 📖 What's in there?
The last example on the documentation page for [Edge Api routes](https://nextjs.org/docs/api-routes/edge-api-routes) is wrong since next@13 breaking change on cookie handling.
While [middleware page](https://nextjs.org/docs/advanced-features/middlew... | [
{
"path": "docs/api-routes/edge-api-routes.md",
"patch": "@@ -95,7 +95,7 @@ export const config = {\n }\n \n export default async function handler(req: NextRequest) {\n- const authorization = req.cookies.get('authorization')\n+ const authorization = req.cookies.get('authorization')?.value\n return fetch... | 2022-11-14T15:36:03 |
rust-lang/rust | ca5c4ed8d7db731470395055d8f438f0abe7a18a | 8b8bd8a0fd75e43a9b282284b849e651828ceec2 | Fix the release-plz job | [
{
"path": "library/compiler-builtins/.github/workflows/publish.yaml",
"patch": "@@ -5,24 +5,19 @@ permissions:\n contents: write\n \n on:\n- push:\n- branches:\n- - master\n+ push: { branches: [master] }\n \n jobs:\n release-plz:\n name: Release-plz\n- runs-on: ubuntu-latest\n+ runs-... | 2025-04-19T21:25:19 |
electron/electron | 290dd36bb0b916db62f5af217e837d171b6273e2 | 84529de10d51772ad5e893fb05f6aa0945943276 | Activate uv loop when calling childProcess.fork.
Fixes #156. | [
{
"path": "renderer/lib/init.coffee",
"patch": "@@ -37,6 +37,13 @@ process.nextTick = wrapWithActivateUvLoop process.nextTick\n global.setImmediate = wrapWithActivateUvLoop timers.setImmediate\n global.clearImmediate = timers.clearImmediate\n \n+# The child_process module also needs to activate the uv loop ... | 2014-01-13T03:52:24 |
nodejs/node | 872c331a930df3e44e8f5db5a90a0383e8d0491b | 8551d311bcbf6c5ebdd544c1409001eb5ba8e26b | dns: improve setServers() errors and performance
Issue 1: make invalid setServers yield uniform error
Behavior:
dns.setServers throws a null pointer dereference on some inputs.
Expected behavior was the more pleasant
TypeError [ERR_INVALID_IP_ADDRESS] ...
Root cause(s?):
- Dereferencing the result of a regex match... | [
{
"path": "lib/dns.js",
"patch": "@@ -289,7 +289,7 @@ function setServers(servers) {\n // servers cares won't have any servers available for resolution\n const orig = this._handle.getServers();\n const newSet = [];\n- const IPv6RE = /\\[(.*)\\]/;\n+ const IPv6RE = /^\\[([^[\\]]*)\\]/;\n const addr... | 2018-05-01T01:27:18 |
huggingface/transformers | 949cca4061149050d603e87861b2937e2d9da2c4 | 97d2f9d8aeea89d81ebf883640aa0d7dc561a46a | [CI] doc builder without custom image (#36862)
* no image
* test
* revert jax version updates
* make fixup
* update autodoc path for model_addition_debugger
* shieldgemma2
* add missing pages to toctree | [
{
"path": ".github/workflows/build_pr_documentation.yml",
"patch": "@@ -15,4 +15,3 @@ jobs:\n pr_number: ${{ github.event.number }}\n package: transformers\n languages: ar de en es fr hi it ko pt tr zh ja te\n- custom_container: huggingface/transformers-doc-builder",
"additions": ... | 2025-03-21T09:10:27 |
golang/go | 190cb937f7acdc1568a09c0cbbe1c14031c94ca9 | 760d3b2a16544aab553ca7ec6e6ed3bf4dc9aa3f | cmd/compile/internal/types2: fix type inference
Don't let type parameters that are not filled in with concrete
type arguments escape from constraint type inference - such
inferred types are not "real".
While at it, implement a tparamsList.String method for debugging.
Fixes #45548.
Change-Id: I40f13ff7af08d0357a5c66... | [
{
"path": "src/cmd/compile/internal/types2/fixedbugs/issue45548.go2",
"patch": "@@ -0,0 +1,13 @@\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 p\n+\n+func f[F interface{type *Q... | 2021-04-20T01:48:16 |
vercel/next.js | 015d9e02bfdd0a20e90fce3900b39d066f225ae9 | cfc03c281f55a00321a811eb088a18fadd7ff36e | chore: remove useless use of format (clippy error) (vercel/turbo#2697) | [
{
"path": "crates/turbo-tasks-memory/src/scope.rs",
"patch": "@@ -174,7 +174,7 @@ impl TaskScope {\n #[cfg(feature = \"print_scope_updates\")]\n return format!(\"TaskScope({id})::event\");\n #[cfg(not(feature = \"print_scope_updates\"))]\n- ... | 2022-11-14T14:00:49 |
nodejs/node | 400df22c6bfefc3c3f54ebd7c5fd0d38f5137841 | a9e70d7d0b50ed615428e8344d510effb6713f02 | tools: update tooling to work with new macOS CLI …
Using High Sierra and `xcode-select --install` without installing full
Xcode, our build tooling breaks due to faulty regular expressions.
Update the `configure` script in our project root directory to handle
multi-digit version numbers.
`tools/gyp` and `deps/npm/nod... | [
{
"path": "configure",
"patch": "@@ -667,7 +667,7 @@ def get_llvm_version(cc):\n \n def get_xcode_version(cc):\n return get_version_helper(\n- cc, r\"(^Apple LLVM version) ([5-9]\\.[0-9]+)\")\n+ cc, r\"(^Apple LLVM version) ([0-9]+\\.[0-9]+)\")\n \n def get_gas_version(cc):\n try:",
"additions... | 2018-06-08T16:48:48 |
huggingface/transformers | 97d2f9d8aeea89d81ebf883640aa0d7dc561a46a | 6a2627918d84f25422b931507a8fb9146106ca20 | Mllama: raise better error (#35934)
* fix mllama
* update test
* fix test | [
{
"path": "src/transformers/models/mllama/processing_mllama.py",
"patch": "@@ -301,12 +301,16 @@ def __call__(\n raise ValueError(\n \"If a batch of text is provided, there should be either no images or at least one image per sample\"\n )\n- if ... | 2025-03-21T08:35:37 |
golang/go | 760d3b2a16544aab553ca7ec6e6ed3bf4dc9aa3f | c18744377afa1f9c2310c122e6932fa663f9294a | reflect: allow conversion from slice to array ptr
Note that this removes an invariant:
v.Type().ConvertibleTo(t) might return true,
yet v.Convert(t) might panic nevertheless.
This is a fairly unavoidable consequence of the decision
to add the first-ever conversion that can panic.
ConvertibleTo describes a relations... | [
{
"path": "src/reflect/all_test.go",
"patch": "@@ -3822,6 +3822,10 @@ type MyStruct2 struct {\n }\n type MyString string\n type MyBytes []byte\n+type MyBytesArrayPtr0 *[0]byte\n+type MyBytesArrayPtr *[4]byte\n+type MyBytesArray0 [0]byte\n+type MyBytesArray [4]byte\n type MyRunes []int32\n type MyFunc func()... | 2021-03-14T21:31:50 |
vercel/next.js | 3a0065d701d243d1564f20ca6f437117f5ea7ce9 | 994089fcc2d17b285cbe4e00839bd6eb9f1b426f | Update docs/advanced-features/debugging.md (#42842)
Updated `.vscode/launch.json` debugging file due to the following errors:
- `console: pwa-chrome` shows an eslint error recommending `console: chrome`
- `console` key is now deprecated.
Tested client and server-side debugging on:
- Mac v12.6 (21G115)
- VSCode v... | [
{
"path": "docs/advanced-features/debugging.md",
"patch": "@@ -24,7 +24,7 @@ Create a file named `.vscode/launch.json` at the root of your project with the f\n },\n {\n \"name\": \"Next.js: debug client-side\",\n- \"type\": \"pwa-chrome\",\n+ \"type\": \"chrome\",\n \"request\"... | 2022-11-14T12:58:03 |
electron/electron | 968f75529aad8e9198a8872e5740c943757cf614 | 93d5a2e19503ebb3559d1ec2d5f5d3297c59e8b8 | Fix possible crashes when quiting message loop. | [
{
"path": "common/node_bindings.cc",
"patch": "@@ -65,7 +65,8 @@ NodeBindings::NodeBindings(bool is_browser)\n : is_browser_(is_browser),\n message_loop_(NULL),\n uv_loop_(uv_default_loop()),\n- embed_closed_(false) {\n+ embed_closed_(false),\n+ weak_factory_(this) {\n }\n \n ... | 2014-01-08T03:55:54 |
nodejs/node | a9e70d7d0b50ed615428e8344d510effb6713f02 | be8cfc7f7e49ac3e42a4c65e83002eb6a907e04b | tools,gyp: fix regex for version matching
Tool versions can be 10 and higher. Float patch from node-gyp to
accommodate this fact of life.
PR-URL: https://github.com/nodejs/node/pull/21216
Refs: https://github.com/nodejs/node-gyp/commit/293092c362febffe19f72712467565045e08e8f1
Reviewed-By: Refael Ackermann <refack@gma... | [
{
"path": "tools/gyp/pylib/gyp/xcode_emulation.py",
"patch": "@@ -1403,7 +1403,7 @@ def XcodeVersion():\n except:\n version = CLTVersion()\n if version:\n- version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]\n+ version = re.match(r'(\\d+\\.\\d+\\.?\\d*)', version).groups()[0]... | 2018-06-08T17:23:18 |
huggingface/transformers | 6a2627918d84f25422b931507a8fb9146106ca20 | 9e771bf40283b8750b8310e22b67e09ae7874793 | Refactor Aya Vision with modular (#36688)
* refactor aya_vision with modular (incorrect docstring)
* Fix docstrings
* Fix other modulars
* fix docstring
* revert changes
* add tie_weights and resize_token_embeddings | [
{
"path": "src/transformers/models/aya_vision/modeling_aya_vision.py",
"patch": "@@ -1,3 +1,9 @@\n+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨\n+# This file was automatically generated from src/transformers/models/aya_vision/mod... | 2025-03-20T19:34:56 |
golang/go | faa4fa1a6e94fce4f6fa22524a2bece5125213b6 | 1c268431f49ee2fc843eac52a0854aea3d02a6e0 | cmd/compile: allow conversion from slice to array ptr
Panic if the slice is too short.
Updates #395
Change-Id: I90f4bff2da5d8f3148ba06d2482084f32b25c29a
Reviewed-on: https://go-review.googlesource.com/c/go/+/301650
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.co... | [
{
"path": "src/cmd/compile/internal/escape/escape.go",
"patch": "@@ -669,7 +669,10 @@ func (e *escape) exprSkipInit(k hole, n ir.Node) {\n \t\t\tk = e.spill(k, n)\n \t\t}\n \t\te.expr(k.note(n, \"interface-converted\"), n.X)\n-\n+\tcase ir.OSLICE2ARRPTR:\n+\t\t// the slice pointer flows directly to the resu... | 2021-03-14T21:24:47 |
vercel/next.js | 32593ea30d468d5df28b6bae14fdbe0bd521c598 | 9711a7ef4ae895ed0d64056eb0cf239b87b5cc43 | retry CI setup steps if needed (vercel/turbo#2692)
* retry setup steps if needed
* retry install nextest step
* retry browser launch
* ignore errors from PR comment failing due to PR from fork | [
{
"path": "packages/next-swc/crates/next-dev/benches/util/mod.rs",
"patch": "@@ -140,7 +140,17 @@ pub async fn create_browser() -> Browser {\n if with_devtools {\n builder = builder.arg(\"--auto-open-devtools-for-tabs\");\n }\n- let (browser, mut handler) = Browser::launch(builder.build()... | 2022-11-14T09:35:06 |
huggingface/transformers | ecd60d01c3fee6811db40b3a5f9a8eb5977d75ba | 42c489f2ae738a3b690bb90aab274f02ff024795 | [CI] fix update metadata job (#36850)
fix updata_metadata job | [
{
"path": ".github/workflows/update_metdata.yml",
"patch": "@@ -19,7 +19,7 @@ jobs:\n - name: Setup environment\n run: |\n pip install --upgrade pip\n- pip install datasets pandas==2.0.3\n+ pip install datasets pandas\n pip install .[torch,tf,flax]\n \n ... | 2025-03-20T17:17:36 |
nodejs/node | be8cfc7f7e49ac3e42a4c65e83002eb6a907e04b | c46b99e2542bd8facd895e3c553e910e88b6ff55 | build: don't change locale on smartos
PR-URL: https://github.com/nodejs/node/pull/21220
Fixes: https://github.com/nodejs/build/issues/1327
Refs: https://github.com/nodejs/node/pull/20394
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.... | [
{
"path": "configure",
"patch": "@@ -672,7 +672,10 @@ def get_xcode_version(cc):\n def get_gas_version(cc):\n try:\n custom_env = os.environ.copy()\n- custom_env[\"LC_ALL\"] = \"en_US\"\n+ # smartos (a.k.a. sunos5) does not have the en_US locale, and will give:\n+ # `setlocale: LC_ALL: cannot... | 2018-06-08T19:47:51 |
electron/electron | 93d5a2e19503ebb3559d1ec2d5f5d3297c59e8b8 | 367285f3f329135b144e7e7e686492108d3ed495 | Fix invoking non-exist method when quiting. | [
{
"path": "common/node_bindings.cc",
"patch": "@@ -220,11 +220,20 @@ void NodeBindings::WakeupEmbedThread() {\n void NodeBindings::EmbedThreadRunner(void *arg) {\n NodeBindings* self = static_cast<NodeBindings*>(arg);\n \n- while (!self->embed_closed_) {\n+ while (true) {\n // Wait for the main loop... | 2014-01-08T02:30:30 |
golang/go | 3f8e64878a93a1b005e1ff0f2a939bab826b8b9f | dbade774c379393f76105242e69cdcf2ad32e5c3 | internal/poll, net: fix comments regarding accept and sysSocket
The implementation of accept was moved from package net to internal/poll
in CL 36799.
Change-Id: I6e5964e0ee22e9c84bc444860cdd497817451fec
Reviewed-on: https://go-review.googlesource.com/c/go/+/311571
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-... | [
{
"path": "src/internal/poll/sock_cloexec.go",
"patch": "@@ -2,8 +2,8 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-// This file implements sysSocket and accept for platforms that\n-// provide a fast path for setting SetNonblock and Close... | 2021-04-20T10:58:53 |
huggingface/transformers | 42c489f2ae738a3b690bb90aab274f02ff024795 | 068b663f903e2a04e1ce26e21f2ba5ca43f43021 | Gemma3: fix test (#36820)
* fix test
* require_read_token and public repo ids
* flash-attn test uncomment
* fix torchscript | [
{
"path": "src/transformers/models/gemma3/modeling_gemma3.py",
"patch": "@@ -1363,7 +1363,7 @@ def forward(\n **lm_kwargs,\n )\n \n- logits = outputs.logits\n+ logits = outputs[0]\n loss = None\n if labels is not None:\n # Upcast to float if we n... | 2025-03-20T17:14:53 |
vercel/next.js | dbd69987f10af3e170ada43d14c84a2876fa233e | 949f4dd4e2300d5325e162500141f930602633a5 | retry CI setup steps if needed (vercel/turbo#2692)
* retry setup steps if needed
* retry install nextest step
* retry browser launch
* ignore errors from PR comment failing due to PR from fork | [
{
"path": "crates/next-dev/benches/util/mod.rs",
"patch": "@@ -140,7 +140,17 @@ pub async fn create_browser() -> Browser {\n if with_devtools {\n builder = builder.arg(\"--auto-open-devtools-for-tabs\");\n }\n- let (browser, mut handler) = Browser::launch(builder.build().unwrap()).await.u... | 2022-11-14T09:35:06 |
nodejs/node | c46b99e2542bd8facd895e3c553e910e88b6ff55 | 6ac3c44012cf0a52c3d586c4fcf473d98fce69ef | test: mark fs-readfile-tostring-fail flaky for all
test-fs-readfile-tostring-fail is unreliable until a libuv fix lands.
It had previously been marked flaky on macOS, but it has been observed
to also fail on AIX. Mark it flaky everywhere.
Refs: https://github.com/libuv/libuv/pull/1742
PR-URL: https://github.com/nod... | [
{
"path": "test/sequential/sequential.status",
"patch": "@@ -5,6 +5,9 @@ prefix sequential\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n+# This test will be flaky until https://github.com/libuv/libuv/pull/1742 lands\n+# on Node.js.\n+test-fs-readfil... | 2018-06-06T20:24:00 |
electron/electron | 7afef0fcdbd4761a165d5f4247a5886a9ab37c29 | 627f487b36ef51bb71e105a903fabfe933b46cef | Fix entry function under Linux. | [
{
"path": "app/atom_main.cc",
"patch": "@@ -20,9 +20,12 @@\n #include \"common/crash_reporter/win/crash_service_main.h\"\n #include \"content/public/app/startup_helper_win.h\"\n #include \"sandbox/win/src/sandbox_types.h\"\n-#else // defined(OS_WIN)\n+#elif defined(OS_LINUX) // defined(OS_WIN)\n+#include ... | 2013-12-31T11:51:17 |
golang/go | 7473a6a0ebb270c24c20994d3ea6e3fd96def223 | fbb600b28349a41742d35f1d2417c5843c6ba6e4 | reflect: fix stack overflow panic when using haveIdenticalUnderlyingType
haveIdenticalUnderlyingType raises stack overflow when compares
self-referential structs having same structure in different packages.
Change-Id: I7c79ab988edcffadcf7e0730a50b4d31b136bb6a
GitHub-Last-Rev: 4d4217f0c16ef14aa1f38ff7cf88c98755bb8ddd
... | [
{
"path": "src/reflect/all_test.go",
"patch": "@@ -15,6 +15,8 @@ import (\n \t\"math/rand\"\n \t\"os\"\n \t. \"reflect\"\n+\t\"reflect/internal/example1\"\n+\t\"reflect/internal/example2\"\n \t\"runtime\"\n \t\"sort\"\n \t\"strconv\"\n@@ -3808,6 +3810,16 @@ type Empty struct{}\n type MyStruct struct {\n \tx... | 2021-04-20T02:47:54 |
huggingface/transformers | 1d3f35f30aa8d91996ba533df5f93d5b769886ce | 6515c259532d50ee022f211eab8afbd765a5f89c | Add model visual debugger (#36798)
* draft of model tracer visualiser
* add context manager in addition to decorator
* add debug utils to init
* move model debugging utils to dedicated file
* add documentation
* protect some imports
* format
* move and protect imports
* format
* doc: improve errors in case of... | [
{
"path": "docs/source/en/internal/model_debugging_utils.md",
"patch": "@@ -0,0 +1,71 @@\n+<!--Copyright 2025 The HuggingFace Team. All rights reserved.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n+the License. You may obtain a ... | 2025-03-20T16:37:29 |
vercel/next.js | c10ac686b57171ce053d344094b7f2d2359abea9 | b180becad5b036cc110e146eb384f23716456736 | docs: fix middleware docs cookie example (#42816)
fixes #42815
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-exampl... | [
{
"path": "docs/advanced-features/middleware.md",
"patch": "@@ -165,7 +165,7 @@ export function middleware(request: NextRequest) {\n const cookie = request.cookies.get('nextjs')?.value\n console.log(cookie) // => 'fast'\n const allCookies = request.cookies.getAll()\n- console.log(allCookies) // => [{... | 2022-11-12T00:47:39 |
nodejs/node | 5d32c1a8dc758a7c6f028a08789ef8436ed8a053 | 214ff0a9d5848cca202ea3590fc667a5b0c9fa4e | test: make url-util-format engine agnostic
test-util-format checks the message of an error that is
generated by the JavaScript engine. Error messages that change in the
underlying JavaScript engine should not be breaking changes in Node.js
and therefore should not cause tests to fail. Remove the message check
and repl... | [
{
"path": "test/parallel/test-util-format.js",
"patch": "@@ -44,9 +44,18 @@ assert.strictEqual(util.format(symbol), 'Symbol(foo)');\n assert.strictEqual(util.format('foo', symbol), 'foo Symbol(foo)');\n assert.strictEqual(util.format('%s', symbol), 'Symbol(foo)');\n assert.strictEqual(util.format('%j', symb... | 2018-06-04T21:07:52 |
electron/electron | 627f487b36ef51bb71e105a903fabfe933b46cef | c64a79336427a7c8f7496c045d100eb97519e0fc | Disable compilation errors in node under Linux. | [
{
"path": "common.gypi",
"patch": "@@ -75,6 +75,20 @@\n '-Wno-return-type',\n ],\n },\n+ 'conditions': [\n+ ['OS==\"linux\"', {\n+ 'cflags': [\n+ '-Wno-parentheses-equality',\n+ '-Wno-unused-function',\n+ '-Wno-s... | 2013-12-31T11:40:19 |
golang/go | 77860ad2809d88566d28783e0382073fb9836d9b | 109d7580a5c507b1e4f460445a5c4cd7313e4aa6 | cmd/compile: guard partially live arg spilling with number of registers
The code that does partially live in-register arg spilling is
currently guarded with GOEXPERIMENT=regabiargs. But on platforms
where GOEXPERIMENT=regabiargs is not enabled there are still tests
that use register args. Guard it with actual number o... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -6898,7 +6898,7 @@ func defframe(s *State, e *ssafn, f *ssa.Func) {\n \t// and not address-taken (for non-SSA-able or address-taken arguments we always\n \t// spill upfront).\n \t// TODO(register args) Make liveness more fine-grained to that p... | 2021-04-20T17:09:54 |
vercel/next.js | 5e965bc9c4d1f1ad9240a915dad54e366a5a34e5 | f5031a48c8cb563702641008136127d90991515e | fix: Fix regression of swc minifier (#42790)
- Closes https://github.com/vercel/next.js/issues/42782 | [
{
"path": "packages/next-swc/crates/napi/src/minify.rs",
"patch": "@@ -31,9 +31,8 @@ use fxhash::FxHashMap;\n use napi::bindgen_prelude::*;\n use serde::Deserialize;\n use swc_core::{\n- base::{config::JsMinifyOptions, try_with_handler, BoolOrDataConfig, TransformOutput},\n+ base::{try_with_handler, T... | 2022-11-11T14:55:38 |
huggingface/transformers | 6515c259532d50ee022f211eab8afbd765a5f89c | 66291778dd7cea6622219257bf890b20835a6de9 | Add Prompt Depth Anything Model (#35401)
* add prompt depth anything model by modular transformer
* add prompt depth anything docs and imports
* update code style according transformers doc
* update code style: import order issue is fixed by custom_init_isort
* fix depth shape from B,1,H,W to B,H,W which is as the... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -735,6 +735,8 @@\n title: NAT\n - local: model_doc/poolformer\n title: PoolFormer\n+ - local: model_doc/prompt_depth_anything\n+ title: Prompt Depth Anything\n - local: model_doc/pvt\n title: Pyramid Vision... | 2025-03-20T16:12:44 |
nodejs/node | 214ff0a9d5848cca202ea3590fc667a5b0c9fa4e | 32c51f10d33c686f2607559ff24a97d6c4a6f109 | build: fix 'gas_version' check on localized environments
Some GNU assembler versions got localized outputs like...
```
Gnu assembler versão 2.30 (x86_64-linux-gnu) usando versão BFD (GNU Binutils for Ubuntu) 2.30
```
failing regex checker and the whole configure process.
PR-URL: https://github.com/nodejs/node/pull/... | [
{
"path": "configure",
"patch": "@@ -671,11 +671,13 @@ def get_xcode_version(cc):\n \n def get_gas_version(cc):\n try:\n+ custom_env = os.environ.copy()\n+ custom_env[\"LC_ALL\"] = \"en_US\"\n proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o',\n ... | 2018-04-29T06:49:21 |
electron/electron | cac397373193c1ec9211df684ebb917d1da4cacc | 19a35b58f0e8e721e04e8bcb9e79852e21ae44e8 | Flip the y axis in CapturePage API, fixes #148. | [
{
"path": "browser/native_window.cc",
"patch": "@@ -213,8 +213,11 @@ base::ProcessHandle NativeWindow::GetRenderProcessHandle() {\n \n void NativeWindow::CapturePage(const gfx::Rect& rect,\n const CapturePageCallback& callback) {\n+ gfx::Rect flipped_y_rect = rect;\n+ flippe... | 2013-12-31T06:40:42 |
golang/go | 24875e3880c1ef7aca6c844c5b28cf32aea5c418 | 4ce49b4a158b3ace253a3302f6092862c8109a94 | cmd/compile/internal/types2: fix some typos in rawLookupFieldOrMethod
Change-Id: Ibc04a82b1d618deeb9bc168ba518dbf1d752fba7
Reviewed-on: https://go-review.googlesource.com/c/go/+/311456
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
... | [
{
"path": "src/cmd/compile/internal/types2/lookup.go",
"patch": "@@ -206,8 +206,8 @@ func (check *Checker) rawLookupFieldOrMethod(T Type, addressable bool, pkg *Pack\n \t\t\t\t}\n \t\t\t\tif obj == nil {\n \t\t\t\t\t// At this point we're not (yet) looking into methods\n-\t\t\t\t\t// that any underlyng type... | 2021-04-19T21:49:30 |
vercel/next.js | 872c8d5c22a573688c83a2f47817fc8e9b2dd8fb | 4240dcc410b441807a33a87191a3413d3dc4564b | Show link to the docs for route segment config options (#42779)
This PR adds links to the docs when hovering on the option names and
values. It will be helpful especially when there's an invalid value:
 => boolean\n getHint?: (value: any) => string\n@@ -59,6 +6... | 2022-11-11T12:05:56 |
nodejs/node | 32c51f10d33c686f2607559ff24a97d6c4a6f109 | 505bfdc7e4fc4f914ceca019706dbf06901dd361 | stream: make the pipeline callback mandatory
Right now when not adding a callback to the pipeline it could cause
an uncaught exception if there is an error. Instead, just make the
callback mandatory as mostly done in all other Node.js callback APIs
so users explicitly have to decide what to do in such situations.
PR-... | [
{
"path": "doc/api/stream.md",
"patch": "@@ -1340,14 +1340,14 @@ run().catch(console.error);\n rs.resume(); // drain the stream\n ```\n \n-### stream.pipeline(...streams[, callback])\n+### stream.pipeline(...streams, callback)\n <!-- YAML\n added: v10.0.0\n -->\n \n * `...streams` {Stream} Two or more strea... | 2018-05-31T10:11:22 |
electron/electron | 1bb54810715702daa4d0a0c4506a3303d8bfb12d | 876063b1bac0ce656750fab028a46da79ee5cbe2 | Fix circulate require. | [
{
"path": "browser/api/lib/app.coffee",
"patch": "@@ -1,4 +1,3 @@\n-BrowserWindow = require 'browser-window'\n EventEmitter = require('events').EventEmitter\n \n bindings = process.atomBinding 'app'",
"additions": 0,
"deletions": 1,
"language": "Unknown"
}
] | 2013-12-29T14:33:53 |
golang/go | 4ce49b4a158b3ace253a3302f6092862c8109a94 | af8a176e911a013ab5054318224a90e5bab67efc | go/types: support type parameters in NewMethodSet
Add handling for TypeParams in NewMethodSet, to bring it in sync with
lookupFieldOrMethod. Also add a test, since we had none. I wanted this
fix to get gopls completion working with type params, but due to the
subtlety of lookupFieldOrMethod, I left a TODO to confirm t... | [
{
"path": "src/go/types/api_test.go",
"patch": "@@ -21,6 +21,11 @@ import (\n \t. \"go/types\"\n )\n \n+// pkgFor parses and type checks the package specified by path and source,\n+// populating info if provided.\n+//\n+// If source begins with \"package generic_\" and type parameters are enabled,\n+// gene... | 2021-04-19T21:18:54 |
huggingface/transformers | 66291778dd7cea6622219257bf890b20835a6de9 | 730d2a52e7147a59fed87e57409e55bc1569c357 | Refactor Attention implementation for ViT-based models (#36545)
* Refactor vit attention
* Refactor ViT-based models
* 🚨🚨🚨 Fix prefix for DPT
* Update params order
* trigger tests
* Fix Dinov2 attention
* Fix DPT attention impl propagation for backbone config
* Common test fix: config is modif. inplace - avo... | [
{
"path": "docs/source/en/model_doc/audio-spectrogram-transformer.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+<i... | 2025-03-20T15:15:01 |
vercel/next.js | 3a22e9768bad7797bd9bef47ba450cf52176f59f | 028b8d040dd4b6467635cdfbd90ea711f430f590 | Track page counts during builds (#42766)
Ensures we keep track of page counts during builds.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or ... | [
{
"path": "packages/next/build/index.ts",
"patch": "@@ -597,6 +597,7 @@ export default async function build(\n appPageKeys.push(normalizedAppPageKey)\n }\n }\n+ const totalAppPagesCount = appPageKeys.length\n \n const pageKeys = {\n pages: pagesPageKeys,\n@@ -1097,... | 2022-11-11T01:47:33 |
nodejs/node | 44d1a46a4277083803024eed2fb37d70c7d2bbcc | 6dbd6f6c7d0fe5629c921a2fe618ce9c00544294 | test: make url-parse-invalid-input engine agnostic
test-url-parse-invalid-input checks the message of an error that is
generated by the JavaScript engine. Error messages that change in the
underlying JavaScript engine should not be breaking changes in Node.js
and therefore should not cause tests to fail. Remove the me... | [
{
"path": "test/parallel/test-url-parse-invalid-input.js",
"patch": "@@ -26,4 +26,12 @@ const url = require('url');\n });\n \n assert.throws(() => { url.parse('http://%E0%A4%A@fail'); },\n- /^URIError: URI malformed$/);\n+ (e) => {\n+ // The error should be a URIErro... | 2018-06-04T13:10:09 |
rust-lang/rust | e0437ec364017b11b5e63d1c09e3204029d8b497 | ae4b6d6c65c32d41d8017b4e3765a8a1871e8519 | Fix error when an intra doc link is trying to resolve an empty associated item | [
{
"path": "src/librustdoc/passes/collect_intra_doc_links.rs",
"patch": "@@ -59,7 +59,12 @@ fn filter_assoc_items_by_name_and_namespace(\n ident: Ident,\n ns: Namespace,\n ) -> impl Iterator<Item = &ty::AssocItem> {\n- tcx.associated_items(assoc_items_of).filter_by_name_unhygienic(ident.name).filt... | 2025-04-19T19:07:24 |
golang/go | fe26dfadc3630617d133b8c94bcb2ccb2e85dc1b | 0ccdcb21024271211a64a5bb7e9c3c64d72f2699 | net: use syscall.fcntl on libc systems
Should fix the AIX builder.
Change-Id: I3498805fb2eee2f0ad50268b5afbbf091c5f6e63
Reviewed-on: https://go-review.googlesource.com/c/go/+/311650
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Review... | [
{
"path": "src/net/fcntl_libc_test.go",
"patch": "@@ -0,0 +1,14 @@\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+//go:build aix || darwin || solaris\n+// +build aix darwin solaris\n+\n... | 2021-04-20T01:39:52 |
electron/electron | 876063b1bac0ce656750fab028a46da79ee5cbe2 | 7d193033f5cee2ed877ba3778d7bca884850dc57 | Fix console.log under Windows.
The process.log is not added until the next iteration of uv loop. | [
{
"path": "browser/lib/init.coffee",
"patch": "@@ -9,18 +9,6 @@ process.resourcesPath = path.resolve process.argv[1], '..', '..', '..'\n # we need to restore it here.\n process.argv.splice 1, 1\n \n-if process.platform is 'win32'\n- # Redirect node's console to use our own implementations, since node can n... | 2013-12-29T14:32:26 |
huggingface/transformers | 1a374799cedcf7a7df14256226a7576c324a42fa | ce091b1bda847bc3ba426cd5430a3d71e267cdae | Support loading Quark quantized models in Transformers (#36372)
* add quark quantizer
* add quark doc
* clean up doc
* fix tests
* make style
* more style fixes
* cleanup imports
* cleaning
* precise install
* Update docs/source/en/quantization/quark.md
Co-authored-by: Marc Sun <57196510+SunMarc@users.norepl... | [
{
"path": "docker/transformers-quantization-latest-gpu/Dockerfile",
"patch": "@@ -79,6 +79,9 @@ RUN git clone https://github.com/NetEase-FuXi/EETQ.git && cd EETQ/ && git submod\n # Add compressed-tensors for quantization testing\n RUN python3 -m pip install --no-cache-dir compressed-tensors\n \n+# Add AMD Q... | 2025-03-20T14:40:51 |
vercel/next.js | 028b8d040dd4b6467635cdfbd90ea711f430f590 | cb8fdc6db6280b847e752d884afbd99dd1290b40 | Fix resolving for esm package with only exports.import condition (#42767)
Should be able to resolve `exports.import` condition for esm packages only when import them in server components
Fixes: #42534
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful ... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -1641,7 +1641,7 @@ export default async function getBaseWebpackConfig(\n return true\n },\n resolve: {\n- conditionNames: ['react-server', 'node', 'require'],\n+ ... | 2022-11-11T00:50:46 |
nodejs/node | f54a598b44b9e75c32310552ec5b1ea5400142a5 | 1e7645c39ae5213a44267cff3d599264c2211f1a | doc: document BigInt support in fs.Stats
PR-URL: https://github.com/nodejs/node/pull/20220
Fixes: https://github.com/nodejs/node/issues/12115
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "doc/api/fs.md",
"patch": "@@ -415,6 +415,8 @@ A `fs.Stats` object provides information about a file.\n \n Objects returned from [`fs.stat()`][], [`fs.lstat()`][] and [`fs.fstat()`][] and\n their synchronous counterparts are of this type.\n+If `bigint` in the `options` passed to those methods is t... | 2018-04-23T09:14:56 |
golang/go | 0ccdcb21024271211a64a5bb7e9c3c64d72f2699 | 4f5aec46039347c7abc02a10103f35f936f39c2b | runtime: crash the GC when clobberdead pointer is seen
When -clobberdead compiler flag is set, the compiler inserts
instructions that set dead slots a specific value. If the GC sees
this value as a live pointer, something is probably wrong. Crash.
Only do this on AMD64 for now, as it is the only platform where
compil... | [
{
"path": "src/runtime/mbitmap.go",
"patch": "@@ -333,6 +333,10 @@ func heapBitsForAddr(addr uintptr) (h heapBits) {\n \treturn\n }\n \n+// clobberdeadPtr is a special value that is used by the compiler to\n+// clobber dead stack slots, when -clobberdead flag is set.\n+const clobberdeadPtr = uintptr(0xdeadd... | 2021-04-15T03:38:10 |
huggingface/transformers | 3e8f0fbf44f8223a50ce05864a7cea223085fb9a | 055afdb6bb1f2e4bd5ab4870ba5b3733bb88da4e | Fix hqq skipped modules and dynamic quant (#36821)
* Fix hqq skip_modules and dynamic_quant
* fix skipped modules loading
* add dynamic/skip HqqConfig test | [
{
"path": "src/transformers/quantizers/quantizer_hqq.py",
"patch": "@@ -124,7 +124,14 @@ def _find_hqq_quantizable_layers(model, layers):\n # valid modules are Linear layers that have HQQLinear state_dict. We ignore skip_modules and any layers with Linear state_dict() params\n _valid... | 2025-03-20T14:31:49 |
electron/electron | 7d193033f5cee2ed877ba3778d7bca884850dc57 | 074ea374e0bfcbfc15f315579f4886c9ebd1b6fa | :lipstick: Fix wrong order of parameter when killing process. | [
{
"path": "browser/api/atom_api_window.cc",
"patch": "@@ -132,7 +132,7 @@ void Window::Destroy(const v8::FunctionCallbackInfo<v8::Value>& args) {\n // renderer process became a zombie.\n base::MessageLoop::current()->PostDelayedTask(\n FROM_HERE,\n- base::Bind(base::IgnoreResult(base::KillPro... | 2013-12-29T14:11:54 |
vercel/next.js | cb8fdc6db6280b847e752d884afbd99dd1290b40 | 29f20d30fd098d30cbd73352aec995191b88fa74 | fix: enable emotion import map (#42750)
This PR aims to add support for the `importMap` option for `emotion`. It's already supported by `swc_emotion`.
Fixes https://github.com/vercel/next.js/issues/41646.
## Feature
- [x] Implements an existing feature request or RFC. Make sure the feature request has been accept... | [
{
"path": "docs/advanced-features/compiler.md",
"patch": "@@ -233,13 +233,23 @@ module.exports = {\n // The format is defined via string where variable parts are enclosed in square brackets [].\n // For example labelFormat: \"my-classname--[local]\", where [local] will be replaced with the name ... | 2022-11-10T21:23:40 |
nodejs/node | 1e7645c39ae5213a44267cff3d599264c2211f1a | af2a1045631028dfad0dd5d3eb4c4866fdf55730 | fs: support BigInt in fs.*stat and fs.watchFile
Add the `bigint: true` option to all the `fs.*stat` methods and
`fs.watchFile`.
PR-URL: https://github.com/nodejs/node/pull/20220
Fixes: https://github.com/nodejs/node/issues/12115
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "lib/fs.js",
"patch": "@@ -248,7 +248,7 @@ function readFileAfterOpen(err, fd) {\n const req = new FSReqWrap();\n req.oncomplete = readFileAfterStat;\n req.context = context;\n- binding.fstat(fd, req);\n+ binding.fstat(fd, false, req);\n }\n \n function readFileAfterStat(err, stats) {\n@@ ... | 2018-04-07T09:01:06 |
golang/go | 9f87943424df86e501175e10e5e3b8b00dfd03d7 | 3711ea0b5d1bc381bda02ec3fe16369ed997eda6 | go/types: fix panic when using multiple type arguments
Fix a panic caused by using type arguments without first unpacking.
This was noticed in the review of CL 300998, but unfortunately not yet
fixed.
Fixes #45635
Change-Id: I8ab1720f3e27a6002bc925f0eea943ec6f778341
Reviewed-on: https://go-review.googlesource.com/c... | [
{
"path": "src/go/types/expr.go",
"patch": "@@ -10,6 +10,7 @@ import (\n \t\"fmt\"\n \t\"go/ast\"\n \t\"go/constant\"\n+\t\"go/internal/typeparams\"\n \t\"go/token\"\n \t\"math\"\n )\n@@ -1435,7 +1436,7 @@ func (check *Checker) exprInternal(x *operand, e ast.Expr, hint Type) exprKind {\n \tcase *ast.IndexEx... | 2021-04-19T23:10:09 |
electron/electron | f28881e2035326aa9e132e25b1ee8a5994c31239 | 6312c1108ae325e2369d9d20271a277ebca58311 | Fix crash caused by BrowserWindow.destroy(). | [
{
"path": "browser/api/atom_api_window.cc",
"patch": "@@ -4,6 +4,7 @@\n \n #include \"browser/api/atom_api_window.h\"\n \n+#include \"base/bind.h\"\n #include \"base/process/kill.h\"\n #include \"browser/native_window.h\"\n #include \"common/v8/native_type_conversions.h\"\n@@ -127,11 +128,12 @@ void Window:... | 2013-12-27T07:41:00 |
vercel/next.js | 29f20d30fd098d30cbd73352aec995191b88fa74 | 6490252b40e191154e04dfedab05693495e67297 | font api updates (#42724)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
Update the next fonts API reference t... | [
{
"path": "docs/api-reference/next/font.md",
"patch": "@@ -13,157 +13,172 @@ description: Optimizing loading web fonts with the built-in `@next/font` loaders\n \n </details>\n \n-This API reference will help you understand how to use [`@next/font/google`](#nextfontgoogle) and [`@next/font/local`](#nextfontl... | 2022-11-10T18:11:04 |
rust-lang/rust | d09b3c75de1d2a4f15c6537d402df60a98fe07c3 | 6be60e83b5660f45fc26d75e43b6745e3a2d0ee9 | fix grammar | [
{
"path": "src/doc/rustc-dev-guide/src/tests/ui.md",
"patch": "@@ -333,7 +333,7 @@ fn main() {\n Use of `error-pattern` is not recommended in general.\n \n For strict testing of compile time output, try to use the line annotations `//~` as much as\n-possible, including `//~?` annotations for diagnostics wit... | 2025-04-19T15:57:56 |
huggingface/transformers | 055afdb6bb1f2e4bd5ab4870ba5b3733bb88da4e | 487dab1b2b2d0c4e3ca32ec713766cc25673006e | Fix ONNX export for sequence classification head (#36332)
* set dtype to int32
* fix style | [
{
"path": "src/transformers/models/bloom/modeling_bloom.py",
"patch": "@@ -1151,7 +1151,7 @@ def forward(\n elif input_ids is not None:\n # To handle both left- and right- padding, we take the rightmost token that is not equal to pad_token_id\n non_pad_mask = (input_ids != se... | 2025-03-20T14:22:48 |
nodejs/node | af2a1045631028dfad0dd5d3eb4c4866fdf55730 | 6858ab5d01084d93c75ddac3017017b8a870bc1d | child_process: swallow errors in internal communication
Much like with NODE_HANDLE_ACK, the internal protocol for communication
about the sent socket should not expose its errors to the users when
those async calls are not initiated by them.
PR-URL: https://github.com/nodejs/node/pull/21108
Reviewed-By: Rich Trott <r... | [
{
"path": "lib/internal/socket_list.js",
"patch": "@@ -13,11 +13,11 @@ class SocketListSend extends EventEmitter {\n child.once('exit', () => this.emit('exit', this));\n }\n \n- _request(msg, cmd, callback) {\n+ _request(msg, cmd, swallowErrors, callback) {\n var self = this;\n \n if (!this.... | 2018-06-03T09:49:41 |
golang/go | 7252e1e5b6c99189dadb525a0793344ad9d137d5 | 88655480f349ca07f523191112e52a49629cca8b | cmd/link: convert -I foo to -Wl,--dynamic-linker,foo when externally linking
Fixes #22446
Change-Id: Id5b3fbc9cd3a7d6c4bf4e28428b8cb6d45a9ca92
Reviewed-on: https://go-review.googlesource.com/c/go/+/310349
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: M... | [
{
"path": "src/cmd/link/internal/ld/lib.go",
"patch": "@@ -1431,6 +1431,14 @@ func (ctxt *Link) hostlink() {\n \t\targv = append(argv, fmt.Sprintf(\"-Wl,-rpath,%s\", rpath.val))\n \t}\n \n+\tif *flagInterpreter != \"\" {\n+\t\t// Many linkers support both -I and the --dynamic-linker flags\n+\t\t// to set th... | 2021-04-15T03:50:41 |
electron/electron | 1701f572e2f29b27958bfdb63ea74718ad741532 | 15a9be6b93122d963b31cc741b35a08c12010e71 | Fix crash when calling method of destroyed object. | [
{
"path": "browser/api/atom_api_event_emitter.cc",
"patch": "@@ -21,6 +21,10 @@ EventEmitter::EventEmitter(v8::Handle<v8::Object> wrapper) {\n }\n \n EventEmitter::~EventEmitter() {\n+ // Clear the aligned pointer, it should have been done by ObjectWrap but\n+ // somehow node v0.11.x changed this behaviou... | 2013-12-27T06:47:50 |
rust-lang/rust | 0b27121212078b55296e5daf9332300266043d18 | 781fdab9a95320bf8c3eb092ef628352643059bf | Fix clippy::version of elidable_lifetime_names to 1.87
The lint becomes part of stable in 1.87, not in 1.84 | [
{
"path": "clippy_lints/src/lifetimes.rs",
"patch": "@@ -88,7 +88,7 @@ declare_clippy_lint! {\n /// x.chars()\n /// }\n /// ```\n- #[clippy::version = \"1.84.0\"]\n+ #[clippy::version = \"1.87.0\"]\n pub ELIDABLE_LIFETIME_NAMES,\n pedantic,\n \"lifetime name that can be rep... | 2025-04-19T14:42:20 |
vercel/next.js | 6490252b40e191154e04dfedab05693495e67297 | f612acffbcea456be033f651f11ea92fbfd9c46b | Don't pushState when already on the url (#42735)
Solves the case where you click a link to the page you're on already that pushes additional history entries, uses replaceState for that instead. This mirrors the default `<a>` behavior.
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests... | [
{
"path": "packages/next/client/components/app-router.tsx",
"patch": "@@ -293,7 +293,10 @@ function Router({\n // __NA is used to identify if the history entry can be handled by the app-router.\n // __N is used to identify if the history entry can be handled by the old router.\n const historySta... | 2022-11-10T18:06:57 |
huggingface/transformers | 487dab1b2b2d0c4e3ca32ec713766cc25673006e | a63e92e2f02966bc625494b83c4954da05ba798d | Shieldgemma2 (#36678)
* single commit
* correct config
* fixup
* dummy pt
* Use ShieldGemma2Config in conversion script
* Update src/transformers/models/shieldgemma2/configuration_shieldgemma2.py
* Adding shieldgemma2 to models.__init__.py
* Adding ShieldGemma2 to main __init__.py
* Update shieldgemma2.md
* U... | [
{
"path": "docs/source/en/model_doc/shieldgemma2.md",
"patch": "@@ -0,0 +1,100 @@\n+\n+<!--Copyright 2025 The HuggingFace Team. All rights reserved.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n+the License. You may obtain a copy... | 2025-03-20T14:14:38 |
nodejs/node | 6858ab5d01084d93c75ddac3017017b8a870bc1d | 5012587b1aa228943435fb709887ae2bf17ec283 | test: remove unref in http2 test
The bug referenced in this TODO was fixed and this test no longer
requires this code to pass.
PR-URL: https://github.com/nodejs/node/pull/21145
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "test/parallel/test-stream-pipeline.js",
"patch": "@@ -281,12 +281,6 @@ common.crashOnUnhandledRejection();\n });\n \n pipeline(rs, req, common.mustCall((err) => {\n- // TODO: this is working around an http2 bug\n- // where the client keeps the event loop going\n- // (replac... | 2018-06-04T17:38:23 |
electron/electron | a2522efb2560d1882b54850133c86370f1fa08a3 | 7c3f22a3337dec287c9046a8d9c56ba41a6bd934 | Build for x64 architecture on OS X, fixes #132. | [
{
"path": "script/update.py",
"patch": "@@ -26,10 +26,14 @@ def update_gyp():\n python = sys.executable\n if sys.platform == 'cygwin':\n python = os.path.join('vendor', 'python_26', 'python.exe')\n+ arch = 'ia32'\n+ if sys.platform == 'darwin':\n+ arch = 'x64'\n subprocess.call([python, gyp,\... | 2013-12-27T06:17:35 |
huggingface/transformers | a63e92e2f02966bc625494b83c4954da05ba798d | 8124a234ca819652f4e316f845460f67069b01a7 | Fix: remove the redundant snippet of _whole_word_mask (#36759)
remove the redundant snippet of _whole_word_mask | [
{
"path": "src/transformers/data/data_collator.py",
"patch": "@@ -1216,13 +1216,6 @@ def _whole_word_mask(self, input_tokens: List[str], max_predictions=512):\n # predictions, then just skip this candidate.\n if len(masked_lms) + len(index_set) > num_to_predict:\n con... | 2025-03-20T14:10:43 |
vercel/next.js | f612acffbcea456be033f651f11ea92fbfd9c46b | 9d30e777ca10725e345e263c37bf3c3cc082e4fb | Add test case for image generation (#42693)
This PR adds a basic test case to ensure Next.js and Edge Runtime
changes don't break the image generation feature, as well as record the
usage.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link ... | [
{
"path": "package.json",
"patch": "@@ -90,6 +90,7 @@\n \"@typescript-eslint/eslint-plugin\": \"4.29.1\",\n \"@typescript-eslint/parser\": \"4.29.1\",\n \"@vercel/fetch\": \"6.1.1\",\n+ \"@vercel/og\": \"0.0.20\",\n \"@webassemblyjs/ast\": \"1.11.1\",\n \"@webassemblyjs/floating-point... | 2022-11-10T17:26:36 |
nodejs/node | 5012587b1aa228943435fb709887ae2bf17ec283 | c9d9bf1cb06a9f490669b107a28eb9c628aeeb23 | fs: fix promises reads with pos > 4GB
PR-URL: https://github.com/nodejs/node/pull/21148
Fixes: https://github.com/nodejs/node/issues/21121
Refs: https://github.com/nodejs/node/pull/21003
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Refael Ackermann <refa... | [
{
"path": "lib/internal/fs/promises.js",
"patch": "@@ -31,7 +31,6 @@ const {\n validatePath\n } = require('internal/fs/utils');\n const {\n- isUint32,\n validateMode,\n validateInteger,\n validateUint32\n@@ -211,7 +210,7 @@ async function read(handle, buffer, offset, length, position) {\n \n vali... | 2018-06-05T13:12:19 |
huggingface/transformers | cf8091c017533c03be73b84ab535ae9c80924796 | 388e6659bf3dfabf9c52ae6268d0b5fcb9ee6565 | Fix import for torch 2.0, 2.1 - guard typehint for "device_mesh" (#36768)
* Fix device_mesh
* Remove rebase leftover | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -755,7 +755,7 @@ def _load_state_dict_into_meta_model(\n is_safetensors: bool = False,\n keep_in_fp32_modules: Optional[List[str]] = None,\n unexpected_keys: Optional[List[str]] = None, # passing `unexpected` for cleanup from quantiza... | 2025-03-20T11:55:47 |
golang/go | bc5de81e70f9572d7b1d63040c95b999dac57f50 | e97d8eb027c0067f757860b6f766644de15941f2 | testing: remove data races so that parallel benchmarks can safely call .Fatal* and .Skip*
Protects the usages of (*common).finished with locks
to prevent data races, thus allowing benchmarks to safely invoke
.Fatal* and .Skip* concurrently.
Fixes #45526
Change-Id: I2b4846f525c426d6c7d3418f8f6c86446adbf986
Reviewed-o... | [
{
"path": "src/testing/benchmark.go",
"patch": "@@ -238,12 +238,15 @@ func (b *B) run1() bool {\n \t}\n \t// Only print the output if we know we are not going to proceed.\n \t// Otherwise it is printed in processBench.\n-\tif atomic.LoadInt32(&b.hasSub) != 0 || b.finished {\n+\tb.mu.RLock()\n+\tfinished := ... | 2021-04-13T00:34:04 |
vercel/next.js | 9d30e777ca10725e345e263c37bf3c3cc082e4fb | 276533d03e6d72a1ce7bb37f91d6f4d36b7f20a3 | Handle hydration replaceState for static page with searchParams (#42744)
Ensures the searchParams do not get removed when the page is static.
Fixes #42697
<!--
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... | [
{
"path": "packages/next/client/components/app-router.tsx",
"patch": "@@ -20,6 +20,7 @@ import {\n ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n+ createHrefFromUrl,\n reducer,\n } from './reducer'\n import {\n@@ -132,10 +133,11 @@ function Router({\n pushRef: { pendingPush: false... | 2022-11-10T17:24:31 |
huggingface/transformers | 63380b77d46575957d126624db1ac956a4167b9b | 957b05b4136a965bf31a90c62450ff9f9a9c8ef9 | Pass state dict (#35234)
* Pass state_dict argument to get_peft_model_state_dict
* Style fix
* Change arguments order | [
{
"path": "src/transformers/integrations/peft.py",
"patch": "@@ -446,7 +446,7 @@ def active_adapter(self) -> str:\n \n return self.active_adapters()[0]\n \n- def get_adapter_state_dict(self, adapter_name: Optional[str] = None) -> dict:\n+ def get_adapter_state_dict(self, adapter_name: Optional... | 2025-03-20T10:54:59 |
golang/go | e97d8eb027c0067f757860b6f766644de15941f2 | bbb510ccc96e2ca1d0d1c91d244fba4e735d5a80 | net: pass MSG_CMSG_CLOEXEC flag in ReadMsgUnix
As mentioned in #42765, calling "recvmsg" syscall on Linux should come
with "MSG_CMSG_CLOEXEC" flag.
For other systems which not supports "MSG_CMSG_CLOEXEC". ReadMsgUnix()
would check the header. If the header type is "syscall.SCM_RIGHTS",
then ReadMsgUnix() would parse ... | [
{
"path": "src/internal/poll/fd_unix.go",
"patch": "@@ -231,7 +231,7 @@ func (fd *FD) ReadFrom(p []byte) (int, syscall.Sockaddr, error) {\n }\n \n // ReadMsg wraps the recvmsg network call.\n-func (fd *FD) ReadMsg(p []byte, oob []byte) (int, int, int, syscall.Sockaddr, error) {\n+func (fd *FD) ReadMsg(p []b... | 2021-04-19T18:06:54 |
vercel/next.js | 276533d03e6d72a1ce7bb37f91d6f4d36b7f20a3 | 6ab52ed41b3def23d1d9de94c804a3a9756ab623 | Eagerly bundle external ESM dependencies for pages (#42741)
One potential risk is ESM dependencies that can't be bundled will cause
a build error. This also means that the `esmExternals` configuration
will be affected.
Closes #42249, closes #42588. Related: #1395.
## Bug
- [ ] Related issues linked using `f... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -1256,11 +1256,16 @@ export default async function getBaseWebpackConfig(\n }\n }\n \n- const shouldBeBundled = isResourceInPackages(\n- res,\n- config.experimental.transpilePackages,\n- resolvedExternalPackageDirs\n-... | 2022-11-10T17:11:38 |
rust-lang/rust | 07b7f00a9e961fdf66ece2ecf70ae1dba505f10e | 3b2302ec0d17cbc94ef68b15f0bb6524f8b67f3f | fix broken link | [
{
"path": "src/doc/rustc-dev-guide/src/hir.md",
"patch": "@@ -144,7 +144,7 @@ that `n` must be some HIR expression, you can do\n Finally, you can find the parents of nodes, via\n calls like [`tcx.parent_hir_node(n)`][parent_hir_node].\n \n-[get_parent_item]: https://doc.rust-lang.org/nightly/nightly-rustc/r... | 2025-04-19T14:04:22 |
electron/electron | 754cd88cc2128f3535a88f32c5b717f8d021c6c6 | 031426d54e5882d9d1f184649cbd5950946575f5 | Update brightray: Fix building on Windows. | [
{
"path": "vendor/brightray",
"patch": "@@ -1 +1 @@\n-Subproject commit 7f4725c0b432fc81dd4354696721806cc739cedd\n+Subproject commit 6fa8c1c1fce59577bc0a2c03378ad16c20aef4e7",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2013-12-24T08:05:50 |
huggingface/transformers | 1ddb64937cd31bd25df3213b1dc275396ef695cd | e7337ee7be682c9601cc1bb2b189759e9bfb104e | Fix fp16 ONNX export for RT-DETR and RT-DETRv2 (#36460)
* Fix FP16 ONNX export
* Fix typo
* Sync omdet-turbo
* Refactor encoder for better readability
* Fix _no_split_modules
* Fix int -> torch_int
* Fix rt_detr
* Apply to rt-detr-v2
* Fixup
* Fix copies | [
{
"path": "src/transformers/models/omdet_turbo/modeling_omdet_turbo.py",
"patch": "@@ -575,10 +575,9 @@ def __init__(self, config: OmDetTurboConfig):\n self.conv3 = nn.Identity()\n \n def forward(self, hidden_state):\n- device = hidden_state.device\n hidden_state_1 = self.conv... | 2025-03-20T10:43:51 |
golang/go | 5780ab4f605fdf0ca7f12ebc08e80d3ac170e98a | 6b8e3e2d060b009fe92b39f7022445d96e225325 | text/template/parse: add a mode to skip func-check on parsing
Following the discussion on #34652 and the proposal of #36911 (gopls),
this CL adds an option to skip the function declartion check on parsing,
in order to make it possible to parse arbitrary template text files and
get their AST.
Fixed #38627
Change-Id: ... | [
{
"path": "src/text/template/parse/parse.go",
"patch": "@@ -38,7 +38,8 @@ type Tree struct {\n type Mode uint\n \n const (\n-\tParseComments Mode = 1 << iota // parse comments and add them to AST\n+\tParseComments Mode = 1 << iota // parse comments and add them to AST\n+\tDeferFuncCheck //... | 2021-03-14T17:04:31 |
vercel/next.js | 6ab52ed41b3def23d1d9de94c804a3a9756ab623 | 784d9a73d82ef1b0c519e6e9d1269503b1abe618 | @next/font return types (#42753)
Currently the return type is the same when you declare a variable and
when you don't.
```tsx
const inter1 = Inter()
const inter2 = Inter({ variable: "--inter-font" })
inter1.variable // string | undefined
inter2.variable // string | undefined
```
With this change you get a ... | [
{
"path": "packages/font/src/google/font-data.json",
"patch": "@@ -1574,6 +1574,12 @@\n ],\n \"styles\": [\"normal\"],\n \"axes\": [\n+ {\n+ \"tag\": \"slnt\",\n+ \"min\": -11,\n+ \"max\": 11,\n+ \"defaultValue\": 0\n+ },\n {\n \"tag\": \"wght\... | 2022-11-10T16:56:27 |
electron/electron | d8eb465eb9c1c334d9d79273528e7932824d22e4 | c04a9933cc9f8f72fb4680e9cd5e7a998f9c6e9f | Fix protocol spec on Windows. | [
{
"path": "spec/api-protocol-spec.coffee",
"patch": "@@ -116,7 +116,7 @@ describe 'protocol module', ->\n protocol.interceptProtocol targetScheme, (request) ->\n if process.platform is 'win32'\n pathInUrl = path.normalize request.url.substr(8)\n- assert.equal pathInUrl, __fi... | 2013-12-17T15:03:36 |
huggingface/transformers | e7337ee7be682c9601cc1bb2b189759e9bfb104e | 8b479e39bb677df7387834b23795dc8b68af8866 | Pass num_items_in_batch directly to loss computation (#36753)
* Pass num_items_in_batch directly to loss computation
* use self loss instead
* fix loss kwrgs
* fix vocab size | [
{
"path": "src/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py",
"patch": "@@ -21,7 +21,6 @@\n \n import torch\n from torch import nn\n-from torch.nn import CrossEntropyLoss\n \n from ...configuration_utils import PretrainedConfig\n from ...generation import GenerationMixin\n@@... | 2025-03-20T10:35:35 |
golang/go | a72622d028077643169dc48c90271a82021f0534 | c914e6160db8b6af358cad90ed7272ebc5c22dda | cmd/compile: skip "_" function in reflectdata.MarkUsedIfaceMethod
CL 256798 added compiler ability to retain only used interface methods,
by generating a mark relocation whenever an interface method is used. To
do that, the compiler needs the current function linker object.
However, for unnamed function "func _()", i... | [
{
"path": "src/cmd/compile/internal/reflectdata/reflect.go",
"patch": "@@ -1837,6 +1837,10 @@ func MarkTypeUsedInInterface(t *types.Type, from *obj.LSym) {\n // MarkUsedIfaceMethod marks that an interface method is used in the current\n // function. n is OCALLINTER node.\n func MarkUsedIfaceMethod(n *ir.Cal... | 2021-04-18T19:39:50 |
vercel/next.js | 031ed5557db0ffb336502ab670081e91cf6f1966 | 101a70ba8d3952ce70516539e98c27bfe85c5543 | fix comma splice in `verifyRootLayout.ts` (#42324)
The phrase "Your page X did not have a root layout, we created Y for
you." creates a [comma
splice](https://en.wikipedia.org/wiki/Comma_splice). This PR fixes it.
Co-authored-by: JJ Kasper <jj@jjsweb.site> | [
{
"path": "packages/next/lib/verifyRootLayout.ts",
"patch": "@@ -138,7 +138,7 @@ export async function verifyRootLayout({\n chalk.green(\n `\\nYour page ${chalk.bold(\n `app/${normalizedPagePath}`\n- )} did not have a root layout, we created ${chalk.bold(\n+ )... | 2022-11-10T04:59:55 |
huggingface/transformers | 8b479e39bb677df7387834b23795dc8b68af8866 | 3f03c379d2b48fa5f84b907599211098d95d670a | Saving `Trainer.collator.tokenizer` in when `Trainer.processing_class` is `None` (#36552)
* feat: Saving tokenizer in collator when processing_class is None
* chore: Style issue
* chore: Typo
* dbg: Check why test failed
* dbg: Remove logics and another test failed which successed before, so should be the stablibi... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3992,6 +3992,13 @@ def _save(self, output_dir: Optional[str] = None, state_dict=None):\n \n if self.processing_class is not None:\n self.processing_class.save_pretrained(output_dir)\n+ elif (\n+ self.data_collator i... | 2025-03-20T10:27:47 |
electron/electron | c04a9933cc9f8f72fb4680e9cd5e7a998f9c6e9f | 5b12f80d013370d58c6a8f4f187281d1eb36c673 | Fix __filename on Windows. | [
{
"path": "renderer/lib/init.coffee",
"patch": "@@ -39,7 +39,11 @@ global.clearImmediate = timers.clearImmediate\n \n # Set the __filename to the path of html file if it's file:// protocol.\n if window.location.protocol is 'file:'\n- global.__filename = window.location.pathname\n+ global.__filename =\n+ ... | 2013-12-17T14:16:15 |
nodejs/node | 4ee50e714cda9a1d3e7f76d7eb3fcc53e7c0d8d5 | 1252907c6c182b46248de87c515eca468257631d | doc: streamline errors.md introductory material
PR-URL: https://github.com/nodejs/node/pull/21138
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -6,19 +6,13 @@\n Applications running in Node.js will generally experience four categories of\n errors:\n \n-- Standard JavaScript errors such as:\n- - {EvalError} : thrown when a call to `eval()` fails.\n- - {SyntaxError} : thrown in response to improper JavaSc... | 2018-06-04T19:16:23 |
huggingface/transformers | 3f03c379d2b48fa5f84b907599211098d95d670a | 8f64b177f60812ab5c0579a369bfc70310fcca5b | fix tiktoken convert to pass AddedToken to Tokenizer (#36566)
* pass AddedToken to Tokenizer
* ruff
* handle dict for special tokens
* option: test tokenizer from tiktoken same as fast
* ruff
* ruff | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -1580,7 +1580,9 @@ def __init__(\n self.vocab_file = vocab_file\n self.pattern = pattern\n self.add_prefix_space = add_prefix_space\n- self.additional_special_tokens = additional_special_tokens\n+ self... | 2025-03-20T10:26:49 |
vercel/next.js | 101a70ba8d3952ce70516539e98c27bfe85c5543 | 2b85da7735a12f8b7c46de2b45b714607d67c134 | Fix as option with optional catch all routes url object syntax (#42355)
In `Link`, `router.push`, and `router.replace`, `as` option used to
throw for optional catch all routes with url object syntax: optional
attribute were not taken into account when checking missing parameters
in router change method.
This PR ju... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -1505,7 +1505,7 @@ export default class Router implements BaseRouter {\n \n if (!routeMatch || (shouldInterpolate && !interpolatedAs.result)) {\n const missingParams = Object.keys(routeRegex.groups).filter(\n- (param)... | 2022-11-10T04:48:38 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.